/* ===== Envoy Page ===== */

.envoy-page {
    min-height: 100vh;
    background: #f8fafc;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 0;
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Glow blobs ── */
.ep-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.ep-glow--tl {
    top: -100px;
    left: -120px;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(0,168,150,0.08) 0%, transparent 65%);
}

.ep-glow--br {
    bottom: -80px;
    right: -100px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(0,168,150,0.06) 0%, transparent 65%);
}

/* ── Watermark ── */
.ep-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ep-watermark {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 16vw, 200px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(0,0,0,0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ── Header ── */
.ep-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ep-tag {
    display: inline-block;
    border: 1px solid rgba(0,168,150,0.4);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(0,168,150,0.06);
}

.ep-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.ep-sub {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 560px;
}

/* ── Video Frame ── */
.ep-video-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin-top: 3.5rem;
    padding: 0 1rem;
}

.ep-video-frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 24px 64px rgba(0,0,0,0.10);
    background: #0f172a;
}

.ep-video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e2e8f0;
}

.ep-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
}


/* CTA inside video frame */
.ep-video-cta {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.ep-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 5px 20px 5px 5px;
    background: linear-gradient(180deg, #00bfac 0%, #00A896 50%, #009688 100%);
    color: #ffffff;
    font-family: inherit;
    text-decoration: none;
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -1px 0 rgba(0,0,0,0.15) inset,
        0 4px 0 #006d63,
        0 6px 16px rgba(0,168,150,0.45);
    transition: transform 0.12s, box-shadow 0.12s;
    white-space: nowrap;
    position: relative;
    top: 0;
}

.ep-video-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -1px 0 rgba(0,0,0,0.15) inset,
        0 6px 0 #006d63,
        0 10px 24px rgba(0,168,150,0.5);
}

.ep-video-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.2) inset,
        0 -1px 0 rgba(0,0,0,0.1) inset,
        0 1px 0 #006d63,
        0 2px 8px rgba(0,168,150,0.3);
}

.ep-video-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #009688 0%, #006d63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.15) inset,
        0 2px 4px rgba(0,0,0,0.2);
}

.ep-video-btn-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

.ep-video-btn-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ══════════════════════
   INTERACT SECTION
══════════════════════ */
.ep-interact {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 5rem -2rem 0;
    background: #f8fafc;
    padding: 6rem 2rem 5rem;
    display: flex;
    justify-content: center;
}

.ep-interact-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: stretch;
}

.ep-interact-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ep-interact-img-wrap {
    flex: 1;
}

.ep-interact-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.ep-interact-title em {
    font-style: normal;
    color: #00A896;
    font-weight: 800;
}

.ep-interact-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #0f172a;
    min-height: 320px;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 16px 40px rgba(0,0,0,0.08);
}

.ep-interact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ep-interact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
}

.ep-feat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,168,150,0.1);
    border: 1px solid rgba(0,168,150,0.2);
    color: #00A896;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ep-feat-icon svg {
    width: 20px;
    height: 20px;
}

.ep-feat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ep-feat-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

/* ══════════════════════
   COMPARE SECTION
══════════════════════ */
.ep-compare {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ep-compare-inner {
    width: 100%;
    max-width: 1200px;
}

.ep-compare-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    position: relative;
}

.ep-compare-title-wrap {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.ep-compare-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 560px;
    flex: 1;
    min-width: 280px;
    transition: opacity 0.25s;
}

.ep-compare-title--hidden {
    display: none;
}

.ep-compare-title-accent {
    color: #00A896;
}

/* Toggle pill */
.ep-compare-toggle {
    position: relative;
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) inset;
}

.ep-ct-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: #94a3b8;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ep-ct-btn--active { color: #ffffff; }

