/* ============================================================
   ROOT VARIABLES & RESET
============================================================ */
:root {
    --purple:       #9333ea;
    --purple-light: #c084fc;
    --purple-glow:  #a855f7;
    --purple-dim:   rgba(147,51,234,0.15);
    --blue:         #3b82f6;
    --blue-light:   #60a5fa;
    --blue-glow:    rgba(59,130,246,0.25);
    --cyan:         #22d3ee;
    --cyan-light:   #67e8f9;
    --green:        #10b981;

    --bg:           #03020f;
    --bg-1:         #07051a;
    --bg-2:         #0c0920;
    --card-bg:      rgba(255,255,255,0.025);
    --card-border:  rgba(147,51,234,0.18);
    --card-hover:   rgba(147,51,234,0.35);

    --text:         #e8e4ff;
    --text-muted:   #94a3b8;
    --text-dim:     #5a607a;

    --font-display: 'Orbitron', monospace;
    --font-body:    'Space Grotesk', sans-serif;
    --font-mono:    'Space Mono', monospace;

    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-sm:      0 0 12px rgba(147,51,234,0.4);
    --glow-md:      0 0 24px rgba(147,51,234,0.35), 0 0 48px rgba(147,51,234,0.15);
    --glow-blue:    0 0 20px rgba(59,130,246,0.4);

    --accent-gold:       #d4af37;
    --accent-gold-light: #e8c84a;

    /* ── Compatibility aliases (used by dashboard / ebook pages) ── */
    --text-primary:    #e8e4ff;
    --text-secondary:  #94a3b8;
    --bg-primary:      #03020f;
    --bg-card:         rgba(255,255,255,0.025);
    --bg-secondary:    #07051a;
    --border:          rgba(147,51,234,0.2);
    --accent-red:      #ef4444;
    --accent-yellow:   #ffc107;
    --gold:            #d4af37;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ============================================================
   GLOBAL BACKGROUND — Deep Space + Grid
============================================================ */
.cyber-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Enhanced multi-layer grid — holographic dashboard */
.cyber-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Primary grid (60px) */
        linear-gradient(rgba(147,51,234,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147,51,234,0.08) 1px, transparent 1px),
        /* Secondary grid (120px, thinner) */
        linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size:
        60px 60px,
        60px 60px,
        120px 120px,
        120px 120px;
    background-position:
        0 0,
        0 0,
        0 0,
        0 0;
    animation: grid-shift 8s linear infinite;
}

@keyframes grid-shift {
    0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px, 120px 120px, 120px 120px; }
}

/* Radial glow center + HUD lens flare effect */
.cyber-bg::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background:
        radial-gradient(ellipse 600px 500px at 50% 30%, rgba(147,51,234,0.18) 0%, rgba(59,130,246,0.12) 25%, transparent 60%),
        radial-gradient(circle 300px at 50% 40%, rgba(34,211,238,0.08) 0%, transparent 50%);
    filter: blur(40px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1.2; }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(147,51,234,0.12), transparent);
    top: -150px; right: -100px;
    animation: orb-float 12s ease-in-out infinite;
}
.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(59,130,246,0.1), transparent);
    bottom: 10%; left: -80px;
    animation: orb-float 9s ease-in-out infinite reverse;
}
.orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(34,211,238,0.07), transparent);
    top: 45%; right: 5%;
    animation: orb-float 15s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-40px) scale(1.06); }
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h3, h4  { font-family: var(--font-body); font-weight: 700; }

.neon-purple { color: var(--purple-light); }
.neon-blue   { color: var(--blue-light); }
.neon-cyan   { color: var(--cyan); }

/* ============================================================
   UTILITY
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--purple-light);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.section-title span { color: var(--purple-light); }

.section-sub {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 540px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,51,234,0.3), rgba(59,130,246,0.2), transparent);
    margin: 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.8rem 1.875rem;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(147,51,234,0.4), 0 0 40px rgba(147,51,234,0.15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(147,51,234,0.55), 0 0 60px rgba(147,51,234,0.2);
}

.btn-outline {
    background: rgba(59,130,246,0.08);
    color: var(--blue-light);
    border: 1px solid rgba(59,130,246,0.35);
}
.btn-outline:hover {
    background: rgba(59,130,246,0.16);
    border-color: rgba(96,165,250,0.6);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
============================================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(3,2,15,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(147,51,234,0.12);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple), #5b21b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--glow-sm);
    flex-shrink: 0;
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
}
.nav-brand-name span { color: var(--purple-light); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: rgba(147,51,234,0.15) !important;
    color: var(--purple-light) !important;
    border: 1px solid rgba(147,51,234,0.4) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 700 !important;
}
.nav-cta:hover {
    background: rgba(147,51,234,0.25) !important;
    border-color: rgba(147,51,234,0.7) !important;
    color: #fff !important;
    box-shadow: var(--glow-sm) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO — Cinematic Command Center
============================================================ */
.hero {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5.5rem 1.5rem 2rem;
    z-index: 1;
    overflow: hidden;
}

