/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2EFE9;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #0D9488;
  --accent-light: #CCFBF1;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --purple: #7C3AED;
  --surface: #FFFFFF;
  --border: #E5E0D8;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--fg); }

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 64px;
  background: var(--bg);
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-image-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.hero-img-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ===== PROOF ===== */
.proof {
  background: var(--fg);
  padding: 64px 24px;
}

.proof-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.proof-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
}

.proof-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: #FAFAF7;
  line-height: 1.4;
  font-style: normal;
  margin-bottom: 16px;
}

.proof-context {
  font-size: 13px;
  color: #6B6B6B;
}

/* ===== COURSES ===== */
.courses {
  padding: 80px 24px;
  background: var(--bg);
}

.course-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
  border-color: rgba(13, 148, 136, 0.3);
}

.course-card--featured {
  grid-column: span 1;
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, #FAFAF7, #F0FDFB);
}

.course-icon {
  margin-bottom: 16px;
}

.course-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.course-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.course-meta {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* ===== PILLARS ===== */
.pillars {
  padding: 80px 24px;
  background: var(--bg-alt);
}

.pillars-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pillars-body {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 36px;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(13, 148, 136, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--fg-muted);
}

.pillars-image {
  position: relative;
}

.pillars-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.pillars-img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.overlay-label {
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 8px;
}

/* ===== LANGUAGE ===== */
.language {
  padding: 64px 24px;
  background: var(--fg);
}

.language-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.lang-block {
  flex: 1;
  text-align: center;
}

.lang-flag {
  margin: 0 auto 16px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #FAFAF7;
  margin-bottom: 10px;
}

.lang-desc {
  font-size: 13px;
  color: #9A9A9A;
  line-height: 1.55;
}

.lang-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* ===== PRICING ===== */
.pricing {
  padding: 80px 24px;
  background: var(--bg);
}

.pricing-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}

.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #F0FDFB, var(--surface));
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 14px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%230D9488' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 96px 24px;
  background: var(--bg-alt);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.closing-vision {
  font-size: 15px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--fg);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo--footer { color: #FAFAF7; }

.footer-tagline {
  font-size: 13px;
  color: #6B6B6B;
  margin-top: 8px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B6B6B;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #9A9A9A;
  transition: color 0.2s;
}

.footer-col a:hover { color: #FAFAF7; }

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: #4A4A4A;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content,
  .pillars-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .language-inner {
    flex-direction: column;
    gap: 32px;
  }

  .lang-divider {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav { display: none; }

  .hero-stats { gap: 16px; }

  .hero-img, .pillars-img { height: 260px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 16px 48px; }
  .courses, .pillars, .pricing, .closing { padding: 56px 16px; }
  .language { padding: 48px 16px; }
  .footer-links { grid-template-columns: 1fr; }
  .price-amount { font-size: 40px; }
}