/* =========================================================
   InvestPro — Main Stylesheet
   ========================================================= */

/* ----- Reset & Variables ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --clr-primary:    #4F46E5;
    --clr-primary-d:  #3730A3;
    --clr-secondary:  #7C3AED;
    --clr-accent:     #F59E0B;
    --clr-success:    #10B981;
    --clr-danger:     #EF4444;

    --clr-bg:         #060B18;
    --clr-bg-2:       #0D1526;
    --clr-bg-card:    #111827;
    --clr-border:     rgba(255,255,255,.07);

    --clr-text:       #F1F5F9;
    --clr-text-muted: #94A3B8;
    --clr-text-dim:   #64748B;

    --font:           'Plus Jakarta Sans', sans-serif;
    --radius-sm:      8px;
    --radius:         14px;
    --radius-lg:      22px;
    --shadow:         0 4px 24px rgba(0,0,0,.4);
    --shadow-glow:    0 0 40px rgba(79,70,229,.25);
    --transition:     .22s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- Utilities ----- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted  { color: var(--clr-text-muted); }
.text-accent { color: var(--clr-accent); }
.text-primary { color: var(--clr-primary); }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(79,70,229,.15); border: 1px solid rgba(79,70,229,.3);
    color: #818CF8; font-size: .75rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 99px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800; line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem; color: var(--clr-text-muted);
    max-width: 540px; margin: 0 auto 56px;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-size: .925rem; font-weight: 600;
    padding: 11px 26px; border-radius: var(--radius-sm);
    border: 1.5px solid transparent; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: #fff;
    box-shadow: 0 4px 18px rgba(79,70,229,.35);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79,70,229,.5);
}

.btn--ghost {
    background: transparent;
    border-color: var(--clr-border);
    color: var(--clr-text-muted);
}
.btn--ghost:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

.btn--outline {
    background: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}
.btn--outline:hover {
    background: var(--clr-primary); color: #fff;
}

.btn--lg { padding: 14px 36px; font-size: 1rem; border-radius: var(--radius-sm); }
.btn--icon { padding: 10px; }

/* ----- Cards ----- */
.card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.card:hover { border-color: rgba(79,70,229,.4); box-shadow: var(--shadow-glow); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0;
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    background: rgba(6,11,24,.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--clr-border);
}

.navbar__inner {
    display: flex; align-items: center; gap: 8px;
    height: 72px;
}

.navbar__logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.15rem; font-weight: 700;
    flex-shrink: 0;
}
.navbar__logo strong { color: var(--clr-accent); }

/* Desktop nav (inside header) */
.navbar__desktop-links {
    display: flex; align-items: center; gap: 6px;
    margin-left: auto;
}

/* Mobile drawer nav — hidden on desktop */
.navbar__links { display: none; }

.navbar__link {
    padding: 7px 14px; border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 500;
    color: var(--clr-text-muted);
    transition: var(--transition);
}
.navbar__link:hover, .navbar__link.active {
    color: var(--clr-text); background: rgba(255,255,255,.06);
}

.navbar__cta { display: flex; align-items: center; gap: 10px; }

.navbar__toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; padding: 6px;
}
.navbar__toggle span {
    display: block; height: 2px; background: var(--clr-text);
    border-radius: 2px; transition: var(--transition);
}

/* Drawer CTA — hidden on desktop */
.navbar__drawer-cta { display: none; }

/* Backdrop — hidden on desktop */
.navbar__backdrop { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative; overflow: hidden;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79,70,229,.3) 0%, transparent 70%),
                var(--clr-bg);
}

.hero__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}

.hero__badge { margin-bottom: 20px; }

.hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.hero__title .highlight {
    background: linear-gradient(135deg, #818CF8, #C084FC);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: 1.1rem; color: var(--clr-text-muted);
    max-width: 460px; margin-bottom: 36px; line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__trust {
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap;
}
.hero__trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem; color: var(--clr-text-muted);
}
.hero__trust-item i { color: var(--clr-success); font-size: 1rem; }

/* Hero visual */
.hero__visual {
    position: relative; display: flex; justify-content: center;
}

.hero__card-wrap {
    position: relative; width: 100%; max-width: 460px;
}

.hero__main-card {
    background: linear-gradient(145deg, #151d33, #1a2240);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow), var(--shadow-glow);
}

.hero__card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.hero__card-label { font-size: .8rem; color: var(--clr-text-muted); font-weight: 500; }
.hero__card-badge {
    background: rgba(16,185,129,.15); color: var(--clr-success);
    font-size: .75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 99px;
}

.hero__balance {
    font-size: 2.4rem; font-weight: 800;
    letter-spacing: -.03em; margin-bottom: 6px;
}
.hero__balance-change {
    font-size: .875rem; color: var(--clr-success);
    display: flex; align-items: center; gap: 4px; margin-bottom: 24px;
}

.hero__chart {
    height: 80px; margin-bottom: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234F46E5' stop-opacity='.4'/%3E%3Cstop offset='1' stop-color='%234F46E5' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 70 L40 55 L80 60 L120 40 L160 45 L200 25 L240 30 L280 15 L320 20 L360 8 L400 12 L400 80 L0 80Z' fill='url(%23g)'/%3E%3Cpath d='M0 70 L40 55 L80 60 L120 40 L160 45 L200 25 L240 30 L280 15 L320 20 L360 8 L400 12' fill='none' stroke='%234F46E5' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/cover;
}

.hero__stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.hero__stat {
    background: rgba(255,255,255,.04); border-radius: var(--radius-sm);
    padding: 12px;
}
.hero__stat-val { font-size: 1.1rem; font-weight: 700; }
.hero__stat-lbl { font-size: .72rem; color: var(--clr-text-muted); margin-top: 2px; }

/* Floating badge cards */
.hero__float {
    position: absolute;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow);
    animation: float 4s ease-in-out infinite;
}
.hero__float--tl { top: -24px; left: -32px; animation-delay: 0s; }
.hero__float--br { bottom: -20px; right: -28px; animation-delay: 2s; }

.hero__float-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    flex-shrink: 0;
}
.hero__float-icon--green { background: rgba(16,185,129,.15); color: var(--clr-success); }
.hero__float-icon--yellow { background: rgba(245,158,11,.15); color: var(--clr-accent); }
.hero__float-val { font-size: .95rem; font-weight: 700; }
.hero__float-lbl { font-size: .73rem; color: var(--clr-text-muted); }

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

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    padding: 32px 0;
    background: var(--clr-bg-2);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}
.stats-bar__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; text-align: center;
}
.stats-bar__val { font-size: 2rem; font-weight: 800; color: var(--clr-text); }
.stats-bar__val span { color: var(--clr-accent); }
.stats-bar__lbl { font-size: .85rem; color: var(--clr-text-muted); margin-top: 2px; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; position: relative;
}
.steps__grid::before {
    content: '';
    position: absolute; top: 32px; left: calc(16.66% + 14px); right: calc(16.66% + 14px);
    height: 1px; background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    opacity: .3; z-index: 0;
}

.step-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 32px 24px; text-align: center;
    position: relative; z-index: 1; transition: var(--transition);
}
.step-card:hover { border-color: rgba(79,70,229,.5); transform: translateY(-4px); }

.step-card__num {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: #fff; font-size: 1.35rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(79,70,229,.4);
}
.step-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step-card__text { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; }

/* =========================================================
   INVESTMENT PLANS
   ========================================================= */
.plans__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; align-items: start;
}

.plan-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg); padding: 32px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.plan-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    opacity: 0; transition: var(--transition);
}
.plan-card:hover::before { opacity: 1; }
.plan-card:hover { border-color: rgba(79,70,229,.5); transform: translateY(-6px); box-shadow: var(--shadow-glow); }

.plan-card--featured {
    background: linear-gradient(145deg, #1a1f3d, #15193a);
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}
.plan-card--featured::before { opacity: 1; }

.plan-card__badge {
    position: absolute; top: 18px; right: 18px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: 4px 12px; border-radius: 99px; letter-spacing: .04em;
    text-transform: uppercase;
}

.plan-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    margin-bottom: 20px;
}
.plan-card__icon--blue  { background: rgba(79,70,229,.15);  color: #818CF8; }
.plan-card__icon--purple{ background: rgba(124,58,237,.15); color: #A78BFA; }
.plan-card__icon--amber { background: rgba(245,158,11,.15); color: var(--clr-accent); }

.plan-card__name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.plan-card__tagline { font-size: .85rem; color: var(--clr-text-muted); margin-bottom: 24px; }

.plan-card__roi {
    font-size: 2.8rem; font-weight: 800; line-height: 1;
    color: var(--clr-accent); margin-bottom: 4px;
}
.plan-card__roi-label { font-size: .8rem; color: var(--clr-text-muted); margin-bottom: 24px; }

.plan-card__divider {
    height: 1px; background: var(--clr-border); margin-bottom: 20px;
}

.plan-card__features { list-style: none; margin-bottom: 28px; }
.plan-card__features li {
    display: flex; align-items: center; gap: 10px;
    font-size: .875rem; color: var(--clr-text-muted);
    padding: 7px 0;
    border-bottom: 1px solid var(--clr-border);
}
.plan-card__features li:last-child { border: none; }
.plan-card__features li i { color: var(--clr-success); flex-shrink: 0; }

/* =========================================================
   FEATURES / WHY US
   ========================================================= */
.features__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 28px;
    transition: var(--transition);
}
.feature-card:hover { border-color: rgba(79,70,229,.4); transform: translateY(-3px); }

.feature-card__icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    margin-bottom: 18px;
    background: rgba(79,70,229,.12); color: #818CF8;
}
.feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card__text  { font-size: .875rem; color: var(--clr-text-muted); line-height: 1.65; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--clr-bg-2); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testi-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 28px;
}

