:root {
    /* Award-Winning Palette */
    --color-bg: #09090b; /* Very dark zinc */
    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-accent: #38bdf8; /* Electric blue */
    --color-accent-alt: #818cf8; /* Purple tint for gradients */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-card-bg: rgba(255, 255, 255, 0.03);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --size-h1: clamp(3rem, 10vw, 6rem);
    --size-h2: clamp(2rem, 5vw, 3.5rem);
    --size-h3: 1.5rem;
    --size-body: 1.125rem;
    --size-small: 0.875rem;
    --weight-light: 300;
    --weight-reg: 400;
    --weight-med: 500;
    --weight-bold: 700;
    --weight-black: 800;

    /* Spacing & Layout */
    --space-unit: 8px;
    --container-max: 1400px; /* Wider for enterprise feel */
    --nav-height: 100px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    /* For Lenis smooth scrolling, we usually prevent overscroll */
    overscroll-behavior: none;
}
body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 calc(var(--space-unit) * 5); }

/* Navigation - Glassmorphic */
.navbar {
    position: fixed; top: 0; width: 100%;
    height: var(--nav-height);
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex; align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-weight: var(--weight-black); font-size: 1.2rem; letter-spacing: -0.05em; text-transform: uppercase; color: var(--color-text-primary); }
.logo span { color: var(--color-accent); font-weight: var(--weight-med); }

.nav-links { list-style: none; display: flex; gap: calc(var(--space-unit) * 6); }
.nav-links a { 
    text-decoration: none; color: var(--color-text-secondary); 
    font-weight: var(--weight-med); font-size: var(--size-small); 
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--color-text-primary); }

/* Buttons */
.btn-cta {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
    color: var(--color-bg) !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: var(--size-small);
    font-weight: var(--weight-bold) !important;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5); }

/* Hero Sections */
.hero { padding: calc(var(--space-unit) * 18) 0 calc(var(--space-unit) * 12); min-height: 80vh; display: flex; align-items: center; position: relative;}
.hero-secondary { padding: calc(var(--space-unit) * 12) 0 calc(var(--space-unit) * 8); }

.hero h1 {
    font-size: var(--size-h1);
    font-weight: var(--weight-black);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: calc(var(--space-unit) * 4);
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .highlight { 
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .subtitle { 
    font-size: var(--size-body); 
    color: var(--color-text-secondary); 
    max-width: 600px; 
    font-weight: var(--weight-reg); 
    line-height: 1.8;
}

/* Grid & Layout Components */
.section-header {
    margin-bottom: calc(var(--space-unit) * 8);
}
.section-header h2 { font-size: var(--size-h2); font-weight: var(--weight-bold); letter-spacing: -0.04em; }

.gv-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: calc(var(--space-unit) * 4); 
}
.gv-grid-large { grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); }

/* Glassmorphic Cards */
.glass-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: calc(var(--space-unit) * 6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    display: flex; flex-direction: column;
}

/* Glow effect on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.glass-card:hover { transform: translateY(-8px); border-color: rgba(56, 189, 248, 0.5); }
.glass-card:hover::before { opacity: 1; }

.glass-card h3 { font-size: var(--size-h3); margin-bottom: calc(var(--space-unit) * 2); font-weight: var(--weight-bold); letter-spacing: -0.02em; }
.glass-card p { font-size: var(--size-small); color: var(--color-text-secondary); margin-bottom: calc(var(--space-unit) * 3); line-height: 1.7; }
.glass-card strong { color: var(--color-text-primary); }

.glass-card ul { list-style: none; margin-top: auto; }
.glass-card ul li { 
    font-size: var(--size-small); color: var(--color-text-secondary); 
    padding-left: 20px; position: relative; margin-bottom: 8px; 
}
.glass-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

.meta-tag {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
    font-weight: var(--weight-bold); color: var(--color-accent);
    margin-bottom: calc(var(--space-unit) * 2);
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Utilities */
.reveal { opacity: 1; transform: translateY(0); } /* Default visible for resilience */
.js-enabled .reveal { opacity: 0; transform: translateY(40px); } /* Hidden only if JS is ready */

section { padding: calc(var(--space-unit) * 16) 0; }

/* Mobile Navigation */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.menu-toggle span { width: 24px; height: 2px; background: var(--color-text-primary); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

@media (max-width: 768px) {
    .container { padding: 0 calc(var(--space-unit) * 3); }
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(9, 9, 11, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 40px;
        opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    }
    .nav-links.active { opacity: 1; pointer-events: auto; }
    .nav-links a { font-size: 2rem; font-weight: var(--weight-bold); letter-spacing: -0.02em; }
    .menu-toggle { display: flex; }
    .gv-grid-large { grid-template-columns: 1fr; }
}