/* =========================================
   SinXl | Premium Design System
   ========================================= */

:root {
    --bg-base: #030303;
    --bg-surface: #0a0a0a;
    --bg-elevated: #141414;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --nav-height: 80px;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Cinematic Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 10rem 0; }
.hero-padding { padding: 12rem 0 6rem; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

/* Navigation */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    background: rgba(3, 3, 3, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: var(--transition-smooth);
}

nav.scrolled {
    border-bottom: 1px solid var(--border-light);
    background: rgba(3, 3, 3, 0.8);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

/* Grid & Cards */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), var(--accent-glow), transparent 40%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 1;
}

.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-hover); }
.card > * { position: relative; z-index: 2; }

/* Product Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Waitlist Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: none; color: var(--text-secondary);
    font-size: 1.5rem; cursor: pointer; transition: color 0.3s;
}
.close-modal:hover { color: var(--text-primary); }

.google-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 1rem; background: #ffffff; color: #000;
    border-radius: 12px; font-weight: 500; font-size: 0.95rem;
    border: none; cursor: pointer; transition: transform 0.2s; margin-top: 2rem;
}
.google-btn:hover { transform: scale(1.02); }

/* Anime.js Initial States */
.anime-reveal { opacity: 0; }
