/* =====================================================
   «Академика» — Main Styles (Variables, Reset, Base)
   ===================================================== */

/* === CSS Variables === */
:root {
    /* Colors - Modern Professional Theme */
    --color-bg-light: #f5f7fa;
    --color-bg-section: #ffffff;
    --color-bg-dark: #1a1a2e;
    --color-bg-card: #ffffff;

    /* Primary Colors */
    --color-primary: #26a69a;
    --color-primary-light: #4db6ac;
    --color-primary-dark: #00897b;

    /* Secondary Colors */
    --color-secondary: #1a237e;
    --color-secondary-light: #3949ab;

    /* Accent Colors */
    --color-accent: #ff8f00;
    --color-accent-light: #ffa726;

    /* Text Colors */
    --color-text: #1a1a2e;
    --color-text-secondary: #5a5a7a;
    --color-text-muted: #9a9ab0;
    --color-text-light: #ffffff;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
    --gradient-accent: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
    --gradient-hero: linear-gradient(135deg, #1a237e 0%, #26a69a 100%);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(16px);

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

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(38, 166, 154, 0.3);

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

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.highlight {
    color: var(--color-primary);
}

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