/* ==========================================================================
   SOALAN SEJARAH SPM - FUN, HAPPY & CERIA DESIGN SYSTEM (2026 EDITION)
   Designed specifically for Form 5 & Form 4 High School Students in Malaysia
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Vibrant & Energetic */
  --primary: #6C5CE7;
  --primary-dark: #5849BE;
  --primary-light: #A29BFE;
  --primary-gradient: linear-gradient(135deg, #6C5CE7 0%, #8E7CFF 50%, #FF7675 100%);
  --secondary-gradient: linear-gradient(135deg, #FF7675 0%, #FD79A8 100%);
  --accent-yellow: #FDCB6E;
  --accent-yellow-light: #FFF4D2;
  --accent-green: #00B894;
  --accent-green-light: #E6FBF5;
  --accent-cyan: #0984E3;
  --accent-cyan-light: #EBF5FF;
  --accent-pink: #FD79A8;

  /* Neutrals */
  --bg-main: #F8F9FE;
  --bg-alt: #F0F4FF;
  --bg-soft: #FFF9F3;
  --surface-card: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.92);
  --text-main: #2D3436;
  --text-muted: #636E72;
  --border-light: rgba(108, 92, 231, 0.12);

  /* Shadows & Glows */
  --shadow-sm: 0 4px 12px rgba(108, 92, 231, 0.06);
  --shadow-md: 0 10px 25px rgba(108, 92, 231, 0.1);
  --shadow-lg: 0 20px 40px rgba(108, 92, 231, 0.15);
  --shadow-fun: 0 12px 30px rgba(253, 121, 168, 0.25);
  --glow-primary: 0 0 25px rgba(108, 92, 231, 0.35);

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Animated Blobs */
body::before {
  content: '';
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.25) 0%, rgba(253, 121, 168, 0.15) 50%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: blob-float 18s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(253, 203, 110, 0.2) 0%, rgba(0, 184, 148, 0.1) 50%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: blob-float 22s ease-in-out infinite alternate-reverse;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-20px, -30px) scale(0.95); }
}

/* Containers */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

/* Topbar Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--text-main);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(6deg) scale(1.1);
}

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

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.nav a:hover {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Badges & Chips */
.home-badge, .eyebrow, .section-kicker, .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent-yellow-light);
  color: #D68910;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(253, 203, 110, 0.4);
  margin-bottom: 16px;
}

.home-badge.warm, .eyebrow {
  background: rgba(253, 121, 168, 0.12);
  color: #E84393;
  border-color: rgba(253, 121, 168, 0.3);
}

.fun-chip-row, .proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.fun-chip-row span, .proof-strip .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface-card);
  border: 2px solid var(--bg-alt);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.fun-chip-row span:hover, .proof-strip .pill:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Section */
.home-hero, .hero {
  padding: 60px 0 40px;
  position: relative;
}

.home-hero-inner, .hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero.right-copy .hero-content {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero.center-copy .hero-copy {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-hero-copy, .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero.center-copy .hero-copy {
  align-items: center;
}

.home-lead, .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.7;
}

/* Action Buttons */
.home-actions, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.button, button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.button.checkout-red, .button:not(.whatsapp):not(.secondary), button[type="submit"] {
  background: linear-gradient(135deg, #FF7675 0%, #E84393 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px rgba(255, 118, 117, 0.35);
}

.button.checkout-red:hover, .button:not(.whatsapp):not(.secondary):hover, button[type="submit"]:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 118, 117, 0.45);
}

.button.whatsapp {
  background: linear-gradient(135deg, #00B894 0%, #009473 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3);
}

.button.whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 184, 148, 0.4);
}

.button.secondary {
  background: var(--surface-card);
  color: var(--primary) !important;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Proof Bar */
.home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(108, 92, 231, 0.2);
}

.home-proof span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-proof span::before {
  content: '⚡';
}

/* Hero Visual Frame & Floating Cards */
.home-visual, .hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-visual img, .hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface-card);
  transition: transform 0.4s ease;
}

.home-visual:hover img {
  transform: scale(1.02) rotate(0.5deg);
}

.fun-sticker {
  position: absolute;
  top: -15px;
  right: -10px;
  background: var(--accent-yellow);
  color: #2D3436;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transform: rotate(8deg);
  box-shadow: var(--shadow-md);
  border: 2px solid #FFFFFF;
  z-index: 10;
  animation: bounce-soft 3s ease-in-out infinite;
}

