/* 
   OAK ENGINE DESIGN SYSTEM v2.0
   Principles: Minimalism, Precision, Depth, and Motion.
*/

:root {
    /* Colors */
    --clr-bg: #08080a;
    --clr-surface: #121214;
    --clr-surface-alt: #1a1a1c;
    --clr-primary: #d4af37; /* Brushed Gold */
    --clr-primary-glow: rgba(212, 175, 55, 0.2);
    --clr-text-main: #f8fafc;
    --clr-text-muted: #94a3b8;
    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-glass: rgba(255, 255, 255, 0.03);
    
    /* Spacing */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 1);
    --space-sm: calc(var(--space-unit) * 2);
    --space-md: calc(var(--space-unit) * 4);
    --space-lg: calc(var(--space-unit) * 8);
    --space-xl: calc(var(--space-unit) * 12);
    
    /* Typography */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --duration: 0.6s;
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Atmosphere */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(30, 41, 59, 0.1) 0%, transparent 50%);
}

/* Typography Scale */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--clr-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--space-md) 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--duration) var(--ease);
}

header.scrolled {
    padding: var(--space-sm) 10%;
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--clr-primary-glow));
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}


.nav-links a {
    color: var(--clr-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
    color: var(--clr-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) 10%;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 8rem);
    margin-bottom: var(--space-md);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: var(--space-lg);
}

/* Bento Grid */
.bento-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-md);
    padding: var(--space-lg) 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
}

.bento-main { grid-column: span 8; grid-row: span 2; }
.bento-side { grid-column: span 4; }
.bento-square { grid-column: span 4; }

/* Phone Mockup v2 */
.mockup-v2 {
    width: 280px;
    height: 580px;
    background: #000;
    border-radius: 44px;
    border: 8px solid #1a1a1a;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    margin: 0 auto;
}

.mockup-v2::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Store Buttons v2 */
.store-group {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.badge-coming {
    display: inline-flex;
    align-items: center;
    background: var(--clr-surface-alt);
    border: 1px solid var(--clr-border);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    color: var(--clr-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    gap: var(--space-sm);
    position: relative;
}

.badge-coming i {
    font-size: 1.2rem;
    color: var(--clr-primary);
}

.badge-coming span {
    color: var(--clr-text-main);
    opacity: 0.5;
}

.badge-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--clr-primary);
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s var(--ease);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-main, .bento-side, .bento-square { grid-column: span 12; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 4rem; }
}