/* HUD frame background — main decorative border */
.hero::before {
    content: '';
    position: absolute;
    inset: 120px 5% 200px;
    border: 2px solid rgba(147,51,234,0.15);
    border-radius: 20px;
    pointer-events: none;
    box-shadow:
        inset 0 0 40px rgba(147,51,234,0.08),
        0 0 30px rgba(147,51,234,0.1);
    animation: frame-glow 3s ease-in-out infinite;
}

@keyframes frame-glow {
    0%, 100% { box-shadow: inset 0 0 40px rgba(147,51,234,0.08), 0 0 30px rgba(147,51,234,0.1); }
    50% { box-shadow: inset 0 0 60px rgba(147,51,234,0.15), 0 0 50px rgba(147,51,234,0.15); }
}

/* Holographic scan lines overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(34,211,238,0.03) 0px,
        rgba(34,211,238,0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    animation: scan-flicker 0.15s linear infinite;
}

@keyframes scan-flicker {
    0% { transform: translateY(0); }
    100% { transform: translateY(2px); }
}

/* Bottom fade */
.hero-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

/* Scanning line animation — enhanced */
.hero-scan {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(147,51,234,0.3) 10%, var(--cyan) 50%, rgba(59,130,246,0.3) 90%, transparent);
    box-shadow:
        0 0 20px rgba(147,51,234,0.6),
        0 0 40px rgba(34,211,238,0.4),
        inset 0 0 8px rgba(255,255,255,0.1);
    animation: scan-line-enhanced 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scan-line-enhanced {
    0%   { top: 0;    opacity: 1; }
    75%  { opacity: 0.9; }
    100% { top: 100%; opacity: 0; }
}

/* Corner accent elements — enhanced HUD corners */
.hero-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}
.hero-corner-tl {
    top: 40px; left: 1.5rem;
    border-top: 2px solid rgba(147,51,234,0.5);
    border-left: 2px solid rgba(147,51,234,0.5);
    box-shadow:
        inset 0 2px 10px rgba(147,51,234,0.3),
        0 0 15px rgba(147,51,234,0.3);
    animation: corner-pulse 2s ease-in-out infinite;
}
.hero-corner-tr {
    top: 40px; right: 1.5rem;
    border-top: 2px solid rgba(59,130,246,0.5);
    border-right: 2px solid rgba(59,130,246,0.5);
    box-shadow:
        inset -2px 2px 10px rgba(59,130,246,0.3),
        0 0 15px rgba(59,130,246,0.3);
    animation: corner-pulse 2s ease-in-out infinite 0.3s;
}
.hero-corner-bl {
    bottom: 20px; left: 1.5rem;
    border-bottom: 2px solid rgba(59,130,246,0.4);
    border-left: 2px solid rgba(59,130,246,0.4);
    box-shadow:
        inset 0 -2px 10px rgba(59,130,246,0.25),
        0 0 15px rgba(59,130,246,0.25);
    animation: corner-pulse 2s ease-in-out infinite 0.6s;
}
.hero-corner-br {
    bottom: 20px; right: 1.5rem;
    border-bottom: 2px solid rgba(147,51,234,0.4);
    border-right: 2px solid rgba(147,51,234,0.4);
    box-shadow:
        inset -2px -2px 10px rgba(147,51,234,0.25),
        0 0 15px rgba(147,51,234,0.25);
    animation: corner-pulse 2s ease-in-out infinite 0.9s;
}

@keyframes corner-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Dashboard panel decorations — holographic HUD readouts */
.hero-panel {
    position: absolute;
    pointer-events: none;
    opacity: 0.55;
    padding: 12px;
    border: 1px solid rgba(34,211,238,0.2);
    border-radius: 8px;
    background: rgba(34,211,238,0.05);
    box-shadow:
        inset 0 0 15px rgba(34,211,238,0.08),
        0 0 20px rgba(34,211,238,0.1);
    animation: panel-glow 2.5s ease-in-out infinite;
}

