/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bg-void: #050507;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --bg-panel-hover: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.08);
    --accent-primary: #8b5cf6; /* Violet */
    --accent-secondary: #06b6d4; /* Cyan */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08), transparent 25%);
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.text-gradient { 
    background: linear-gradient(135deg, #fff, #cbd5e1); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.font-mono { font-family: var(--font-mono); }

/* Animation Classes */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   3. NAVIGATION
   ========================================= */
nav { 
    padding: 1.5rem 0; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 100; 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border-glass); 
    transition: transform 0.3s ease; 
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-weight: 900; 
    letter-spacing: -0.05em; 
    font-size: 1.5rem; 
    color: white; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}
.logo span { color: var(--accent-secondary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }

.nav-link { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.2s; 
}
.nav-link:hover, .nav-link.active { color: white; }

/* =========================================
   4. BUTTONS
   ========================================= */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary { background: white; color: black; }
.btn-primary:hover { background: #e2e8f0; transform: translateY(-2px); }

.btn-glow { 
    background: rgba(139, 92, 246, 0.1); 
    border: 1px solid var(--accent-primary); 
    color: var(--accent-primary); 
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1); 
}
.btn-glow:hover { 
    background: var(--accent-primary); 
    color: white; 
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); 
    transform: translateY(-2px); 
}

/* =========================================
   5. GLASS PANELS & CARDS
   ========================================= */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
}

/* =========================================
   6. MODERN HERO & HUD (New)
   ========================================= */
.modern-hero {
    position: relative;
    padding: 8rem 0 4rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-title { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    letter-spacing: -0.02em; 
}

/* Ambient Background Glow */
.hero-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(6,182,212,0.05) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* The Glass HUD Pill */
.hud-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    flex-wrap: wrap;
    justify-content: center;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}
.hud-item strong { color: white; letter-spacing: 0.5px; }

.hud-sep { width: 1px; height: 15px; background: rgba(255,255,255,0.1); }

/* Pulse Animation */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}
.status-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 1px solid #10b981;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================
   7. PROCESS TIMELINE (New)
   ========================================= */
.process-container {
    display: flex;
    flex-direction: column;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2rem;
}

/* Vertical Line */
.process-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.3), transparent);
    transform: translateX(-50%);
    z-index: 0;
}
.process-step:last-child { padding-bottom: 0; }
.process-step:last-child::before { display: none; }

/* Number Circle */
.step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(5, 5, 7, 0.8);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-mono);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    z-index: 1;
    position: relative;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
}
.step-content h4 { margin: 0 0 0.3rem 0; font-size: 1.1rem; color: white; }
.step-content p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

/* =========================================
   8. FORMS
   ========================================= */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-label { display: block; color: var(--text-muted); margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 700; }

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent-secondary); }

.checkbox-group { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; background: rgba(255,255,255,0.02); padding: 1rem; border-radius: 8px; }
.checkbox-group input { margin-top: 5px; accent-color: var(--accent-primary); }
.checkbox-group label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

/* =========================================
   9. BUYLIST RATES & TIERS (New)
   ========================================= */
.rate-row {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
}

/* Premium Tiered Styling */
.rate-tier-group {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.tier-row:last-child { margin-bottom: 0; }

.highlight-rate {
    color: #10b981; /* Emerald Green */
    font-weight: 800;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.hot-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: black;
    font-weight: bold;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Disabled/Paused States */
.paused-badge {
    display: none;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    letter-spacing: 1px;
}

/* Logic for standard rate rows */
.rate-row.disabled .font-mono { color: var(--text-muted); opacity: 0.5; text-decoration: line-through; }
.rate-row.disabled .price-tag { display: none; }
.rate-row.disabled .paused-badge { display: inline-block; }

/* Logic for tiered groups */
.rate-tier-group.disabled .tier-row { display: none; }
.rate-tier-group.disabled .paused-badge { display: block !important; width: fit-content; margin: 0 auto; }
.rate-tier-group .paused-badge { display: none; }


/* =========================================
   10. FOOTER
   ========================================= */
footer { 
    border-top: 1px solid var(--border-glass); 
    padding: 4rem 0; 
    margin-top: 4rem; 
    background: rgba(0,0,0,0.2); 
}

.footer-grid { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 2rem; 
    flex-wrap: wrap;
}

/* Footer Column Widths */
.footer-col:first-child {
    flex: 2; /* Logo section takes 2x space */
    min-width: 300px;
    padding-right: 2rem;
}
.footer-col {
    flex: 1;
    min-width: 150px;
}
.footer-col:last-child {
    text-align: right;
}

.footer-col h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-secondary); }

/* =========================================
   11. RESPONSIVE
   ========================================= */
@media(max-width: 768px) {
    /* Footer Stack */
    .footer-grid { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 3rem;
    }
    .footer-col:first-child { padding-right: 0; }
    .footer-col:last-child { text-align: center; }
    
    /* Nav Hide */
    .nav-links { display: none; } 
    
    /* Hero Adjust */
    .hero-title { font-size: 2.5rem; }
    
    /* HUD Stack */
    .hud-pill { flex-direction: column; gap: 0.5rem; padding: 1.5rem; border-radius: 24px; width: 100%; }
    .hud-sep { display: none; }
}