/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg: #0b0c09;
  --bg-elev: #14150f;
  --bg-elev-2: #1b1c15;
  --line: rgba(244, 243, 238, 0.1);
  --line-strong: rgba(244, 243, 238, 0.18);
  --text: #f4f3ee;
  --text-muted: #a6a89b;
  --text-dim: #74766a;
  --accent: #c8ff3d;
  --accent-ink: #10130a;
  --radius-card: 16px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --nav-h: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Satoshi", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: "Clash Display", "Satoshi", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 52ch;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, opacity 0.2s ease;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 12, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  margin-bottom: 20px;
}

.hero .lede {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.15) brightness(0.75);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,9,0) 40%, rgba(11,12,9,0.75) 100%),
    linear-gradient(15deg, rgba(200,255,61,0.16), transparent 55%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 24px;
  }
  .hero-visual {
    aspect-ratio: 16/10;
    order: -1;
  }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-num {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 24ch;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Bento / services grid
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.tall {
  grid-row: span 2;
}

.bento-card.tint {
  background: linear-gradient(160deg, rgba(200,255,61,0.14), var(--bg-elev) 60%);
}

.bento-card.photo {
  justify-content: flex-end;
}

.bento-card.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.3) contrast(1.1) brightness(0.6);
}

.bento-card.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,9,0.1), rgba(11,12,9,0.92));
  z-index: 1;
}

.bento-card > * {
  position: relative;
  z-index: 2;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200,255,61,0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.bento-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .bento-card.tall {
    grid-row: span 1;
  }
}

/* ==========================================================================
   Course teaser
   ========================================================================== */
.teaser {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-elev-2));
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.teaser h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.teaser p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 48ch;
  margin-bottom: 24px;
}

.teaser-price {
  text-align: right;
}

.teaser-price .amount {
  font-family: "Clash Display", sans-serif;
  font-size: 40px;
  color: var(--accent);
}

.teaser-price .note {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .teaser {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .teaser-price {
    text-align: left;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial blockquote {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.testimonial-author .who {
  font-size: 14px;
}

.testimonial-author .who span {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact / apply form
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-list .bento-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field .hint {
  color: var(--text-dim);
  font-size: 13px;
}

.field input,
.field textarea {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,255,61,0.18);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  color: var(--text-dim);
  font-size: 13px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

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

.footer-links {
  display: flex;
  gap: 28px;
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Course page specific
   ========================================================================== */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--bg-elev);
}

.module-card .index {
  font-family: "Clash Display", sans-serif;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 14px;
}

.module-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.module-card p {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .modules {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .modules {
    grid-template-columns: 1fr;
  }
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fit-card {
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--line);
}

.fit-card.yes {
  background: linear-gradient(160deg, rgba(200,255,61,0.1), var(--bg-elev) 65%);
}

.fit-card.no {
  background: var(--bg-elev);
}

.fit-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fit-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 15px;
}

.fit-card.yes li i {
  color: var(--accent);
}

.fit-card.no li i {
  color: var(--text-dim);
}

@media (max-width: 700px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 44px;
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
  text-align: center;
}

.pricing-card .amount {
  font-family: "Clash Display", sans-serif;
  font-size: 56px;
  color: var(--accent);
  margin: 12px 0 4px;
}

.pricing-card .amount-note {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-list li i {
  color: var(--accent);
  margin-top: 2px;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  transition: transform 0.2s ease;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 14px;
  max-width: 65ch;
}

.final-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 14px;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
}