@keyframes bounce-soft {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-8px); }
}

.hero-floating-card {
  position: absolute;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.card-score {
  bottom: -20px;
  left: -20px;
  border-left: 6px solid var(--accent-green);
}

.card-topic {
  top: 40px;
  left: -25px;
  border-left: 6px solid var(--primary);
  animation-delay: -2s;
}

.hero-floating-card strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
}

.hero-floating-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Stats Band */
.home-stats, .trust-band {
  padding: 30px 0;
  margin: 40px 0;
}

.home-stats-grid, .trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface-card);
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.home-stats-grid div, .trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.home-stats-grid div:not(:last-child)::after, .trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.home-stats-grid strong, .trust-item strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-stats-grid span, .trust-item span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Sections */
.home-section, .section {
  padding: 60px 0;
}

.home-section.home-soft, .section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin: 30px 0;
}

.home-section-head, .section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.center, .home-section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Problem Section */
.home-split, .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-problem-list article {
  background: var(--surface-card);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent-pink);
  transition: transform 0.25s ease;
}

.home-problem-list article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.home-problem-list strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.home-problem-list span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Quiz Preview Simulator */
.home-product, .product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home-product-preview, .product-frame {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  overflow: hidden;
}

.preview-bar, .product-top {
  background: #EFEFF4;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #E2E2E8;
}

