:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-alt: #ecf5ff;
  --text: #132238;
  --muted: #637083;
  --primary: #2864ff;
  --primary-dark: #1547c9;
  --accent: #22c7a9;
  --border: #dce7f5;
  --shadow: 0 24px 60px rgba(27, 54, 93, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 231, 245, 0.8);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.nav-list a {
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-alt);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 4px;
}

.hero {
  padding: 78px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
}

.eyebrow,
.section-label {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-text,
.section-intro {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 630px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 36px rgba(40, 100, 255, 0.27);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats li {
  min-width: 112px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% 0 8%;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(40, 100, 255, 0.12), rgba(34, 199, 169, 0.18));
  transform: rotate(-5deg);
}

.hero-visual img {
  position: relative;
  filter: drop-shadow(0 24px 34px rgba(30, 58, 101, 0.14));
}

.section {
  padding: 84px 0;
}

.muted {
  background: var(--surface-alt);
}

.two-columns {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 38px;
}

.feature-grid,
.course-grid,
.review-grid {
  display: grid;
  gap: 22px;
}

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

.feature-card,
.course-card,
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(22, 51, 88, 0.08);
}

.feature-card {
  padding: 28px;
}

.feature-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.feature-card p,
.course-card p,
.review-card p,
.cta-card p {
  color: var(--muted);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin-bottom: 38px;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.course-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.course-card.featured {
  border-color: rgba(40, 100, 255, 0.35);
  box-shadow: var(--shadow);
}

.course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.badge.soft {
  background: rgba(40, 100, 255, 0.11);
  color: var(--primary);
}

.price {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.course-card ul {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 26px;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  color: var(--primary);
  font-weight: 900;
}

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

.review-card {
  padding: 30px;
}

.review-card > p {
  font-size: 1.1rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.person span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 900;
}

.person strong,
.person small {
  display: block;
}

.person small {
  color: var(--muted);
}

.cta {
  padding: 84px 0;
}

.cta-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  padding: clamp(28px, 6vw, 56px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 199, 169, 0.55), transparent 34%),
    linear-gradient(135deg, #132238 0%, #183a91 100%);
  box-shadow: var(--shadow);
}

.cta-card .section-label,
.cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-card h2 {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form input:focus {
  border-color: #fff;
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.footer-logo {
  color: var(--text);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 8px 4px;
  }

  .hero-grid,
  .two-columns,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .feature-grid,
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero,
  .section,
  .cta {
    padding: 56px 0;
  }

  .hero-actions,
  .stats,
  .footer-content {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .course-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }

  .footer-content {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}
