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

:root {
  --yellow: #F59E0B;
  --yellow-dark: #D97706;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --white: #FFFFFF;
  --gray: #64748B;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 80px;
}

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

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #E2E8F0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.logo strong { color: var(--yellow-dark); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--gray); transition: color var(--transition); }
.nav a:hover { color: var(--navy); }

.nav__cta {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__content h1 span { color: var(--yellow); }

.hero__content > p { color: #CBD5E1; margin-bottom: 1.5rem; max-width: 42ch; }

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--yellow);
}

.hero__stats span { font-size: 0.8rem; color: #94A3B8; }

.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn--full { width: 100%; text-align: center; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.btn--unlock {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
}

.btn--unlock:hover { background: var(--navy-light); }
.btn--unlock.unlocked { background: #22C55E; pointer-events: none; }

/* Testimonial / Video Player */
.testimonial { padding: 5rem 0; }

.testimonial h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.video-player {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
}

.video-player__poster { position: relative; cursor: pointer; }

.video-player__poster img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.video-player__play:hover { transform: translate(-50%, -50%) scale(1.08); }

.video-player__fake { background: var(--navy); color: var(--white); }

.video-player__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--navy-light);
  font-size: 0.8rem;
}

.video-player__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
  animation: pulse 1.5s infinite;
}

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

.video-player__screen {
  padding: 3rem 2rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.video-player__screen p {
  font-size: 1.25rem;
  font-style: italic;
  max-width: 50ch;
  margin: 0 auto;
}

.video-player__screen span { color: var(--yellow); font-weight: 600; }

/* Syllabus Accordion */
.syllabus { padding: 5rem 0; background: #F8FAFC; }

.syllabus__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.syllabus__header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.syllabus__header p { color: var(--gray); margin-bottom: 1.25rem; }

.accordion { max-width: 700px; margin: 0 auto; }

.accordion__item {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion__item.locked { opacity: 0.7; }

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.accordion__item.locked .accordion__trigger { cursor: not-allowed; }

.accordion__icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.accordion__item.unlocked .accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel { padding: 0 1.5rem 1.25rem; }

.accordion__panel ul { list-style: none; }

.accordion__panel li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  padding-left: 1.25rem;
  position: relative;
}

.accordion__panel li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 700;
}

/* Guarantee */
.guarantee { padding: 4rem 0; }

.guarantee__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
}

.guarantee__badge {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.guarantee__days {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.guarantee__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

.guarantee__text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.guarantee__text p { font-size: 0.9rem; color: var(--gray); }

/* Enroll */
.enroll {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.enroll h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.enroll__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 2rem;
}

.enroll__price span {
  font-size: 1rem;
  color: #64748B;
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 0.5rem;
}

.enroll__form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.enroll__form input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid #334155;
  border-radius: var(--radius);
  background: var(--navy-light);
  color: var(--white);
}

.enroll__form input::placeholder { color: #64748B; }

.form-success {
  color: #86EFAC;
  font-size: 0.9rem;
  padding: 0.5rem;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid #E2E8F0;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.floating-cta.visible { transform: translateY(0); }
.floating-cta.hidden-bar { transform: translateY(100%); }

.floating-cta p { font-size: 0.9rem; }
.floating-cta strong { color: var(--yellow-dark); }

.floating-cta__close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

/* Mobile */
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.25rem; }
  .nav { display: none; }
  .guarantee__inner { flex-direction: column; text-align: center; }
  .floating-cta { flex-direction: column; gap: 0.75rem; padding: 1rem; }
}
