/* ============================================================
   FundedNaira — Complete Style System
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --fn-dark:    #030b13;
    --fn-dark-2:  #071421;
    --fn-green:   #e11d48;
    --fn-green-2: #ff4d6d;
    --fn-ink:     #070b18;
    --fn-muted:   #526071;
    --fn-line:    #e5e7eb;
    --fn-panel:   #ffffff;
    --fn-bg:      #f5f7fa;
    --accent:     #e11d48;
    --accent-2:   #ff4d6d;
    --warning:    #f59e0b;
    --danger:     #ef4444;
    --soft:       #e2e8f0;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--fn-bg); color: var(--fn-ink); margin: 0; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
button { cursor: pointer; font: inherit; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.fn-container {
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 clamp(18px, 5vw, 92px);
    width: 100%;
}

/* Scroll reveal */
.fn-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.fn-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.fn-reveal-delay-1 { transition-delay: .1s; }
.fn-reveal-delay-2 { transition-delay: .2s; }
.fn-reveal-delay-3 { transition-delay: .3s; }
.fn-reveal-delay-4 { transition-delay: .4s; }

/* Stars */
.stars { color: #ffb300; font-size: 13px; white-space: nowrap; letter-spacing: 2px; }

/* Alert */
.alert { border-radius: 8px; margin-bottom: 14px; padding: 12px 16px; font-weight: 700; }
.alert.success, .alert { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.alert.danger  { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; }
.danger        { color: var(--danger) !important; }

/* ============================================================
   SHARED SITE HEADER (non-landing pages)
   ============================================================ */
.site-header {
    align-items: center;
    background: rgba(3, 11, 19, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 0 clamp(16px, 5vw, 64px);
    height: 68px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 80;
    transition: box-shadow .3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0,0,0,.3);
}

.brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: 10px;
}
.brand .brand-mark {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    padding: 0;
    width: 38px;
}
.brand .brand-mark::before { content: none !important; display: none !important; }
.brand .brand-mark img { display: block; height: 100%; object-fit: contain; width: 100%; }
.brand strong { font-size: 22px; color: #fff; display: grid; line-height: .9; }
.brand em     { color: var(--fn-green); font-style: normal; }
.brand small  { color: var(--fn-green); font-size: 10px; font-weight: 800; letter-spacing: .3px; margin-top: 5px; }

.site-nav { align-items: center; display: flex; gap: 26px; }
.site-nav a { color: #e2e8f0; font-size: 13px; font-weight: 700; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--fn-green); }

/* ---- HAMBURGER TOGGLE ---- */
.nav-toggle {
    background: transparent; border: 0;
    cursor: pointer;
    display: none; flex-direction: column;
    gap: 5px; padding: 4px; z-index: 90;
}
.nav-toggle span {
    background: #fff; border-radius: 999px;
    display: block; height: 2px; width: 24px;
    transform-origin: center;
    transition: transform .28s cubic-bezier(.4,0,.2,1),
                opacity   .22s ease,
                width     .22s ease;
}
/* Animate to X when .is-active */
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta, .btn {
    align-items: center;
    background: linear-gradient(135deg, #ff4d6d, #e11d48);
    border: 0;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(225,29,72,.25);
    color: #fff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    white-space: nowrap;
}
.btn:hover, .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(225,29,72,.38); }
.btn.alt { background: #fff; border: 1px solid var(--soft); color: var(--fn-ink) !important; box-shadow: none; }
.btn.alt:hover { background: #f0fdf4; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.btn.small { border-radius: 4px; font-size: 12px; min-height: 28px; min-width: 108px; padding: 0 14px; }
.search-btn {
    background: transparent; border: 0;
    border-radius: 50%; height: 28px; position: relative; width: 28px;
}
.search-btn::before {
    border: 2px solid #fff; border-radius: 50%; content: '';
    height: 13px; left: 4px; position: absolute; top: 4px; width: 13px;
}
.search-btn::after {
    background: #fff; content: ''; height: 2px;
    left: 17px; position: absolute; top: 18px;
    transform: rotate(45deg); width: 9px;
}

/* ============================================================
   SHARED INNER PAGE SECTIONS
   ============================================================ */
.section {
    padding: 42px clamp(16px, 5vw, 64px);
}
.section-head {
    align-items: center; display: flex; gap: 16px;
    justify-content: space-between; margin-bottom: 22px;
}
.section-head h2 { font-size: clamp(24px, 4vw, 36px); margin: 0; }

/* Grid helpers */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.firm-card, .review-card, .guide-card, .panel {
    background: #fff; border: 1px solid var(--soft);
    border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.06); overflow: hidden;
}
.firm-card { padding: 18px; }
.firm-top  { align-items: center; display: flex; gap: 12px; }
.logo      { align-items: center; background: #020617; border-radius: 10px; display: inline-flex; height: 48px; justify-content: center; overflow: hidden; width: 48px; }
.logo img  { height: 100%; object-fit: cover; width: 100%; }
.logo.mini { border-radius: 5px; height: 28px; width: 28px; }
.firm-meta { display: grid; gap: 8px; margin: 16px 0; }
.firm-meta span { align-items: center; color: #475569; display: flex; font-size: 14px; justify-content: space-between; }
.rating { color: var(--warning); font-weight: 900; }

.review-card img, .guide-card img {
    background: #020617; display: block;
    height: 150px; object-fit: cover; width: 100%;
}
.card-body { display: grid; gap: 10px; padding: 16px; }
.card-body p { color: #475569; line-height: 1.55; margin: 0; }

/* Compare table (shared) */
.compare-table { background: #fff; border: 1px solid var(--soft); border-radius: 12px; overflow-x: auto; }
table { border-collapse: collapse; min-width: 760px; width: 100%; }
th, td { border-bottom: 1px solid #e5e7eb; padding: 14px 16px; text-align: left; }
th { color: #64748b; font-size: 12px; text-transform: uppercase; }
.table-firm { align-items: center; display: inline-flex; gap: 12px; }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; font-weight: 700; }
input, textarea, select { border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; padding: 12px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--fn-green); box-shadow: 0 0 0 3px rgba(0,185,107,.1); outline: none; }
textarea { min-height: 150px; resize: vertical; }

/* Content page */
.content { background: #fff; border: 1px solid var(--soft); border-radius: 12px; line-height: 1.75; margin: 34px auto; max-width: 960px; padding: clamp(20px, 4vw, 44px); }
.content h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; margin-bottom: 16px; }

/* Old hero (used in non-home pages) */
.hero { background: radial-gradient(circle at 70% 40%, rgba(16,185,129,.18), transparent 30%), linear-gradient(135deg, rgba(2,6,23,.98), rgba(2,6,23,.9)); background-position: center; background-size: cover; color: #fff; display: grid; gap: 28px; min-height: 520px; padding: clamp(54px, 9vw, 120px) clamp(18px, 5vw, 64px); }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; max-width: 900px; }
.hero h1 span { color: var(--accent); }
.hero p { color: #dbeafe; font-size: clamp(16px, 2vw, 21px); line-height: 1.55; max-width: 620px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-points span { color: #bbf7d0; font-size: 13px; font-weight: 800; }

/* Site footer (non-landing) */
.site-footer {
    align-items: start;
    background: #06111e;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #cbd5e1;
    display: grid;
    gap: 22px;
    grid-template-columns: 1.4fr .8fr .9fr .8fr .9fr;
    padding: 28px clamp(16px, 5vw, 64px);
}
.site-footer section { display: grid; gap: 8px; }
.site-footer h3 { color: #fff; font-size: 14px; font-weight: 900; margin: 0 0 4px; }
.site-footer p, .site-footer small { color: #94a3b8; font-size: 13px; }
.site-footer a { color: #e2e8f0; font-size: 13px; font-weight: 600; transition: color .2s; }
.site-footer a:hover { color: var(--fn-green); }
.affiliate-note {
    border-top: 1px solid rgba(255,255,255,.08);
    color: #6b7280; font-size: 12px;
    grid-column: 1 / -1; margin: 4px 0 0;
    padding-top: 14px; text-align: center;
}
.socials { display: flex; gap: 10px; }
.socials a {
    align-items: center; background: #1e293b;
    border-radius: 999px; color: #fff;
    display: flex; height: 32px;
    justify-content: center; width: 32px;
    transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--fn-green); transform: translateY(-2px); }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-page {
    background: #eaecf0;
    color: #101513;
    min-height: 100vh;
}
.admin-shell {
    background: #f7f7f5;
    border: 14px solid rgba(255,255,255,.75);
    border-radius: 32px;
    box-shadow: 0 34px 90px rgba(15,23,42,.14);
    display: grid;
    grid-template-columns: 245px minmax(0,1fr);
    margin: clamp(14px, 4vw, 48px) auto;
    max-width: 1380px;
    min-height: 840px;
    overflow: hidden;
    width: min(100% - 28px, 1380px);
}
.admin-sidebar {
    background: #f3f4f2;
    border-right: 1px solid rgba(15,23,42,.05);
    color: #6b746f;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px 18px;
}
.admin-sidebar .brand { color: #101513; padding: 0 10px; }
.admin-sidebar .brand .brand-mark {
    background: #e11d48;
    border-radius: 12px;
    height: 40px;
    padding: 7px;
    width: 40px;
}
.admin-sidebar .brand strong { color: #101513; font-size: 20px; }
.admin-sidebar .brand em { color: #e11d48; }
.admin-sidebar .brand small { color: #e11d48; }
.admin-menu-label, .admin-nav p {
    color: #9ba29d; font-size: 12px; font-weight: 800;
    margin: 12px 10px 4px; text-transform: uppercase; letter-spacing: .08em;
}
.admin-nav { display: grid; gap: 4px; }
.admin-nav a {
    align-items: center; border-radius: 10px;
    color: #767d78; display: flex; font-size: 14px;
    font-weight: 700; gap: 10px; min-height: 42px;
    padding: 0 14px; transition: background .18s, color .18s;
}
.admin-nav a:hover, .admin-nav a.active {
    background: #e11d48; color: #fff;
}
.admin-main {
    background: #fafafa;
    padding: 18px 22px 32px;
}
.admin-commandbar {
    align-items: center;
    background: #fff;
    border-radius: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(200px,1fr) auto auto;
    margin-bottom: 18px;
    padding: 14px 18px;
}
.admin-menu-btn {
    background: transparent; border: 0;
    display: none; flex-direction: column; gap: 4px;
}
.admin-menu-btn span { background: #101513; border-radius: 999px; display: block; height: 2px; width: 21px; }
.admin-search {
    align-items: center; background: #f5f5f3;
    border-radius: 16px; color: #8f9892;
    display: flex; gap: 10px; min-height: 50px; padding: 0 18px;
}
.admin-search span {
    border: 2px solid #333; border-radius: 50%;
    flex-shrink: 0; height: 17px; position: relative; width: 17px;
}
.admin-search span::after {
    background: #333; content: ''; height: 2px;
    position: absolute; right: -7px; top: 11px;
    transform: rotate(45deg); width: 8px;
}
.admin-search input { background: transparent; border: 0; padding: 0; }
.admin-command-icons { display: flex; gap: 10px; }
.admin-command-icons i, .admin-profile > span {
    align-items: center; background: #fff; border-radius: 50%;
    box-shadow: 0 6px 18px rgba(15,23,42,.07); display: flex;
    font-size: 18px; font-style: normal; font-weight: 900;
    height: 46px; justify-content: center; width: 46px;
}
.admin-profile { align-items: center; display: flex; gap: 12px; }
.admin-profile > span { background: #efb7a9; font-size: 18px; }
.admin-profile strong { display: grid; font-size: 15px; }
.admin-profile small { color: #8d9691; font-size: 12px; font-weight: 500; }
.admin-top { align-items: end; display: flex; justify-content: space-between; margin: 16px 0; }
.admin-top h1 { font-size: 36px; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.admin-header-actions { display: flex; gap: 12px; }
.admin-page .btn { background: #e11d48; border-radius: 999px; min-height: 48px; }
.admin-page .btn.alt { background: #fff; border: 1px solid #d0d5cf; color: #101513 !important; box-shadow: none; }
.admin-page .btn.alt:hover { background: #f5f5f3; }
.admin-page .btn.alt.danger { border-color: #fca5a5; color: #991b1b !important; }

/* Admin Stats */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stat {
    background: #fff; border: 0; border-radius: 18px;
    box-shadow: none; color: #101513;
    overflow: hidden; padding: 20px 22px; position: relative;
}
.stat.featured { background: linear-gradient(135deg, #7a0020, #e11d48); color: #fff; }
.stat span { color: inherit; font-size: 15px; font-weight: 800; display: block; }
.stat strong { display: block; font-size: 50px; font-weight: 500; letter-spacing: -.06em; line-height: 1; margin: 16px 0 8px; }
.stat small { color: #e11d48; font-size: 13px; }
.stat.featured small { color: #fecdd3; }
.stat b { align-items: center; background: #fff; border-radius: 50%; color: #111; display: flex; font-size: 16px; height: 32px; justify-content: center; position: absolute; right: 18px; top: 18px; width: 32px; }
.muted { color: #64748b; }

/* Admin Grid panels */
.admin-grid { display: grid; gap: 16px; margin-top: 16px; }
.dashboard-main-grid { grid-template-columns: minmax(0,1.35fr) minmax(220px,.65fr) minmax(240px,.75fr); }
.dashboard-lower-grid { grid-template-columns: minmax(0,1.1fr) minmax(250px,.9fr) minmax(240px,.7fr); }
.panel { background: #fff; border: 0; border-radius: 18px; padding: 20px; }
.panel-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 16px; }
.panel-head h2 { font-size: 19px; font-weight: 800; margin: 0; }

/* Admin bar chart */
.bar-analytics { align-items: end; display: grid; gap: 16px; grid-template-columns: repeat(7,1fr); height: 156px; }
.bar-analytics i { background: repeating-linear-gradient(135deg, #9ba9a2 0 4px, transparent 4px 8px); border-radius: 999px; display: block; height: 74%; position: relative; }
.bar-analytics i.solid { background: #e11d48; height: 84%; }
.bar-analytics i.soft  { background: #ff8099; height: 66%; }
.bar-analytics i.deep  { background: #7a0020; height: 96%; }
.bar-analytics b { background: #fde8ec; border: 1px solid #fca5a5; border-radius: 999px; color: #e11d48; font-size: 11px; left: 50%; padding: 2px 6px; position: absolute; top: -20px; transform: translateX(-50%); }
.bar-days { color: #8d9691; display: grid; grid-template-columns: repeat(7,1fr); font-size: 12px; text-align: center; margin-top: 6px; }

/* Reminder card */
.reminder-card { align-content: center; display: grid; gap: 14px; }
.reminder-card > strong { color: #7a0020; font-size: 22px; line-height: 1.1; }
.reminder-card > span  { color: #8d9691; font-size: 14px; }

/* Project rows */
.top-projects { display: grid; gap: 10px; }
.project-row, .team-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 34px 1fr; }
.project-row i, .team-row i { background: #fde8ec; border-radius: 50%; display: block; height: 32px; width: 32px; }
.project-row:nth-child(3n) i { background: #e9ddff; }
.project-row:nth-child(4n) i { background: #fff0c2; }
.project-row span, .team-row span { display: grid; font-size: 14px; font-weight: 700; }
.project-row small, .team-row small { color: #8d9691; font-size: 11px; font-weight: 500; }
.team-row { border-bottom: 1px solid #f0f0ef; grid-template-columns: 42px 1fr auto; padding: 8px 0; }
.team-row i { align-items: center; background: #f6cbbf; display: flex; font-style: normal; font-weight: 900; justify-content: center; }
.team-row b { background: #fde8ec; border-radius: 6px; color: #e11d48; font-size: 12px; padding: 5px 8px; }

/* Progress */
.progress-card { display: grid; }
.progress-gauge { align-items: center; background: conic-gradient(#e11d48 0 248deg, #d9e1dd 248deg 360deg); border-radius: 999px 999px 0 0; display: grid; height: 160px; justify-items: center; margin: 12px auto 0; max-width: 250px; place-content: center; position: relative; width: 100%; }
.progress-gauge::after { background: #fff; border-radius: 999px 999px 0 0; bottom: 0; content: ''; height: 100px; left: 50px; position: absolute; right: 50px; }
.progress-gauge strong, .progress-gauge span { position: relative; z-index: 1; }
.progress-gauge strong { font-size: 44px; font-weight: 500; }
.progress-gauge span { color: #e11d48; font-size: 13px; }
.progress-legend { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.progress-legend span { color: #5c6963; font-size: 12px; }

/* Time card */
.time-card { background: radial-gradient(circle at 70% 20%, rgba(225,29,72,.55), transparent 32%), #3d0015 !important; color: #fff !important; display: grid; gap: 14px; }
.time-card h2 { margin: 0; }
.time-card strong { font-size: 38px; font-family: 'Courier New', monospace; }
.time-card button { border: 0; border-radius: 50%; font-weight: 900; height: 42px; margin-right: 8px; width: 42px; }

/* Recent table */
.recent-table-card { margin-top: 16px; }
.table-wrap { border: 0; overflow-x: auto; }
.admin-page table { min-width: 600px; }
.admin-page th, .admin-page td { padding: 12px 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.list-row { align-items: center; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; padding: 12px 0; }

/* Login */
.login-screen { align-items: center; background: radial-gradient(circle at 70% 10%, rgba(225,29,72,.3), transparent 30%), #020617; display: grid; min-height: 100vh; padding: 18px; }
.login-card { background: #fff; border-radius: 18px; box-shadow: 0 30px 100px rgba(0,0,0,.35); display: grid; gap: 16px; margin: auto; max-width: 430px; padding: 30px; width: 100%; }
.login-card .brand { color: var(--fn-ink); }
.login-card .brand strong { color: var(--fn-ink); }
.login-card h1 { margin: 0 0 4px; }

/* Quick actions */
.quick-actions { align-content: start; display: grid; gap: 10px; }

/* ============================================================
   LANDING HEADER
   ============================================================ */
.landing-header {
    align-items: center;
    background: rgba(2, 8, 15, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    gap: 28px;
    height: 72px;
    justify-content: space-between;
    left: 0;
    padding: 0 clamp(18px, 5vw, 92px);
    position: fixed;
    right: 0;
    top: 0;
    transition: box-shadow .3s ease, background .3s ease;
    z-index: 80;
}
.landing-header.scrolled {
    background: rgba(2,8,15,.99);
    box-shadow: 0 4px 32px rgba(0,0,0,.35);
}

.landing-brand {
    align-items: center; color: #fff;
    display: inline-flex; gap: 10px; text-decoration: none;
}
.landing-brand .brand-mark {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 42px;
    width: 42px;
}
.landing-brand .brand-mark img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.landing-brand strong { color: #fff; display: grid; font-size: 25px; font-weight: 900; line-height: .85; }
.landing-brand em { color: var(--fn-green); font-style: normal; }
.landing-brand small { color: #08bd71; font-size: 10px; font-weight: 800; letter-spacing: .3px; margin-top: 5px; }

.landing-nav { align-items: center; display: flex; gap: clamp(14px, 2vw, 40px); }
.landing-nav a {
    color: #f6fbff; font-size: 13px; font-weight: 800; line-height: 1;
    padding: 29px 0 25px; position: relative; text-decoration: none; white-space: nowrap;
    transition: color .2s;
}
.landing-nav a:hover { color: var(--fn-green); }
.landing-nav a.active::after {
    background: var(--fn-green); bottom: 17px; content: '';
    height: 3px; left: 0; position: absolute; right: 0;
    border-radius: 2px;
}

.landing-search {
    background: transparent; border: 0; border-radius: 50%;
    height: 28px; position: relative; width: 28px;
}
.landing-search::before {
    border: 2px solid #fff; border-radius: 50%; content: '';
    height: 14px; left: 4px; position: absolute; top: 4px; width: 14px;
}
.landing-search::after {
    background: #fff; content: ''; height: 8px;
    left: 18px; position: absolute; top: 18px;
    transform: rotate(45deg); width: 2px;
}

.landing-nav .landing-cta, .landing-cta {
    background: linear-gradient(135deg, #ff4d6d, #e11d48);
    border-radius: 5px;
    box-shadow: 0 10px 28px rgba(225,29,72,.3);
    color: #fff !important;
    font-size: 13px; font-weight: 900;
    min-width: 185px; padding: 13px 20px;
    text-align: center; text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.landing-nav .landing-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(225,29,72,.45); }
.landing-nav .landing-cta::after { display: none; }

.home-page .nav-toggle { display: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.fn-hero {
    background:
        linear-gradient(90deg, rgba(2,8,15,.97) 0%, rgba(2,12,20,.94) 33%, rgba(2,25,22,.80) 72%, rgba(0,38,28,.74) 100%),
        radial-gradient(circle at 78% 48%, rgba(0,185,107,.3), transparent 28%),
        linear-gradient(180deg, #020810, #06141d);
    color: #fff;
    min-height: 380px;
    overflow: hidden;
    padding-top: 72px;
    position: relative;
}

/* Grid overlay lines */
.fn-hero::before {
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.035) 18.2% 18.4%, transparent 18.6% 100%),
        linear-gradient(0deg, transparent 0 24%, rgba(255,255,255,.03) 24.2% 24.4%, transparent 24.6% 100%);
    background-size: 190px 100%, 100% 96px;
    bottom: 0; content: ''; left: 0; opacity: .4;
    position: absolute; right: 0; top: 72px;
}

/* Fade-out bottom */
.fn-hero::after {
    background: linear-gradient(to top, rgba(2,8,15,.95) 0%, transparent 40%);
    bottom: 0; content: ''; height: 90px;
    left: 0; position: absolute; right: 0;
}

.hero-inner {
    align-items: center; display: flex;
    min-height: 380px; position: relative; z-index: 2;
}
.hero-copy { max-width: 700px; padding: 38px 0 32px; }

.hero-pill {
    align-items: center; background: rgba(0,185,107,.12);
    border-radius: 5px; color: var(--fn-green-2, #16d487);
    display: inline-flex; font-size: 13px; font-weight: 900;
    gap: 8px; margin: 0 0 18px; padding: 7px 14px;
}
.hero-pill::before {
    animation: pulse-ring 2s ease infinite;
    border: 2px solid currentColor; border-radius: 50%;
    content: ''; height: 12px; width: 12px;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.15); opacity: .7; }
}

.hero-copy h1 {
    color: #fff; font-size: clamp(34px, 3.4vw, 56px);
    font-weight: 900; line-height: 1.08; margin: 0;
}
.hero-copy h1 span { color: var(--fn-green); display: block; }
.hero-text {
    color: rgba(255,255,255,.92); font-size: 18px; font-weight: 600;
    line-height: 1.4; margin: 16px 0 20px; max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.primary-btn, .secondary-btn, .visit-btn {
    align-items: center; border-radius: 5px;
    display: inline-flex; font-size: 13px; font-weight: 900;
    gap: 10px; justify-content: center;
    min-height: 40px; text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.primary-btn {
    background: linear-gradient(135deg, #ff4d6d, #e11d48);
    box-shadow: 0 12px 28px rgba(225,29,72,.28);
    color: #fff; min-width: 240px; padding: 0 26px;
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(225,29,72,.42); }
.secondary-btn {
    background: transparent; border: 1.5px solid rgba(255,255,255,.72);
    color: #fff; min-width: 148px; padding: 0 24px;
    transition: background .18s, border-color .18s;
}
.secondary-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.visit-btn {
    background: linear-gradient(135deg, #ff4d6d, #e11d48);
    color: #fff; min-height: 26px; min-width: 112px; padding: 0 14px;
}
.visit-btn:hover { transform: translateY(-1px); }

.hero-trust {
    align-items: center; color: rgba(255,255,255,.88);
    display: flex; flex-wrap: wrap; gap: 22px;
    font-size: 12px; font-weight: 800;
}
.hero-trust span { align-items: center; display: inline-flex; gap: 7px; }
.hero-trust span::before {
    border: 2px solid var(--fn-green); border-radius: 50%;
    content: ''; height: 12px; width: 12px;
}

/* Hero Telegram CTA */
.hero-telegram-btn {
    align-items: center;
    animation: tg-pulse 2.6s ease infinite;
    background: linear-gradient(135deg, #229ED9 0%, #0d7fbf 100%);
    border-radius: 5px; color: #fff;
    display: inline-flex; font-size: 13px; font-weight: 900;
    gap: 8px; justify-content: center;
    min-height: 40px; padding: 0 22px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 8px 22px rgba(34,158,217,.32);
}
.hero-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(34,158,217,.48);
    animation: none;
}
@keyframes tg-pulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(34,158,217,.32); }
    50%       { box-shadow: 0 8px 28px rgba(34,158,217,.6); }
}

/* Affiliate Badges */
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 14px 0 18px;
}
.badge {
    align-items: center; border-radius: 999px;
    display: inline-flex; font-size: 12px; font-weight: 900;
    gap: 6px; padding: 5px 14px;
    white-space: nowrap;
    transition: transform .18s ease;
}
.badge:hover { transform: translateY(-1px); }
.badge-discount {
    background: rgba(245,158,11,.15);
    border: 1.5px solid rgba(245,158,11,.5);
    color: #fbbf24;
}
.badge-verified {
    background: rgba(16,185,129,.13);
    border: 1.5px solid rgba(16,185,129,.45);
    color: #34d399;
}
.badge-recommended {
    background: rgba(225,29,72,.13);
    border: 1.5px solid rgba(225,29,72,.4);
    color: #ff6b8a;
}


/* Candlestick chart background */
.hero-cityscape {
    background:
        linear-gradient(to bottom, transparent 60%, rgba(2,8,15,.6)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='320' viewBox='0 0 900 320'%3E%3Crect x='10' y='180' width='12' height='140' fill='%23122' rx='2'/%3E%3Crect x='22' y='120' width='18' height='200' fill='%23152818' rx='2'/%3E%3Crect x='40' y='150' width='14' height='170' fill='%23122' rx='2'/%3E%3Crect x='54' y='100' width='22' height='220' fill='%231a3020' rx='2'/%3E%3Crect x='76' y='130' width='16' height='190' fill='%23122' rx='2'/%3E%3Crect x='92' y='80' width='28' height='240' fill='%231f3a25' rx='2'/%3E%3Crect x='120' y='170' width='12' height='150' fill='%23122' rx='2'/%3E%3Crect x='132' y='110' width='20' height='210' fill='%23152818' rx='2'/%3E%3C/svg%3E") right bottom no-repeat;
    background-size: auto 70%;
    bottom: 0;
    left: 38%;
    opacity: .35;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 72px;
    z-index: 1;
}

/* Market candlestick grid */
.market-grid {
    bottom: 0; left: 38%; pointer-events: none;
    position: absolute; right: 0; top: 72px; z-index: 1;
}
.market-grid::before {
    border-bottom: 2.5px solid rgba(0,185,107,.7);
    border-right: 2.5px solid rgba(0,185,107,.7);
    content: ''; height: 108px; position: absolute;
    right: 4%; top: 72px; transform: skewY(-16deg); width: 420px;
}
.market-grid span {
    animation: candle-grow 1.2s ease both;
    background: #e11d48; border-radius: 3px;
    bottom: 43px; display: block;
    position: absolute; width: 9px;
}
.market-grid span::before {
    background: rgba(255,255,255,.4); content: '';
    left: 50%; position: absolute; top: -18px;
    transform: translateX(-50%); width: 1px; bottom: -15px;
}
.market-grid i {
    animation: candle-grow 1.4s ease both;
    background: #b42022; border-radius: 3px;
    bottom: 92px; display: block;
    height: 34px; position: absolute; width: 8px;
}
.market-grid i::before {
    background: rgba(255,255,255,.4); content: '';
    left: 50%; position: absolute; top: -18px;
    transform: translateX(-50%); width: 1px; height: 18px;
}

@keyframes candle-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}

.market-grid span:nth-child(1) { height: 32px; left: 34%; animation-delay: .1s; }
.market-grid span:nth-child(2) { height: 48px; left: 39%; bottom: 55px; animation-delay: .15s; }
.market-grid span:nth-child(3) { height: 61px; left: 44%; bottom: 70px; animation-delay: .2s; }
.market-grid span:nth-child(4) { height: 42px; left: 50%; bottom: 95px; animation-delay: .25s; }
.market-grid span:nth-child(5) { height: 67px; left: 56%; bottom: 105px; animation-delay: .3s; }
.market-grid span:nth-child(6) { height: 78px; left: 62%; bottom: 128px; animation-delay: .35s; }
.market-grid i:nth-of-type(1) { left: 21%; bottom: 48px; height: 26px; animation-delay: .05s; }
.market-grid i:nth-of-type(2) { left: 25%; bottom: 58px; height: 31px; background: #e11d48; animation-delay: .1s; }
.market-grid i:nth-of-type(3) { left: 29%; bottom: 72px; height: 22px; animation-delay: .15s; }
.market-grid i:nth-of-type(4) { left: 65%; bottom: 147px; height: 33px; background: #e11d48; animation-delay: .38s; }
.market-grid i:nth-of-type(5) { left: 68%; bottom: 165px; height: 41px; background: #e11d48; animation-delay: .42s; }
.market-grid i:nth-of-type(6) { left: 71%; bottom: 178px; height: 32px; animation-delay: .46s; }
.market-grid i:nth-of-type(7) { left: 75%; bottom: 194px; height: 49px; background: #e11d48; animation-delay: .5s; }
.market-grid i:nth-of-type(8) { left: 79%; bottom: 216px; height: 55px; background: #e11d48; animation-delay: .54s; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.fn-stats {
    background: #fff;
    border-bottom: 1px solid #e7ebf0;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.stats-row {
    display: grid; gap: 0;
    grid-template-columns: repeat(4,1fr); min-height: 78px;
}
.stats-row article {
    align-items: center; border-right: 1px solid #dbe2ea;
    display: grid; gap: 0 14px;
    grid-template-columns: 50px auto;
    justify-content: center; padding: 16px 22px;
}
.stats-row article:last-child { border-right: 0; }
.stat-icon { color: #e11d48; font-size: 26px; font-weight: 900; grid-row: span 2; }
.stats-row strong { color: #08111f; font-size: 22px; font-weight: 900; line-height: 1; }
.stats-row small  { color: #354154; font-size: 13px; font-weight: 700; }

/* ============================================================
   COMPARE TABLE (LANDING)
   ============================================================ */
.fn-section { padding: 18px 0 0; }
.section-head {
    align-items: center; display: flex; gap: 18px;
    justify-content: space-between; margin-bottom: 11px;
}
.section-head h2, .why-strip h2, .funded-banner h2 {
    color: #080d1c; font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 900; line-height: 1.1; margin: 0;
}
.section-head a { color: #05a565; font-size: 13px; font-weight: 900; }
.section-head a:hover { color: #03874f; }

.compare-card {
    background: #fff; border: 1px solid #dce3ea;
    border-radius: 6px; box-shadow: 0 10px 24px rgba(15,23,42,.04);
    overflow-x: auto;
}
.landing-compare-table { border-collapse: collapse; min-width: 960px; width: 100%; }
.landing-compare-table th {
    background: #06111e; color: #fff;
    font-size: 12px; font-weight: 800;
    padding: 10px 28px; text-align: left;
}
.landing-compare-table td {
    border-top: 1px solid #e4e8ee; color: #111827;
    font-size: 13px; font-weight: 700;
    padding: 9px 28px; vertical-align: middle;
}
.landing-compare-table tr:hover td { background: #f8fffe; }
.firm-cell { align-items: center; display: inline-flex; gap: 14px; }
.firm-badge {
    align-items: center; background: #030711;
    border-radius: 5px; color: #fff; display: inline-flex;
    font-size: 11px; font-weight: 900; height: 28px;
    justify-content: center; overflow: hidden; width: 34px;
}
.firm-badge img { height: 100%; object-fit: cover; width: 100%; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-strip { padding: 14px 0 0; text-align: center; }
.why-grid {
    background: #fff; border: 1px solid #e7ebf0; border-radius: 5px;
    display: grid; grid-template-columns: repeat(4,1fr); margin-top: 9px;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}
.why-grid article {
    align-items: center; border-right: 1px solid #e7ebf0;
    display: grid; gap: 2px 18px;
    grid-template-columns: 80px 1fr; min-height: 72px;
    padding: 12px 24px; text-align: left;
    transition: background .2s;
}
.why-grid article:hover { background: #f8fffc; }
.why-grid article:last-child { border-right: 0; }
.why-grid span {
    align-items: center; background: #fde8ec;
    border-radius: 50%; color: #e11d48;
    display: inline-flex; font-size: 26px;
    grid-row: span 2; height: 56px;
    justify-content: center; width: 56px;
    transition: transform .2s;
}
.why-grid article:hover span { transform: scale(1.08); }
.why-grid strong { color: #101626; font-size: 14px; font-weight: 900; }
.why-grid p { color: #172234; font-size: 13px; font-weight: 600; line-height: 1.3; margin: 0; }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-section { padding-top: 16px; }
.review-grid { display: grid; gap: 22px; grid-template-columns: repeat(4,1fr); }
.review-card {
    background: #fff; border: 1px solid #dce3ea;
    border-radius: 6px; box-shadow: 0 8px 20px rgba(15,23,42,.04);
    overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,23,42,.1); }
.review-logo {
    align-items: center; background: #020912; color: #fff;
    display: flex; font-size: 22px; font-weight: 900;
    height: 58px; justify-content: center; line-height: 1;
    padding: 0 18px; text-align: center;
    overflow: hidden;
}
.review-logo img { height: 100%; max-height: 44px; object-fit: contain; }
.review-logo::first-letter { color: var(--fn-green); }
.review-body { padding: 13px 17px 16px; }
.review-body h3 { color: #101626; font-size: 14px; font-weight: 900; margin: 0 0 5px; }
.rating-line { color: #172234; font-size: 12px; font-weight: 800; margin: 0 0 5px; }
.review-body p { color: #354154; font-size: 13px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.review-body a { color: #e11d48; font-size: 13px; font-weight: 900; transition: color .2s; }
.review-body a:hover { color: #c01040; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.funded-banner {
    background: linear-gradient(90deg, #020a12, #061923 42%, #020a12);
    border-radius: 6px 6px 0 0; color: #fff;
    margin: 26px clamp(14px, 1.5vw, 22px) 0;
    min-height: 200px; overflow: hidden;
    padding: 34px 0 42px; position: relative; text-align: center;
}
.funded-banner .fn-container { position: relative; z-index: 3; }
.funded-banner h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.funded-banner p {
    color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600;
    line-height: 1.3; margin: 0 auto 10px; max-width: 560px;
}
.funded-banner .primary-btn { min-height: 34px; min-width: 285px; }
.telegram-promo { color: #fde68a !important; font-size: 13px !important; margin: 6px auto 8px !important; }
.telegram-btn {
    align-items: center;
    background: linear-gradient(135deg, #229ED9, #1a7fb0);
    border-radius: 5px; color: #fff; display: inline-flex;
    font-size: 13px; font-weight: 900; gap: 8px;
    justify-content: center; margin-left: 14px;
    min-height: 34px; min-width: 150px; padding: 0 22px;
    text-decoration: none; transition: transform .18s;
}
.telegram-btn:hover { transform: translateY(-2px); }
.funded-banner .primary-btn { color: #0a0600 !important; }

/* Gold candle chart on banner — mirrors hero chart style */
.banner-candles {
    bottom: 0; left: 0; pointer-events: none;
    position: absolute; right: 0; top: 0; z-index: 1;
    overflow: hidden;
    background: url('/FundedNaira/assets/images/banner-chart.png') center center / cover no-repeat;
    opacity: .55;
}
.banner-candles::before, .banner-candles::after { content: none; }

/* golden glow orbs (replace old SVG ovals) */
.funded-banner .banner-glow-left,
.funded-banner .banner-glow-right {
    border: 2px solid rgba(225,29,72,.35); border-radius: 50%;
    height: 170px; opacity: .75; position: absolute; top: 14px; width: 230px;
    pointer-events: none; z-index: 1;
}
.funded-banner .banner-glow-left {
    box-shadow: inset -35px -10px 48px rgba(225,29,72,.25);
    left: 40px; transform: skewX(-18deg);
}
.funded-banner .banner-glow-right {
    box-shadow: inset 35px -10px 48px rgba(225,29,72,.25);
    right: 220px; transform: skewX(18deg);
}

/* ============================================================
   LANDING FOOTER
   ============================================================ */
.landing-footer {
    background: #06111e !important;
    clear: both; color: #fff;
    padding: 22px 0 14px; position: relative; z-index: 4;
}
.footer-grid {
    display: grid; gap: 24px;
    grid-template-columns: 2.2fr 1.35fr 1.5fr 1fr 1.4fr;
}
.landing-footer section {
    border-right: 1px solid rgba(255,255,255,.07);
    min-height: 96px; padding-right: 24px;
}
.landing-footer section:last-child { border-right: 0; }
.footer-brand { margin-bottom: 10px; }
.landing-footer p, .landing-footer small {
    color: #d7e0eb; display: block; font-size: 13px;
    font-weight: 600; line-height: 1.45; margin: 0; max-width: 320px;
}
.landing-footer h3 { color: #fff; font-size: 14px; font-weight: 900; margin: 0 0 9px; }
.landing-footer a { color: #e5edf7; display: block; font-size: 13px; font-weight: 700; margin: 0 0 5px; transition: color .2s; }
.landing-footer a:hover { color: var(--fn-green); }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    align-items: center; background: rgba(255,255,255,.1);
    border-radius: 50%; color: #fff; display: inline-flex;
    height: 30px; justify-content: center; margin: 0;
    position: relative; transition: background .2s, transform .2s; width: 30px;
}
.footer-socials a:hover { background: #e11d48; transform: translateY(-2px); }
.footer-socials span { display: block; position: relative; }
.footer-socials span::before, .footer-socials span::after { content: ''; display: block; position: absolute; }

.social-facebook span { color: #fff; font-size: 15px; font-weight: 900; line-height: 1; position: static; }
.social-facebook span::before { content: 'f'; display: block; font-family: Arial, sans-serif; position: static; }

.social-x span, .social-x span::before { background: #fff; border-radius: 2px; height: 12px; width: 2px; }
.social-x span { transform: rotate(45deg); }
.social-x span::before { transform: rotate(90deg); }

.social-instagram span { border: 2px solid #fff; border-radius: 5px; height: 14px; width: 14px; }
.social-instagram span::before { border: 2px solid #fff; border-radius: 50%; height: 4px; left: 3px; top: 3px; width: 4px; }
.social-instagram span::after  { background: #fff; border-radius: 50%; height: 2px; right: 2px; top: 2px; width: 2px; }

.social-youtube span { background: #fff; border-radius: 3px; height: 11px; width: 15px; }
.social-youtube span::before { border-bottom: 4px solid transparent; border-left: 6px solid #06111e; border-top: 4px solid transparent; height: 0; left: 5px; top: 2px; width: 0; }

.landing-footer .affiliate-note {
    border-top: 1px solid rgba(255,255,255,.07);
    color: #6b7280; font-size: 12px;
    margin: 10px auto 0;
    max-width: 1440px; padding: 10px clamp(18px, 5vw, 92px) 0;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    /* Mobile header sizing & brand unification */
    .landing-header {
        height: 64px;
        padding: 0 18px;
    }
    .landing-brand strong {
        font-size: 20px;
    }
    .landing-brand .brand-mark {
        height: 34px;
        width: 34px;
    }

    /* Mobile nav panel — hidden by default, slides in when .is-open */
    .landing-nav {
        background: rgba(3, 11, 19, 0.99);
        border-top: 1px solid rgba(255,255,255,.09);
        box-shadow: 0 12px 40px rgba(0,0,0,.45);
        display: flex !important;           /* always in flow, hidden via transform */
        flex-direction: column;
        gap: 0;
        left: 0; right: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 22px;
        position: absolute;
        top: 64px;
        transform: translateY(-6px);
        opacity: 0;
        pointer-events: none;
        transition:
            max-height .38s cubic-bezier(.4,0,.2,1),
            padding    .3s ease,
            opacity    .28s ease,
            transform  .3s cubic-bezier(.4,0,.2,1);
        z-index: 79;
    }
    body.menu-open .landing-nav,
    .landing-nav.is-open {
        max-height: 520px;
        opacity: 1;
        padding: 10px 22px 24px;
        pointer-events: auto;
        transform: translateY(0);
    }
    .landing-nav a {
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding: 13px 0; width: 100%;
        position: relative;
    }
    .landing-nav a:last-of-type { border-bottom: 0; }
    .landing-nav a.active::after { bottom: 0; right: auto; width: 44px; }
    .landing-search { display: none !important; }
    .landing-nav .landing-cta { margin-top: 12px; text-align: center; justify-content: center; width: 100%; display: inline-flex; }
    .home-page .nav-toggle { display: inline-flex; }
    .market-grid { left: 28%; opacity: .72; }
    .why-grid, .review-grid, .footer-grid { grid-template-columns: repeat(2,1fr); }
    .landing-footer section:nth-child(2n) { border-right: 0; }
    .banner-bear { right: 24px; }
    .banner-animal { opacity: .5; }
}

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    
    /* Mobile header sizing & brand unification */
    .site-header {
        height: 64px;
        padding: 0 18px;
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .brand strong {
        font-size: 20px;
    }
    .brand .brand-mark {
        height: 34px;
        width: 34px;
    }
    .brand small {
        color: #08bd71; /* Naira green */
    }

    /* Inner-page mobile nav — slides down */
    .site-nav {
        align-items: stretch;
        background: rgba(3, 11, 19, 0.99);
        border-top: 1px solid rgba(255,255,255,.07);
        box-shadow: 0 12px 40px rgba(0,0,0,.45);
        display: flex !important;
        flex-basis: 100%; flex-direction: column;
        left: 0; right: 0;
        max-height: 0; overflow: hidden;
        padding: 0 22px;
        pointer-events: none;
        position: absolute;
        top: 64px;
        transform: translateY(-6px);
        opacity: 0;
        transition:
            max-height .38s cubic-bezier(.4,0,.2,1),
            padding    .3s ease,
            opacity    .28s ease,
            transform  .3s cubic-bezier(.4,0,.2,1);
        z-index: 79;
    }
    body.menu-open .site-nav,
    .site-nav.is-open {
        max-height: 480px;
        opacity: 1;
        padding: 10px 22px 24px;
        pointer-events: auto;
        transform: translateY(0);
    }
    .site-nav a {
        border-bottom: 1px solid rgba(255,255,255,.06);
        color: #e2e8f0;
        padding: 13px 0; /* Match landing-nav horizontal layout (container padded) */
        width: 100%;
        position: relative;
    }
    .site-nav a:last-of-type { border-bottom: 0; }
    
    /* Underline active indicator */
    .site-nav a.active::after {
        background: var(--fn-green);
        bottom: 0;
        content: '';
        height: 3px;
        left: 0;
        position: absolute;
        width: 44px;
        border-radius: 2px;
    }
    
    .search-btn { display: none !important; }
    .site-nav .nav-cta { margin-top: 12px; text-align: center; justify-content: center; width: 100%; display: inline-flex; }
    
    .site-footer { grid-template-columns: repeat(2,1fr); }
    .stats, .dashboard-main-grid, .dashboard-lower-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-chart, .team-card, .recent-table-card { grid-column: 1 / -1; }
    .admin-shell { display: block; }
    .admin-sidebar { position: static; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
    .admin-shell { display: block; margin: 0; min-height: 100vh; width: 100%; border-radius: 0; border-width: 0; }
    .admin-sidebar { bottom: 0; box-shadow: 20px 0 70px rgba(15,23,42,.24); left: 0; max-width: min(300px,86vw); overflow-y: auto; position: fixed; top: 0; transform: translateX(-105%); transition: transform .22s ease; width: min(300px,86vw); z-index: 50; }
    body.admin-menu-open .admin-sidebar { transform: translateX(0); }
    .admin-menu-btn { display: inline-flex; }
    .admin-commandbar { grid-template-columns: auto minmax(0,1fr) auto; border-radius: 0 0 16px 16px; margin: -14px -14px 14px; }
    .admin-command-icons, .admin-profile strong { display: none; }
    .admin-page .admin-main { padding: 12px; }
    .admin-top { align-items: stretch; display: grid; gap: 12px; }
    .stats, .dashboard-main-grid, .dashboard-lower-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .fn-hero { min-height: 500px; padding-top: 64px; }
    .hero-inner { min-height: 500px; }
    .hero-copy { padding-top: 36px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-text { font-size: 16px; }
    .market-grid { bottom: 0; left: 0; opacity: .3; top: 200px; }
    .hero-actions, .hero-trust, .section-head { align-items: stretch; flex-direction: column; }
    .primary-btn, .secondary-btn, .hero-telegram-btn { width: 100%; }
    .hero-badges { justify-content: flex-start; }
    .why-grid, .review-grid { grid-template-columns: 1fr; }
    .why-grid article { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.06); }
    /* Footer stays 2-col on mobile */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-footer section { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 14px; }
    .stats-row {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .stats-row article {
        grid-template-columns: 1fr !important;
        text-align: center;
        justify-content: center;
        padding: 8px 2px !important;
        border-right: 1px solid #dbe2ea !important;
        border-bottom: 0 !important;
    }
    .stats-row article:last-child {
        border-right: 0 !important;
    }
    .stats-row .stat-icon {
        grid-row: auto !important;
        margin: 0 auto 4px !important;
        font-size: 18px !important;
    }
    .stats-row strong {
        font-size: 13px !important;
        display: block !important;
    }
    .stats-row small {
        font-size: 9px !important;
        display: block !important;
        line-height: 1.2 !important;
    }
    .funded-banner { margin-left: 0; margin-right: 0; border-radius: 0; min-height: 220px; padding-bottom: 48px; }
    .funded-banner::before, .funded-banner::after { display: none; }
    .banner-animal { bottom: -8px; opacity: .25; width: 250px; }
    .banner-bull { left: -60px; }
    .banner-bear { right: -70px; }
    .site-footer { grid-template-columns: 1fr; }
    .section { padding: 28px 16px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .admin-top h1 { font-size: 30px; }
    .admin-header-actions { display: grid; }
}

@media (max-width: 520px) {
    .stats-row article { grid-template-columns: 40px auto; padding: 14px 16px; }
    .why-grid article { grid-template-columns: 64px 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat strong { font-size: 42px; }
}

/* ============================================================
   HOME PAGE OVERRIDES
   ============================================================ */
.home-page {
    background: #fff;
    color: var(--fn-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    margin: 0;
}
.home-page main { background: #fff; }

/* ============================================================
   REVIEW DETAILS PAGE
   ============================================================ */
.review-detail-hero {
    background: linear-gradient(135deg, #020912, #071827);
    color: #fff; padding: 40px clamp(18px, 5vw, 64px) 34px;
}
.review-detail-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 44px); margin-bottom: 12px; }
.review-detail-hero .stars { font-size: 18px; }
.review-content { background: #fff; border: 1px solid var(--soft); border-radius: 12px; line-height: 1.8; margin: 28px auto; max-width: 900px; padding: clamp(20px, 4vw, 44px); }
.review-content h2, .review-content h3 { color: #080d1c; margin: 24px 0 12px; }

/* ============================================================
   GUIDE DETAILS PAGE
   ============================================================ */
.guide-content { background: #fff; border: 1px solid var(--soft); border-radius: 12px; line-height: 1.8; margin: 28px auto; max-width: 900px; padding: clamp(20px, 4vw, 44px); }
