/* ============================================================
   MONEY TIME WITH REE — Design System v2.0
   Premium Fintech Platform Aesthetic
   ============================================================ */

/* ---- TOKENS ---- */
:root {
    /* Brand Colors */
    --accent: #d4ff33;
    --accent-dim: rgba(212, 255, 51, 0.12);
    --accent-hover: #bde62b;

    /* Dark Surface Palette */
    --bg-base: #08090b;
    --bg-surface: #0f1114;
    --bg-card: #13161a;
    --bg-card-hover: #181c21;
    --bg-elevated: #1e2228;

    /* Text */
    --text-primary: #f0f2f5;
    --text-secondary: #8a9099;
    --text-muted: #555c66;

    /* Borders */
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.14);

    /* Color Accents */
    --blue: #335cff;
    --blue-dim: rgba(51, 92, 255, 0.12);
    --purple: #a855f7;
    --purple-dim: rgba(168, 85, 247, 0.12);
    --orange: #f97316;
    --orange-dim: rgba(249, 115, 22, 0.12);
    --green: #10b981;
    --green-dim: rgba(16, 185, 129, 0.12);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.5), 0 20px 60px rgba(0,0,0,0.4);
    --shadow-accent: 0 0 40px rgba(212,255,51,0.08);

    /* Typography */
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Outfit', -apple-system, sans-serif;

    /* Layout */
    --container: 1320px;
    --section-gap: 6rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Lenis Smooth Scroll Compatibility */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; background: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ---- LAYOUT ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: var(--accent);
    color: #0a0b0d;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,255,51,0.2);
}
.btn-primary.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.4rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.04);
}

/* ---- PRELOADER ---- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    animation: pulse-logo 1s ease-in-out infinite alternate;
}
@keyframes pulse-logo {
    from { opacity: 0.6; }
    to { opacity: 1; }
}
.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
}
.preloader-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--r-full);
    animation: fill-bar 1.5s ease-in-out forwards;
}
@keyframes fill-bar {
    from { width: 0%; }
    to { width: 100%; }
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    transition: background 0.3s, border-color 0.3s, padding 0.3s;
    padding: 0;
}
.navbar.scrolled {
    background: rgba(8,9,11,0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 5%;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar.scrolled .nav-inner { padding: 0.9rem 5%; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}
.logo-mark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: -1px;
    background: var(--accent);
    color: #0a0b0d;
    padding: 0.25rem 0.6rem;
    border-radius: var(--r-sm);
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    padding: 0.5rem 0.9rem;
    border-radius: var(--r-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0.6rem;
    margin-left: auto;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    cursor: pointer;
    z-index: 600;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    transform-origin: center;
}

/* ---- PREMIUM MOBILE DRAWER ---- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100dvh;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 550;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }

/* Overlay behind drawer */
.mobile-menu::before {
    content: none;
}
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 540;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

/* Drawer inner layout */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.mobile-drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.mobile-drawer-close {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.mobile-drawer-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    gap: 0.25rem;
    flex: 1;
}
.mobile-links a {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    letter-spacing: -0.3px;
}
.mobile-links a i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.2s;
}
.mobile-links a:hover,
.mobile-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}
.mobile-links a:hover i,
.mobile-links a.active i {
    color: var(--accent);
}
.mobile-links-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.mobile-drawer-footer {
    padding: 1.5rem 1.75rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mobile-drawer-footer .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
}
.mobile-social-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}
.mobile-social-row a {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}
.mobile-social-row a:hover {
    color: var(--accent);
    border-color: rgba(212,255,51,0.3);
    background: var(--accent-dim);
}

/* ---- SECTION SHARED ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.35rem 0.9rem;
    border-radius: var(--r-full);
    margin-bottom: 1rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0.75rem auto 0;
}
.section-header.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-header h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-top: 0.25rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
    opacity: 0.4;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -20%;
    right: -10%;
    opacity: 0.06;
    animation: blobFloat 14s ease-in-out infinite;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: 0;
    left: -10%;
    opacity: 0.06;
    animation: blobFloat 18s ease-in-out infinite reverse;
}
@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.05); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212,255,51,0.7);
    animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(212,255,51,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(212,255,51,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,255,51,0); }
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.accent-text {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.btn-play:hover { color: var(--accent); }
.play-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, border-color 0.2s;
}
.btn-play:hover .play-icon {
    background: var(--accent-dim);
    border-color: var(--accent);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-item i { color: var(--accent); font-size: 0.9rem; }
.trust-sep { color: var(--text-muted); font-size: 0.7rem; }

/* Hero Dashboard */
.hero-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: border-color 0.3s;
}
.dashboard-card:hover { border-color: var(--border-hover); }

