/* VoiceInvoice Page Styles */

.hero-voiceinvoice .hero-content {
    max-width: 800px;
}

/* Hero Video */
.hero-video {
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video .video-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-video .demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.5s ease;
}

.hero-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: var(--bg-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-video .play-button svg {
    width: 24px;
    height: 24px;
}

.hero-video .play-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
}

.hero-video .play-button.hidden {
    display: none;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* Problem Section */
.problem-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-story {
    font-size: 1.125rem;
    line-height: 1.8;
}

.problem-story .lead {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.problem-story p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.problem-story .highlight {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 1.25rem;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Solution Intro */
.solution-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.solution-intro .lead {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Animation Container */
.animation-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
}

.video-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: var(--bg-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button svg {
    width: 24px;
    height: 24px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
}

.play-button.hidden {
    display: none;
}

/* Steps Visual */
.steps-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-visual {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 1.5rem;
}

.step-visual .step-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-visual .step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
}

.step-visual h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-visual p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 2rem;
    color: var(--accent-cyan);
    align-self: center;
    margin-top: -1rem;
}

/* Voice Example Section */
.voice-example {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.voice-bubble {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.voice-avatar {
    width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.voice-content {
    flex: 1;
}

.voice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.voice-name {
    font-weight: 600;
}

.voice-time {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.voice-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
    margin-bottom: 1rem;
}

.wave-bar {
    width: 4px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: waveAnimation 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 45%; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 75%; animation-delay: 0.7s; }
.wave-bar:nth-child(9) { height: 55%; animation-delay: 0.8s; }
.wave-bar:nth-child(10) { height: 85%; animation-delay: 0.9s; }
.wave-bar:nth-child(11) { height: 50%; animation-delay: 1s; }
.wave-bar:nth-child(12) { height: 70%; animation-delay: 1.1s; }
.wave-bar:nth-child(13) { height: 40%; animation-delay: 1.2s; }
.wave-bar:nth-child(14) { height: 60%; animation-delay: 1.3s; }
.wave-bar:nth-child(15) { height: 35%; animation-delay: 1.4s; }

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.voice-transcript {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* AI Response */
.ai-response {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    margin-left: 2rem;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--bg-primary);
}

.ai-content {
    flex: 1;
}

.ai-label {
    font-weight: 600;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.75rem;
}

.ai-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.ai-content ul {
    list-style: none;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
}

.ai-content li {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.ai-content li strong {
    color: var(--text-primary);
}

/* Invoice Preview */
.invoice-preview {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.invoice-card {
    background: #fff;
    color: #1a1a1f;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.invoice-label {
    font-weight: 700;
    color: #06b6d4;
}

.invoice-number {
    color: #666;
    font-size: 0.875rem;
}

.invoice-to {
    margin-bottom: 1.5rem;
}

.invoice-to span {
    display: block;
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.invoice-to strong {
    font-size: 1rem;
}

.invoice-items {
    margin-bottom: 1rem;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #eee;
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    font-size: 1.125rem;
}

.invoice-total strong {
    color: #06b6d4;
}

.invoice-sent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    color: #06b6d4;
    font-weight: 600;
    font-size: 0.875rem;
}

.invoice-sent svg {
    width: 20px;
    height: 20px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: var(--bg-primary);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.pricing-amount .price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-amount .period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
    }
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.pricing-addon {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.pricing-addon strong {
    color: var(--accent-cyan);
}

/* CTA Form */
.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-form .btn-primary {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .problem-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-visual {
        flex-direction: column;
        align-items: center;
    }

    .step-visual {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .ai-response {
        margin-left: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== COOKIE BANNER ===== */

/* Initial Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-icon {
    width: 24px;
    height: 24px;
    color: #06b6d4;
    flex-shrink: 0;
}

.cookie-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.cookie-banner p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-link {
    background: none;
    border: none;
    color: #06b6d4;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}

.btn-link:hover {
    color: #0891b2;
}

/* Cookie Banner Button Styling (isolated) */
.cookie-actions .btn-link {
    padding: 8px 12px;
}

.cookie-actions .btn-secondary {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.cookie-actions .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.cookie-actions .btn-primary {
    background: #06b6d4;
    border: none;
    color: #0a0a0b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.cookie-actions .btn-primary:hover {
    background: #0891b2;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}

/* ===== COOKIE MODAL ===== */

.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.cookie-modal-overlay.hidden {
    display: none;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    z-index: 2001;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #1f2937;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-modal-body > p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.cookie-category h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.cookie-category p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s;
    display: inline-block;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.cookie-toggle input:checked + .toggle-switch {
    background: #06b6d4;
}

.cookie-toggle input:checked + .toggle-switch::after {
    left: 22px;
}

.cookie-toggle input:disabled {
    cursor: not-allowed;
}

.cookie-toggle input:disabled + .toggle-switch {
    opacity: 0.6;
    background: #d1d5db;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.cookie-modal-footer button {
    flex: 1;
}

@media (max-width: 480px) {
    .cookie-modal {
        width: 95%;
        max-width: none;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}
