@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

@font-face {
    font-family: 'Roboto';
    src: url('https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nasalization';
    src: url("/static/fonts/nasalization-rg.3e5a870c6d7a.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --orange:        #FF4500;
    --orange-dark:   #D93A00;
    --orange-light:  #FF6B35;
    --orange-faint:  rgba(255, 69, 0, 0.08);
    --blue:          #01B0FD;
    --blue-dark:     #0090D4;
    --blue-faint:    rgba(1, 176, 253, 0.08);
    --black:         #0D0D0D;
    --black-soft:    #1A1A1A;
    --gray-dark:     #444444;
    --gray-mid:      #888888;
    --gray-light:    #E8E8E8;
    --off-white:     #F7F7F7;
    --white:         #FFFFFF;

    /* legacy aliases kept so inline styles in the template still resolve */
    --primary-color:   var(--orange);
    --secondary-color: var(--orange-dark);
    --accent-color:    var(--orange-light);
    --bg-color:        var(--off-white);
    --text-color:      var(--black);
    --medium-gray:     var(--gray-mid);
    --card-bg:         var(--white);
}

/* ─── Dark theme ─────────────────────────────────────────────────────────
   Same near-black-with-warm-undertone palette as the dashboard
   (templates/base.html) so the marketing site and app read as one product.
   Brand orange stays saturated; only surfaces/ink invert. ──────────────── */
:root[data-theme="dark"] {
    --white:         #0D0E12;   /* page background */
    --black:         #F2F2F2;   /* primary text on light surfaces */
    --black-soft:    #15171C;
    --gray-dark:     #B5B8BF;   /* body text */
    --gray-mid:      #898C93;   /* muted text */
    --gray-light:    #2C2F36;   /* borders */
    --off-white:     #1A1C22;   /* card surface */
}

:root[data-theme="dark"] {
    /* Hardcoded light surfaces that don't flow through the variables above */
    .case-study-section { background: var(--off-white) !important; }
    .cta-section        { background-color: var(--off-white); }
    .trust-section      { background: var(--white); }

    /* Trust logos are dark marks, some on opaque white: invert them and let
       screen blending drop the (now black) backing so they read on dark. */
    .trust-logo-img,
    .trust-logo-img:hover { filter: grayscale(100%) invert(1) opacity(0.6); mix-blend-mode: screen; }
    .trust-logo-img:hover { filter: grayscale(100%) invert(1) opacity(1); }

    /* Bootstrap's hamburger icon is dark-on-transparent */
    .navbar-toggler-icon { filter: invert(1); }

    /* Bootstrap ink utilities are fixed dark greys that vanish on dark surfaces
       (section subtitles, plan descriptions, testimonial copy) */
    .text-muted { color: var(--gray-mid) !important; }
    .text-dark  { color: var(--black) !important; }

    /* Comparison table: Bootstrap paints cells with its own light-theme ink,
       and the inverted thead would otherwise become a white slab */
    .comparison-table {
        --bs-table-color: var(--gray-dark);
        --bs-table-bg: transparent;
        color: var(--gray-dark);
        border: 1px solid var(--gray-light);
    }
    .comparison-table thead { background: #23262C; }
    .comparison-table thead th { color: var(--black); }
    .comparison-table tbody td { color: var(--gray-dark); }
    .comparison-table tbody td strong { color: var(--black); }
    .comparison-table tbody tr:last-child td { border-bottom: 0; }
    .comparison-table thead small { color: var(--gray-dark) !important; opacity: 1; }

    /* Testimonial quote mark is a faint black glyph */
    .case-study-quote .fa-quote-left { color: rgba(255, 255, 255, 0.18) !important; }

    /* Mockup inks hardcoded for light panels */
    .tc-feed-title { color: #E6E8EC !important; }
    .tc-src-sub,
    .exp-seed-label,
    .exp-panel-title,
    .tc-table thead th { color: #9AA0AA !important; }
    .ie-ai-dot,
    .ie-angle-arrow,
    .ie-fit-score,
    .ie-caption { color: #7AA5FF !important; }

    /* Navbar pill + mobile collapse were translucent white; on dark that
       reads as a near-opaque white block, so darken them. */
    .navbar-nav {
        background: rgba(26, 28, 34, 0.9);
        border-color: var(--gray-light);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    }
    .navbar-collapse.show { background: var(--off-white); }

    /* Inline-style "white" borders on floating chips wash out on dark */
    .floating-element { background: var(--off-white); }
    .floating-element strong { color: var(--white); }

    /* Proof avatars sit on an off-white card; keep their white ring subtle */
    .proof-avatars .avatar { border-color: var(--off-white); }

    /* Case-study quote block */
    .case-study-quote {
        background: var(--off-white);
        border-color: var(--gray-light);
    }

    /* Pricing trust badges */
    .pricing-trust-badge { background: var(--off-white); border-color: var(--gray-light); }

    /* FAQ support cards */
    .faq-support-card { background: var(--off-white); }
    .faq-card         { background: var(--off-white); }

    /* Comparison table still uses a dark header by design; keep its rows
       readable on the dark card surface */
    .comparison-table tbody tr:hover { background: var(--black-soft); }
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
body {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--black);
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: transparent;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Nasalization', 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--black);
    transition: opacity 0.3s ease;
}

.navbar-brand:hover { opacity: 0.75; color: var(--black); }

.navbar-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    gap: 0.5rem;
}

.nav-link {
    color: var(--black);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.nav-link::after { display: none; }

.nav-link:hover {
    color: var(--orange);
    background: var(--orange-faint);
}

.navbar .btn-outline-light {
    border: 2px solid var(--black);
    color: var(--black);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    background: transparent;
    transition: all 0.25s ease;
}

.navbar .btn-outline-light:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

.navbar .btn-light {
    background: var(--orange);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.25);
}

.navbar .btn-light:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.35);
}

.navbar-toggler {
    border: 2px solid var(--black);
    padding: 0.5rem;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-collapse.show {
    background: var(--white);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .navbar {
        background: transparent;
        position: relative;
    }

    .navbar-nav {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-direction: column;
        gap: 0;
    }

    .nav-link:hover { background: transparent; }

    .navbar .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .navbar .btn-outline-light,
    .navbar .btn-light { width: 100%; }

    /* Actions live inside the collapse: stack them full-width in the open menu */
    .navbar .d-flex { align-items: stretch !important; }
    .navbar .d-flex .me-2 { margin-right: 0 !important; }
}

/* ─── Demo Player ───────────────────────────────────────────────────────── */
.demo-player {
    position: relative;
}

.demo-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.demo-tab {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    color: var(--gray-dark);
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.demo-tab:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.demo-tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.25);
}

.demo-screens { position: relative; }

.demo-screen { display: none; }
.demo-screen.active { display: block; }

.demo-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--black);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--gray-light);
}

