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

:root {
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.18);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-border: #e2e8f0;
}

/* ================================================================
   1. RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

.lp-interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}
.landing-page { position: relative; z-index: 1; }

/* ================================================================
   2. LAYOUT & UTILITIES
   ================================================================ */
.lp-container {
    width: min(1200px, 90%);
    margin-inline: auto;
}

.lp-section { padding: 100px 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }

/* ================================================================
   3. BUTTONS & PILLS
   ================================================================ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.lp-btn--primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.lp-btn--primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.lp-btn--outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
}
.lp-btn--outline:hover {
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

.lp-btn--white {
    background: #fff;
    color: var(--primary-blue);
}
.lp-btn--white:hover { background: #f1f5f9; transform: translateY(-2px); }

.lp-section-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid #bfdbfe;
    border-radius: 99px;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #eff6ff;
    margin-bottom: 12px;
}

.lp-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 48px;
    border: 1px solid #bfdbfe;
}

/* ================================================================
   4. HEADER & NAV
   ================================================================ */
.lp-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.lp-nav-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    width: min(1200px, 95%);
    height: 70px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(241, 245, 249, 0.8);
}
.lp-nav__actions { display: flex; align-items: center; gap: 10px; }
.lp-nav__actions .lp-btn--nav { border-radius: 99px; padding: 10px 24px; }
.lp-nav__mobile-actions { display: none; }
.lp-logo img { height: 72px; }
.lp-logo { text-decoration: none; display: flex; align-items: center; }
.lp-logo-img { height: 32px; width: auto; object-fit: contain; display: block; }

.lp-nav__links { display: flex; gap: 50px; }
.lp-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.lp-nav__link:hover, .lp-nav__link.active { color: var(--primary-blue); font-weight: 600; }

.lp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-right: 12px;
}
.lp-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ================================================================
   5. HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: transparent;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    background: url('/images/landing/home6.png') no-repeat center center;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
    mask-image: linear-gradient(to right, transparent, black 30%);
    opacity: 0.85;
}

.hero-content { position: relative; z-index: 2; }
.hero-left {
    max-width: 550px;
    margin-right: auto;
    padding-right: 40px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 span { color: var(--primary-blue); }

.hero p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-cbrc-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}
.cbrc-small-icon { height: 24px; object-fit: contain; }

/* ================================================================
   6. HOW IT WORKS (TIMELINE INFOGRAPHIC, PINNED SCROLL ON DESKTOP)
   ================================================================ */
.pinned-scroll-wrapper {
    position: relative;
    height: 400vh;
    margin-top: 1rem;
}

.pinned-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.timeline-infographic {
    position: relative;
    max-width: 1120px;
    width: 100%;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    /* Dynamically shrinks gap if screen height is small */
    gap: clamp(16px, 3vh, 45px);
}

.timeline-line {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 4px;
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-line-fill {
    width: 100%;
    background: var(--primary-blue);
    border-radius: 4px;
    height: 0%;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    transition: height 0.1s ease-out;
}

.timeline-step {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    opacity: 0.25;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(0.8) blur(2px);
}

.timeline-step.is-active {
    opacity: 1;
    transform: translateY(0);
    filter: grayscale(0) blur(0);
}

.step-left { justify-content: flex-end; padding-right: clamp(20px, 4vw, 45px); }
.step-right { margin-left: 50%; padding-left: clamp(20px, 4vw, 45px); }

/* Dot is always the brand blue — no more grey/white "unvisited" state,
   just a subtle glow ring that intensifies once a step is active. */
.timeline-dot {
    position: absolute;
    width: 22px; height: 22px;
    background: var(--primary-blue);
    border: 4px solid #dbeafe;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    transition: all 0.5s ease;
}

.step-left .timeline-dot { right: -11px; }
.step-right .timeline-dot { left: -11px; }

.timeline-step.is-active .timeline-dot {
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.22);
    transform: translateY(-50%) scale(1.1);
}

.timeline-box {
    /* No card panel -- picture + text float freely over the animated bg */
    background: transparent;
    display: flex;
    gap: clamp(16px, 2.4vw, 28px);
    align-items: center;
    width: 100%;
    max-width: 680px;
    transition: transform 0.3s ease;
}

