/* --- 1. CORE VARIABLES --- */
:root {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-glass: rgba(20, 20, 20, 0.7);
    --text: #ffffff;
    --text-muted: #888888;
    --brand: #3B82F6; /* Electric Blue */
    --brand-glow: rgba(59, 130, 246, 0.4);
    --accent: #6366f1; /* Indigo */
    --success: #10B981;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 120px; /* Space for Nav Pill */
}

/* --- 2. GLOBAL UTILITIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--brand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding { padding: 80px 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; }
a { text-decoration: none; color: inherit; }

/* --- 3. NAVIGATION (THE PILL) --- */
.nav-wrapper {
    position: fixed;
    bottom: 30px;
    left: 0; 
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 9999; /* Max Z-Index */
    pointer-events: none;
}

.nav-pill {
    pointer-events: auto;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.9);
}

.nav-link {
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { background: var(--brand); color: white; box-shadow: 0 0 15px var(--brand-glow); }

/* Desktop: Move pill to top */
@media (min-width: 768px) {
    .nav-wrapper { top: 30px; bottom: auto; }
}

/* --- 4. BUTTONS --- */
.btn {
    display: inline-flex;
    padding: 16px 32px;
    font-weight: 600;
    background: var(--brand);
    color: white;
    border-radius: 50px;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    justify-content: center;
}
.btn:hover { transform: scale(1.05); }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* --- 5. PRICING & COMPARISON --- */
.package-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.package-card:hover { transform: translateY(-10px); }

.most-popular {
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -2px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #555;
    font-weight: 400;
}

.features { list-style: none; margin: 30px 0; flex-grow: 1; }
.features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #ddd;
    font-size: 0.9rem;
}
.features li::before {
    content: "✓";
    color: var(--brand);
    position: absolute;
    left: 0;
    font-weight: 800;
}

/* Comparison Grid Logic */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.05); /* Grid lines */
}
.comp-header, .comp-item {
    background: var(--surface-glass);
    padding: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comp-header { font-weight: 800; color: #fff; background: rgba(0,0,0,0.8); }
.comp-item.muted { color: var(--text-muted); }
.comp-item.brand { color: var(--brand); font-weight: 600; }

@media (max-width: 600px) {
    .comparison-grid { font-size: 0.75rem; }
    .comp-header, .comp-item { padding: 15px 5px; text-align: center; }
}


/* --- 6. ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--brand);
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- LEGAL PAGE STYLES --- */
.legal-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-list {
    list-style: none;
    color: var(--text-muted);
}

.legal-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    padding-left: 0;
}

.legal-list strong {
    color: #fff;
    display: block; /* Makes the heading sit on its own line or stand out */
    margin-bottom: 4px;
}

/* Tablet/Desktop: Grid Layout */
@media (min-width: 768px) {
    .legal-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
