/* ========================================
   Design Tokens & Reset
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

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

:root {
  --yellow: #FFF131;
  --black: #101010;
  --dark: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-400: #9e9e9e;
  --gray-600: #666666;
  --gray-800: #2a2a2a;

  --font-family: 'IBM Plex Sans Arabic', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(255, 241, 49, 0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 241, 49, 0.08);
  padding: 0.8rem 3rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  position: relative;
  transition: var(--transition);
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 241, 49, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 49, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Gradient glow */
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  left: auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 241, 49, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 241, 49, 0.1);
  border: 1px solid rgba(255, 241, 49, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease 0.15s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--yellow);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--yellow);
  color: var(--black);
  padding: 1rem 2.5rem;
  border-radius: 60px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-family);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(255, 241, 49, 0.4);
  animation: fadeInUp 0.6s ease 0.45s forwards;
  opacity: 0;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 241, 49, 0.3);
}

.hero-cta:active {
  transform: translateY(0);
}

.hero-cta .arrow {
  transition: var(--transition);
  font-size: 1.2rem;
}

.hero-cta:hover .arrow {
  transform: translateX(-4px);
}

.hero-image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: brightness(0.95) contrast(1.05);
  /* Blend into black background from the bottom and edges */
  mask-image: linear-gradient(to top, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Glowing ring behind the image */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 49, 0.08) 0%, transparent 70%);
  z-index: 1;
}

/* ========================================
   Section Utility
   ======================================== */
.section {
  padding: 6rem 3rem;
  scroll-margin-top: 80px;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--yellow);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--dark);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 49, 0.2), transparent);
}

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

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-200);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(255, 241, 49, 0.2);
  background: rgba(255, 241, 49, 0.03);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-400);
  font-weight: 400;
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
  background: var(--black);
  position: relative;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 49, 0.2), transparent);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
}

.video-wrapper::before {
  content: '';
  display: block;
  padding-top: 56.25%;
  /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: var(--dark);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 49, 0.2), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-card:hover {
  border-color: rgba(255, 241, 49, 0.25);
  background: rgba(255, 241, 49, 0.03);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 241, 49, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--yellow);
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--yellow);
  color: var(--black);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-link:hover {
  gap: 0.7rem;
}

/* ========================================
   Footer (Mobile-First)
   ======================================== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-signature {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
  display: block;
  object-fit: contain;
}

.footer-text {
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

/* Tablet & Desktop Enhancements */
@media (min-width: 640px) {
  .footer {
    padding: 3rem 2rem;
  }

  .footer-signature {
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .footer-text {
    font-size: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .footer-signature {
    max-width: 380px;
  }
}


/* ========================================
   Scroll-Reveal Animation
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========================================
   Keyframes
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 8rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image-wrapper {
    width: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar.scrolled {
    padding: 0.6rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(16, 16, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left var(--transition);
    border-right: 1px solid rgba(255, 241, 49, 0.1);
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .hero-container {
    padding: 6.5rem 1.5rem 2rem;
  }

  .hero-image-wrapper {
    width: 260px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.9;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}

/* ========================================
   Speak 360 additions
   ======================================== */
.hero-cta {
  white-space: nowrap;
}

.hero-secondary {
  display: block;
  width: fit-content;
  margin-top: 1.1rem;
  color: var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px dashed rgba(255, 241, 49, 0.4);
  padding-bottom: 2px;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease 0.55s forwards;
  opacity: 0;
}

.hero-secondary:hover {
  color: var(--yellow);
}

/* Horizontal 16:9 explainer video */
.explainer-video {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.6s ease 0.65s forwards;
  opacity: 0;
}

.explainer-video video,
.explainer-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-200);
  font-weight: 500;
  border: 2px dashed rgba(255, 241, 49, 0.25);
  border-radius: inherit;
}

.video-placeholder small {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 241, 49, 0.12);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.small-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  border: 1px solid rgba(255, 241, 49, 0.35);
  color: var(--yellow);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.small-btn:hover {
  background: rgba(255, 241, 49, 0.08);
}

/* How it works */
.how-section,
.perks-section {
  background: var(--dark);
  position: relative;
}