.main-card {
    background: linear-gradient(135deg, #0f1114 0%, #131a0a 100%);
    border-color: rgba(212,255,51,0.15);
}
.card-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.card-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.card-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.mini-chart { width: 100%; }
.mini-chart svg { width: 100%; height: 50px; }

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.mini-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
}
.mini-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.mini-icon.green { background: var(--green-dim); color: var(--green); }
.mini-icon.yellow { background: var(--accent-dim); color: var(--accent); }
.mini-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.mini-val { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

.tip-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-color: rgba(212,255,51,0.1);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.tip-card:hover { background: rgba(212,255,51,0.04); border-color: rgba(212,255,51,0.2); }
.tip-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.tip-text { flex: 1; }
.tip-text strong { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.15rem; }
.tip-text span { font-size: 0.8rem; color: var(--text-secondary); }
.tip-arrow { color: var(--text-muted); font-size: 1.25rem; }

/* Ticker */
.ticker-wrapper {
    position: relative;
    z-index: 20;
    background: var(--accent);
    overflow: hidden;
    padding: 0.9rem 0;
    transform: rotate(-0.5deg) scale(1.01);
}
.ticker-track {
    display: inline-flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker-anim 25s linear infinite;
}
.ticker-track span {
    padding: 0 1.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #0a0b0d;
    letter-spacing: 0.05em;
}
.ticker-track .sep { padding: 0 0.25rem; opacity: 0.5; }
@keyframes ticker-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.stat-item { text-align: center; padding: 1rem 2rem; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
}
.stat-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.4rem; }
.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* ============================================================
   TOOLS SECTION
   ============================================================ */
.tools-section {
    padding: var(--section-gap) 0;
}
.tools-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}
.tool-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.tool-card h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.6rem;
}
.tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.featured-tool {
    grid-row: span 2;
    padding: 2.5rem;
    background: linear-gradient(145deg, var(--bg-card) 0%, #0e1208 100%);
    border-color: rgba(212,255,51,0.12);
}
.featured-tool h3 { font-size: 1.5rem; }

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.tool-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.tool-icon-wrap.accent { background: var(--accent-dim); color: var(--accent); }
.tool-icon-wrap.blue { background: var(--blue-dim); color: var(--blue); }
.tool-icon-wrap.purple { background: var(--purple-dim); color: var(--purple); }
.tool-icon-wrap.orange { background: var(--orange-dim); color: var(--orange); }
.tool-icon-wrap.green { background: var(--green-dim); color: var(--green); }

.tool-badge {
    background: var(--accent);
    color: #0a0b0d;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--r-full);
    letter-spacing: 0.05em;
}

.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.tool-cta:hover { color: var(--accent); }

.tool-illustration {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 120px;
    opacity: 0.6;
}

/* ============================================================
   LEARN / GROW / PROTECT
   ============================================================ */
.learn-section {
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.lgp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.lgp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    transition: border-color 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lgp-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.lgp-card.learn { border-top: 3px solid var(--accent); }
.lgp-card.grow  { border-top: 3px solid var(--blue); }
.lgp-card.protect { border-top: 3px solid var(--green); }

.lgp-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.learn .lgp-icon  { background: var(--accent-dim); color: var(--accent); }
.grow  .lgp-icon  { background: var(--blue-dim);   color: var(--blue);   }
.protect .lgp-icon { background: var(--green-dim); color: var(--green); }

.lgp-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.learn .lgp-label  { color: var(--accent); }
.grow  .lgp-label  { color: var(--blue);   }
.protect .lgp-label { color: var(--green); }

.lgp-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.lgp-card > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }

.lgp-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex: 1;
}
.lgp-topics li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.lgp-topics li i {
    font-size: 0.9rem;
    flex-shrink: 0;
}
.learn .lgp-topics li i  { color: var(--accent); }
.grow  .lgp-topics li i  { color: var(--blue);   }
.protect .lgp-topics li i { color: var(--green); }

.lgp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    margin-top: auto;
}
.learn .lgp-link   { color: var(--accent); }
.grow  .lgp-link   { color: var(--blue);   }
.protect .lgp-link  { color: var(--green); }

/* ============================================================
   GUIDES SECTION
   ============================================================ */