@keyframes panel-glow {
    0%, 100% { box-shadow: inset 0 0 15px rgba(34,211,238,0.08), 0 0 20px rgba(34,211,238,0.1); }
    50% { box-shadow: inset 0 0 25px rgba(34,211,238,0.12), 0 0 35px rgba(34,211,238,0.15); }
}

.hero-panel-l {
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-color: rgba(147,51,234,0.3);
    background: rgba(147,51,234,0.06);
}

.hero-panel-r {
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-color: rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.06);
}

.panel-data-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: data-flicker 0.08s ease-in-out infinite;
}
.panel-data-row::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow:
        0 0 8px var(--cyan),
        0 0 16px rgba(34,211,238,0.5);
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes data-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.panel-bar {
    width: 140px;
    height: 4px;
    background: rgba(34,211,238,0.15);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(34,211,238,0.25);
    box-shadow: inset 0 0 8px rgba(34,211,238,0.1);
}
.panel-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple-light));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(34,211,238,0.6);
    animation: bar-scan 2s ease-in-out infinite;
}

@keyframes bar-scan {
    0%, 100% { box-shadow: 0 0 10px rgba(34,211,238,0.6); }
    50% { box-shadow: 0 0 15px rgba(147,51,234,0.8); }
}

/* Main hero content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    width: 100%;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(147,51,234,0.08);
    border: 1px solid rgba(147,51,234,0.3);
    color: var(--purple-light);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    animation: fade-in-up 0.5s ease both;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Hero headline */
.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.4rem;
    animation: fade-in-up 0.5s ease 0.1s both;
}

.hero h1 .hero-title-neon {
    background: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-sub {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 0.75rem;
    animation: fade-in-up 0.5s ease 0.2s both;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fade-in-up 0.5s ease 0.3s both;
}

/* Hero chart decoration below CTAs */
.hero-chart-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    opacity: 0.07;
    pointer-events: none;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TICKER
============================================================ */
.ticker-wrap {
    position: relative;
    z-index: 1;
    background: rgba(7,5,26,0.9);
    border-top: 1px solid rgba(147,51,234,0.2);
    border-bottom: 1px solid rgba(147,51,234,0.2);
    overflow: hidden;
    padding: 0.6rem 0;
}
.ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-right: 1px solid rgba(147,51,234,0.15);
}
.ticker-value-up   { color: #4ade80; }
.ticker-value-down { color: #f87171; }

/* ============================================================
   PRODUCTS SECTION
============================================================ */
.products-section {
    position: relative;
    z-index: 1;
    padding: 48px 1.5rem 80px;
}

.products-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Featured + grid layout */
.products-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

/* Signals card: spans full left column, 2 rows */
.prod-featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Other 4 cards: fill right 2 columns */
.prod-card-2 { grid-column: 2; grid-row: 1; }
.prod-card-3 { grid-column: 3; grid-row: 1; }
.prod-card-4 { grid-column: 2; grid-row: 2; }
.prod-card-5 { grid-column: 3; grid-row: 2; }

/* Base card style */
.prod-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle top highlight line */
.prod-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,51,234,0.5), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.prod-card:hover::before { opacity: 1; }

/* Inner glow overlay */
.prod-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.025), transparent);
    pointer-events: none;
}

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

/* Color variants for hover border + shadow */
.prod-purple:hover {
    border-color: rgba(147,51,234,0.5);
    box-shadow: 0 16px 40px rgba(147,51,234,0.2), 0 0 60px rgba(147,51,234,0.08);
}
.prod-blue:hover {
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 16px 40px rgba(59,130,246,0.15);
}
.prod-cyan:hover {
    border-color: rgba(34,211,238,0.45);
    box-shadow: 0 16px 40px rgba(34,211,238,0.12);
}
.prod-green:hover {
    border-color: rgba(16,185,129,0.45);
    box-shadow: 0 16px 40px rgba(16,185,129,0.12);
}
.prod-violet:hover {
    border-color: rgba(139,92,246,0.5);
    box-shadow: 0 16px 40px rgba(139,92,246,0.15);
}

/* Featured card extra styling */
.prod-featured-card {
    border-color: rgba(147,51,234,0.3);
    background: linear-gradient(145deg, rgba(147,51,234,0.06), rgba(59,130,246,0.04), rgba(3,2,15,0.8));
    height: 100%;
}
.prod-featured-card:hover {
    border-color: rgba(147,51,234,0.6);
    box-shadow: 0 20px 60px rgba(147,51,234,0.25), 0 0 80px rgba(147,51,234,0.1);
}

