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

:root {
  --bg: #fcfcfd;
  --fg: #1a1c20;
  --accent: #5e72e4;
  --primary: #1a1c20;
  --text-light: #4a5568;
  --container-padding: 1.5rem;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-light);
}
h3 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-btn {
  background-color: var(--accent);
  color: white;
}
.primary-btn:hover {
  background-color: #4a5dcc;
  transform: translateY(-2px);
}

/* Плавное появление */
.appear-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.appear-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1rem;
  }
}


.section-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}

.section-underline {
  height: 4px;
  width: 256px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
  .section-underline {
    width: 52px;
    height: 3px;
  }
}
