/* ============================================
   MAYBATE Design System
   Systems That Behave. Clients Who Relax.
   ============================================ */

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

/* --- Design Tokens --- */
:root {
    /* Brand Colors */
    --black: #0A0A0A;
    --black-light: #141414;
    --surface: #1A1A1A;
    --surface-light: #222222;
    --surface-hover: #2A2A2A;
    --yellow: #FFD60A;
    --yellow-dim: rgba(255, 214, 10, 0.15);
    --yellow-glow: rgba(255, 214, 10, 0.4);
    --blue: #0077FF;
    --blue-dim: rgba(0, 119, 255, 0.15);
    --blue-glow: rgba(0, 119, 255, 0.4);
    --red: #E63946;
    --red-dim: rgba(230, 57, 70, 0.15);
    --white: #F0F0F0;
    --grey: #888888;
    --grey-light: #AAAAAA;
    --grey-dark: #555555;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-yellow: 0 0 20px var(--yellow-glow);
    --shadow-blue: 0 0 20px var(--blue-glow);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

/* --- Modern Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

/* Grid background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 59px,
            rgba(255, 214, 10, 0.03) 59px,
            rgba(255, 214, 10, 0.03) 60px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 59px,
            rgba(255, 214, 10, 0.03) 59px,
            rgba(255, 214, 10, 0.03) 60px);
    pointer-events: none;
    z-index: 0;
}

/* --- Base Elements --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--white);
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--yellow);
    color: var(--black);
}

/* --- Typography Scale --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--white);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--grey-light);
}

.text-accent {
    color: var(--yellow);
}

.text-blue {
    color: var(--blue);
}

.text-red {
    color: var(--red);
}

.text-bold {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--grey-light);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section--sm {
    padding: var(--space-xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.flex--center {
    align-items: center;
    justify-content: center;
}

.flex--between {
    align-items: center;
    justify-content: space-between;
}

.flex--column {
    flex-direction: column;
}

.text-center {
    text-align: center;
}

/* --- Section Header --- */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--yellow);
}

.text-center .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    margin-top: var(--space-sm);
    max-width: 600px;
}

.text-center .section-header p {
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-xl) 0;
    }
}