/* Card badge */
.prod-badge {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}
.badge-featured  { background: rgba(147,51,234,0.15); color: var(--purple-light); border: 1px solid rgba(147,51,234,0.35); }
.badge-hot       { background: rgba(239,68,68,0.12);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-new       { background: rgba(59,130,246,0.12); color: var(--blue-light); border: 1px solid rgba(59,130,246,0.3); }
.badge-popular   { background: rgba(34,211,238,0.1);  color: var(--cyan); border: 1px solid rgba(34,211,238,0.3); }
.badge-free      { background: rgba(16,185,129,0.1);  color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }

/* Card icon */
.prod-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.prod-featured-card .prod-icon { font-size: 2.5rem; }

/* Card title */
.prod-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    padding-right: 4rem;
}
.prod-featured-card .prod-name {
    font-size: 1.2rem;
    padding-right: 5rem;
}

.prod-purple  .prod-name { color: var(--purple-light); }
.prod-blue    .prod-name { color: var(--blue-light); }
.prod-cyan    .prod-name { color: var(--cyan); }
.prod-green   .prod-name { color: #4ade80; }
.prod-violet  .prod-name { color: #a78bfa; }

/* Card description */
.prod-desc {
    font-size: 0.8375rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}
.prod-featured-card .prod-desc { font-size: 0.9375rem; }

/* Feature list (featured card only) */
.prod-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0.5rem 0;
}
.prod-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.prod-features li::before {
    content: '▸';
    color: var(--purple-light);
    font-size: 0.65rem;
}

/* Two-tier pricing (signals) */
.prod-tier-wrap {
    display: flex;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(147,51,234,0.15);
    border-radius: 10px;
    margin-top: auto;
}
.prod-tier { flex: 1; }
.prod-tier-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.2rem;
}
.prod-tier-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--purple-light);
    line-height: 1;
}
.prod-tier-note {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
}
.prod-tier-divider {
    width: 1px;
    background: rgba(147,51,234,0.2);
    align-self: stretch;
}

/* Price row */
.prod-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.prod-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
}
.prod-purple .prod-price  { color: var(--purple-light); }
.prod-blue   .prod-price  { color: var(--blue-light); }
.prod-cyan   .prod-price  { color: var(--cyan); }
.prod-green  .prod-price  { color: #4ade80; }
.prod-violet .prod-price  { color: #a78bfa; }

.prod-cta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 5px;
    border: 1px solid;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.prod-purple .prod-cta  { color: var(--purple-light); background: rgba(147,51,234,0.08); border-color: rgba(147,51,234,0.35); }
.prod-blue   .prod-cta  { color: var(--blue-light);   background: rgba(59,130,246,0.08);  border-color: rgba(59,130,246,0.35); }
.prod-cyan   .prod-cta  { color: var(--cyan);         background: rgba(34,211,238,0.07);  border-color: rgba(34,211,238,0.3); }
.prod-green  .prod-cta  { color: #4ade80;             background: rgba(74,222,128,0.07);  border-color: rgba(74,222,128,0.3); }
.prod-violet .prod-cta  { color: #a78bfa;             background: rgba(139,92,246,0.07);  border-color: rgba(139,92,246,0.3); }
.prod-card:hover .prod-cta { filter: brightness(1.2); }

/* "View Signals" CTA for featured card */
.prod-signals-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple) 0%, #6d28d9 100%);
    color: #fff;
    border: none;
    margin-top: auto;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(147,51,234,0.3);
    text-decoration: none;
}
.prod-signals-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147,51,234,0.45);
}

/* ============================================================
   PATH CARDS (Choose Your Path)
============================================================ */
.paths-section {
    position: relative;
    z-index: 1;
    padding: 80px 1.5rem 90px;
    background: rgba(7,5,26,0.5);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.path-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(147,51,234,0.12);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.02), transparent);
    pointer-events: none;
}
.path-card:hover {
    transform: translateY(-4px);
    border-color: rgba(147,51,234,0.3);
    box-shadow: 0 12px 32px rgba(147,51,234,0.1);
}

.card-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.card-icon-purple { background: rgba(147,51,234,0.1); }
.card-icon-blue   { background: rgba(59,130,246,0.1); }
.card-icon-cyan   { background: rgba(34,211,238,0.08); }
.card-icon-violet { background: rgba(139,92,246,0.1); }

