/* ======================================== */
/* 1. CSS Variables                         */
/* ======================================== */

:root {
    /* Основные цвета */
    --color-bg: #0a0a0a;
    --color-bg-dark: #050505;
    --color-bg-card: #121212;
    --color-bg-card-hover: #1a1a1a;
    --color-bg-card-alt: #0e0e0e;

    /* Акцент — бледно-желтый */
    --color-accent: #f0d84a;
    --color-accent-hover: #ffe66a;
    --color-accent-dim: rgba(240, 216, 74, 0.08);
    --color-accent-glow: rgba(240, 216, 74, 0.05);
    --color-accent-border: rgba(240, 216, 74, 0.2);

    /* Текст */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b8b8b8;
    --color-text-muted: #6a6a6a;
    --color-text-dark: #0a0a0a;

    /* Границы */
    --color-border: rgba(255, 255, 255, 0.06);

    /* Шрифты */
    --font-family-heading: 'Jost', sans-serif;
    --font-family-body: 'Montserrat', sans-serif;

    /* Размеры */
    --container-width: 1200px;
    --container-padding: 20px;

    /* Тени */
    --shadow-card: 0 12px 48px rgba(0, 0, 0, 0.6);
    --shadow-btn: 0 4px 28px rgba(240, 216, 74, 0.25);

    /* Радиусы */
    --radius-card: 12px;
    --radius-btn: 6px;
}

/* ======================================== */
/* 2. Reset                                 */
/* ======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

/* ======================================== */
/* 3. Typography                            */
/* ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
}

/* ======================================== */
/* 4. Container                             */
/* ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ======================================== */
/* 5. Section Title                         */
/* ======================================== */

.section-title {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title__accent {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }
}

/* ======================================== */
/* 6. Buttons                               */
/* ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-family-body);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    letter-spacing: 0.06em;
}

/* Primary — желтый */
.btn--primary {
    background: var(--color-accent);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 40px rgba(240, 216, 74, 0.35);
}

/* Secondary — прозрачный */
.btn--secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-accent-border);
}

.btn--secondary:hover {
    background: var(--color-accent-dim);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Размеры */
.btn--large {
    padding: 18px 44px;
    font-size: 15px;
}

.btn--small {
    padding: 7px 18px;
    font-size: 11px;
    letter-spacing: 0.08em;
    border-radius: 4px;
}

/* ======================================== */
/* 7. Responsive Helpers                    */
/* ======================================== */

@media (max-width: 768px) {
    .btn--large {
        padding: 15px 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .btn--large {
        padding: 14px 20px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .btn--small {
        padding: 6px 14px;
        font-size: 10px;
    }
}