:root {
  --navy: #0b1e3d;
  --navy-light: #12294f;
  --accent: #2dd4bf;
  --accent-dark: #14b8a6;
  --ink: #101828;
  --muted: #5b6577;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e3e8f0;
  --radius: 12px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

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

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 36px;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }

section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow-dark {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-head h2 { font-size: 2.1rem; margin: 10px 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover { box-shadow: 0 12px 24px rgba(11, 30, 61, 0.08); transform: translateY(-2px); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.tag {
  display: inline-block;
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.course-card:hover { box-shadow: 0 12px 24px rgba(11, 30, 61, 0.08); transform: translateY(-2px); }

.course-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2.2rem;
}

.course-card .body { padding: 24px; }
.course-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.course-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.meta-row .level { background: var(--bg); padding: 3px 10px; border-radius: 6px; font-weight: 600; }

.section-alt { background: var(--white); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats .num { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.stats .label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner h2 { font-size: 1.9rem; margin: 0 0 12px; }
.cta-banner p { color: #cbd5e1; margin: 0 0 28px; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent-dark); font-weight: 600; }

.lesson-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 56px 0; }
.lesson-hero h1 { font-size: 2.2rem; margin: 10px 0 16px; letter-spacing: -0.01em; }
.lesson-hero .sub { color: var(--muted); font-size: 1.05rem; max-width: 700px; }

.lesson-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.lesson-meta strong { color: var(--ink); }

.lesson-body { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.lesson-body h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.lesson-body h2:first-child { margin-top: 0; }
.lesson-body p { color: #334155; margin: 0 0 16px; }
.lesson-body ul, .lesson-body ol { color: #334155; padding-left: 22px; margin: 0 0 16px; }
.lesson-body li { margin-bottom: 8px; }

.callout {
  background: rgba(45, 212, 191, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
  color: #0f2440;
  font-size: 0.97rem;
}

.checklist { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 24px 0; }
.checklist li { list-style: none; position: relative; padding-left: 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.checklist ul { padding-left: 0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.contact-info .card { text-align: center; }

footer { background: var(--navy); color: #94a3b8; padding: 56px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #94a3b8; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .stats, .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .cta-banner { padding: 36px 24px; }
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 20px 24px;
  gap: 18px;
  align-items: flex-start;
}

/* Pricing */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 16px 0 4px;
}

.pricing-card .price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #334155;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

/* Feature list with icon */
.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.feature-row .icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.feature-row h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feature-row p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Logo strip */
.logo-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.7;
  font-weight: 700;
  color: var(--muted);
}

/* Product hero variant */
.product-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-hero h1 { font-size: 2.3rem; margin: 10px 0 16px; letter-spacing: -0.01em; }
.product-hero p.sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }

.product-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
}

@media (max-width: 860px) {
  .product-hero-grid { grid-template-columns: 1fr; }
}
