:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f4f8;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #0ea5e9;
    --accent-dark: #0891b2;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #10b981;
    --border: rgba(0,0,0,0.06);
    --glass: rgba(255,255,255,0.8);
    --glass-border: rgba(255,255,255,0.6);
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --card-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
    --glow: rgba(14, 165, 233, 0.35);
    --glow-secondary: rgba(6, 182, 212, 0.3);
    --glow-tertiary: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] {
    --bg-primary: #030712;
    --bg-secondary: #0a0f1a;
    --bg-tertiary: #111827;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-dark: #38bdf8;
    --border: rgba(255,255,255,0.06);
    --glass: rgba(10,15,26,0.85);
    --glass-border: rgba(255,255,255,0.08);
    --card-bg: #0f172a;
    --card-hover: #1e293b;
    --card-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    --glow: rgba(14, 165, 233, 0.4);
    --glow-secondary: rgba(6, 182, 212, 0.35);
    --glow-tertiary: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .section-label {
    color: var(--accent);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

body.menu-open {
    overflow: hidden;
}

i[data-lucide] {
    width: 20px;
    height: 20px;
}

nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.75rem;
}

footer {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}