.demo-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none; /* shown when src is set */
}

.demo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--black-soft) 0%, #2a2a2a 100%);
}

.demo-placeholder i { color: var(--orange); }
.demo-placeholder p  { color: rgba(255,255,255,0.75); margin: 0; }
.demo-placeholder p.fw-bold { color: var(--white); font-size: 1.1rem; margin-bottom: 0.35rem; }

.demo-caption {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: 0.9rem;
    line-height: 1.6;
    padding: 0 0.25rem;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero-clean {
    background: var(--white);
    padding: 0;
}

.hero-content-clean { position: relative; }

.hero-eyebrow {
    display: flex;
    align-items: center;
}

.eyebrow-badge {
    background: var(--blue-faint);
    color: var(--blue-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(1, 176, 253, 0.25);
}

.hero-title-clean {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--black);
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text {
    color: var(--black);
    font-size: 0.8em;
}

.hero-description-clean {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--gray-dark);
}

.hero-cta-clean {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-hero-gradient {
    background: var(--orange);
    color: var(--white);
    padding: 1.1rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-hero-gradient:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(255, 69, 0, 0.4);
}

.hero-note-clean {
    color: var(--gray-mid);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.proof-avatars {
    display: flex;
    margin-left: -10px;
}

.proof-avatars .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 3px solid var(--white);
    margin-left: -10px;
}

.proof-text { font-size: 0.9rem; color: var(--black); }
.proof-text strong { color: var(--orange); }

/* Hero visual */
.hero-visual-clean { position: relative; }

.visual-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-light);
    animation: float-gentle 5s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.floating-element {
    position: absolute;
    background: var(--white);
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--gray-light);
    animation: element-float 3s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.4rem;
    color: var(--orange);
}