.guides-section {
    padding: var(--section-gap) 0;
}
.guides-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
    text-decoration: none;
}
.guide-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.featured-guide {
    background: linear-gradient(145deg, var(--bg-card) 0%, #0d130d 100%);
    border-color: rgba(212,255,51,0.1);
}
.guide-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-full);
    display: inline-block;
    width: fit-content;
}
.guide-body { flex: 1; }
.guide-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.2s;
}
.guide-card:hover .guide-body h3 { color: var(--accent); }
.featured-guide .guide-body h3 { font-size: 1.5rem; }
.guide-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.guide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.guide-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.guide-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.guide-arrow {
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.guide-card:hover .guide-arrow {
    background: var(--accent);
    color: #0a0b0d;
    border-color: var(--accent);
}
.guide-number {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -2px;
}

/* ============================================================
   CALCULATORS
   ============================================================ */
.calc-section {
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.calc-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.calc-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.calc-header h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.calc-header p { font-size: 0.85rem; color: var(--text-secondary); }

.calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.input-group { display: flex; flex-direction: column; gap: 0.4rem; }
.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}
.input-group input {
    padding: 0.7rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.input-group input:focus { border-color: var(--accent); }
.input-group input::-webkit-inner-spin-button { opacity: 0.5; }

.calc-btn { width: 100%; justify-content: center; }

.calc-result {
    background: linear-gradient(135deg, #0e120a 0%, #131a10 100%);
    border: 1px solid rgba(212,255,51,0.15);
    border-radius: var(--r-lg);
    padding: 1.5rem 2rem;
    text-align: center;
}
.result-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.08em; }
.result-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--accent); letter-spacing: -1px; margin-bottom: 0.75rem; }
.result-breakdown { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.result-breakdown span { font-size: 0.85rem; color: var(--text-secondary); }
.result-breakdown strong { color: var(--text-primary); }

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories-section {
    padding: var(--section-gap) 0;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.story-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.25s, transform 0.25s;
}
.story-card-new:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.story-quote { color: var(--accent); font-size: 2rem; line-height: 1; }
.story-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; flex: 1; }
.story-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0a0b0d;
    font-size: 1rem;
    flex-shrink: 0;
}
.story-author > div strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.story-author > div span { font-size: 0.8rem; color: var(--text-muted); }
.story-result {
    margin-left: auto;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    white-space: nowrap;
}

/* ============================================================
   RESOURCE LIBRARY
   ============================================================ */
.library-section {
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.library-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.library-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.lib-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.lib-content { flex: 1; }
.lib-type { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.2rem; }
.lib-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.lib-content p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
.lib-arrow { font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; transition: color 0.2s; }
.library-item:hover .lib-arrow { color: var(--text-primary); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
    padding: var(--section-gap) 0;
}
.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    align-items: center;
}
.newsletter-bg-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(212,255,51,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.nl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-full);
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}
.newsletter-content h2 { font-size: 2.2rem; margin-bottom: 0.9rem; }
.newsletter-content > p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }

.nl-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.nl-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.nl-form input:focus { border-color: var(--accent); }
.nl-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.nl-trust span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.nl-trust i { color: var(--accent); }

.nl-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
}
.nl-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.nl-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #0a0b0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.nl-card-header strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.nl-card-header span { font-size: 0.78rem; color: var(--text-muted); }
.nl-preview { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.nl-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-tags span {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    color: var(--text-secondary);
}

/* ============================================================
   FOUNDER / REE'S CORNER
   ============================================================ */
.founder-section {
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}
.founder-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 6rem;
    align-items: center;
}
.founder-image-side { position: relative; }
.founder-img-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/5;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}
.founder-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.6s ease;
}
.founder-img-frame:hover img { transform: scale(1.03); }
.founder-stat-float {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-card);
}
.founder-stat-float i { font-size: 1.5rem; color: var(--accent); }
.founder-stat-float strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.founder-stat-float span { font-size: 0.78rem; color: var(--text-muted); }

.founder-content { display: flex; flex-direction: column; gap: 0; }
.founder-content h2 { font-size: 2.5rem; margin: 0.5rem 0 1.5rem; line-height: 1.2; }
.founder-bio { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; }