.testi-card__stars { color: var(--clr-accent); font-size: .9rem; margin-bottom: 14px; }
.testi-card__text  { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-card__name  { font-size: .9rem; font-weight: 600; }
.testi-card__role  { font-size: .78rem; color: var(--clr-text-muted); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border-radius: var(--radius-lg); padding: 64px 48px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-banner__sub   { font-size: 1rem; opacity: .85; max-width: 480px; margin: 0 auto 32px; position: relative; }
.cta-banner__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.btn--white { background: #fff; color: var(--clr-primary); font-weight: 700; }
.btn--white:hover { background: #F1F5F9; transform: translateY(-2px); }
.btn--white-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--white-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--clr-bg-2);
    border-top: 1px solid var(--clr-border);
    padding-top: 72px;
}
.footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px; margin-bottom: 48px;
}
.footer__logo { margin-bottom: 16px; }
.footer__tagline { font-size: .875rem; color: var(--clr-text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
    width: 36px; height: 36px; border-radius: 9px;
    background: rgba(255,255,255,.05); border: 1px solid var(--clr-border);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    transition: var(--transition);
}
.footer__social:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }

.footer__heading { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--clr-text-muted); margin-bottom: 18px; }
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: .875rem; color: var(--clr-text-muted); transition: var(--transition); }
.footer__list a:hover { color: var(--clr-text); }
.footer__contact li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--clr-text-muted); }
.footer__contact li i { color: var(--clr-primary); }

.footer__bottom {
    padding: 24px 0;
    border-top: 1px solid var(--clr-border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
    font-size: .82rem; color: var(--clr-text-dim);
}
.footer__disclaimer { max-width: 420px; text-align: right; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero__grid       { grid-template-columns: 1fr; gap: 56px; }
    .hero__visual     { display: none; }
    .plans__grid      { grid-template-columns: repeat(2, 1fr); }
    .plan-card--featured { transform: none; }
    .footer__grid     { grid-template-columns: 1fr 1fr; }
    .footer__brand    { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    /* Hide desktop nav & CTA; show hamburger */
    .navbar__desktop-links { display: none; }
    .navbar__cta { display: none; }
    .navbar__toggle {
        display: flex;
        margin-left: auto;
        z-index: 1002;
        width: 40px; height: 40px;
        border: 1.5px solid rgba(255,255,255,.25) !important;
        border-radius: 8px !important;
        padding: 8px !important;
    }

    /* Dim backdrop (sibling of header, not inside it) */
    .navbar__backdrop {
        display: block;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.55);
        opacity: 0; visibility: hidden;
        transition: opacity .28s ease, visibility 0s linear .28s;
        z-index: 1001;
    }
    .navbar__backdrop.open {
        opacity: 1; visibility: visible;
        transition: opacity .28s ease, visibility 0s linear 0s;
    }

    /* Mobile drawer — sibling of header so position:fixed is viewport-relative */
    .navbar__links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 85%; max-width: 320px;
        background: var(--clr-bg);
        padding: 80px 28px 36px;
        gap: 0;
        z-index: 1002;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
    }
    .navbar__links.open { transform: translateX(0); }

    /* Nav links — large, left-aligned */
    .navbar__links .navbar__link {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--clr-text);
        padding: 15px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        background: none !important;
    }

    /* Drawer CTA at bottom */
    .navbar__drawer-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 28px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,.07);
    }
    .navbar__link--drawer-login {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--clr-text) !important;
        padding: 0 0 16px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.07) !important;
        background: none !important;
        width: 100%;
    }
    .navbar__drawer-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px !important;
        font-size: .95rem;
        border-radius: 8px !important;
    }

    /* Lock body scroll while drawer open */
    body.nav-open { overflow: hidden; }

    /* Hamburger → X animation */
    .navbar__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .navbar__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .navbar__toggle span { transition: transform .25s ease, opacity .2s ease; }

    .hero__title { font-size: 2.2rem; }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .steps__grid  { grid-template-columns: 1fr; }
    .steps__grid::before { display: none; }
    .plans__grid  { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 44px 24px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .footer__disclaimer { text-align: center; }
}