.card-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.card-desc {
    font-size: 0.8375rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.card-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.card-bullets li {
    font-size: 0.775rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.card-bullets li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--purple-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--purple-light);
    background: rgba(147,51,234,0.08);
    border: 1px solid rgba(147,51,234,0.25);
    transition: all 0.2s ease;
    margin-top: auto;
}
.card-btn:hover {
    background: rgba(147,51,234,0.16);
    border-color: rgba(147,51,234,0.5);
}
.card-btn-blue {
    color: var(--blue-light);
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.25);
}
.card-btn-blue:hover {
    background: rgba(59,130,246,0.16);
    border-color: rgba(59,130,246,0.5);
}

/* ============================================================
   SECTION — HOW IT WORKS
============================================================ */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 1.5rem 90px;
}

.section-dark {
    background: rgba(7,5,26,0.5);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 3rem auto 0;
}

.step-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(147,51,234,0.12);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(147,51,234,0.3);
    box-shadow: 0 12px 32px rgba(147,51,234,0.1);
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--purple-light);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.step-icon-large { font-size: 2.25rem; display: block; margin-bottom: 1rem; }

.step-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.step-desc {
    font-size: 0.8375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   FEATURES GRID
============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.feature-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(147,51,234,0.12);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(147,51,234,0.3);
    box-shadow: 0 8px 24px rgba(147,51,234,0.1);
}

.feature-icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }

.feature-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ============================================================
   STATS
============================================================ */
.stats-section {
    background: rgba(7,5,26,0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item { text-align: center; padding: 1.5rem; }

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-light), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 90px 1.5rem;
    text-align: center;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(147,51,234,0.08), rgba(59,130,246,0.05));
    border: 1px solid rgba(147,51,234,0.25);
    box-shadow: 0 0 80px rgba(147,51,234,0.07);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
}

.cta-box h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.cta-box p { color: var(--text-muted); max-width: 480px; margin: 0 auto 2.25rem; font-size: 1.0625rem; }

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    position: relative;
    z-index: 1;
    background: rgba(7,5,26,0.9);
    border-top: 1px solid rgba(147,51,234,0.15);
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 1.75rem;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-bottom: 1.75rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--purple-light); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ============================================================
   HERO EMAIL CAPTURE FORM