.founder-values {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.value-item i { color: var(--accent); font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }

.founder-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}
.footer-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--text-muted); font-weight: 300; }
.footer-brand > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}
.footer-socials a:hover {
    color: var(--accent);
    border-color: rgba(212,255,51,0.3);
    background: var(--accent-dim);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col h4 { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 1.25rem; }
.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.disclaimer { font-style: italic; }

/* ============================================================
   BLOG / ABOUT / POST PAGES — kept for other pages
   ============================================================ */
/* Navbar scrolled state applies everywhere */
.navbar.scrolled { background: rgba(8,9,11,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }

/* Auth stats */
.authority-section {
    padding: 0 5% 5rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.authority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, #0d1408 100%);
    border: 1px solid rgba(212,255,51,0.12);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 80px rgba(212,255,51,0.04);
}
.auth-stat {
    padding: 3.5rem 2rem;
    position: relative;
    transition: background 0.3s;
}
.auth-stat:hover { background: rgba(212,255,51,0.02); }
.auth-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; height: 60%; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.auth-stat-icon {
    width: 44px; height: 44px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
}
.auth-stat h3 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #e8f5a3 0%, #d4ff33 40%, #a0c220 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}
.auth-stat p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================================
   ABOUT HERO SECTION
   ============================================================ */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.about-hero-glow-1 {
    position: absolute;
    width: 700px; height: 700px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(160px);
    top: -30%; right: -15%;
    opacity: 0.05;
    animation: blobFloat 16s ease-in-out infinite;
}
.about-hero-glow-2 {
    position: absolute;
    width: 500px; height: 500px;
    background: var(--blue);
    border-radius: 50%;
    filter: blur(140px);
    bottom: -10%; left: -10%;
    opacity: 0.05;
    animation: blobFloat 20s ease-in-out infinite reverse;
}
.about-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}
.about-hero-content { display: flex; flex-direction: column; gap: 0; }
.about-hero-title {
    font-size: 4rem;
    line-height: 1.08;
    margin: 1rem 0 1.5rem;
    letter-spacing: -0.03em;
}
.about-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.about-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.about-trust-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.about-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}
.about-trust-item i { color: var(--accent); font-size: 0.9rem; }
.about-trust-sep { color: var(--border-hover); }

/* About Hero Visual Side */
.about-hero-visual {
    position: relative;
}
.about-img-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/5;
    background: var(--bg-card);
    box-shadow: var(--shadow-card), 0 0 60px rgba(212,255,51,0.06);
    position: relative;
}
.about-img-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.8s ease;
}
.about-img-frame:hover img { transform: scale(1.03); }
.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,9,11,0.5) 0%, transparent 50%);
    pointer-events: none;
}

