/* =============================================
   EG VOICE PRODUCT PAGE - CLEAN LIGHT
   AI-powered voice assistant product page
   ============================================= */

body.page-eg-voice-clean {
    background: var(--stone-50);
}

/* ---- Intro ---- */
.voice-intro {
    padding: 12rem 4% 7rem;
    background: white;
    position: relative;
    z-index: 1;
}

.voice-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.voice-intro h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--stone-800);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.voice-intro-lead {
    font-size: 1.15rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Impact Stats ---- */
.voice-impact {
    padding: 5rem 4% 6rem;
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.voice-impact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(61, 155, 107, 0.18) 0%, rgba(61, 155, 107, 0.06) 40%, transparent 65%);
    pointer-events: none;
}

.voice-impact-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.voice-impact-stat {
    margin-bottom: 3.5rem;
}

.voice-impact-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(5rem, 12vw, 9rem);
    color: var(--stone-800);
    line-height: 1;
    letter-spacing: -0.03em;
}

.voice-impact-label {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--stone-500);
    font-weight: 300;
    margin-top: 0.75rem;
}

.voice-impact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--stone-200);
    padding-top: 2.5rem;
}

.voice-impact-detail-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--stone-800);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.voice-impact-detail-label {
    font-size: 0.85rem;
    color: var(--stone-400);
    font-weight: 300;
}

/* ---- How a Call Works (Flow/Timeline) ---- */
.voice-flow {
    padding: 6rem 4%;
    background: white;
    position: relative;
    z-index: 1;
}

.voice-flow-inner {
    max-width: 800px;
    margin: 0 auto;
}

.voice-flow-header {
    max-width: 560px;
    margin-bottom: 3.5rem;
}

.voice-flow-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.voice-flow-header p {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
}

.voice-flow-steps {
    display: flex;
    flex-direction: column;
}

.voice-flow-step {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
}

.voice-flow-step-last {
    padding-bottom: 0;
}

.voice-flow-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 40px;
}

.voice-flow-step-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--eg-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--eg-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-flow-step-line {
    width: 2px;
    flex: 1;
    background: var(--stone-200);
    margin-top: 0.75rem;
}

.voice-flow-step-content {
    padding-top: 0.25rem;
}

.voice-flow-step-icon {
    margin-bottom: 0.75rem;
}

.voice-flow-step-icon svg {
    color: var(--stone-400);
}

.voice-flow-step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.voice-flow-step-content p {
    font-size: 0.95rem;
    color: var(--stone-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ---- Capabilities & Integrations ---- */
.voice-capabilities {
    padding: 6rem 4%;
    background: var(--stone-50);
    position: relative;
    z-index: 1;
}

.voice-capabilities-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.voice-capabilities-header {
    margin-bottom: 2rem;
}

.voice-capabilities-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--stone-800);
}

.voice-capability {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.voice-capability:last-child {
    border-bottom: none;
}

.voice-capability-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--stone-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-capability-icon svg {
    color: var(--eg-green);
}

.voice-capability h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.3rem;
    letter-spacing: 0;
}

.voice-capability p {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.7;
    font-weight: 300;
}

/* Integration card */
.voice-integrations {
    background: var(--stone-950);
    border-radius: 16px;
    padding: 2.5rem;
    position: sticky;
    top: 120px;
}

.voice-integrations h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.voice-integrations > p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.voice-integrations ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.voice-integrations li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.voice-integrations li svg {
    color: var(--eg-green);
    flex-shrink: 0;
}

/* ---- Compliance ---- */
.voice-compliance {
    padding: 6rem 4%;
    background: white;
}

.voice-compliance-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--stone-950);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.voice-compliance-text {
    padding: 3rem 3rem 0;
}

.voice-compliance-text .eyebrow {
    color: var(--eg-green);
}

.voice-compliance-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.voice-compliance-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 680px;
}

.voice-compliance-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
}

.voice-compliance-stat {
    text-align: center;
}

.voice-compliance-stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.voice-compliance-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    line-height: 1.4;
}

/* ---- EG GPT Cross-Sell ---- */
.voice-gpt {
    padding: 5rem 4%;
    background: var(--stone-50);
}

.voice-gpt-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.voice-gpt-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--eg-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.voice-gpt-icon svg {
    color: var(--eg-green);
}

.voice-gpt-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.voice-gpt-inner p {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.voice-gpt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--eg-green);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.voice-gpt-link:hover {
    gap: 0.75rem;
}

/* ---- CTA ---- */
.voice-cta {
    padding: 8rem 4%;
    text-align: center;
    background: white;
}

.voice-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.voice-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--stone-800);
    margin-bottom: 1.25rem;
}

.voice-cta p {
    color: var(--stone-500);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.voice-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.voice-cta .btn-cta {
    display: inline-block;
    background: var(--eg-green);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.voice-cta .btn-cta:hover {
    background: var(--stone-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.voice-cta-link {
    color: var(--stone-500);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.voice-cta-link:hover {
    color: var(--eg-green);
}

/* ---- Wave Dividers ---- */
.voice-impact::after,
.voice-flow::after,
.voice-capabilities::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 48px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* White → White (impact to flow) */
.voice-impact::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,48 L0,24 C240,40 480,8 720,28 C960,48 1200,12 1440,20 L1440,48 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* White → Stone-50 (flow to capabilities) */
.voice-flow::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,48 L0,28 C180,8 420,40 660,24 C900,8 1140,36 1440,16 L1440,48 Z' fill='%23fafaf9'/%3E%3C/svg%3E");
}

/* Stone-50 → White (capabilities to compliance) */
.voice-capabilities::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,48 L0,12 C240,32 480,4 720,20 C960,36 1200,8 1440,24 L1440,48 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* ---- Nav overrides (light bg from start) ---- */
body.page-eg-voice-clean nav:not(.scrolled) .nav-links-list a {
    color: var(--stone-600);
}

body.page-eg-voice-clean nav:not(.scrolled) .nav-cta {
    background: var(--stone-950);
    color: var(--stone-50);
    border: none;
    backdrop-filter: none;
}

body.page-eg-voice-clean nav:not(.scrolled) .nav-logo .logo-hero {
    display: none;
}

body.page-eg-voice-clean nav:not(.scrolled) .nav-logo .logo-scrolled {
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .voice-capabilities-inner {
        grid-template-columns: 1fr;
    }

    .voice-integrations {
        position: static;
    }

    .voice-compliance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .voice-intro {
        padding: 10rem 4% 3rem;
    }

    .voice-impact {
        padding: 4rem 4%;
    }

    .voice-impact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .voice-flow-step {
        gap: 1.25rem;
    }

    .voice-compliance-text {
        padding: 2rem 2rem 0;
    }

    .voice-compliance-stats {
        padding: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .voice-compliance-text {
        padding: 1.5rem 1.5rem 0;
    }

    .voice-compliance-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .voice-compliance-inner {
        border-radius: 14px;
    }

    .voice-impact-stat {
        margin-bottom: 2.5rem;
    }

    .voice-integrations {
        padding: 1.75rem;
    }

    .voice-flow-step {
        gap: 1rem;
    }
}
