/* CSS Variables & Reset */
:root {
    /* Brand Colors */
    --primary-blue: #3B82F6;
    /* Slightly brighter blue for dark mode */
    --deep-navy: #020617;
    /* Deepest Background */
    --navy-surface: #0F172A;
    /* Card/Surface Background */
    --cyan-accent: #22D3EE;
    --purple-accent: #8B5CF6;
    /* Brighter purple */
    --soft-orange: #FBBF24;
    /* Brighter orange */

    /* Semantic Colors */
    --primary-color: #F8FAFC;
    /* Headings now White/Lightest Slate */
    --secondary-color: var(--primary-blue);
    /* Buttons, Brand interactions */
    --accent-color: var(--cyan-accent);
    /* Highlights, Icons */

    /* Neutral Colors - Dark Mode Mapping */
    --text-color: #CBD5E1;
    /* Body Text - Light Slate */
    --text-light: #94A3B8;
    /* Muted Text */
    --bg-color: var(--deep-navy);
    /* Main Background - Dark */
    --bg-dark: #000000;
    /* Even darker for contrast sections */
    --surface-color: var(--navy-surface);
    /* Cards, Modals */
    --border-color: rgba(255, 255, 255, 0.1);
    /* Subtle borders for dark mode */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
    --gradient-secondary: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    --gradient-highlight: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%);
    --gradient-text: linear-gradient(135deg, #60A5FA 0%, #22D3EE 100%);
    /* Brighter text gradient */
    --gradient-glow: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);

    /* Shadows (Glow effects for dark premium feel) */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.15);
    /* Blue glow */

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Z-Index Layers */
    --z-hero: 10;
    --z-sticky: 40;
    --z-header: 1000;
    --z-mobile-nav: 2000;
    --z-modal: 9999;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

h1,
h2,
.section-title {
    font-weight: 800;
    /* Extra Bold */
    letter-spacing: -1.2px;
}

h3 {
    font-weight: 700;
    /* Bold */
    letter-spacing: -0.5px;
}

h4,
h5,
h6 {
    font-weight: 600;
    /* SemiBold */
    letter-spacing: -0.3px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar - Minimal & Brand Themed */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    /* For horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Subtle Grey initially */
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
    /* Turn Brand Blue on interaction */
}

/* Firefox Support */
html {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}