.price-section {
  background: var(--black);
  position: relative;
}

.how-section::before,
.price-section::before,
.perks-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 49, 0.2), transparent);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card,
.perk-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.step-card:hover,
.perk-card:hover {
  border-color: rgba(255, 241, 49, 0.2);
  background: rgba(255, 241, 49, 0.03);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card p,
.perk-card p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

.section-title .highlight {
  color: var(--yellow);
}

.price-cta {
  margin-top: 0.5rem;
  animation: none;
  opacity: 1;
}

.price-cta.reveal {
  opacity: 0;
}

.price-cta.reveal.visible {
  opacity: 1;
}

/* Guarantee & certificate */
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.perk-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-secondary,
  .explainer-video {
    margin-left: auto;
    margin-right: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps,
  .perks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 0.9rem 1.6rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .small-btn {
    font-size: 0.85rem;
    padding: 0.65rem 1.1rem;
  }
}

/* Keep the taller hero clear of the fixed navbar */
@media (min-width: 1025px) {
  .hero-container {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

.hero-trial {
  display: flex;
  width: fit-content;
  margin-top: 1.5rem;
  animation: fadeInUp 0.6s ease 0.75s forwards;
  opacity: 0;
}

@media (max-width: 1024px) {
  .hero-trial {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Curriculum (3 chapters) */
.curriculum-section {
  background: var(--black);
  position: relative;
}

.curriculum-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 49, 0.2), transparent);
}

.chapters {
  max-width: 820px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: start;
}

.chapter {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: var(--transition);
}

.chapter[open] {
  border-color: rgba(255, 241, 49, 0.2);
}

.chapter summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  padding-inline-end: 3.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.chapter summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 300;
}

.chapter[open] summary::after {
  content: '−';
}

.chapter-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yellow);
}

