/* =============================================
   MAIN.CSS — Base / Reset / Layout / Typography
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary:       #4f46e5;
    --color-primary-dark:  #3730a3;
    --color-primary-light: #818cf8;
    --color-accent:        #06b6d4;
    --color-success:       #22c55e;
    --color-bg:            #0f0f1a;
    --color-bg-alt:        #13131f;
    --color-surface:       #1a1a2e;
    --color-surface-2:     #22223b;
    --color-border:        rgba(255,255,255,0.08);
    --color-text:          #e2e8f0;
    --color-text-muted:    #94a3b8;
    --color-white:         #ffffff;

    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
    --shadow-glow: 0 0 40px rgba(79,70,229,0.25);

    --max-width: 1140px;
    --section-gap: 96px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 24px;
}

/* Sections */
.section {
    padding-block: var(--section-gap);
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-inline: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-surface-2);
    border-radius: 99px;
}
