/* ===== CSS Variables (Serious Professional Dark with Subtle Depth) ===== */
:root {
  /* Backgrounds - микро-контраст */
  --bg: #0A0C10;
  --bg-surface: #12161E;
  --bg-elevated: #1A1F29;

  /* Text - только для важного белый */
  --text: #FFFFFF;
  --text-muted: #9AA3B4;
  --text-dim: #6B7280;

  /* Accent - приглушенный */
  --accent: #3B82F6;
  --accent-soft: #1E3A8A;

  /* UI */
  --border: rgba(255, 255, 255, 0.05);
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;

  --radius: 16px;
  --radius-sm: 8px;
  
  /* Тени - почти незаметные */
  --shadow-subtle: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  --shadow-navbar: 0 1px 0 rgba(255, 255, 255, 0.05);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    /* Монохромная тонкая текстура без цветных градиентов */
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px;
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    font-weight: 350;
    min-height: 100vh;
}

/* ===== Typography (Thin, Elegant with Subtle Depth) ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1 { 
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
}

h2 { 
    font-size: 48px;
    font-weight: 300;
}

h3 { 
    font-size: 32px;
    font-weight: 300;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 350;
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== Container (Fixed Width) ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Sections ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 350;
}

/* ===== Simple Fade Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

/* ===== Responsive Typography ===== */
@media (max-width: 768px) {
    h1 { 
        font-size: 48px;
        font-weight: 300;
    }
    h2 { 
        font-size: 36px;
        font-weight: 300;
    }
    h3 { 
        font-size: 28px;
        font-weight: 300;
    }
    body { 
        font-size: 16px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 16px;
    }
}