.floating-element strong {
    display: block;
    font-size: 0.9rem;
    color: var(--black);
    margin-bottom: 0.1rem;
}

.floating-element small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-mid);
}

.element-1 { top: 15%; left: -80px; animation-delay: 0s; }
.element-2 { top: 50%; right: -80px; animation-delay: 1s; }
.element-3 { bottom: 10%; left: -60px; animation-delay: 2s; }

@keyframes element-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-15px); }
}

@media (max-width: 991px) {
    .hero-clean { min-height: auto; padding: 80px 0 60px; }
    .hero-title-clean { font-size: 2.4rem; }
    .floating-element { position: static; margin: 1rem 0; }
    .hero-proof { flex-direction: column; text-align: center; }
    .proof-avatars { margin-left: 0; justify-content: center; }
}

@media (max-width: 767px) {
    .hero-cta-clean { align-items: stretch; }
    .btn-hero-gradient { width: 100%; text-align: center; }
}

/* Hero refresh (index.html) — scoped so older landing variants keep their look */
.hero-refresh {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-refresh::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 55% at 10% 0%, rgba(255, 69, 0, 0.10), transparent 70%),
        radial-gradient(55% 60% at 95% 55%, rgba(1, 176, 253, 0.12), transparent 70%);
}

.hero-refresh .hero-row { padding: 150px 0 90px; }

.hero-refresh .hero-title-clean {
    font-size: clamp(2.4rem, 4.4vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-refresh .brand-text {
    font-size: inherit;
    white-space: nowrap;
    padding-bottom: 0.12em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 50 2, 120 2, 197 7' fill='none' stroke='%23FF4500' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat bottom / 100% 0.2em;
}

.hero-refresh .hero-description-clean {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    max-width: 34rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.75rem;
}

.hero-refresh .btn-hero-gradient { padding: 1rem 2rem; }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-hero-ghost i { font-size: 0.85em; transition: transform 0.2s ease; }
.btn-hero-ghost:hover { color: var(--orange); }
.btn-hero-ghost:hover i { transform: translateY(3px); }

.hero-refresh .hero-proof {
    gap: 0.9rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.hero-refresh .proof-avatars { margin-left: 0; flex: none; }

.hero-refresh .proof-avatars .avatar {
    width: 36px;
    height: 36px;
    font-size: 0.68rem;
    border-width: 2px;
}

.hero-refresh .proof-avatars .avatar:first-child { margin-left: 0; background: var(--orange); color: #fff; }
.hero-refresh .proof-avatars .avatar:nth-child(2) { background: var(--blue-dark); color: #fff; }

.hero-refresh .demo-player::before {
    content: '';
    position: absolute;
    inset: 10% -3% -4% 6%;
    z-index: -1;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.32), rgba(1, 176, 253, 0.32));
    filter: blur(60px);
}

.hero-refresh .demo-video-wrap {
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.hero-refresh .demo-caption {
    max-width: 36rem;
    margin: 1.1rem auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-mid);
}

@media (max-width: 991px) {
    .hero-refresh { padding: 0; }
    .hero-refresh .hero-row { padding: 40px 0 56px; } /* navbar is in-flow at this width */
    .hero-refresh .hero-title-clean { font-size: clamp(2.3rem, 9vw, 3.2rem); }
    .hero-refresh .hero-proof { flex-direction: row; text-align: left; }
    .hero-refresh .proof-avatars { justify-content: flex-start; }
}

@media (max-width: 767px) {
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .btn-hero-ghost { justify-content: center; }
}

/* ─── Trust Section ─────────────────────────────────────────────────────── */
.trust-section {
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    background: var(--white);
}

.trust-label {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: var(--gray-mid);
    font-weight: 600;
}

.logo-grid-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.trust-logo-img {
    height: 56px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.trust-logo-img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* ─── Metrics Section ───────────────────────────────────────────────────── */
.metrics-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--black);
}

.metrics-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20vw, 25rem);
    font-weight: 700;
    color: rgba(255, 69, 0, 0.12);
    white-space: nowrap;
    z-index: 1;
    font-family: 'Roboto', sans-serif;
}

