/* ============================================================
   Global Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:        #FFC800;
  --primary-dark:   #E5A800;
  --primary-accent: #D49500;
  --primary-bg:     #FFF8D6;
  --white:          #ffffff;
  --text-dark:      #1a1a1a;
  --text-muted:     #4a4a4a;
  --border:         #e5e5e5;
  --radius:         16px;
  --font:           'Nunito', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: var(--white);
  /* border removed */
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.nav-logo-name {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary-accent); }

.nav-cta {
  background: var(--primary);
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ============================================================
   Hero Section  — Duolingo-style two-column layout
   Graphic LEFT  |  Headline + stacked buttons RIGHT
   ============================================================ */
.hero {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 80px 100px;
  min-height: 520px;
}

/* Left column: hero media */
.hero-media {
  flex: 1 1 0;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video,
.hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: contain;
}

.hero-graphic-placeholder {
  flex: 1 1 0;
  max-width: 480px;
  min-height: 400px;
  background: var(--primary-bg);
  border: 3px dashed var(--primary);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-accent);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-transform: uppercase;
  gap: 10px;
}

.hero-graphic-placeholder .ph-icon {
  font-size: 48px;
  opacity: 0.4;
}

/* Right column: text + buttons */
.hero-content {
  flex: 0 0 auto;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.hero-headline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.2px;
  text-align: center;
}

/* Buttons: stacked vertically, full width */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.btn-primary {
  width: 100%;
  background: var(--primary);
  color: #1a1a1a;
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 0 var(--primary-dark);
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-dark);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: none;
}

.btn-secondary {
  width: 100%;
  background: var(--white);
  color: #1a1a1a;
  border: 2px solid #d0d0d0;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 0 #c0c0c0;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c0c0c0;
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* ============================================================
   Features Section — Alternating Layout
   ============================================================ */
.features { background: var(--white); }

.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 90px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row.reverse { flex-direction: row-reverse; }

/* border between feature rows removed */

.feature-text {
  flex: 1;
  max-width: 440px;
}

.feature-name {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--primary-accent);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 400px;
}

.feature-graphic {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
}

.feature-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  object-fit: contain;
}

.graphic-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  background: var(--primary-bg);
  border: 3px dashed var(--primary);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-accent);
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  gap: 8px;
  line-height: 1.4;
}

.graphic-placeholder .ph-icon {
  font-size: 36px;
  opacity: 0.5;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--primary);
  color: #1a1a1a;
  padding: 60px 60px 32px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.footer-logo-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.8);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.65);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  transition: opacity 0.2s;
}

.footer-col ul li a:hover { opacity: 0.7; }

.footer-col p {
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.9);
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #1a1a1a;
  transition: background 0.2s;
  letter-spacing: 0;
}

.social-btn:hover { background: rgba(0, 0, 0, 0.16); }

.footer-bottom {
  border-top: 2px solid rgba(0, 0, 0, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.75);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom-links li a {
  font-size: 13px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.75);
  transition: color 0.2s;
}

.footer-bottom-links li a:hover { color: #1a1a1a; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }

  .hero {
    flex-direction: column;
    padding: 48px 24px 60px;
    gap: 36px;
  }
  .hero-media,
  .hero-graphic-placeholder {
    width: 100%;
    min-height: 260px;
    max-width: 100%;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    padding: 60px 24px;
    gap: 40px;
  }

  .feature-text,
  .feature-graphic { max-width: 100%; }

  .graphic-placeholder { max-width: 100%; }

  .footer { padding: 48px 24px 24px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