.preview-bar span, .product-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-bar span:nth-child(1), .product-dot:nth-child(1) { background: #FF5F56; }
.preview-bar span:nth-child(2), .product-dot:nth-child(2) { background: #FFBD2E; }
.preview-bar span:nth-child(3), .product-dot:nth-child(3) { background: #27C93F; }

.preview-body, .product-screen {
  padding: 28px;
}

.preview-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.preview-body h3 {
  margin-bottom: 20px;
  color: var(--text-main);
}

.preview-option {
  padding: 14px 18px;
  background: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-option:hover {
  border-color: var(--primary-light);
  background: #FFFFFF;
}

.preview-option.active, .preview-option.correct, .mini-option.correct {
  background: var(--accent-green-light) !important;
  border-color: var(--accent-green) !important;
  color: #00755E;
  font-weight: 800;
}

.preview-answer {
  margin-top: 18px;
  padding: 16px;
  background: var(--accent-yellow-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-yellow);
}

.preview-answer strong {
  display: block;
  color: #B7791F;
  font-size: 0.95rem;
}

.preview-answer span {
  font-size: 0.88rem;
  color: #744210;
}

.home-note, .quote-panel {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
}

.home-note strong, .quote-panel strong {
  font-family: var(--font-heading);
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Feature Grids */
.home-feature-grid, .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.home-feature-grid article, .card {
  background: var(--surface-card);
  padding: 30px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.home-feature-grid article:hover, .card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.home-feature-grid article span, .feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 12px;
  margin-bottom: 18px;
}

.home-feature-grid article h3, .card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Image Grid */
.home-image-grid, .visual-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.home-image-grid article, .visual-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.home-image-grid article:hover, .visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-image-grid img, .visual-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.home-image-grid div, .visual-caption {
  padding: 20px 24px;
}

.home-image-grid strong, .visual-caption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Price Section & Card */
.home-price-card, .price-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary);
  text-align: center;
  position: relative;
}

.home-price-card::before, .price-card.featured::before {
  content: 'POPULAR CHOICE';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.home-price, .price {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  margin: 10px 0;
  line-height: 1;
}

.home-price-card ul, .price-card ul {
  list-style: none;
  text-align: left;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-price-card li, .price-card li {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-price-card li::before, .price-card li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.home-price-card li.price-gift, .price-card li.price-gift {
  background: var(--accent-yellow-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #B7791F;
  font-weight: 800;
}

.home-price-card li.price-gift::before, .price-card li.price-gift::before {
  content: '🎁';
  background: transparent;
}

/* Order Section */
.order-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.order-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

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

.field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.field input, .field select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--bg-alt);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-main);
  transition: all 0.25s ease;
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.order-whatsapp {
  margin-top: 16px;
  width: 100%;
}

.fine {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.faq details {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 24px 20px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* V2 & V3 Specific Mock Panels & Step Track */
.mock-panel {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.mock-head {
  background: var(--bg-alt);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
}

.mock-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-row {
  padding: 14px 18px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--text-muted);
}

.mock-row.good {
  background: var(--accent-green-light);
  border-left-color: var(--accent-green);
}

.mock-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-main);
}

.mock-row span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.step-card {
  background: var(--surface-card);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.step-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: #1E272C;
  color: #B2BEC3;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #FFFFFF;
  font-weight: 600;
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .home-hero-inner, .hero-content, .home-split, .split, .home-product, .product-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-stats-grid, .trust-grid, .home-feature-grid, .grid-3, .step-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    gap: 12px;
  }
  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .home-stats-grid, .trust-grid, .home-feature-grid, .grid-3, .step-track, .home-image-grid, .visual-pair {
    grid-template-columns: 1fr;
  }
  .home-stats-grid div:not(:last-child)::after, .trust-item:not(:last-child)::after {
    display: none;
  }
  .home-actions, .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .button, button[type="submit"] {
    width: 100%;
  }
  .order-card, .home-price-card, .price-card {
    padding: 24px;
  }
}

/* Demo video placeholder on the main landing page */
.demo-video-wrap {
  max-width: 880px;
  margin: 36px auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: #0f172a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.video-placeholder-box { position: relative; width: 100%; padding-bottom: 56.25%; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.video-placeholder-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: #fff; text-align: center; background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%); }
.play-button-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: #dc2626; box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4); }
.play-button-icon svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.video-placeholder-title { margin-bottom: 6px; font-size: 1.25rem; font-weight: 700; }
.video-placeholder-sub { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.demo-video-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 24px; }
.demo-video-highlight-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.demo-video-highlight-item svg { width: 18px; height: 18px; fill: #10b981; }
@media (max-width: 640px) { .demo-video-highlights { gap: 12px; align-items: flex-start; flex-direction: column; } .video-placeholder-title { font-size: 1rem; } .video-placeholder-sub { font-size: 0.8rem; } }

/* Two learning modes */
.study-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:36px}.study-mode-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:32px;box-shadow:0 10px 30px rgba(108,92,231,.08)}.study-mode-header{margin-bottom:24px}.study-mode-title{font-size:1.35rem;font-weight:800;color:#1e293b;margin-bottom:4px}.study-mode-sub{font-size:.9rem;color:#64748b}.mode-options-list,.study-mode-explanation{display:flex;flex-direction:column;gap:16px}.mode-option-item{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border:2px solid #e2e8f0;border-radius:16px;background:#fff}.mode-option-item.active{border-color:#7c3aed;background:#f5f3ff;box-shadow:0 8px 20px rgba(124,58,237,.12)}.mode-radio-circle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;height:22px;margin-top:2px;border:2px solid #cbd5e1;border-radius:50%}.active .mode-radio-circle{border-color:#7c3aed}.mode-radio-inner{display:none;width:10px;height:10px;border-radius:50%;background:#7c3aed}.active .mode-radio-inner{display:block}.mode-item-content strong{display:block;margin-bottom:4px;font-size:1.05rem;color:#1e293b}.mode-item-content p,.exp-box p{margin:0;font-size:.88rem;color:#475569;line-height:1.55}.mode-badge-rec{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:6px;background:#ede9fe;color:#6d28d9;font-size:.75rem}.exp-box{padding:22px 26px;border-left:4px solid #7c3aed;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.04)}.exp-box.rec{border-left-color:#10b981;background:#f0fdf4}.exp-box h4{margin:0 0 8px;font-size:1.05rem;color:#0f172a}@media(max-width:992px){.study-mode-grid{grid-template-columns:1fr;gap:30px}}@media(max-width:640px){.study-mode-card{padding:24px 18px}}

main{display:flex;flex-direction:column}main>section:nth-of-type(1){order:1}main>section:nth-of-type(2){order:2}main>section:nth-of-type(3){order:3}main>section:nth-of-type(4){order:4}main>section:nth-of-type(5){order:5}main>section:nth-of-type(10){order:6}main>section:nth-of-type(6){order:7}main>section:nth-of-type(7){order:8}main>section:nth-of-type(8){order:9}main>section:nth-of-type(9){order:10}