.metrics-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,13,13,0.9), rgba(13,13,13,0.75));
    z-index: 1;
}

.metrics-content { position: relative; z-index: 2; }

.metrics-number {
    background: linear-gradient(135deg, var(--orange-light), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
}

.metrics-description {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

/* ─── Pain Killer / Why Section ─────────────────────────────────────────── */
.pain-killer-card {
    background: var(--white);
    border: 1px solid var(--gray-light) !important;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pain-killer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(255, 69, 0, 0.12);
    border-color: var(--orange) !important;
}

.pain-icon { color: var(--orange); }

.pain-killer-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ─── Marquee ───────────────────────────────────────────────────────────── */
.marquee-container {
    overflow: hidden;
    padding: 1rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.marquee {
    white-space: nowrap;
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee.reverse { animation: marquee-reverse 30s linear infinite; }

@keyframes marquee         { 0% { transform: translateX(0);    } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0);    } }

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    margin: 0 0.75rem;
    min-width: 190px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.marquee-item.primary {
    background: var(--orange-faint);
    color: var(--orange);
    border: 1px solid rgba(255, 69, 0, 0.15);
}

.marquee-item.accent {
    background: var(--blue-faint);
    color: var(--blue-dark);
    border: 1px solid rgba(1, 176, 253, 0.2);
}

.marquee-item.primary:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.marquee-item.accent:hover  { background: var(--blue);   color: var(--white); transform: translateY(-2px); }

/* ─── Features Section ──────────────────────────────────────────────────── */
.feature-badge {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 0.45rem 1.25rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-badge.blue {
    background: var(--blue);
    color: var(--white);
}

.feature-checklist { list-style: none; padding: 0; }

.feature-checklist li {
    padding: 0.7rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gray-light);
}

.feature-checklist li:last-child { border-bottom: none; }

.feature-checklist li i {
    color: var(--orange);
    margin-right: 1rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ─── Comparison Table ──────────────────────────────────────────────────── */
.comparison-section { background: var(--off-white); }

.comparison-table {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.comparison-table thead {
    background: var(--black);
    color: var(--white);
}

.comparison-table thead th {
    padding: 1.4rem;
    font-weight: 700;
    border: none;
    color: var(--white);
}

.comparison-table thead small { color: inherit !important; opacity: 0.65; }

.comparison-table tbody td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--gray-light);
}

.comparison-table tbody tr:hover { background: var(--off-white); }

.trendscribbr-col {
    background: var(--orange-faint);
    border-left: 2px solid var(--orange) !important;
}

/* ─── Case Study / ROI Section ──────────────────────────────────────────── */
.case-study-section {
    position: relative;
    overflow: hidden;
    background: #fff !important;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.roi-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 3px solid var(--orange);
}

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

.roi-card.blue { border-top-color: var(--blue); }

.roi-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.roi-card.blue .roi-number { color: var(--blue); }

.roi-label { color: var(--gray-dark); font-size: 0.9rem; }

/* ─── Pricing Cards ─────────────────────────────────────────────────────── */
.pricing-card-preview {
    border: 1px solid var(--gray-light) !important;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.pricing-card-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--orange) !important;
}

.pricing-featured {
    border: 2px solid var(--orange) !important;
    position: relative;
    transform: scale(1.05);
}

.pricing-featured:hover { transform: scale(1.05) translateY(-8px); }

.popular-label {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--orange);
    color: var(--white);
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-tag .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
}

