/* 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 Simple */
.pricing-simple {
    display: flex;
    justify-content: center;
}

.pricing-simple .pricing-card {
    max-width: 400px;
}

.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;
    }
}
