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

:root {
    --bg-base: #07080a;
    --bg-surface: #0d0f12;
    --bg-raised: #131619;
    --accent-primary: #8b5cf6;
    --accent-secondary: #6d28d9;
    --accent-glow: rgba(139, 92, 246, 0.25);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-bg: rgba(13, 15, 18, 0.96);
    --glass-border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --success: #10b981;
    --warning: #f59e0b;
    --critical: #ef4444;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-heading: 'Outfit', sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* Ambient background gradient */
body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(139,92,246,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139,92,246,0.05) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}

#bg-canvas { display: none; }
#void-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; opacity: 0.15; }
#hex-dump { display: none; }

/* Remove the cyberpunk HUD overlay */
.hud-layer { display: none; }
.hud-corner { display: none; }
.scan-line { display: none; }

/* Navigation */
.premium-nav {
    position: fixed; top: 0; width: 100%;
    padding: 0 40px;
    height: 64px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(7, 8, 10, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 3000;
}

.nav-tabs {
    display: flex; gap: 2px;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.nav-tab {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: color 0.2s;
    position: relative; z-index: 2;
    cursor: pointer;
    border-radius: 6px;
}
.nav-tab.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-tab:hover { color: var(--text-primary); }
.nav-indicator { display: none; }

/* Page transitions — clean fade only */
.page {
    display: none; opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding-top: 64px; min-height: 100vh; position: relative; z-index: 1;
}
.page.active { display: block; opacity: 1; transform: translateY(0); }

/* Page shutter — keep but tone down */
.page-shutter {
    position: fixed; inset: 0;
    background: var(--bg-base);
    z-index: 5000;
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex; justify-content: center; align-items: center;
    pointer-events: none;
}
.page-shutter.active { transform: scaleY(1); pointer-events: all; }
.shutter-logo {
    font-family: var(--font-heading); font-size: 2rem; color: var(--accent-primary);
    opacity: 0; transition: 0.3s; letter-spacing: 6px; font-weight: 700;
}
.page-shutter.active .shutter-logo { opacity: 1; }

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}
.mono { font-family: var(--font-mono); }

.hero-container {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    min-height: calc(100vh - 64px); padding: 60px;
    max-width: 1400px;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.75;
}

/* Layout */
.content-section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.arsenal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

/* Cards */
.module-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.module-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1), 0 8px 32px rgba(0,0,0,0.3);
}

/* Stat Cards */
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}
.stat-num { font-family: var(--font-heading); font-size: 2.5rem; color: var(--accent-primary); line-height: 1; margin-bottom: 6px; font-weight: 800; }
.stat-label { font-size: 0.72rem; color: var(--text-secondary); letter-spacing: 0.05em; text-transform: uppercase; }

/* Badges */
.badge-free {
    position: absolute; top: 14px; right: 14px;
    font-size: 0.6rem; padding: 3px 8px;
    background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success); letter-spacing: 0.08em; font-weight: 600; border-radius: 4px;
    font-family: var(--font-mono);
}
.badge-pro {
    position: absolute; top: 14px; right: 14px;
    font-size: 0.6rem; padding: 3px 8px;
    background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--accent-primary); letter-spacing: 0.08em; font-weight: 600; border-radius: 4px;
    font-family: var(--font-mono);
}

/* Pricing */
.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.price-card:hover { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08); }
.price-card.featured {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.15), 0 8px 40px rgba(139, 92, 246, 0.1);
}
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-size: 0.6rem; padding: 4px 14px;
    background: var(--accent-primary); color: #fff;
    letter-spacing: 0.1em; font-weight: 700; border-radius: 20px;
    font-family: var(--font-mono);
}
.price-tier { font-family: var(--font-main); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 16px; margin-top: 8px; text-transform: uppercase; font-weight: 600; }
.price-amount { font-family: var(--font-heading); font-size: 3rem; color: var(--text-primary); line-height: 1; font-weight: 800; }
.price-period { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); }
.price-features li::before { content: '✓  '; color: var(--success); font-size: 0.8rem; }

/* Buttons */
.btn-primary {
    display: inline-block; padding: 12px 28px;
    background: var(--accent-primary); color: #fff;
    text-decoration: none; font-weight: 600;
    letter-spacing: 0.01em; font-size: 0.88rem;
    position: relative; transition: all 0.2s;
    border: none; cursor: pointer; border-radius: var(--radius);
}
.btn-primary:hover { background: #7c3aed; box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35); transform: translateY(-1px); }

/* Status badge */
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 20px;
    background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success); font-family: var(--font-mono); font-size: 0.72rem; margin-bottom: 24px;
}
.status-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Footer */
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 2.8rem; }
    .hero-container { padding: 40px 24px; }
    .premium-nav { padding: 0 16px; }
    .nav-tabs { flex-wrap: wrap; gap: 0; }
    .nav-tab { padding: 8px 10px; font-size: 0.75rem; }
    #page-home > div { grid-template-columns: 1fr !important; }
    #page-ghost .content-section > div { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-container { padding: 32px 20px; }
    .content-section { padding: 40px 16px; }
    .stat-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .premium-nav { height: auto; padding: 12px; flex-direction: column; gap: 8px; }
    .nav-tab { font-size: 0.7rem; padding: 6px 10px; }
    .stat-grid { grid-template-columns: 1fr !important; }
}
