/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-accent: #4f46e5;
  --color-accent-light: #6366f1;
  --color-accent-pale: #eef2ff;
  --color-accent-glow: rgba(79, 70, 229, 0.15);
  --color-border: #e2e8f0;
  --color-dark: #0f172a;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 60px rgba(79, 70, 229, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 12px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px var(--color-accent-glow);
}

.logo__text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--color-accent-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__link--cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--color-accent-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

/* ── Hero ── */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--color-accent-pale) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    var(--color-bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  background: var(--color-accent-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.stat__value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero__visual {
  position: relative;
  height: 420px;
}

.hero__card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 15px;
  transition: box-shadow var(--transition);
}

.hero__card:hover {
  box-shadow: var(--shadow-lg);
}

.hero__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  border-radius: 12px;
  flex-shrink: 0;
}

.hero__card--1 {
  top: 30px;
  left: 10px;
  animation: float 5s ease-in-out infinite;
}

.hero__card--2 {
  top: 150px;
  right: -10px;
  animation: float 5s ease-in-out 1.5s infinite;
}

.hero__card--3 {
  bottom: 30px;
  left: 40px;
  animation: float 5s ease-in-out 3s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

/* ── Sections ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ── Courses ── */
.courses {
  padding: 108px 0;
  background: var(--color-surface);
  border-radius: 32px 32px 0 0;
  margin-top: -16px;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.course-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #7c3aed 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.course-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.course-card:hover::before {
  opacity: 1;
}

.course-card--featured {
  background: linear-gradient(160deg, var(--color-accent-pale) 0%, var(--color-surface) 100%);
  border-color: var(--color-accent);
}

.course-card--featured::before {
  opacity: 1;
}

.course-card__inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.course-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  background: var(--color-accent-pale);
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}

.course-card--featured .course-card__badge {
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  color: #fff;
}

.course-card__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.course-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-card__list {
  margin-bottom: 0;
}

.course-card__list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.course-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
}

/* ── Benefits ── */
.benefits {
  padding: 108px 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.benefit {
  padding: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  transition: box-shadow var(--transition);
}

.benefit:hover {
  box-shadow: var(--shadow);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  border-radius: 10px;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.benefit__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}

.benefit__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ── How It Works ── */
.how-it-works {
  padding: 108px 0;
  background: var(--color-surface);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

.step__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.step__arrow {
  font-size: 22px;
  color: var(--color-accent);
  padding-top: 56px;
  opacity: 0.5;
}

/* ── CTA ── */
.cta {
  padding: 108px 0;
}

.cta__inner {
  text-align: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e1b4b 50%, #312e81 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
}

.cta__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  position: relative;
}

.cta .btn--primary {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cta .btn--primary:hover {
  background: var(--color-accent-pale);
  color: var(--color-accent);
}

/* ── Footer ── */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 72px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 52px;
}

.footer .logo__text {
  color: #fff;
}

.footer__tagline {
  font-size: 14px;
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.65;
}

.footer__links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer__col--contact {
  max-width: 240px;
}

.footer__address {
  font-size: 14px;
  line-height: 1.65;
}

.footer__heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #a5b4fc;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Legal Pages ── */
.legal-page {
  padding: 64px 0 108px;
}

.legal-page__inner {
  max-width: 780px;
}

.legal-page__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-page__updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.legal-page__notice {
  background: var(--color-accent-pale);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 44px;
  color: var(--color-accent);
}

.legal-page__content section {
  margin-bottom: 40px;
}

.legal-page__content h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: var(--color-text);
}

.legal-page__content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page__content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-page__content li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-page__content a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}

.legal-page__content a:hover {
  color: var(--color-accent-light);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .courses__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link--cta {
    text-align: center;
  }

  .courses__grid {
    grid-template-columns: 1fr;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step__arrow {
    display: none;
  }

  .hero__stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    gap: 40px;
  }

  .cta__inner {
    padding: 52px 28px;
  }

  .courses {
    border-radius: 24px 24px 0 0;
  }
}