.price-tag .period {
    font-size: 1.1rem;
    color: var(--gray-mid);
}

/* ─── CTA Section ───────────────────────────────────────────────────────── */
.cta-section {
    padding: 100px 0 110px;
    background-color: #fff;
}

/* Card */
.cta-why-card {
    background: var(--black);
    border-radius: 24px;
    padding: 56px 52px 0;
    overflow: hidden;
}

.cta-why-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
}

/* 3-column feature grid */
.cta-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

.cta-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
}

.cta-why-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: 0.78rem;
    margin-top: 1px;
}

.cta-why-item strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}

.cta-why-item span {
    color: rgba(255,255,255,.38);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* Bottom bar */
.cta-why-bottom {
    background: rgba(0,0,0,.35);
    margin: 0 -52px;
    padding: 22px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-why-tagline {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.cta-why-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #fff;
    color: #0a0a0a;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-why-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,.18);
    color: #0a0a0a;
}

@media (max-width: 768px) {
    .cta-why-card  { padding: 40px 24px 0; }
    .cta-why-grid  { grid-template-columns: 1fr; }
    .cta-why-bottom {
        flex-direction: column;
        text-align: center;
        margin: 0 -24px;
        padding: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cta-why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.65);
}

/* Top CTA strip */
.footer-cta-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cta-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff; /* footer stays dark in both themes */
    margin-bottom: 4px;
}

.footer-cta-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 0.65rem 1.6rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

/* .footer a dims every link to 50% white, which washed out this button's label */
.footer .footer-cta-btn,
.footer .footer-cta-btn:hover { color: #fff; }

.footer-cta-btn:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.35);
}

/* Column headings */
.footer-col-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Links */
.footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.22s ease;
    font-size: 0.9rem;
}

.footer a:hover { color: var(--orange); }

.footer ul.list-unstyled li { margin-bottom: 0.55rem; }

/* Platform source badges */
.footer-platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.footer-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-platform-badge.reddit  { color: #FF6534; border-color: rgba(255,101,52,.3); background: rgba(255,101,52,.08); }
.footer-platform-badge.twitter { color: rgba(255,255,255,.7); }
.footer-platform-badge.tiktok  { color: rgba(255,255,255,.7); }

/* Social icons */
.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--orange);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.8rem;
}

.footer-bottom-links a:hover { color: var(--orange) !important; }

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ─── Section Eyebrow Labels ────────────────────────────────────────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-faint);
    color: var(--orange);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-eyebrow.blue {
    background: var(--blue-faint);
    color: var(--blue-dark);
    border-color: rgba(1, 176, 253, 0.25);
}

/* ─── Comparison Table ──────────────────────────────────────────────────── (header supplement) */
.comparison-winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: white;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}

/* ─── Case Study stars ─────────────────────────────────────────────────── */
.case-study-stars {
    color: #FBBF24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.case-study-quote {
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 2rem;
}

/* ─── Pricing trust badge ───────────────────────────────────────────────── */
.pricing-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pricing-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.pricing-trust-badge i { color: var(--orange); font-size: 0.9rem; }

/* ─── FAQ Cards ─────────────────────────────────────────────────────────── */
.faq-section { background: var(--off-white); }

.faq-intro-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }

.faq-support-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.faq-support-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--orange-faint);
    color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-support-title { font-size: 0.9rem; font-weight: 700; color: var(--black); }
.faq-support-sub   { font-size: 0.8rem; color: var(--gray-mid); margin-top: 2px; }

.faq-support-btn {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.faq-support-btn:hover { text-decoration: underline; }

.faq-grid { display: flex; flex-direction: column; gap: 14px; }

.faq-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-card:hover {
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.08);
}

.faq-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--orange-faint);
    color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-q {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    line-height: 1.4;
}

