/* Общие сбросы, переменные и базовые стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb, #3b82f6);
    --secondary-color: #3b82f6;
    --dark-color: #1e293b;
    --light-color: #fff;
    --accent-color: #f97316;
    --success-color: #10b981;
    --radius: 12px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-strong-bg: rgba(255, 255, 255, 0.3);
    --text-primary: #161e2c;
    --text-secondary: #475569;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background: radial-gradient( circle at 50% 50%, #2563eb 0%, #a5b4fc 35%, #dbeafe 60%, #f0f9ff 100%);
    background-attachment: fixed;
    scroll-behavior: smooth;
    min-height: 100vh;
    font-display: swap;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Типографика */

h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin: 0 auto 50px;
    font-weight: 700;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}