============================================================ */
.hero-email-capture {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.hero-email-capture input[type="email"] {
    flex: 1;
    min-width: 200px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(147,51,234,0.4);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.hero-email-capture input[type="email"]:focus {
    border-color: rgba(147,51,234,0.75);
}
.hero-email-capture input[type="email"]::placeholder {
    color: rgba(226,232,240,0.38);
}
.hero-email-capture button {
    background: linear-gradient(135deg, #9333ea, #6d28d9);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.hero-email-capture button:hover { opacity: 0.88; }
.hero-email-capture button:disabled { opacity: 0.55; cursor: default; }
.hero-email-hint {
    font-size: 0.72rem;
    color: rgba(226,232,240,0.4);
    margin-top: 0.4rem;
    font-family: var(--font-mono);
}
.hero-email-success {
    display: none;
    color: #4ade80;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    margin-top: 1.25rem;
    padding: 0.6rem 0.875rem;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 8px;
}
.hero-email-success.active { display: block; }

/* ============================================================
   MOBILE STICKY BAR
============================================================ */
.mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(7,5,26,0.97);
    border-top: 1px solid rgba(147,51,234,0.3);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-sticky.visible { transform: translateY(0); }

.mobile-sticky-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.mobile-sticky-inner input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(147,51,234,0.25);
    border-radius: 6px;
    padding: 0.6rem 0.875rem;
    color: var(--text);
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
}
.mobile-sticky-inner input::placeholder { color: var(--text-dim); }
.mobile-sticky-inner input:focus { border-color: var(--purple-light); }

.mobile-sticky-inner button {
    background: linear-gradient(135deg, var(--purple), #6d28d9);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
}

.mobile-sticky-dismiss {
    background: rgba(255,255,255,0.05) !important;
    color: var(--text-dim) !important;
    background: none !important;
    border: none !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    cursor: pointer;
    border-radius: 4px !important;
}

/* Glow divider line */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-light), var(--blue-light), transparent);
    opacity: 0.3;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .prod-featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .prod-card-2 { grid-column: 1; grid-row: 2; }
    .prod-card-3 { grid-column: 2; grid-row: 2; }
    .prod-card-4 { grid-column: 1; grid-row: 3; }
    .prod-card-5 { grid-column: 2; grid-row: 3; }

    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .paths-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav { padding: 0.875rem 1.25rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-sticky { display: flex; }

    .hero { padding: 50px 1.25rem 16px; }
    .hero h1 { font-size: clamp(1.75rem, 7vw, 2.75rem); }
    .hero-sub { font-size: 0.9375rem; }
    .hero-panel { display: none; }
    .hero-corner { display: none; }

    .products-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .prod-featured, .prod-card-2, .prod-card-3, .prod-card-4, .prod-card-5 {
        grid-column: 1;
        grid-row: auto;
    }

    .steps-grid   { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .paths-grid    { grid-template-columns: 1fr; }
    .stats-grid    { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-actions .btn { padding: 0.7rem 1.4rem; font-size: 0.875rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr; max-width: 280px; }
    .cta-box { padding: 2.5rem 1.5rem; }
}

/* ============================================================
   AUTH PAGES — Login, Signup, Forgot/Reset Password
============================================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.25rem 3rem;
}

.auth-container .logo {
    display: block;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(12, 9, 32, 0.88);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem 2.25rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 48px rgba(147,51,234,0.12), 0 8px 32px rgba(0,0,0,0.55);
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}

.auth-card > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    letter-spacing: 0.025em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(147,51,234,0.25);
    border-radius: 7px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--purple-glow);
    background: rgba(147,51,234,0.08);
    box-shadow: 0 0 0 3px rgba(147,51,234,0.12);
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.auth-card .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    margin-top: 0.25rem;
}

.error-message {
    display: none;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    border-radius: 7px;
    color: #fca5a5;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.error-message.show {
    display: block;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

/* Benefits list — signup page */
.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.benefit-item {
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.2);
    border-radius: 20px;
    color: var(--cyan-light);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
}

/* Page footer / creator badge */
.page-footer {
    margin-top: 2rem;
    text-align: center;
}

.creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.creator-badge .creator-name {
    color: var(--text-muted);
    font-weight: 600;
}

.creator-badge .creator-tagline {
    color: var(--text-dim);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
   BACKGROUND GRADIENT — Decorative full-screen bg element
============================================================ */
.bg-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse 900px 700px at 50% -5%, rgba(147,51,234,0.12), transparent 65%);
}

/* ============================================================
   MAIN CONTENT WRAPPER
============================================================ */
main {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
}

/* ============================================================
   NAV EXTENSIONS — logo link, nav-right, btn-ghost, nav-content
============================================================ */
nav a.logo,
nav .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

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

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 0.45rem 0.875rem;
    font-size: 0.875rem;
}
.btn-ghost:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.875rem;
    background: rgba(147,51,234,0.08);
    border: 1px solid rgba(147,51,234,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.premium-badge {
    background: linear-gradient(135deg, var(--accent-gold), #b8960c);
    color: #000;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* nav-content wrapper (used by learn-ai-30-days nav pattern) */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================================
   GRADIENT TEXT UTILITY
============================================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   SPINNER, TOAST, LIVE DOT — Common UI utilities
============================================================ */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(147,51,234,0.15);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: theme-spin 0.8s linear infinite;
    margin: 0 auto 0.75rem;
}

@keyframes theme-spin { to { transform: rotate(360deg); } }

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: live-pulse 1.5s infinite;
    margin-right: 0.4rem;
    vertical-align: middle;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text);
    z-index: 1000;
    transition: transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   DASHBOARD — header, signals, hotlist, prefs, usage, referral
============================================================ */
.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}
.dashboard-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.dashboard-header p { color: var(--text-secondary); font-size: 0.95rem; }

.dashboard-footer {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

/* Signals section */
.signals-section { margin-bottom: 2rem; }

.signals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.signals-title {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.signals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.generate-btn {
    background: linear-gradient(135deg, var(--purple), #6d28d9);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: opacity 0.2s;
}
.generate-btn:hover { opacity: 0.9; }
.generate-btn:disabled { opacity: 0.5; cursor: default; }

/* Signal cards */
.signal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}
.signal-card:hover { border-color: rgba(147,51,234,0.4); }
.signal-card.locked { opacity: 0.5; pointer-events: none; }

.signal-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.signal-ticker { display: flex; align-items: center; gap: 0.75rem; }

.ticker-icon {
    width: 40px;
    height: 40px;
    background: rgba(147,51,234,0.12);
    border: 1px solid rgba(147,51,234,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--purple-light);
    flex-shrink: 0;
}

.ticker-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.ticker-type { font-size: 0.72rem; color: var(--text-secondary); margin-top: 0.1rem; }

.signal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.signal-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.signal-buy  { background: rgba(74,222,128,0.12);  color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.signal-sell { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.signal-hold { background: rgba(251,191,36,0.12);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }

.confidence { text-align: right; }
.confidence-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}
.confidence-level-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-top: 0.2rem;
    display: inline-block;
}
.confidence-level-high   { background: rgba(74,222,128,0.12);  color: #4ade80; }
.confidence-level-medium { background: rgba(251,191,36,0.12);  color: #fbbf24; }
.confidence-level-low    { background: rgba(248,113,113,0.12); color: #f87171; }

.signal-reasoning {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}

.signal-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    margin-top: 0.5rem;
}

.signal-indicators { margin: 0.75rem 0; }
.indicators-title {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}
.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}
.indicator-status {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
}
.indicator-status.confirmed { background: rgba(74,222,128,0.15);  color: #4ade80; }
.indicator-status.partial   { background: rgba(251,191,36,0.15);  color: #fbbf24; }
.indicator-status.denied    { background: rgba(248,113,113,0.15); color: #f87171; }
.indicator-name { flex: 1; }
.indicator-weight { font-size: 0.68rem; color: var(--text-secondary); font-family: var(--font-mono); }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--text-secondary); }
.empty-state-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

.loading { text-align: center; padding: 2rem; color: var(--text-secondary); }

/* Hot list section */
.hotlist-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.hotlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hotlist-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotlist-updated {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

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

.hotlist-tab {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.hotlist-tab.active {
    background: rgba(147,51,234,0.15);
    border-color: rgba(147,51,234,0.4);
    color: var(--purple-light);
}
.hotlist-tab:hover:not(.active) {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: var(--text);
}

.hotlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.75rem;
}

.hotlist-coin {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}
.hotlist-coin:hover {
    border-color: rgba(147,51,234,0.3);
    background: rgba(147,51,234,0.04);
}

.hotlist-coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hotlist-coin-info { display: flex; align-items: center; gap: 0.5rem; }

.hotlist-coin-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hotlist-coin-icon-fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(147,51,234,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--purple-light);
    flex-shrink: 0;
}

.hotlist-coin-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotlist-coin-ticker {
    font-size: 0.62rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.hotlist-coin-change {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
}
.hotlist-coin-change.positive { color: #4ade80; }
.hotlist-coin-change.negative { color: #f87171; }

.hotlist-coin-price {
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text);
    margin-bottom: 0.25rem;
}

.hotlist-coin-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    flex-wrap: wrap;
    gap: 0.25rem;
}

.hotlist-loading,
.hotlist-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Referral banner */
.referral-banner {
    background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(236,72,153,0.08));
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.referral-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.referral-title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.referral-title h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.referral-subtitle { font-size: 0.875rem; color: var(--text-secondary); }

.referral-stats { display: flex; gap: 1.5rem; }
.referral-stat { text-align: center; }
.referral-stat-value {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple-light);
}
.referral-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.referral-link-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.referral-link-input {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    word-break: break-all;
    min-width: 0;
}

.copy-btn {
    background: linear-gradient(135deg, var(--purple), #6d28d9);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.copy-btn:hover { opacity: 0.9; }
.copy-btn.copied { background: linear-gradient(135deg, #4ade80, #16a34a); }

.share-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.share-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.45rem 0.875rem;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.share-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border-color: rgba(255,255,255,0.15);
}

/* Upgrade banner */
.upgrade-banner {
    background: linear-gradient(135deg, rgba(147,51,234,0.1), rgba(59,130,246,0.08));
    border: 1px solid rgba(147,51,234,0.25);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.upgrade-banner h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.upgrade-banner p  { font-size: 0.875rem; color: var(--text-secondary); }

/* Email preferences panel */
.prefs-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.prefs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.prefs-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.prefs-toggle { display: flex; align-items: center; gap: 0.75rem; }
.prefs-options {
    display: none;
    flex-direction: column;
    gap: 0;
}
.prefs-options.show { display: flex; }
.pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    gap: 1rem;
}
.pref-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.pref-label > span:first-child { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.pref-label small             { font-size: 0.75rem; color: var(--text-secondary); }
.pref-premium {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Toggle switch */
.toggle {
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}
.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}
.toggle.active { background: rgba(147,51,234,0.4); }
.toggle.active::after { transform: translateX(20px); background: var(--purple-light); }

.mini-toggle { width: 36px; height: 20px; }
.mini-toggle::after { width: 14px; height: 14px; }
.mini-toggle.active::after { transform: translateX(16px); }

/* Confidence select */
.confidence-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    padding: 0.45rem 0.875rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
}

/* Usage bar */
.usage-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.usage-bar.premium { border-color: rgba(212,175,55,0.25); }
.usage-info        { display: flex; align-items: center; gap: 1.5rem; }
.usage-count       { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.usage-label       { font-size: 0.72rem; color: var(--text-secondary); margin-top: 0.15rem; }

/* ============================================================
   LEARN-AI-30-DAYS / EBOOK PAGE — landing page classes
============================================================ */
.badge {
    display: inline-block;
    background: rgba(147,51,234,0.15);
    border: 1px solid rgba(147,51,234,0.35);
    color: var(--purple-light);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--purple-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.price {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin: 1.25rem 0 0.4rem;
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trust-line {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.trust-line span { color: #4ade80; }

.section-alt { background: rgba(7,5,26,0.55); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.6rem;
}
.section-header p { color: var(--text-secondary); font-size: 0.975rem; }

/* Comparison grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 640px) { .comparison-grid { grid-template-columns: 1fr; } }

.comparison-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}
.comparison-card.highlight {
    background: rgba(147,51,234,0.06);
    border-color: rgba(147,51,234,0.35);
    box-shadow: 0 0 40px rgba(147,51,234,0.1);
}
.comparison-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.comparison-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), #6d28d9);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.28rem 0.875rem;
    border-radius: 100px;
    white-space: nowrap;
}
.comparison-price {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 900;
    margin: 0.6rem 0;
}
.comparison-price.expensive { color: #f87171; text-decoration: line-through; opacity: 0.7; }
.comparison-price.value     { color: var(--accent-gold); }
.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.comparison-list li { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* Chapters grid */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.875rem;
    max-width: 1100px;
    margin: 0 auto;
}

.chapter-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.2s, background 0.2s;
}
.chapter-card:hover {
    border-color: rgba(147,51,234,0.25);
    background: rgba(147,51,234,0.03);
}

.chapter-num {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-light);
    margin-bottom: 0.35rem;
}
.chapter-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.chapter-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* Proof / trust grid */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.proof-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}
.proof-card:hover { border-color: rgba(147,51,234,0.25); }
.proof-icon { font-size: 2rem; margin-bottom: 0.6rem; display: block; }
.proof-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.proof-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* FAQ items */
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.faq-item p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================================
   PRODUCTS PAGE — product cards grid
============================================================ */
.products {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(147,51,234,0.2);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); }

.product-card.orange {
    border-color: rgba(251,146,60,0.3);
    background: linear-gradient(135deg, rgba(251,146,60,0.04), rgba(239,68,68,0.03));
}
.product-card.orange:hover {
    border-color: rgba(251,146,60,0.5);
    box-shadow: 0 16px 40px rgba(251,146,60,0.12);
}
.product-card.blue {
    border-color: rgba(59,130,246,0.3);
    background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(99,102,241,0.03));
}
.product-card.blue:hover {
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 16px 40px rgba(59,130,246,0.12);
}

.product-card-header { display: flex; align-items: center; gap: 0.75rem; }
.product-icon        { font-size: 1.75rem; }
.product-card h2     { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.product-card > p    { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.product-card ul     { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; padding: 0; margin: 0; }
.product-card ul li  { font-size: 0.8rem; color: var(--text-secondary); padding-left: 1rem; position: relative; }
.product-card ul li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-size: 0.7rem; }

.product-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-top: auto;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.875rem;
    border: 1px solid rgba(147,51,234,0.35);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple-light);
    background: rgba(147,51,234,0.08);
    transition: all 0.2s;
    width: fit-content;
}
.product-card:hover .product-cta {
    background: rgba(147,51,234,0.16);
    border-color: rgba(147,51,234,0.5);
}

.published-products {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem 4rem;
}
.published-products h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.published-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================================
   NOT-SUBSCRIBED STATE (autotrade, etc.)
============================================================ */
.not-subscribed {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.not-subscribed h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.5rem; }

/* ============================================================
   SUCCESS MESSAGE — forgot-password, form feedback
============================================================ */
.success-message {
    display: none;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.3);
    border-radius: 7px;
    color: #86efac;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}
.success-message.show { display: block; }

/* For pages using class="message error-message" or "message success-message" */
.message { display: none; padding: 0.7rem 1rem; border-radius: 7px; font-size: 0.875rem; margin-bottom: 1.25rem; }
.message.show { display: block; }

/* Bot icon in creator badge */
.bot-icon { font-size: 1rem; }

/* Password requirements hint */
.password-requirements { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.3rem; }

/* Nav container variant used on blog pages */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-left: 0.5rem;
}

