/* ─────────────────────────────────────────── TOKENS */
:root {
  --navy:        #0e1e4a;
  --navy-mid:    #152660;
  --navy-light:  #1c3478;
  --cyan:        #00c2e0;
  --cyan-dim:    rgba(0, 194, 224, 0.15);
  --cyan-glow:   rgba(0, 194, 224, 0.25);
  --white:       #ffffff;
  --ink:         #0f172a;
  --muted:       #64748b;
  --line:        #e2e8f0;
  --paper:       #f1f5f9;
  --surface:     #ffffff;
  --glass-bg:    rgba(255, 255, 255, 0.08);
  --glass-bg-md: rgba(255, 255, 255, 0.12);
  --glass-border:rgba(255, 255, 255, 0.15);
  --shadow-sm:   0 2px 12px rgba(14, 30, 74, 0.10);
  --shadow-md:   0 8px 32px rgba(14, 30, 74, 0.16);
  --shadow-lg:   0 20px 60px rgba(14, 30, 74, 0.22);
  --radius:      12px;
  --radius-sm:   8px;
}

/* ─────────────────────────────────────────── BASE */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.1;
}

p { margin-top: 0; }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────── SCROLL REVEAL */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity  0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.07s; }
  .rv-d2 { transition-delay: 0.15s; }
  .rv-d3 { transition-delay: 0.23s; }
  .rv-d4 { transition-delay: 0.31s; }
}

/* ─────────────────────────────────────────── BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

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

.btn-cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
  box-shadow: 0 4px 18px var(--cyan-glow);
}
.btn-cyan:hover {
  background: #00afd0;
  border-color: #00afd0;
  box-shadow: 0 6px 24px var(--cyan-glow);
}

.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--glass-bg-md);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-outline-cyan {
  background: transparent;
  border-color: var(--cyan);
  color: var(--navy-mid);
}
.btn-outline-cyan:hover {
  background: var(--cyan-dim);
  box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.84rem; }

/* ─────────────────────────────────────────── HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 28px;
}

.brand { display: inline-flex; align-items: center; }

.brand-logo {
  display: block;
  width: auto;
  max-width: 190px;
  height: 40px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-mid);
}

/* ─────────────────────────────────────────── HERO */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0, 194, 224, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(21, 38, 96, 0.8) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a7a 100%);
  overflow: hidden;
  padding-bottom: 0;
}

/* subtle dot-grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* diagonal wave bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 130px) 28px clamp(100px, 14vw, 150px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 5px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* hero entrance */
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}

.hero-h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  letter-spacing: -0.025em;
  font-style: normal;
  animation: fadeUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.18s both;
}

.h1-accent {
  font-style: normal;
  color: var(--cyan);
}

.hero-copy {
  max-width: 52ch;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.65);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.32s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.44s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────── STEPS */
.steps-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 52px 28px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.steps-list li + li {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 2px;
}

.steps-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.steps-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ─────────────────────────────────────────── COURSES */
.courses-section {
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(0, 194, 224, 0.12) 0%, transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: clamp(60px, 9vw, 100px) 28px;
}

.courses-inner {
  max-width: 960px;
  margin: 0 auto;
}

.courses-header {
  margin-bottom: 44px;
}

.label-cyan {
  display: block;
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.courses-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0;
}

/* course rows: horizontal list with glass hover */
.courses-list {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
}

.course-row {
  display: grid;
  grid-template-columns: 64px 96px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 20px;
  margin: 0 -20px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s, backdrop-filter 0.2s;
  cursor: default;
}

.course-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.course-row:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: transparent;
}

.course-num {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.3;
  transition: opacity 0.2s;
  user-select: none;
}

.course-row:hover .course-num { opacity: 0.75; }

.course-thumb-wrap {
  width: 96px;
  height: 62px;
}

.course-thumb {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  display: block;
}

.course-thumb--placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.course-body h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
}

.course-body p {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.55;
}

.courses-cta { text-align: left; }

/* ─────────────────────────────────────────── FEATURES */
.features-section {
  background: var(--paper);
  padding: clamp(56px, 8vw, 88px) 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.label-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* big left card: glass over navy */
.feature-main {
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,194,224,0.14) 0%, transparent 65%),
    var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.feature-main .label-tag {
  background: rgba(0,194,224,0.2);
  color: var(--cyan);
}

.feature-main h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 14px;
}

.feature-main p {
  color: rgba(255,255,255,0.62);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
}

/* two stacked right cards: glass */
.features-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-card .label-tag {
  background: var(--cyan-dim);
  color: var(--navy-mid);
}

.feature-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ─────────────────────────────────────────── FINAL CTA */
.final-cta {
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,194,224,0.15) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: clamp(64px, 10vw, 110px) 28px;
  text-align: center;
}

.final-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.final-cta p {
  color: rgba(255,255,255,0.62);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────── FOOTER */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px max(28px, calc((100vw - 1200px) / 2 + 28px));
  background: var(--navy);
  color: rgba(255,255,255,0.42);
  font-size: 0.85rem;
}

.site-footer p { margin: 0; }

/* ─────────────────────────────────────────── RESPONSIVE */
@media (max-width: 860px) {
  .steps-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps-list li + li {
    padding-left: 0;
    border-left: none;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-inner { padding: 10px 18px; min-height: 58px; }
  .brand-logo   { max-width: 155px; height: 34px; }
  .nav-actions a:not(.btn) { display: none; }

  .hero-inner   { padding-left: 20px; padding-right: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .steps-strip  { padding: 40px 20px; }
  .courses-section,
  .features-section,
  .final-cta    { padding-left: 20px; padding-right: 20px; }

  .course-row   { grid-template-columns: 48px 76px 1fr; gap: 12px; margin: 0; padding: 20px 0; }
  .course-thumb-wrap { width: 76px; height: 50px; }
  .final-cta .btn { width: 100%; }
}