.timeline-step.is-active .timeline-box:hover {
    transform: translateY(-6px);
}

.step-right .timeline-box { flex-direction: row; text-align: left; }
.step-left .timeline-box { flex-direction: row-reverse; text-align: right; }

.timeline-img-wrap {
    flex-shrink: 0;
    width: clamp(70px, 10vh, 125px);
    height: clamp(70px, 10vh, 125px);
    border-radius: 18px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 22px 45px -10px rgba(15, 23, 42, 0.35), 0 8px 18px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease;
    animation: lp-timeline-float 5s ease-in-out infinite;
}
.timeline-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.timeline-step:nth-of-type(even) .timeline-img-wrap { animation-delay: -2.5s; }

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

.timeline-text {
    text-shadow: 0 0 24px rgba(248, 250, 252, 0.95), 0 0 12px rgba(248, 250, 252, 0.95);
}
.timeline-text h4 { font-size: clamp(1.1rem, 1.8vh, 1.35rem); font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.timeline-text p { font-size: clamp(0.85rem, 1.3vh, 0.95rem); color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ================================================================
   7. FEATURES (FLEX ACCORDION CARDS)
   ================================================================ */
.lp-app-features { background: #fff; }

.features-flex-container {
    display: flex;
    gap: 16px;
    height: 500px;
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
}

.feature-flex-card {
    position: relative;
    flex: 1;
    border-radius: 24px;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.feature-flex-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.62);
    transition: filter 0.4s ease, transform 0.6s ease;
}

.feature-flex-card:hover {
    flex: 3;
    transform: translateY(-8px);
}

.feature-flex-card:hover .feature-flex-bg {
    filter: brightness(0.42);
    transform: scale(1.05);
}

.feature-flex-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.feature-flex-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}
.feature-flex-icon.blue-bg { background: rgba(248, 249, 250, 0.35); }
.feature-flex-icon.green-bg { background: rgba(248, 249, 250, 0.35); }
.feature-flex-icon.purple-bg { background: rgba(248, 249, 250, 0.35); }
.feature-flex-icon.orange-bg { background: rgba(248, 249, 250, 0.35); }

.feature-flex-icon svg { width: 22px; height: 22px; stroke: #fff; }

.feature-flex-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.feature-flex-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    max-height: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
}

.feature-flex-card:hover .feature-flex-content p {
    opacity: 1;
    max-height: 150px;
    margin-top: 8px;
    transition-delay: 0.2s;
}

/* ================================================================
   8. NP MASTERY (FLIP CARDS)
   ================================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
        margin-top: 64px;
    margin-bottom: 64px;
}

.feature-card {
    background: transparent;
    border-radius: 20px;
    min-height: 240px;
    perspective: 1000px;
    border: none;
    padding: 0;
    box-shadow: none;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.feature-card:hover .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 20px;
    padding: 2rem 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front { background: #ffffff; }
.flip-card-back {
    background: var(--primary-blue);
    color: #ffffff;
    transform: rotateY(180deg);
}

.flip-card-back h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.flip-card-back p { color: #eff6ff; font-size: 0.8rem; line-height: 1.45; }

.feature-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bg-blue-light { background: #eff6ff; }
.bg-green-light { background: #f0fdf4; }
.bg-yellow-light { background: #fffbeb; }
.bg-red-light { background: #fef2f2; }
.bg-purple-light { background: #faf5ff; }

.flip-card-front h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.flip-card-front p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

/* ================================================================
   9. FAQ ACCORDION
   ================================================================ */
.lp-faq { background: #f6f7ff; }
.lp-faq__list {
    max-width: 740px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lp-faq__item { border-bottom: 1px solid #e5e7eb; }
.lp-faq__item:first-child { border-top: 1px solid #e5e7eb; }
.lp-faq__q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #111827;
    text-align: left;
    transition: color 0.18s;
}
.lp-faq__q:hover { color: #2457f5; }
.lp-faq__item.open .lp-faq__q { color: #2457f5; }
.lp-faq__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.18s, background 0.18s, transform 0.3s ease;
}
.lp-faq__icon svg {
    width: 12px;
    height: 12px;
    stroke: #6b7280;
    transition: stroke 0.18s, transform 0.3s ease;
}
.lp-faq__item.open .lp-faq__icon {
    background: #2457f5;
    border-color: #2457f5;
    transform: rotate(45deg);
}
.lp-faq__item.open .lp-faq__icon svg { stroke: #fff; }
.lp-faq__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.36s ease;
}
.lp-faq__a.open { max-height: 300px; }
.lp-faq__a p {
    padding: 0 4px 20px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
    text-align: left;
}

/* ================================================================
   10. CTA
   ================================================================ */
.lp-cta__box {
    background: url('/images/landing/home6.png') center/cover no-repeat;
    background-color: var(--primary-blue);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.lp-cta__box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.43);
    z-index: 1;
    border-radius: inherit;
}
.lp-cta__box > * { position: relative; z-index: 2; }
.lp-cta__h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.lp-cta__sub { font-size: 16px; color: rgba(255,255,255,0.9); max-width: 500px; margin: 0 auto 32px; }

/* ================================================================
   11. FOOTER
   ================================================================ */
.lp-footer {
    background: linear-gradient(to bottom, #eff6ff 0%, #96c2f8 100%);
    padding: 60px 0 20px;
}
.lp-footer__grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.brand-col p { font-size: 13px; color: var(--text-main); line-height: 1.7; max-width: 280px; }
.lp-footer__col h4 { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; }
.lp-footer__col a { display: block; font-size: 13px; color: var(--text-main); text-decoration: none; margin-bottom: 10px; font-weight: 500; }
.lp-footer__col a:hover { color: var(--primary-blue); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: #fff; border-radius: 8px; color: var(--primary-blue);
    transition: transform 0.2s;
}
.social-icons a:hover { transform: translateY(-3px); }
.social-icons svg { width: 18px; height: 18px; }

.lp-footer__bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.5); padding-top: 24px; }
.footer-pill {
    background: #fff;
    padding: 8px 24px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

/* ================================================================
   12. SCROLL-REVEAL ANIMATION
   ================================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ================================================================
   13. RESPONSIVE — large tablets / small laptops (≤991px)
   ================================================================ */
@media (max-width: 991px) {
    .lp-section { padding: 72px 0; }
    .hero-bg-image { display: none; }
    .hero { min-height: 100vh; min-height: 100svh; padding-top: 120px; padding-bottom: 48px; }
    .hero-left { max-width: 100%; text-align: center; margin-right: 0; padding-right: 0; }
    .hero p { margin-inline: auto; }
    .hero-buttons { justify-content: center; }
    .hero-cbrc-tag { justify-content: center; }
    .pinned-scroll-wrapper#howitworks { height: auto; margin-top: 0; padding: 24px 0 16px;}
    #howitworks .pinned-sticky-container { position: static; height: auto; overflow: visible; padding: 48px 0 40px;}
    #howitworks .lp-container { height: auto !important; display: block !important;}
    #howitworks .timeline-infographic { gap: 36px; }
    #howitworks .timeline-step { opacity: 1; transform: none; filter: none; }
    #howitworks .timeline-step.reveal { opacity: 0; transform: translateY(30px); }
    #howitworks .timeline-step.reveal.active { opacity: 1; transform: translateY(0); }
    .timeline-box { max-width: 100%; gap: 18px; }
    .timeline-img-wrap { width: 90px; height: 90px; border-radius: 14px; }
    #features .features-flex-container { flex-direction: column; height: auto; gap: 22px; }
    #features .feature-flex-card { flex: none; min-height: 300px; }
    #features .feature-flex-bg { filter: brightness(0.48); }
    #features .feature-flex-content h4 { white-space: normal; }
    #features .feature-flex-content p { opacity: 1; max-height: none; margin-top: 8px; }
    .feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
    .feature-grid .feature-card { flex: 0 0 calc(33.333% - 11px); min-height: 200px; }
    .lp-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-cta__box {padding: 64px 32px; border-radius: 28px;}
    .lp-cta__h2 {font-size: clamp(28px, 4vw, 38px);}
    .lp-cta__sub {font-size: 15px;max-width: 460px; margin-bottom: 28px;}
    #timelineFill { height: 100% !important; background: #2563eb !important;}
}

/* ================================================================
   14. RESPONSIVE — tablets / large phones (≤768px)
   ================================================================ */
@media (max-width: 768px) {
    #howitworks .timeline-infographic { gap: 22px; padding: 10px 0; }
    .step-left { padding-right: 14px; }
    .step-right { padding-left: 14px; }
    .timeline-dot { width: 16px; height: 16px; border-width: 3px; }
    .step-left .timeline-dot { right: -8px; }
    .step-right .timeline-dot { left: -8px; }
    .timeline-box { flex-direction: column !important; gap: 8px; max-width: 100%; }
    .step-left .timeline-box { align-items: flex-end; text-align: right; }
    .step-right .timeline-box { align-items: flex-start; text-align: left; }
    .timeline-img-wrap { width: 60px; height: 60px; border-radius: 12px; }
    .timeline-text h4 { font-size: 0.92rem; margin-bottom: 4px; }
    .timeline-text p { font-size: 0.76rem; line-height: 1.45; }
    .lp-cta__box {padding: 52px 28px; border-radius: 26px;}
    .lp-cta__h2 {font-size: clamp(26px, 6vw, 34px); margin-bottom: 12px;}
    .lp-cta__sub {font-size: 14px; max-width: 420px; margin-bottom: 24px;}
}

@media (max-width: 640px) {
    .lp-container { width: 88%; }
    .lp-hamburger { display: flex; }
    .lp-nav__actions, .lp-nav__links { display: none; }
    .lp-nav__links.active {
        display: flex;
        position: fixed; top: 80px; left: 5%; right: 5%;
        background: #fff; border-radius: 16px; flex-direction: column;
        padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        text-align: center;
    }
    .lp-nav__links.active .lp-nav__mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e5e7eb;
    }
    .lp-nav__links.active .lp-nav__mobile-actions .lp-btn { width: 100%; }
    .hero h1 { font-size: 2.5rem; }
    .lp-footer__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   16. RESPONSIVE — small phones (≤480px)
   ================================================================ */
@media (max-width: 480px) {
    .lp-section { padding: 64px 0; }
    .hero { padding-top: 110px; padding-bottom: 40px; }
    .hero h1 { font-size: 2.8rem; margin-bottom: 24px; }
    .hero p { font-size: 1.1rem; margin-bottom: 32px; }
    .hero-buttons { flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
    .hero-cbrc-tag { flex-wrap: wrap; text-align: center; justify-content: center; }
    .lp-cta__box { padding: 36px 18px; border-radius: 22px; margin-top: 24px;}
    .lp-cta__h2 { font-size: 26px; line-height: 1.2; margin-bottom: 12px;}
    .lp-cta__sub { font-size: 13px; line-height: 1.6; margin-bottom: 22px;}
    #faq .lp-faq__q { font-size: 13.5px; gap: 12px; padding: 24px 2px; }
    #faq .lp-faq__icon { width: 22px; height: 22px; }
    #faq .lp-faq__a p { font-size: 13px; line-height: 1.8; padding: 0 2px 18px; }
    #howitworks .timeline-img-wrap { width: 50px; height: 50px; border-radius: 10px; margin-right: 14px; margin-left: 14px;}
    #howitworks .timeline-text h4 { font-size: 0.82rem; margin-right: 14px; margin-left: 14px;}
    #howitworks .timeline-text p { font-size: 0.68rem; line-height: 1.4; margin-right: 14px; margin-left: 14px;}
    .step-left { padding-right: 10px; }
    .step-right { padding-left: 10px; }
    .feature-grid .feature-card { flex: 0 0 calc(50% - 8px); min-height: 180px; }
    .flip-card-front, .flip-card-back { padding: 1.5rem 0.85rem; }
    .feature-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
}

/* ================================================================
   17. LANDING ALWAYS LIGHT — neutralize leaked gabay-dark
   ================================================================ */
html.gabay-dark body:has(.landing-page) {
    background: var(--bg-light);
    color: var(--text-main);
}