/* ----- Scroll reveal animation ----- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
    padding: 140px 0 72px;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79,70,229,.25) 0%, transparent 70%),
                var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
}
.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; letter-spacing: -.03em;
    line-height: 1.15; margin: 16px 0 14px;
}
.page-hero__sub {
    font-size: 1.05rem; color: var(--clr-text-muted);
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* =========================================================
   PLANS PAGE — extra grid + table
   ========================================================= */
.plans__grid--full { grid-template-columns: repeat(3, 1fr); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.compare-table {
    width: 100%; border-collapse: collapse;
    font-size: .875rem;
}
.compare-table th,
.compare-table td {
    padding: 14px 18px;
    border: 1px solid var(--clr-border);
    text-align: center; vertical-align: middle;
    background: var(--clr-bg-card);
}
.compare-table th {
    background: rgba(79,70,229,.12);
    color: var(--clr-text); font-weight: 700;
    font-size: .8rem; text-transform: uppercase;
    letter-spacing: .05em;
}
.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left; font-weight: 600;
    color: var(--clr-text-muted);
    background: var(--clr-bg-2);
}
.compare-table__featured {
    background: rgba(79,70,229,.08) !important;
    border-color: rgba(79,70,229,.4) !important;
    color: var(--clr-primary) !important;
    font-weight: 700 !important;
}
.compare-table tr:hover td { background: rgba(255,255,255,.03); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid {
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: rgba(79,70,229,.4); }
.faq-item__q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 22px; background: none; border: none;
    color: var(--clr-text); font-family: var(--font);
    font-size: .95rem; font-weight: 600; cursor: pointer;
    text-align: left; gap: 16px;
}
.faq-item__q i { flex-shrink: 0; transition: transform var(--transition); color: var(--clr-text-muted); }
.faq-item.open .faq-item__q i { transform: rotate(180deg); color: var(--clr-primary); }
.faq-item__a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 22px;
}
.faq-item.open .faq-item__a { max-height: 200px; padding: 0 22px 18px; }
.faq-item__a p { font-size: .875rem; color: var(--clr-text-muted); line-height: 1.7; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-mission {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
}
.about-mission__values { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.about-mission__value {
    display: flex; gap: 14px; align-items: flex-start;
}
.about-mission__value > i {
    font-size: 1.3rem; color: var(--clr-primary); flex-shrink: 0; margin-top: 2px;
}
.about-mission__value strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.about-mission__value span   { font-size: .83rem; color: var(--clr-text-muted); }

.about-stat-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg); padding: 8px;
    display: grid; grid-template-columns: 1fr 1px 1fr;
    box-shadow: var(--shadow-glow);
}
.about-stat-card__item {
    padding: 22px 18px; text-align: center;
}
.about-stat-card__val { font-size: 1.7rem; font-weight: 800; }
.about-stat-card__lbl { font-size: .75rem; color: var(--clr-text-muted); margin-top: 3px; }
.about-stat-card__divider { background: var(--clr-border); }

/* Timeline */
.timeline { position: relative; max-width: 680px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute;
    left: 80px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary), transparent);
}
.timeline__item {
    display: grid; grid-template-columns: 80px 20px 1fr;
    gap: 0 20px; align-items: start;
    margin-bottom: 36px; position: relative;
}
.timeline__year {
    font-size: .8rem; font-weight: 700;
    color: var(--clr-primary); text-align: right;
    padding-top: 18px; padding-right: 20px;
}
.timeline__dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--clr-primary);
    border: 3px solid var(--clr-bg-2);
    box-shadow: 0 0 0 3px rgba(79,70,229,.3);
    margin-top: 20px; flex-shrink: 0;
}
.timeline__card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 18px 22px;
}
.timeline__card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.timeline__card p  { font-size: .85rem; color: var(--clr-text-muted); line-height: 1.65; }

