:root {
  --primary-color: #23272F;
  --accent-color: #4A90E2;
  --accent-dark: #357ABD;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #8a8f98;
  --bg-color: #f8f9fa;
  --bg-soft: #f1f3f7;
  --card-bg: #ffffff;
  --border-color: #e1e4e8;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1100px;
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-color);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 36px 0 40px;
}

.section--hero h1 {
  font-size: 34px;
  max-width: 520px;
}

.section--hero h1,
.section--hero p {
  color: #fff;
}

h1, h2, h3, h4 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 44px; margin-bottom: 16px; }
h2 { font-size: 32px; margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 12px; }

p {
  margin-bottom: 14px;
  font-size: 16px;
}

ul, ol {
  margin: 0 0 16px 20px;
}

li {
  margin-bottom: 6px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent-color);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 800px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding: 56px 0; }
  .section--hero { padding: 32px 0 40px; }
  .section--hero h1 { font-size: 28px; max-width: 100%; }
}