.chapter-sub {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.lessons {
  list-style: none;
  counter-reset: lesson;
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lessons li {
  counter-increment: lesson;
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.9rem;
}

.lessons li::before {
  content: counter(lesson);
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 241, 49, 0.1);
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lessons strong {
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

.lessons span {
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Step icons */
.step-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 241, 49, 0.1);
  border: 1px solid rgba(255, 241, 49, 0.25);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: var(--yellow);
  color: var(--black);
}

.step-badge {
  position: absolute;
  top: -8px;
  inset-inline-start: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.step-card p a {
  color: var(--yellow);
  border-bottom: 1px dashed rgba(255, 241, 49, 0.5);
}

/* Course features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 2.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255, 241, 49, 0.2);
  background: rgba(255, 241, 49, 0.03);
}

.feature-card:hover .step-icon {
  background: var(--yellow);
  color: var(--black);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

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

/* Soft yellow glow at the top of the hero: fades out on every side (no hard edge) */
.hero::after {
  top: -25vmax;
  right: -25vmax;
  width: 70vmax;
  height: 70vmax;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(closest-side, rgba(255, 241, 49, 0.08) 0%, rgba(255, 241, 49, 0.03) 50%, transparent 100%);
}

/* Phones: compact steps, icon beside the text, so the section stays short */
@media (max-width: 640px) {
  .how-section .section-title {
    margin-bottom: 0.5rem;
  }

  .steps {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .step-card {
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  .step-card .step-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
  }

  .step-card .step-icon svg {
    width: 22px;
    height: 22px;
  }

  .step-card .step-badge {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    top: -6px;
    inset-inline-start: -6px;
  }

  .step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.hl-months {
  color: var(--yellow);
  font-weight: inherit;
  white-space: nowrap;
}

/* Desktop only: show the whole photo on first screen, without scrolling */
@media (min-width: 1025px) {
  .hero-container {
    align-items: flex-start;
  }

  .hero-image-wrapper {
    position: sticky;
    top: 90px;
    width: auto;
    max-width: 480px;
  }

  .hero-image-wrapper img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
  }
}

/* Desktop only: photo fills the space from the menu down to the bottom of the screen */
@media (min-width: 1025px) {
  .hero-image-wrapper {
    top: 0;
    max-width: 640px;
    margin-top: -40px;
  }

  .hero-image-wrapper img {
    max-width: none;
    max-height: none;
    height: min(calc((100vh - 72px) / 0.9), 960px);
    margin-top: calc(min(calc((100vh - 72px) / 0.9), 960px) * -0.1);
  }
}

.hl-yellow {
  color: var(--yellow);
}

/* FAQ (reuses the chapter accordion) */
.faq-q {
  color: var(--white);
  font-size: 1.05rem;
}

.faq-item[open] .faq-q {
  color: var(--yellow);
}

.faq-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

/* Extra course perks: compact row under the features */
.features-grid {
  margin-bottom: 1.5rem;
}

.perks-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.perk-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: start;
  background: rgba(255, 241, 49, 0.04);
  border: 1px solid rgba(255, 241, 49, 0.15);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.perk-mini-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 241, 49, 0.1);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-mini h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.perk-mini p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .perks-mini {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .perks-mini {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ========================================
   Steps as a flow chart with arrows
   ======================================== */
.steps {
  gap: 2.5rem;
}

.step-card {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem 0.25rem;
}

.step-card:hover {
  background: none;
  border: none;
}

.step-card .step-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border-width: 2px;
  box-shadow: 0 0 0 8px rgba(255, 241, 49, 0.04);
}

.step-card .step-icon svg {
  width: 34px;
  height: 34px;
}

.step-card .step-badge {
  top: -4px;
  inset-inline-start: -4px;
}

.step-card p {
  font-weight: 500;
}

/* Arrow from each step to the next (RTL: flows right to left) */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(0.5rem + 44px);
  inset-inline-start: calc(50% + 56px);
  width: calc(100% + 2.5rem - 112px);
  height: 2px;
  background: repeating-linear-gradient(to left, var(--yellow) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}

.step-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: calc(0.5rem + 44px - 6px);
  inset-inline-end: calc(-2.5rem / 2 - 50% + 56px - 8px);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid var(--yellow);
}

@media (max-width: 1024px) and (min-width: 641px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .step-card:not(:last-child)::after {
    width: calc(100% + 1.5rem - 112px);
  }
}

/* Phones: vertical flow, arrow pointing down between steps */
@media (max-width: 640px) {
  .steps {
    gap: 1.6rem;
  }

  .step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .step-card .step-icon {
    width: 46px;
    height: 46px;
    border-width: 1px;
    box-shadow: none;
  }

  .step-card .step-icon svg {
    width: 22px;
    height: 22px;
  }

  .step-card:not(:last-child)::after {
    top: auto;
    bottom: -1.45rem;
    inset-inline-start: calc(1rem + 22px);
    width: 2px;
    height: 1.3rem;
    background: repeating-linear-gradient(to bottom, var(--yellow) 0 4px, transparent 4px 7px);
  }

  .step-card:not(:last-child)::before {
    top: auto;
    bottom: -1.55rem;
    inset-inline-end: auto;
    inset-inline-start: calc(1rem + 22px - 5px);
    border-top: 7px solid var(--yellow);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 0;
    z-index: 1;
  }
}

/* Phones: arrows between steps centered */
@media (max-width: 640px) {
  .step-card:not(:last-child)::after {
    inset-inline-start: calc(50% - 1px);
  }

  .step-card:not(:last-child)::before {
    inset-inline-start: calc(50% - 6px);
  }
}

/* Phones: slightly bigger hero photo */
@media (max-width: 768px) {
  .hero-image-wrapper {
    width: 300px;
  }
}

/* Phones: "how to register" as one compact row of 4 with arrows */
@media (max-width: 640px) {
  .how-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .how-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-top: 1.25rem;
  }

  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border: none;
  }

  .step-card .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  .step-card p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .step-card:not(:last-child)::after {
    top: 23px;
    bottom: auto;
    inset-inline-start: calc(50% + 28px);
    width: calc(100% + 0.9rem - 56px);
    height: 2px;
    background: repeating-linear-gradient(to left, var(--yellow) 0 4px, transparent 4px 7px);
  }

  .step-card:not(:last-child)::before {
    top: 19px;
    bottom: auto;
    inset-inline-start: auto;
    inset-inline-end: calc(-0.9rem / 2 - 50% + 28px - 8px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 7px solid var(--yellow);
    border-left: 0;
  }
}


/* ========================================
   Pre-order page
   ======================================== */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.cta-center {
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 60px;
  border: 1.5px solid rgba(255, 241, 49, 0.55);
  color: var(--yellow);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 241, 49, 0.08);
}

.hero .btn-outline {
  animation: fadeInUp 0.6s ease 0.55s forwards;
  opacity: 0;
}

.price-cta,
.price-card .hero-cta,
.faq-cta .hero-cta {
  animation: none;
  opacity: 1;
}

/* Price card */
.price-card {
  max-width: 620px;
  margin: 1.5rem auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 241, 49, 0.25);
  border-radius: 24px;
  padding: 2rem 1.5rem;
}