/* About floating glassmorphic cards */
.about-float-card {
    position: absolute;
    background: rgba(19, 22, 26, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,255,51,0.05);
    padding: 1.25rem 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 20;
}
.about-float-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,255,51,0.15);
}
.card-top {
    top: -1.5rem;
    right: -2rem;
    min-width: 190px;
}
.card-bottom {
    bottom: 2.5rem;
    left: -2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 200px;
}
.afc-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.afc-value {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.afc-value-sm {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.afc-sub { font-size: 0.75rem; color: var(--text-muted); }
.afc-icon {
    width: 38px; height: 38px;
    background: rgba(212,255,51,0.1);
    color: var(--accent);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.afc-text { flex: 1; }

/* ============================================================
   PREMIUM STORY TIMELINE
   ============================================================ */
.story-section { padding: 6rem 5%; }
.story-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 3.5rem;
}
.story-timeline-line {
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(212,255,51,0.15) 60%, transparent 100%);
    border-radius: 2px;
}
.timeline-item {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    margin-bottom: 2rem;
}
.timeline-node {
    position: absolute;
    left: -3.5rem;
    top: 1.75rem;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 5;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 0 0 4px var(--bg-surface), 0 0 20px rgba(212,255,51,0.2);
}
.timeline-item:hover .timeline-node {
    background: var(--accent);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--bg-surface), 0 0 30px rgba(212,255,51,0.6);
}
.timeline-node span {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.timeline-item:hover .timeline-node span { color: #0a0b0d; }

.timeline-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.timeline-item:hover .timeline-card {
    border-color: rgba(212,255,51,0.2);
    transform: translateX(6px);
    box-shadow: var(--shadow-card-hover), 0 0 40px rgba(212,255,51,0.04);
}
.timeline-item:hover .timeline-card::before { opacity: 1; }

.timeline-card-header {
    margin-bottom: 1.25rem;
}
.timeline-card-header h3 {
    font-size: 1.75rem;
    margin-top: 0.5rem;
    letter-spacing: -0.03em;
}
.timeline-card-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}
.timeline-card-body p:last-child { margin-bottom: 0; }
.timeline-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.3rem 0.85rem;
    border-radius: var(--r-full);
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   PRINCIPLES SECTION
   ============================================================ */
.principles-section {
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.principle-card:hover {
    border-color: rgba(212,255,51,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover), 0 0 30px rgba(212,255,51,0.05);
}
.principle-num {
    position: absolute;
    top: 1rem; right: 1.25rem;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    line-height: 1;
    letter-spacing: -2px;
    pointer-events: none;
}
.principle-icon {
    width: 48px; height: 48px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    transition: background 0.3s, transform 0.3s;
}
.principle-card:hover .principle-icon {
    background: var(--accent);
    color: #0a0b0d;
    transform: scale(1.1) rotate(-5deg);
}
.principle-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.principle-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Glow */
.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(212,255,51,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive – About Page */
@media (max-width: 1100px) {
    .about-hero-layout { grid-template-columns: 1fr; padding-top: 9rem; gap: 3rem; text-align: center; }
    .about-hero-title { font-size: 3rem; }
    .about-hero-visual { max-width: 420px; margin: 0 auto; }
    .about-hero-ctas { justify-content: center; }
    .about-trust-bar { justify-content: center; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .about-hero-layout { padding-top: 7rem; gap: 2rem; }
    .about-hero-title { font-size: 2.6rem; }
    .about-hero-visual { max-width: 360px; }
    .authority-grid { grid-template-columns: 1fr; }
    .auth-stat:not(:last-child)::after { display: none; }
}
@media (max-width: 700px) {
    .about-hero-title { font-size: 2.2rem; }
    .story-timeline { padding-left: 2.5rem; }
    .story-timeline-line { left: 14px; }
    .timeline-node { left: -2.5rem; width: 32px; height: 32px; top: 1.5rem; }
    .card-top { right: -0.5rem; top: -1rem; }
    .card-bottom { left: -0.5rem; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-card { padding: 1.75rem; }
    .timeline-card-header h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .about-hero-title { font-size: 1.9rem; }
    .principles-grid { grid-template-columns: 1fr; }
    .story-timeline { padding-left: 2rem; }
    .timeline-node { left: -2rem; width: 28px; height: 28px; }
    .timeline-card { padding: 1.5rem; }
    .timeline-item { gap: 1.5rem; }
}

/* Blog */
.blog-hero { padding: 10rem 5% 5rem; text-align: center; position: relative; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.blog-hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 10; }
.blog-list-section { padding: 5rem 5%; max-width: var(--container); margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 3rem; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; transition: transform 0.3s, border-color 0.3s; border: 1px solid var(--border); background: var(--bg-card); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-card-hover); }
.blog-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.featured-blog-card { grid-column: span 3; flex-direction: row; }
.blog-image { position: relative; width: 100%; height: 100%; overflow: hidden; }
.featured-blog-card .blog-image-wrap { width: 50%; height: 380px; }
.featured-blog-card .blog-image { width: 100%; height: 100%; }
.img-placeholder { width: 100%; height: 100%; transition: transform 0.5s ease; }
.blog-card:hover .img-placeholder { transform: scale(1.05); }
.category-tag { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: #0a0b0d; padding: 0.25rem 0.75rem; border-radius: var(--r-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.blog-content { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.featured-blog-card .blog-content { width: 50%; padding: 3rem; justify-content: center; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.blog-content h3, .blog-content h2 { font-size: 1.3rem; margin-bottom: 0.75rem; line-height: 1.3; transition: color 0.2s; }
.featured-blog-card .blog-content h2 { font-size: 2rem; }
.blog-card:hover .blog-content h3, .blog-card:hover .blog-content h2 { color: var(--accent); }
.excerpt { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; flex: 1; font-size: 0.9rem; }
.read-more { font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; transition: color 0.2s; }
.blog-card:hover .read-more { color: var(--accent); }
.load-more-container { text-align: center; }
.inline-form { display: flex; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

/* Blog Filter Bar */
.blog-filter-bar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 11, 0.8);
    position: sticky;
    top: 70px;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.blog-filter-inner {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.filter-btn.active {
    background: var(--accent);
    color: #0a0b0d;
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(212,255,51,0.2);
}

/* Premium Card Layout Adjustments */
.blog-image-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.blog-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.img-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}
.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(circle at 75% 60%, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}
.category-icon {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.15;
    z-index: 2;
    transition: transform 0.5s ease, opacity 0.5s ease, color 0.5s ease;
}
.blog-card:hover .category-icon {
    transform: scale(1.15) rotate(8deg);
    opacity: 0.4;
    color: var(--accent);
}

/* Play Badge Overlay */
.video-overlay-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(8, 9, 11, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    padding: 0.35rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 5;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.video-overlay-badge i {
    color: #ff4444;
    font-size: 0.85rem;
}
.blog-card:hover .video-overlay-badge {
    background: rgba(255, 68, 68, 0.12);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff6666;
    transform: translateY(-2px);
}

/* Card Actions split layout */
.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.blog-title-link {
    text-decoration: none;
    color: inherit;
}
.watch-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.25s ease;
    cursor: pointer;
}
.watch-video-btn i {
    color: #ff4444;
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}
.watch-video-btn:hover {
    color: var(--text-primary);
}
.watch-video-btn:hover i {
    transform: scale(1.2);
}

/* Blog post */
.post-header { position: relative; padding: 10rem 5% 5rem; text-align: center; border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg-surface); }
.post-header-bg { position: absolute; top:0; left:0; width:100%; height:100%; z-index:0; }
.noise-overlay { position: absolute; inset: 0; opacity: 0.03; }
.post-header-content { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; }
.post-category { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 1.25rem; }
.post-title { font-size: 3.5rem; margin-bottom: 2rem; line-height: 1.1; }
.post-meta-details { display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.9rem; }
.author-info { display: flex; align-items: center; gap: 0.5rem; }
.author-avatar { width: 28px; height: 28px; background: var(--bg-elevated); border-radius: 50%; overflow: hidden; flex-shrink: 0; aspect-ratio: 1/1; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar.large { width: 56px; height: 56px; }
.meta-divider { color: var(--border-hover); }
.prose { max-width: 720px; margin: 0 auto; padding: 5rem 5%; font-size: 1.1rem; line-height: 1.85; color: #c8cdd4; }
.prose .lead { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 2.5rem; font-weight: 300; }
.prose h2 { font-size: 2rem; color: var(--text-primary); margin-top: 3.5rem; margin-bottom: 1.25rem; }
.prose h3 { font-size: 1.5rem; color: var(--text-primary); margin-top: 2.5rem; margin-bottom: 1rem; }
.prose p { margin-bottom: 1.5rem; }
.prose ul, .prose ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 2rem; margin: 2.5rem 0; font-style: italic; font-size: 1.25rem; color: var(--text-primary); }
.post-footer { max-width: 720px; margin: 0 auto; padding: 0 5% 5rem; }
.author-bio { display: flex; align-items: center; gap: 2rem; padding: 2.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-xl); }
.author-bio h4 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.author-bio p { color: var(--text-secondary); margin-bottom: 0.75rem; font-size: 0.9rem; }
.author-link { color: var(--accent); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }

/* CTA */
.cta-section { padding: 6rem 5%; display: flex; justify-content: center; }
.cta-card { padding: 4rem 3rem; text-align: center; max-width: 700px; width: 100%; border-radius: var(--r-xl); background: var(--bg-card); border: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); }
.cta-card h2 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.cta-card p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto 1.5rem; }
.premium-input { flex:1; padding: 0.85rem 1.25rem; border-radius: var(--r-full); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); font-size: 0.95rem; outline: none; transition: border-color 0.2s; font-family: var(--font-body); }
.premium-input:focus { border-color: var(--accent); }
.guarantee { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.guarantee i { color: var(--accent); }

/* About hero section adaptation */
.hero-visual { display: none; } /* Hidden on homepage – visible on about page */
.about-page .hero-visual { display: block; width: 100%; max-width: 360px; height: 460px; position: relative; margin: 0 auto; }
.main-stat-card, .sub-stat-card { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); backdrop-filter: blur(12px); }
.main-stat-card { top: 15%; right: -15%; padding: 1.75rem; width: 280px; }
.sub-stat-card { bottom: 8%; left: -15%; padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 0.85rem; }
.stat-icon { width: 42px; height: 42px; background: var(--accent); color: #0a0b0d; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.stat-value { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -2px; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }
.stat-header { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.stat-info div { font-weight: 600; }
.stat-info span { font-size: 0.8rem; color: var(--text-secondary); }
.hero-image-wrapper { width: 100%; height: 100%; border-radius: var(--r-xl); border: 1px solid var(--border); overflow: hidden; background: var(--bg-card); }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1200px)
   ============================================================ */
@media (max-width: 1200px) {
    .hero-layout { grid-template-columns: 1fr; padding-top: 8rem; text-align: center; gap: 3rem; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta-group, .hero-trust { justify-content: center; }
    .hero-dashboard { max-width: 560px; margin: 0 auto; }
    .tools-grid { grid-template-columns: 1fr 1fr; }
    .featured-tool { grid-column: span 2; grid-row: unset; }
    .founder-layout { grid-template-columns: 1fr; gap: 3rem; }
    .founder-img-frame { max-width: 420px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
    .lgp-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-card { gap: 3rem; padding: 3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    :root { --section-gap: 4.5rem; }

    /* ---- Navbar ---- */
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .logo-text { display: none; }
    .nav-inner { padding: 1rem 5%; }
    .navbar.scrolled .nav-inner { padding: 0.75rem 5%; }

    /* ---- Hero ---- */
    .hero-layout {
        grid-template-columns: 1fr;
        padding-top: 7rem;
        padding-bottom: 3rem;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; font-size: 1rem; }
    .hero-cta-group, .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-dashboard { max-width: 480px; margin: 0 auto; }
    .hero-badge { font-size: 0.78rem; }

    /* ---- Stats ---- */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat-divider { display: none; }
    .stat-item { padding: 1.5rem 1rem; border: 1px solid var(--border); }
    .stat-number { font-size: 2rem; }

    /* ---- Tools ---- */
    .tools-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .featured-tool { grid-column: span 2; grid-row: unset; }

    /* ---- LGP ---- */
    .lgp-grid { grid-template-columns: 1fr; gap: 1rem; }
    .lgp-card { padding: 2rem; }

    /* ---- Guides ---- */
    .guides-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* ---- Stories ---- */
    .stories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* ---- Library ---- */
    .library-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* ---- Newsletter ---- */
    .newsletter-card { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem; }
    .nl-form { flex-direction: column; }
    .nl-form input, .nl-form button { width: 100%; }

    /* ---- Founder ---- */
    .founder-layout { grid-template-columns: 1fr; gap: 3rem; }
    .founder-img-frame { max-width: 400px; margin: 0 auto; }
    .founder-content h2 { font-size: 2rem; }
    .founder-ctas { flex-direction: column; }
    .founder-ctas .btn-primary, .founder-ctas .btn-ghost { width: 100%; text-align: center; justify-content: center; }
    .founder-stat-float { right: 0; bottom: -1rem; }

    /* ---- Footer ---- */
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* ---- Blog ---- */
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .featured-blog-card { flex-direction: column; grid-column: span 2; }
    .featured-blog-card .blog-image-wrap { width: 100%; height: 240px; }
    .featured-blog-card .blog-content { width: 100%; padding: 2rem; }
    .featured-blog-card .blog-content h2 { font-size: 1.5rem; }
    .blog-hero { padding: 7rem 5% 3rem; }

    /* ---- Blog Post ---- */
    .post-title { font-size: 2.2rem; }
    .author-bio { flex-direction: column; text-align: center; gap: 1.25rem; }
    .author-bio .author-avatar.large { margin: 0 auto; }

    /* ---- Calculator ---- */
    .calc-tabs { gap: 0.5rem; }
    .calc-tab-btn { padding: 0.6rem 1rem; font-size: 0.82rem; }

    /* ---- Section headers ---- */
    .section-header.split { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
    :root { --section-gap: 3.5rem; }

    /* ---- Layout ---- */
    .container { padding: 0 1.25rem; }

    /* ---- Hero ---- */
    .hero-layout { padding-top: 6rem; }
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .hero-cta-group .btn-primary, .hero-cta-group .btn-ghost { width: 100%; justify-content: center; text-align: center; }
    .hero-dashboard { max-width: 100%; }
    .dashboard-card { padding: 1.25rem; }
    .card-value { font-size: 2rem; }

    /* ---- Stats ---- */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 1.25rem 0.75rem; }
    .stat-number { font-size: 1.8rem; }

    /* ---- Tools ---- */
    .tools-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .featured-tool { grid-column: span 1; }
    .tool-card { padding: 1.5rem; }
    .featured-tool { padding: 2rem; }

    /* ---- LGP ---- */
    .lgp-card { padding: 1.75rem; }

    /* ---- Guides ---- */
    .guide-card { padding: 1.5rem; }
    .featured-guide .guide-body h3 { font-size: 1.2rem; }

    /* ---- Stories ---- */
    .stories-grid { grid-template-columns: 1fr; }
    .story-card-new { padding: 1.75rem; }

    /* ---- Library ---- */
    .library-grid { grid-template-columns: 1fr; }
    .library-item { padding: 1.25rem; }

    /* ---- Calculator ---- */
    .calc-wrapper { grid-template-columns: 1fr; }
    .calc-inputs { grid-template-columns: 1fr; }
    .calculator-card { padding: 1.75rem; }
    .calc-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .calc-tab-btn { flex-shrink: 0; scroll-snap-align: start; }

    /* ---- Newsletter ---- */
    .newsletter-card { padding: 2rem 1.5rem; border-radius: var(--r-lg); }
    .newsletter-content h2 { font-size: 1.8rem; }
    .nl-trust { gap: 1rem; }

    /* ---- Founder ---- */
    .founder-section { padding: var(--section-gap) 0; }
    .founder-img-frame { max-width: 300px; }
    .founder-stat-float { position: relative; bottom: auto; right: auto; margin: 1rem auto 0; max-width: 240px; justify-content: center; }

    /* ---- Footer ---- */
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .site-footer { padding: 3.5rem 0 2rem; }

    /* ---- CTA ---- */
    .cta-form { flex-direction: column; }
    .cta-form input, .cta-form button { width: 100%; }
    .cta-card { padding: 2.5rem 1.5rem; }
    .cta-card h2 { font-size: 1.9rem; }

    /* ---- Blog ---- */
    .blog-grid { grid-template-columns: 1fr; }
    .featured-blog-card { grid-column: span 1; }
    .blog-content { padding: 1.5rem; }
    .blog-list-section { padding: 3rem 1.25rem; }
    .blog-filter-inner { gap: 0.4rem; }
    .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

    /* ---- Blog Post ---- */
    .post-header { padding: 8rem 1.25rem 3rem; }
    .post-title { font-size: 1.9rem; }
    .prose { padding: 3rem 1.25rem; font-size: 1rem; }
    .prose h2 { font-size: 1.6rem; }
    .prose h3 { font-size: 1.25rem; }
    .post-footer { padding: 0 1.25rem 3rem; }
    .author-bio { padding: 1.75rem; }

    /* ---- Result breakdown ---- */
    .result-breakdown { flex-direction: column; gap: 0.5rem; }
    .result-value { font-size: 2rem; }

    /* ---- Section shared ---- */
    .section-header { margin-bottom: 2rem; }
    .section-header h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    :root { --section-gap: 3rem; }

    /* ---- Nav ---- */
    .logo-mark { font-size: 1.1rem; padding: 0.2rem 0.45rem; }

    /* ---- Hero ---- */
    .hero-trust { gap: 0.5rem; }
    .trust-sep { display: none; }
    .hero-badge { font-size: 0.72rem; padding: 0.35rem 0.75rem 0.35rem 0.5rem; }
    .dashboard-row { grid-template-columns: 1fr 1fr; }

    /* ---- Stats ---- */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 1.6rem; letter-spacing: -0.5px; }

    /* ---- Budget breakdown ---- */
    .result-breakdown > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.35rem !important;
    }
    .result-breakdown > div > div {
        max-width: 100% !important;
        width: 100%;
    }

    /* ---- Footer ---- */
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { font-size: 0.75rem; }

    /* ---- Blog ---- */
    .blog-meta { flex-wrap: wrap; gap: 0.4rem; }
    .blog-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .blog-hero { padding: 6rem 1.25rem 2.5rem; }
    .blog-hero-content h1 { font-size: clamp(1.7rem, 8vw, 2.5rem); }

    /* ---- About page ---- */
    .about-float-card { display: none; }
    .about-trust-sep { display: none; }
    .about-trust-bar { gap: 0.75rem; }
    .about-hero-ctas { flex-direction: column; }
    .about-hero-ctas .btn-primary, .about-hero-ctas .btn-ghost { width: 100%; text-align: center; justify-content: center; }
    .auth-stat h3 { font-size: 2.5rem; }
    .auth-stat { padding: 2.5rem 1.5rem; }
}

/* ============================================================
   NEW DYNAMIC & SEAMLESS FEATURES
   ============================================================ */

/* Card interactive glow */
.tool-card:hover, 
.lgp-card:hover, 
.guide-card:hover, 
.story-card-new:hover, 
.library-item:hover, 
.calculator-card:hover {
    box-shadow: var(--shadow-card-hover), var(--shadow-accent);
}

/* Calculator tab system */
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2.5rem;
    max-width: 800px;
    flex-wrap: wrap;
}
.calc-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r-full);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.calc-tab-btn i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}
.calc-tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.calc-tab-btn:hover i {
    transform: scale(1.1);
}
.calc-tab-btn.active {
    color: #0a0b0d;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(212,255,51,0.25);
}

.calc-wrapper {
    grid-template-columns: 1fr !important;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

/* Custom range inputs */
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    transition: background 0.2s;
}
.calc-slider:hover {
    background: rgba(255, 255, 255, 0.15);
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--bg-base);
    box-shadow: 0 0 10px rgba(212, 255, 51, 0.5);
    transition: transform 0.1s ease, background 0.1s ease;
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: var(--accent-hover);
}
.calc-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid var(--bg-base);
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 255, 51, 0.5);
    transition: transform 0.1s ease, background 0.1s ease;
}
.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.25);
    background: var(--accent-hover);
}

/* Transition wipe overlay */
.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
}
.transition-swipe {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}
.transition-overlay.active {
    pointer-events: all;
}
.transition-overlay.active .transition-swipe {
    transform: translateY(0);
}
.transition-overlay.transitioning-out .transition-swipe {
    transform: translateY(-100%);
}

