@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@700;800;900&display=swap');

/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary: #00f2ff;
    --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #7c3aed 100%);
    --bg: #030406;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --surface: #0a0c10;
    --surface-glass: rgba(15, 23, 42, 0.4);
    --border-glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

/* Typography */
h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

p {
    margin: 0;
    font-weight: 450;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: none;
    border-left: none;
    border-right: none;
}

header.scrolled {
    padding: 5px 0;
    background: rgba(3, 4, 6, 0.85); /* Slightly darker bg on scroll */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

header.scrolled .logo img {
    height: 60px !important;
}

header.scrolled nav {
    padding: 10px 20px !important;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px -15px rgba(124, 58, 237, 0.6);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: white;
    transform: translateY(-2px);
}

/* Sections & Reveal */
section {
    padding: 120px 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Cards */
.card {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(0, 242, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-10px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    section {
        padding: 80px 20px;
    }
    
    .btn {
        width: 100%;
        padding: 16px;
    }
}