/* Team */
.team__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 28px 22px; text-align: center;
    transition: var(--transition);
}
.team-card:hover { border-color: rgba(79,70,229,.4); transform: translateY(-4px); }
.team-card__avatar {
    width: 64px; height: 64px; border-radius: 50%;
    font-size: 1.25rem; font-weight: 800; color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.team-card__name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card__role { font-size: .78rem; color: var(--clr-primary); font-weight: 600; margin-bottom: 12px; }
.team-card__bio  { font-size: .82rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 16px; }
.team-card__socials { display: flex; justify-content: center; gap: 10px; }
.team-card__socials a {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.05); border: 1px solid var(--clr-border);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; transition: var(--transition);
}
.team-card__socials a:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }

/* =========================================================
   AUTH PAGES
   ========================================================= */

/* Minimal auth header (logo only) */
.auth-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: 64px; z-index: 100;
    background: rgba(6,11,24,.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: center;
}
.auth-header .container { display: flex; align-items: center; }
.auth-body { padding-top: 64px; }

/* ── Centered card layout ── */
.auth-wrap {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 16px;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(79,70,229,.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(124,58,237,.10) 0%, transparent 60%),
        var(--clr-bg);
}

.auth-card {
    width: 100%; max-width: 420px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.auth-card__head { margin-bottom: 28px; }
.auth-card__title {
    font-size: 1.6rem; font-weight: 800;
    letter-spacing: -.02em; margin-bottom: 6px;
}
.auth-card__sub  { font-size: .88rem; color: var(--clr-text-muted); }

.auth-label-row {
    display: flex; justify-content: space-between; align-items: center;
}
.auth-form__link--sm { font-size: .8rem; }

.auth-submit { width: 100%; margin-top: 4px; justify-content: center; gap: 8px; }

.auth-card__foot {
    text-align: center;
    font-size: .855rem;
    color: var(--clr-text-muted);
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--clr-border);
}

/* Legacy split-panel layout (register, forgot, reset, 2FA still use it) */
.auth-section {
    min-height: calc(100vh - 64px);
    display: flex; align-items: stretch;
    background: var(--clr-bg);
}
.auth-container {
    display: grid; grid-template-columns: 1fr 1fr;
    width: 100%; min-height: 100vh;
}
.auth-container--wide { grid-template-columns: 1fr 1.1fr; }

.auth-panel { display: flex; flex-direction: column; }
.auth-panel--left {
    padding: 48px 56px;
    background: var(--clr-bg);
    border-right: 1px solid var(--clr-border);
    justify-content: center;
}
.auth-panel--right {
    background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(79,70,229,.2) 0%, transparent 70%),
                var(--clr-bg-2);
    display: flex; align-items: center; justify-content: center;
    padding: 56px 48px;
}
.auth-panel__title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.auth-panel__sub   { color: var(--clr-text-muted); font-size: .9rem; margin-bottom: 32px; }

/* Form elements */
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--row { flex-direction: row; align-items: center; }
.form-label { font-size: .83rem; font-weight: 600; color: var(--clr-text-muted); }
.form-input-wrap {
    position: relative; display: flex; align-items: center;
}
.form-icon {
    position: absolute; left: 14px; font-size: 1rem;
    color: var(--clr-text-dim); pointer-events: none; z-index: 1;
}
.form-input {
    width: 100%; padding: 11px 14px 11px 40px;
    background: rgba(255,255,255,.04);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text); font-family: var(--font); font-size: .9rem;
    transition: var(--transition); outline: none;
    -webkit-appearance: none;
}
.form-input:focus { border-color: var(--clr-primary); background: rgba(79,70,229,.06); }
.form-input-wrap.error .form-input { border-color: var(--clr-danger); }
.form-select { cursor: pointer; }
.form-select option { background: var(--clr-bg-card); color: var(--clr-text); }
.form-eye {
    position: absolute; right: 12px;
    background: none; border: none; cursor: pointer;
    color: var(--clr-text-dim); padding: 4px; font-size: 1rem;
    transition: var(--transition);
}
.form-eye:hover { color: var(--clr-text); }
.form-error { font-size: .78rem; color: var(--clr-danger); min-height: 16px; }