.price-old {
  color: var(--gray-400);
  font-size: 1.15rem;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.price-new {
  color: var(--yellow);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0.25rem 0 0.75rem;
}

.price-note {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

/* Values still to be filled in by Mustafa */
.placeholder {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.4;
  margin: 2px 0;
  outline: 2px dashed currentColor;
  outline-offset: 2px;
  border-radius: 6px;
  padding: 0 0.3em;
}

.countdown {
  margin: 1.5rem 0;
}

.cd-label {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.cd-boxes {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.cd-box {
  min-width: 78px;
  background: rgba(255, 241, 49, 0.08);
  border: 1px solid rgba(255, 241, 49, 0.25);
  border-radius: 14px;
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-box span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.cd-box small {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.cd-open {
  color: var(--yellow);
  font-size: 1.4rem;
  font-weight: 700;
}

.price-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  text-align: start;
}

.price-lines li {
  position: relative;
  padding-inline-start: 1.6rem;
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.7;
}

.price-lines li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--yellow);
  font-weight: 700;
}

/* 3-step flow */
.steps-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) and (min-width: 641px) {
  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-3 .step-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

.faq-link {
  color: var(--yellow);
  border-bottom: 1px dashed rgba(255, 241, 49, 0.5);
}

.faq-cta {
  margin-top: 2.5rem;
}

/* Sticky reserve button, phones only */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(16, 16, 16, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 241, 49, 0.15);
  }

  .sticky-cta .hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    animation: none;
    opacity: 1;
    padding: 0.85rem 1rem;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .hero .cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn-outline {
    font-size: 0.9rem;
    padding: 0.8rem 1.4rem;
  }

  .cd-box {
    min-width: 68px;
  }

  .price-card {
    padding: 1.6rem 1.1rem;
  }
}

.sticky-cta {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   Reviews (real Instagram comments)
   ======================================== */
.reviews-section {
  background: var(--dark);
  position: relative;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: right;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 3px solid var(--yellow);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.review-card blockquote {
  color: var(--gray-100);
  font-size: 1.05rem;
  line-height: 1.9;
}

.review-card figcaption {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.95rem;
}

.reviews-more {
  display: none;
}

.reviews-note {
  margin-top: 1.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
}

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

@media (max-width: 600px) {
  .reviews { grid-template-columns: 1fr; }
  .review-card blockquote { font-size: 1rem; }
  .reviews:not(.is-open) .review-card:nth-child(n+3) { display: none; }
  .reviews-more {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.7rem 1.75rem;
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
  }
}

/* ========================================
   Compact contact row
   ======================================== */
.contact-lead {
  color: var(--gray-200);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.contact-pill-main {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  font-weight: 700;
}

.contact-pill-main:hover {
  color: var(--black);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 600px) {
  .contact-row { flex-direction: column; align-items: stretch; }
  .contact-pill { justify-content: center; }
}

/* ========================================
   Level test strip (links to /test)
   ======================================== */
.test-strip {
  background: var(--black);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.test-strip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 241, 49, 0.06);
  border: 1px solid rgba(255, 241, 49, 0.25);
  border-radius: 20px;
  padding: 1.75rem 2rem;
}

.test-strip-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.test-strip-box p {
  color: var(--gray-200);
}

@media (max-width: 640px) {
  .test-strip-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }
}