.ep-ct-thumb {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: linear-gradient(180deg, #00bfac 0%, #00A896 100%);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,168,150,0.35);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.ep-compare-toggle--with .ep-ct-thumb { transform: translateX(100%); }

/* Grid */
.ep-compare-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ep-compare-grid--active { display: grid; }

.ep-compare-card {
    background: #fef3ec;
    border: 1px solid #fde0cf;
    border-radius: 20px;
    padding: 32px 28px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ep-compare-card--good {
    background: #ecfdf7;
    border-color: #b9eedd;
}

.ep-compare-card-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #7a3b1c;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ep-compare-card--good .ep-compare-card-title { color: #075e4a; }

.ep-compare-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9a5a3a;
}

.ep-compare-card--good .ep-compare-card-text { color: #3f7763; }

@media (max-width: 860px) {
    .ep-compare-grid { grid-template-columns: 1fr; }
    .ep-compare-card { min-height: 160px; padding: 28px 22px; }
}

@media (max-width: 1080px) {
    .ep-interact-inner { gap: 56px; }
    .ep-interact-grid { gap: 30px 24px; }
}

@media (max-width: 960px) {
    .ep-interact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .ep-interact-left { max-width: 720px; margin: 0 auto; width: 100%; }
    .ep-interact-img-wrap {
        min-height: 0;
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }
    .ep-interact-img-wrap > .ep-interact-img { height: 100%; }
    .ep-interact { padding: 5rem 1.5rem 4rem; }
    .ep-interact-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}

@media (max-width: 640px) {
    .ep-interact-grid { grid-template-columns: 1fr; gap: 28px; }
    .ep-interact-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .ep-interact-left { gap: 24px; }
}

/* ══════════════════════
   OUTCOMES SECTION
══════════════════════ */
.ep-outcomes {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #f8fafc;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ep-outcomes-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.ep-outcomes-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ep-outcomes-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ep-outcomes-sub {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 360px;
}

.ep-outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 0;
}

.ep-outcome {
    padding: 28px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-outcome:nth-child(1),
.ep-outcome:nth-child(2) {
    padding-top: 0;
}

.ep-outcome:nth-child(3),
.ep-outcome:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
}

.ep-outcome-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00A896;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ep-outcome-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

@media (max-width: 960px) {
    .ep-outcomes-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .ep-outcomes { padding: 5rem 1.5rem; }
    .ep-outcomes-sub { max-width: 100%; }
}

@media (max-width: 640px) {
    .ep-outcomes-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .ep-outcome:nth-child(2) { padding-top: 28px; }
    .ep-outcome:nth-child(3) {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 28px;
    }
}

/* ══════════════════════
   EARLY-ACCESS CTA
══════════════════════ */
.ep-cta {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    display: flex;
    justify-content: center;
}

.ep-cta-card {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(160deg, #062a26 0%, #0f3933 55%, #0a2521 100%);
    border-radius: 24px;
    padding: 36px 56px;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.06),
        0 28px 60px rgba(0,168,150,0.18);
    border: 1px solid rgba(0,168,150,0.25);
}

.ep-cta-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(0,191,172,0.35) 0%, transparent 65%);
    pointer-events: none;
}

.ep-cta-tag {
    position: relative;
    display: inline-block;
    border: 1px solid rgba(0,191,172,0.45);
    color: #5eead4;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(0,191,172,0.08);
    margin-bottom: 12px;
}

.ep-cta-title {
    position: relative;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.ep-cta-sub {
    position: relative;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    max-width: 560px;
    margin: 0 auto 20px;
}

.ep-cta-form {
    position: relative;
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 6px 6px 6px 22px;
    transition: border-color 0.2s;
}

.ep-cta-form:focus-within {
    border-color: rgba(0,191,172,0.6);
    box-shadow: 0 0 0 4px rgba(0,168,150,0.12);
}

.ep-cta-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    min-width: 0;
}

.ep-cta-input::placeholder { color: rgba(255,255,255,0.45); }

.ep-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #00bfac 0%, #00A896 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,168,150,0.4);
    white-space: nowrap;
}

.ep-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,168,150,0.55);
}

.ep-cta-btn svg {
    width: 16px;
    height: 16px;
}

.ep-cta-msg {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.25s;
    white-space: nowrap;
    pointer-events: none;
}

.ep-cta-msg.show { opacity: 1; }

.ep-cta-success { color: #5eead4; }
.ep-cta-error   { color: #fca5a5; }

.ep-cta-note {
    position: relative;
    margin-top: 18px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .ep-cta { padding: 4rem 1.25rem 5rem; width: calc(100% + 2.5rem); margin: 0 -1.25rem; }
    .ep-cta-card { padding: 40px 24px; border-radius: 22px; }
    .ep-cta-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    .ep-cta-form:focus-within { box-shadow: none; }
    .ep-cta-input {
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 999px;
        padding: 14px 20px;
    }
    .ep-cta-btn { justify-content: center; padding: 14px 20px; }
}

@media (max-width: 600px) {
    .envoy-page { padding: 5rem 1.25rem 3rem; }
    .ep-title { font-size: 2rem; }
    .ep-watermark { font-size: 18vw; top: -1%; }
    .ep-video-frame { border-radius: 16px; }
    .ep-video-cta { bottom: 16px; }
    .ep-video-btn { padding: 4px 16px 4px 4px; }
    .ep-video-btn-icon { width: 32px; height: 32px; margin-right: 10px; }
    .ep-video-btn-icon svg { width: 14px; height: 14px; }
    .ep-video-btn-text { font-size: 0.78rem; }

    .ep-interact { width: calc(100% + 2.5rem); margin: 3rem -1.25rem 0; padding: 4rem 1.25rem 3rem; }
    .ep-interact-img-wrap { aspect-ratio: 16 / 11; max-height: 320px; }
}