/* Custom checkbox */
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { display: none; }
.form-check__box {
    width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
    border: 1.5px solid var(--clr-border);
    background: rgba(255,255,255,.04);
    transition: var(--transition); position: relative;
}
.form-check input:checked ~ .form-check__box {
    background: var(--clr-primary); border-color: var(--clr-primary);
}
.form-check input:checked ~ .form-check__box::after {
    content: ''; position: absolute;
    top: 2px; left: 5px; width: 5px; height: 9px;
    border: 2px solid #fff; border-top: none; border-left: none;
    transform: rotate(45deg);
}
.form-check__label { font-size: .85rem; color: var(--clr-text-muted); }

/* Password strength */
.password-strength {
    display: flex; align-items: center; gap: 10px; margin-top: 4px;
}
.password-strength__bar {
    flex: 1; height: 4px; background: var(--clr-border);
    border-radius: 99px; overflow: hidden;
}
.password-strength__bar div {
    height: 100%; border-radius: 99px;
    transition: width .3s ease, background .3s ease;
}
.password-strength span { font-size: .75rem; font-weight: 600; white-space: nowrap; }

/* Auth misc */
.auth-form__link { color: var(--clr-primary); font-weight: 600; }
.auth-form__link:hover { color: var(--clr-secondary); }
.form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .875rem;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.form-alert--error {
    background: rgba(239,68,68,.12);
    border-color: rgba(239,68,68,.3);
    color: #FCA5A5;
}
.form-alert--success {
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.3);
    color: #6EE7B7;
}
.auth-switch { text-align: center; font-size: .875rem; color: var(--clr-text-muted); margin-top: 20px; }
.auth-divider {
    display: flex; align-items: center; gap: 14px;
    color: var(--clr-text-dim); font-size: .8rem;
    margin: 18px 0;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--clr-border); }
.auth-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-social-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.04); border: 1.5px solid var(--clr-border);
    color: var(--clr-text-muted); font-family: var(--font); font-size: .875rem;
    font-weight: 600; cursor: pointer; transition: var(--transition);
}
.auth-social-btn:hover { border-color: var(--clr-primary); color: var(--clr-text); }

/* Auth right panel decorations */
.auth-panel__deco { max-width: 400px; width: 100%; }
.auth-deco-card {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow-glow);
    margin-bottom: 18px;
}
.auth-deco-card__header { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.auth-deco-card__dot    { width: 10px; height: 10px; border-radius: 50%; }
.auth-deco-card__balance { font-size: 1.9rem; font-weight: 800; margin-bottom: 4px; }
.auth-deco-card__change  { font-size: .82rem; color: var(--clr-success); display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.auth-deco-chart {
    height: 64px; margin-bottom: 16px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234F46E5' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%234F46E5' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 56 L50 44 L100 48 L150 32 L200 36 L250 20 L300 24 L350 10 L400 14 L400 64 L0 64Z' fill='url(%23g)'/%3E%3Cpath d='M0 56 L50 44 L100 48 L150 32 L200 36 L250 20 L300 24 L350 10 L400 14' fill='none' stroke='%234F46E5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/cover;
}
.auth-deco-rows { display: flex; flex-direction: column; gap: 8px; }
.auth-deco-row  { display: flex; justify-content: space-between; font-size: .82rem; color: var(--clr-text-muted); }
.auth-deco-trust {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; color: var(--clr-text-muted);
}

/* Register perks */
.auth-perks { display: flex; flex-direction: column; gap: 20px; }
.auth-perk  { display: flex; gap: 14px; align-items: flex-start; }
.auth-perk__icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(79,70,229,.15); color: var(--clr-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.auth-perk strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.auth-perk span   { font-size: .82rem; color: var(--clr-text-muted); }

/* =========================================================
   RESPONSIVE — new pages
   ========================================================= */
@media (max-width: 1024px) {
    .plans__grid--full { grid-template-columns: repeat(2, 1fr); }
    .about-mission      { grid-template-columns: 1fr; gap: 40px; }
    .about-stat-card    { grid-template-columns: 1fr 1px 1fr; }
    .team__grid         { grid-template-columns: repeat(2, 1fr); }
    .auth-container     { grid-template-columns: 1fr; }
    .auth-panel--right  { display: none; }
    .auth-panel--left   { border-right: none; padding: 48px 32px; min-height: 100vh; justify-content: center; }
}
@media (max-width: 640px) {
    .plans__grid--full  { grid-template-columns: 1fr; }
    .form-row           { grid-template-columns: 1fr; }
    .team__grid         { grid-template-columns: 1fr; }
    .timeline::before   { left: 60px; }
    .timeline__item     { grid-template-columns: 60px 20px 1fr; }
}