.faq-a {
    font-size: 0.875rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* ─── Accordion (legacy, keep for other pages) ──────────────────────────── */
.accordion-item {
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--orange-faint);
    color: var(--orange);
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; border: none; }

.accordion-button::after {
    filter: none;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .metrics-section { padding: 80px 0; }
    .metrics-background { font-size: 8rem; }
    .pricing-featured { transform: none; margin: 2rem 0; }
    .pricing-featured:hover { transform: translateY(-8px); }
}

@media (max-width: 767px) {
    .display-4 { font-size: 1.8rem; }
    .lead { font-size: 1rem; }
    .logo-grid-inline { gap: 1rem; }
    .roi-card { margin-bottom: 1rem; }
    .roi-number { font-size: 1.9rem; }
}

/* ─── Dark theme: decorative "product" mockups ─────────────────────────────
   The Step widgets below (Trend Capture / Insight Engine / Content Expansion)
   are built with hardcoded light surfaces + dark ink inside index.html's
   inline <style> blocks. Invert just those surfaces + their text here so the
   mockups read correctly on the dark page without touching each inline rule. ─ */
:root[data-theme="dark"] {
    /* Trend Capture */
    .tc-visual        { background: #1A1C22; border-color: rgba(255,69,0,.25); }
    .tc-src-card,
    .tc-out-card,
    .tc-feed,
    .tc-realtime-badge { background: #23262C; border-color: #34383F; color: #E6E8EC; }
    .tc-src-label,
    .tc-t-name        { color: #E6E8EC !important; }
    .tc-t-sub,
    .tc-eng-sub,
    .tc-vel-sub,
    .tc-feed-filter   { color: #898C93 !important; }
    .tc-eng           { color: #F2F2F2 !important; }
    .tc-feed-hdr      { border-color: #2C2F36; }
    .tc-table thead th { background: #20232A; color: #6E7178 !important; }
    .tc-table tbody tr { border-color: #2C2F36; }
    .tc-table tbody tr:hover { background: #20232A; }
    .tc-radar-svg circle:first-child { fill: rgba(255,69,0,.08) !important; }

    /* Insight Engine */
    .ie-visual        { background: #1A1C22; border-color: rgba(37,99,235,.25); }
    .ie-analyzing-bar,
    .ie-panel,
    .ie-fit-row,
    .ie-angle-item    { background: #23262C; border-color: #34383F; color: #E6E8EC; }
    .ie-trend-chip    { background: rgba(37,99,235,.18); border-color: rgba(37,99,235,.45); color: #93B4FB; }
    .ie-driver-text,
    .ie-fit-sub       { color: #B5B8BF !important; }
    .ie-panel-title,
    .ie-why-label,
    .ie-analyzing-label,
    .ie-fit-title     { color: #898C93 !important; }
    .ie-driver-icon   { background: rgba(37,99,235,.18); color: #93B4FB; }

    /* Content Expansion */
    .exp-visual       { background: #1A1C22; border-color: rgba(255,69,0,.25); }
    .exp-seed-row,
    .exp-article-item,
    .exp-cluster-panel,
    .exp-publish-panel { background: #23262C; border-color: #34383F; }
    .exp-art-title    { color: #E6E8EC !important; }
    .exp-art-meta,
    .exp-pub-status   { color: #898C93 !important; }
    .exp-pub-name     { color: #B5B8BF !important; }
    .exp-status.queued { background: #2C2F36 !important; color: #B5B8BF !important; }

    /* Intentionally-dark slabs that rely on --black / #fff. In dark mode
       --black inverts to a light ink, so pin these back to dark surfaces
       with light text (matching the dashboard's near-black palette). */
    .footer,
    .metrics-section,
    .cta-why-card { background-color: #0D0D0D !important; }
    .footer { color: rgba(255,255,255,.65) !important; }
    .cta-why-heading { color: #fff !important; }
    .cta-why-tagline { color: #fff !important; }

    /* The CTA band wrapper was #fff; keep it a dark surface too. */
    .cta-section { background-color: #0D0E12 !important; }
}

/* ═══ Landing page redesign ═════════════════════════════════════════════════
   Everything below is scoped to body.lp (index.html) so the older landing
   variants that share this stylesheet keep their look. ═══════════════════ */
.lp h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.lp-section { position: relative; padding: 96px 0; background: var(--white); }
.lp-section.lp-alt { background: var(--off-white); }

.lp-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.lp-head .section-eyebrow { margin-bottom: 18px; }
.lp-head h2 { margin-bottom: 14px; }
.lp-sub { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--gray-dark); }
.lp-accent { color: var(--orange); }

/* Cards sit one step off whatever surface their section uses */
.lp-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.05);
}
.lp-section:not(.lp-alt) .lp-card { background: var(--off-white); box-shadow: none; }

/* Buttons / links */
.lp-btn {
    display: block;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.lp-btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 69, 0, 0.28); }
.lp-btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.lp-btn-outline { border: 1.5px solid var(--gray-light); color: var(--black); }
.lp-btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.lp-link { color: var(--orange); font-weight: 700; text-decoration: none; }
.lp-link i { margin-left: 6px; font-size: 0.85em; transition: transform 0.2s ease; }
.lp-link:hover { color: var(--orange-dark); }
.lp-link:hover i { transform: translateX(4px); }

/* Headline metric */
.lp-metric { padding: 72px 0 84px; background: var(--white); }
.lp-metric-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.lp .lp-metric-number {
    margin-bottom: 18px;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--orange), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-metric-text { max-width: 620px; margin: 0 auto; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--gray-dark); }

/* Problem cards */
.lp-pain { display: flex; flex-direction: column; height: 100%; padding: 20px 20px 28px; }
.lp-pain:hover { transform: translateY(-4px); border-color: rgba(255, 69, 0, 0.35); }
.lp-pain-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    margin-bottom: 22px;
    overflow: hidden;
    background: #fff; /* the illustrations are drawn on white */
    border: 1px solid var(--gray-light);
    border-radius: 12px;
}
.lp-pain-media img { width: 100%; height: 100%; object-fit: contain; }
.lp-pain-num { margin: 0 8px 8px; font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; color: var(--orange); }
.lp-pain h3 { margin: 0 8px 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.lp-pain p { margin: 0 8px; font-size: 0.98rem; line-height: 1.65; color: var(--gray-dark); }

/* Audience marquee */
.lp-audience { padding: 40px 0 44px; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.lp-audience-label { margin-bottom: 16px; text-align: center; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; color: var(--gray-mid); }
.lp-audience .marquee-container {
    padding: 6px 0;
    background: transparent;
    border: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-audience .marquee { width: max-content; animation-duration: 70s; }
.lp-audience .marquee-item { min-width: 0; margin: 0 0.4rem; padding: 0.6rem 1.4rem; border-radius: 50px; font-size: 0.9rem; }

/* Feature steps */
.lp-features .lp-head { margin-bottom: 16px; }
.lp-feature-row { padding: 56px 0; }
.lp-feature-row:last-child { padding-bottom: 0; }
.lp-feature-row h3 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.lp-feature-row .lead { font-size: 1.08rem; line-height: 1.7; color: var(--gray-dark); }
.lp-step { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.2px; color: var(--orange); }
.lp-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 0.85rem; letter-spacing: 0; }
.lp-step.blue { color: var(--blue-dark); }
.lp-step.blue span { background: var(--blue-dark); }

.lp .comparison-table { border-radius: 18px; margin-bottom: 0; }

/* Results */
.lp-quote { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 36px; }
.lp-quote-stars { margin-bottom: 18px; color: #F59E0B; letter-spacing: 3px; }
.lp-quote blockquote { flex: 1; margin: 0 0 28px; font-size: 1.25rem; font-weight: 500; line-height: 1.6; color: var(--black); }
.lp-quote figcaption { display: flex; align-items: center; gap: 14px; }
.lp-quote figcaption strong { display: block; color: var(--black); }
.lp-quote figcaption span { font-size: 0.9rem; color: var(--gray-mid); }
.lp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; height: 100%; }
.lp-stat { display: flex; flex-direction: column; justify-content: center; padding: 32px 28px; }
.lp-stat-num { margin-bottom: 10px; font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--orange); }
.lp-stat.blue .lp-stat-num { color: var(--blue-dark); }
.lp-stat-label { font-weight: 500; color: var(--gray-dark); }

/* Pricing teaser */
.lp-plan { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px 28px; }
.lp-plan.featured { border: 2px solid var(--orange); box-shadow: 0 20px 50px rgba(255, 69, 0, 0.14); }
.lp-plan-badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 50px; background: var(--orange); color: #fff; text-transform: uppercase; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; }
.lp-plan h3 { margin-bottom: 14px; font-size: 1.2rem; font-weight: 700; }
.lp-price { margin-bottom: 14px; color: var(--gray-mid); }
.lp-price span { margin-right: 4px; font-family: 'Poppins', sans-serif; font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--black); }
.lp-plan-desc { margin-bottom: 20px; font-size: 0.95rem; line-height: 1.55; color: var(--gray-dark); }
.lp-check { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; }
.lp-check li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 0.95rem; }
.lp-check i { flex: none; font-size: 0.8rem; color: #16A34A; }

/* Why TrendScribbr */
.lp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-why { display: flex; flex-direction: column; gap: 6px; padding: 28px; }
.lp-why-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: var(--orange-faint); color: var(--orange); font-size: 1.05rem; }
.lp-why strong { font-size: 1.05rem; color: var(--black); }
.lp-why > span:last-child { font-size: 0.95rem; line-height: 1.55; color: var(--gray-dark); }

/* Final CTA: dark in both themes, echoing the hero's glow */
.lp-final-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 32px;
    border-radius: 28px;
    background: #0D0E12;
    text-align: center;
}
.lp-final-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50% 80% at 12% 0%, rgba(255, 69, 0, 0.38), transparent 70%),
        radial-gradient(50% 80% at 92% 100%, rgba(1, 176, 253, 0.30), transparent 70%);
}
.lp-final-card h2 { max-width: 720px; margin: 0 auto 12px; color: #fff; }
.lp-final-card p { margin-bottom: 28px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.78); }
.lp-final-note { display: block; margin-top: 14px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
:root[data-theme="dark"] .lp-final-card { background: #15171C; border: 1px solid var(--gray-light); }

/* Scroll-in: only active once JS has opted in, so content never hides without it */
.lp.js-reveal .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s ease; }
.lp.js-reveal .lp-reveal.is-visible { opacity: 1; transform: none; }
.lp.js-reveal .lp-pain.is-visible:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
    .lp.js-reveal .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-audience .marquee { animation: none; }
}

@media (max-width: 991px) {
    .lp-section { padding: 64px 0; }
    .lp-head { margin-bottom: 40px; }
    .lp-metric { padding: 56px 0 60px; }
    .lp-feature-row { padding: 36px 0; }
    .lp-why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .lp .comparison-table { font-size: 0.85rem; }
    .lp .comparison-table thead th,
    .lp .comparison-table tbody td { padding: 0.85rem 0.6rem; }
    .lp .comparison-table thead th:first-child,
    .lp .comparison-table tbody td:first-child { padding-left: 0.9rem; }
    .lp .comparison-winner-badge { display: none; }
    .lp-why-grid { grid-template-columns: 1fr; }
    .lp-stats { gap: 14px; }
    .lp-stat { padding: 24px 18px; }
    .lp-quote { padding: 26px 22px; }
    .lp-final-card { padding: 48px 20px; border-radius: 22px; }
}

/* Small-text legibility: eyebrow labels on their light tint, and the footer's fine print */
:root:not([data-theme="dark"]) .lp .section-eyebrow { color: var(--orange-dark); }
.lp .footer-bottom,
.lp .footer-bottom-links a { color: rgba(255, 255, 255, 0.55) !important; }
.lp .footer-bottom-links a:hover { color: var(--orange) !important; }
