/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --primary: #00f2ff;      /* Cyan */
    --secondary: #7000ff;    /* Purple */
    --lab-accent: #00ff88;   /* Mint */
    --dark: #07080c;         /* Deep Space */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #e0e0e0;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* --- 2. LAYOUT COMPONENTS --- */

/* Blueprint Grid Background */
.grid-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 242, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 242, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Header Navigation */
nav { 
    display: flex; 
    justify-content: space-between; 
    padding: 40px 5%; 
    align-items: center; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 800; 
    letter-spacing: -0.04em; 
}

.logo span { color: var(--primary); }

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 35px; 
    align-items: center; 
}

nav a { 
    text-decoration: none; 
    color: var(--text); 
    font-size: 0.9rem; 
    font-weight: 400; 
    transition: 0.3s; 
}

nav a:hover { color: var(--primary); }

/* --- 3. THE 4-COLUMN ALIGNED GRID (Home & Deep Dives) --- */
.cards-wrapper { 
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* FORCES 4 COLUMNS ON DESKTOP */
    gap: 20px;
    margin-top: 60px;
}

.card-link { text-decoration: none; color: inherit; height: 100%; }

.card { 
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px; 
    border-radius: 24px; 
    border: 1px solid var(--glass-border); 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover { 
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.1);
}

.card i { color: var(--primary); margin-bottom: 25px; width: 35px; height: 35px; }
.card h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; color: #fff; }
.card p { color: #888; font-size: 0.95rem; font-weight: 300; margin-bottom: 25px; flex-grow: 1; }
.learn-more { font-size: 0.8rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- 4. DEEP DIVE SPECIFIC ALIGNMENT --- */

.page-hero { 
    padding: 100px 0 60px; 
    text-align: center; 
}

/* The "Value Prop" Grid (2-column layout for Deep Dives) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 0;
    align-items: center;
}

.value-prop h2 { font-size: 2.8rem; margin-bottom: 25px; font-weight: 800; }
.value-prop p { font-size: 1.2rem; color: #aaa; margin-bottom: 30px; font-weight: 300; }

/* Comparison Boxes inside Deep Dives */
.comparison-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.comp-box {
    flex: 1;
    padding: 30px;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.comp-box span { display: block; font-size: 0.7rem; color: #666; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.comp-box h4 { margin-bottom: 10px; font-size: 1.2rem; }

.highlight-box { border-color: var(--primary); background: rgba(0, 242, 255, 0.03); }

/* --- 5. BUTTONS & UI ELEMENTS --- */

.badge { 
    display: inline-block; 
    padding: 6px 16px; 
    background: rgba(112, 0, 255, 0.1); 
    border: 1px solid var(--secondary); 
    border-radius: 30px; 
    font-size: 0.75rem; 
    color: var(--primary); 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 30px; 
}

.btn-primary { 
    background: var(--primary); 
    color: #000; 
    padding: 18px 40px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 800; 
    display: inline-block; 
    transition: 0.3s; 
}

.btn-secondary { 
    border: 1px solid #333; 
    color: #fff; 
    padding: 18px 40px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-block; 
}

.btn-sm { background: var(--secondary); padding: 10px 20px; border-radius: 6px; font-weight: 700; }

/* --- 6. GRADIENTS & THEMES --- */
.hero h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; margin-bottom: 20px; }
.hero h1 span, .page-hero h1 span { 
    background: linear-gradient(to right, var(--primary), var(--secondary)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.lab-gradient h1 span { background: linear-gradient(to right, var(--lab-accent), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- 7. RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .cards-wrapper { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; text-align: center; }
    .comparison-row { flex-direction: column; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 650px) {
    .cards-wrapper { grid-template-columns: 1fr; }
    nav ul { display: none; }
}

footer { padding: 80px 0; text-align: center; color: #444; border-top: 1px solid #111; }