/* =============================================
   閃電論文 — Styles (based on 101go.net template, red-yellow theme)
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #fd373b;
  --primary-light: #ff5a5e;
  --primary-dark: #d42f33;
  --navy: #1a0a0a;
  --blue-bg: #FFF8F5;
  --blue-bg-deeper: #FFEDE6;
  --orange: #FF9F04;
  --pink: #FFBAC4;
  --pink-bg: #FFE0E6;
  --cyan: #FFD666;
  --cyan-bg: #FFF3B0;
  --yellow: #FFDA00;
  --yellow-bg: #FFF3B0;
  --green: #4ECB71;
  --coral: #FF6B6B;
  --dark: #1a0a0a;
  --text: #222;
  --text-secondary: #4c4c4c;
  --text-muted: #777;
  --gray-light: #efefef;
  --white: #fff;
  --section-alt: #FFF8F5;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-nav: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 24px rgba(253,55,59,0.08);
  --font-sans: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 1; }
ul { list-style: none; }

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

/* =============================================
   Skip link
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* =============================================
   Navbar — Floating pill style (matches template)
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 25px 40px 0;
  background: transparent;
  transition: background 0.3s, transform 0.3s;
}

.navbar.scrolled {
  background: rgba(255,248,245,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
}

.logo-img { height: 44px; width: auto; display: block; }

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

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--primary); opacity: 1; }

.nav-right { display: flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); opacity: 1; box-shadow: 0 4px 20px rgba(253,55,59,0.3); }

.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); opacity: 1; box-shadow: 0 4px 20px rgba(253,55,59,0.3); }
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.btn:active { transform: scale(0.97); }
.btn-primary:active, .btn-dark:active { background: var(--primary-dark); box-shadow: 0 2px 8px rgba(253,55,59,0.2); }

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); opacity: 1; }

.btn-white { background: rgba(255,255,255,0.15); color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-white:hover { background: var(--white); color: var(--primary); opacity: 1; }

.btn-sm { padding: 8px 18px; font-size: 0.95rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav-links li { padding: 14px 0; border-bottom: 1px solid var(--gray-light); }
.mobile-nav-links a { font-size: 1rem; font-weight: 500; color: var(--navy); }
.mobile-menu .btn { margin-top: 16px; }

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(253,55,59,0.1);
  z-index: 998;
}

/* =============================================
   Hero — Gradient background (matches template)
   ============================================= */
.hero-section {
  padding: 160px 0 80px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Orbital rings */
.hero-orbit {
  position: absolute;
  border: 2.5px dashed rgba(253,55,59,0.15);
  border-radius: 50%;
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-orbit-1 {
  width: 700px; height: 380px;
}
.hero-orbit-2 {
  width: 950px; height: 520px;
}

/* Floating icon bubbles */
.hero-bubble {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  pointer-events: none;
  z-index: 1;
  animation: bubbleFloat 6s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.hero-bubble-1 { background: var(--primary); top: 18%; left: 15%; animation-delay: 0s; }
.hero-bubble-2 { background: #ff6b6b; top: 12%; right: 12%; animation-delay: 1s; }
.hero-bubble-3 { background: #4ecb71; top: 40%; right: 8%; animation-delay: 2s; width: 48px; height: 48px; }
.hero-bubble-4 { background: #aaa; top: 55%; left: 10%; animation-delay: 3s; width: 40px; height: 40px; }
.hero-bubble-5 { background: #999; top: 65%; right: 18%; animation-delay: 4s; width: 38px; height: 38px; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Centered hero layout */
.hero-center {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  height: 96px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title-dark { color: var(--navy); }

.hero-typed-wrapper {
  color: var(--primary);
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--primary);
  margin-left: 4px;
  vertical-align: baseline;
  animation: heroBlink 0.8s step-end infinite;
}

@keyframes heroBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-sub-label {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--primary);
  border-radius: 100px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.hero-btn-outline:hover {
  background: #fff5f5;
  border-color: var(--primary);
}

.hero-btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(253,55,59,0.3);
}
.hero-btn-primary:hover {
  background: #e52e32;
  box-shadow: 0 6px 24px rgba(253,55,59,0.4);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat i {
  color: var(--primary);
  font-size: 1.4rem;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 1rem;
  color: var(--text-muted);
}

/* =============================================
   Sections
   ============================================= */
.section-white { padding: 80px 0; background: var(--white); }
.section-alt { padding: 80px 0; background: var(--blue-bg); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(253,55,59,0.06);
  border: 1px solid rgba(253,55,59,0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   Awards Section
   ============================================= */
.section-awards {
  padding: 80px 0;
  background: var(--blue-bg);
}

.awards-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.awards-medal { font-size: 2.4rem; }

.awards-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.awards-desc {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(253,55,59,0.06);
}

.award-card-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 140px;
}

.award-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.award-laurel {
  position: absolute;
  bottom: 0;
  height: 100px;
  width: auto;
  opacity: 0.5;
  z-index: 0;
}

.award-laurel-left { left: 8px; }
.award-laurel-right { right: 8px; transform: scaleX(-1); }

.award-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.award-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--coral);
}

/* =============================================
   Pain Points — Colorful Cards
   ============================================= */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  padding-top: 60px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Colorful card backgrounds */
.pain-card:nth-child(1) { background: var(--cyan-bg); }
.pain-card:nth-child(2) { background: var(--pink-bg); }
.pain-card:nth-child(3) { background: var(--yellow-bg); }

/* Semi-transparent geometric decoration inside cards */
.pain-card::after {
  content: '';
  position: absolute;
  opacity: 0.15;
  z-index: 0;
}

.pain-card:nth-child(1)::after {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--cyan);
  top: -30px; right: -20px;
}

.pain-card:nth-child(2)::after {
  width: 100px; height: 100px;
  background: var(--pink);
  transform: rotate(45deg);
  border-radius: 8px;
  bottom: -20px; right: -10px;
}

.pain-card:nth-child(3)::after {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--yellow);
  background: none;
  top: -20px; right: 20px;
  opacity: 0.2;
}

.pain-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
  animation: avatarFloat 4s ease-in-out infinite;
}

.pain-card:nth-child(2) .pain-avatar { animation-delay: 0.5s; }
.pain-card:nth-child(3) .pain-avatar { animation-delay: 1s; }

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.pain-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.pain-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* =============================================
   Steps — Card Layout
   ============================================= */
/* How-help section (Paperpal style) */
.section-howhelp {
  padding: 80px 0;
  background: var(--blue-bg);
}

.section-howhelp .section-title {
  text-align: center;
  margin-bottom: 16px;
}

.text-primary { color: var(--primary); }

/* Video showcase */
.video-showcase {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px 0;
  background: #e8edf4;
  border-radius: 24px;
}
.video-showcase.fade-up.visible {
  padding-bottom: 40px;
}

.laptop-frame {
  max-width: 720px;
  margin: 0 auto;
}

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1a2e;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 3px solid #555;
  border-bottom: none;
}

.video-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #222;
  cursor: pointer;
}

.video-thumb {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}

.video-play-btn {
  position: relative; z-index: 1;
  background: none; border: none; cursor: pointer;
  transition: transform 0.2s;
}
.video-play-btn:hover { transform: scale(1.1); }

.video-iframe { position: absolute; inset: 0; }
.video-iframe.hidden { display: none; }

.laptop-base {
  height: 18px;
  background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
  border-radius: 0 0 8px 8px;
  display: flex; align-items: center; justify-content: center;
}

.laptop-notch {
  width: 80px; height: 6px;
  background: #888;
  border-radius: 0 0 4px 4px;
}

/* =============================================
   Core Features — Alternating rows with UI mockups
   ============================================= */
#core-features { padding: 80px 0; background: var(--white); }
#core-features > .container > .section-badge,
#core-features > .container > .section-title,
#core-features > .container > .section-desc {
  text-align: center;
}
#core-features > .container > .section-badge { margin: 0 auto 12px; display: flex; justify-content: center; width: fit-content; }
#core-features > .container > .section-desc { margin: 0 auto 56px; }

.core-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.core-feature-row:last-child { margin-bottom: 0; }

.core-feature-reverse { direction: rtl; }
.core-feature-reverse > * { direction: ltr; }

.core-feature-num {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(26,10,10,0.06);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.core-feature-text h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.core-feature-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 460px;
}

/* Colorful feature themes */
.core-feature-red .core-feature-num { color: var(--primary); background: rgba(253,55,59,0.1); }
.core-feature-red h3 { color: var(--primary); }

.core-feature-green .core-feature-num { color: #4ECB71; background: rgba(78,203,113,0.1); }
.core-feature-green h3 { color: #3ab55e; }

.core-feature-orange .core-feature-num { color: #FF9F04; background: rgba(255,159,4,0.1); }
.core-feature-orange h3 { color: #e88f00; }

.core-feature-purple .core-feature-num { color: #8B5CF6; background: rgba(139,92,246,0.1); }
.core-feature-purple h3 { color: #8B5CF6; }

.core-feature-coral .core-feature-num { color: #FF6B6B; background: rgba(255,107,107,0.1); }
.core-feature-coral h3 { color: #FF6B6B; }

.core-feature-yellow .core-feature-num { color: #d4a800; background: rgba(255,218,0,0.15); }
.core-feature-yellow h3 { color: #d4a800; }

/* Mock Card Base */
.mock-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 24px;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.mock-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(253,55,59,0.08);
  color: var(--primary);
  margin-left: auto;
}

.mock-avatar {
  font-size: 1.6rem;
  line-height: 1;
}

.mock-teacher-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-online {
  font-size: 0.65rem;
  color: #66bb6a;
  font-weight: 500;
}

/* Mock: Chat */
/* Core feature UI animations */
.mock-msg,
.mock-phase-item,
.mock-review-score,
.mock-feedback-item,
.mock-portfolio-item,
.mock-scaffold-prompt,
.mock-checklist-item,
.mock-achievement {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mock-review-bar-fill,
.mock-xp-fill {
  transition: width 0.8s ease;
}

.core-feature-ui:not(.animated) .mock-review-bar-fill,
.core-feature-ui:not(.animated) .mock-xp-fill {
  width: 0 !important;
}

.core-feature-ui.animated .mock-msg,
.core-feature-ui.animated .mock-phase-item,
.core-feature-ui.animated .mock-review-score,
.core-feature-ui.animated .mock-feedback-item,
.core-feature-ui.animated .mock-portfolio-item,
.core-feature-ui.animated .mock-scaffold-prompt,
.core-feature-ui.animated .mock-checklist-item,
.core-feature-ui.animated .mock-achievement {
  opacity: 1;
  transform: translateY(0);
}

.mock-rank-progress {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.core-feature-ui.animated .mock-rank-progress {
  opacity: 1;
  transform: scale(1);
}

.mock-chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-msg { display: flex; }

.mock-msg-bubble {
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 85%;
}

.mock-msg-teacher { justify-content: flex-start; }
.mock-msg-teacher .mock-msg-bubble {
  background: #fff0ed;
  color: var(--navy);
  border-bottom-left-radius: 4px;
}

.mock-msg-student { justify-content: flex-end; }
.mock-msg-student .mock-msg-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Mock: Phase list */
.mock-phase-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-phase-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 12px;
  font-size: 0.75rem;
}
.mock-phase-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.mock-phase-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mock-phase-name { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.mock-phase-desc { font-size: 0.65rem; color: var(--text-muted); }
.mock-phase-status {
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.4s, color 0.4s;
}

/* Phase states */
.mock-phase-item[data-phase="locked"] {
  opacity: 0.5;
}
.mock-phase-item[data-phase="locked"] .mock-phase-num {
  background: #ddd;
}
.mock-phase-item[data-phase="locked"] .mock-phase-status {
  background: #f0f0f0; color: #ccc;
}

.mock-phase-item[data-phase="active"] {
  opacity: 1;
  background: #fff3e0;
}
.mock-phase-item[data-phase="active"] .mock-phase-num {
  background: #ff9f04;
}
.mock-phase-item[data-phase="active"] .mock-phase-status {
  background: #fff3e0; color: #ff9f04;
}

.mock-phase-item[data-phase="done"] {
  opacity: 1;
  background: #fafafa;
}
.mock-phase-item[data-phase="done"] .mock-phase-num {
  background: #4ecb71;
}
.mock-phase-item[data-phase="done"] .mock-phase-status {
  background: #e8f5e9; color: #4ecb71;
}

.mock-phase-item {
  transition: opacity 0.4s, background 0.4s;
}
.mock-phase-num {
  transition: background 0.4s;
}

/* Mock: Review scores */
.mock-review-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mock-review-score {
  text-align: center;
  padding: 12px 8px;
  background: #fafafa;
  border-radius: 12px;
}
.mock-review-score-num { display: block; font-size: 1.4rem; font-weight: 800; }
.mock-review-score-label { font-size: 0.65rem; color: var(--text-muted); }
.mock-review-bar { height: 4px; background: #eee; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.mock-review-bar-fill { height: 100%; border-radius: 2px; }

.mock-feedback-list { display: flex; flex-direction: column; gap: 8px; }
.mock-feedback-item {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5;
}
.mock-feedback-icon { flex-shrink: 0; font-size: 0.85rem; }

/* Mock: Portfolio */
.mock-portfolio-body {
  position: relative;
  min-height: 280px;
}
.mock-portfolio-list {
  display: flex; flex-direction: column; gap: 8px;
  transition: opacity 0.4s ease;
}
.mock-portfolio-list.collapsed {
  opacity: 0; pointer-events: none; position: absolute; top: 0; left: 0; right: 0;
}
.mock-portfolio-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #fafafa; border-radius: 12px;
}
.mock-portfolio-icon { font-size: 1.1rem; }
.mock-portfolio-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mock-portfolio-name { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.mock-portfolio-meta { font-size: 0.65rem; color: var(--text-muted); }
.mock-portfolio-badge {
  font-size: 0.6rem; padding: 2px 8px;
  border-radius: 100px; font-weight: 600; flex-shrink: 0;
}

/* Mock: Export button */
.mock-export-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 10px 16px; position: relative; z-index: 1;
  background: linear-gradient(135deg, #ab47bc, #7b1fa2);
  color: #fff; border-radius: 10px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.mock-export-btn.active {
  opacity: 1; transform: translateY(0);
}
.mock-portfolio-list.collapsed + .mock-export-btn {
  opacity: 0; pointer-events: none;
}
.mock-export-btn.pulse {
  animation: exportPulse 0.6s ease;
}
@keyframes exportPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.mock-export-icon { font-size: 1rem; }

/* Mock: Report preview */
.mock-report-preview {
  background: #faf5ff; border: 1.5px solid #e1bee7;
  border-radius: 12px;
  opacity: 0; transform: translateY(16px);
  overflow: hidden; max-height: 0; padding: 0 14px;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.6s ease, padding 0.5s ease;
}
.mock-report-preview.visible {
  opacity: 1; transform: translateY(0); max-height: 500px; padding: 14px;
}
.mock-report-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid #e1bee7;
}
.mock-report-icon { font-size: 1.4rem; }
.mock-report-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mock-report-title { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.mock-report-meta { font-size: 0.65rem; color: var(--text-muted); }

.mock-report-toc { display: flex; flex-direction: column; gap: 4px; }
.mock-report-toc-item {
  font-size: 0.72rem; color: #555; padding: 4px 8px;
  border-left: 2px solid #ce93d8;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mock-report-toc-item.visible {
  opacity: 1; transform: translateX(0);
}

.mock-report-ready {
  margin-top: 10px; padding: 8px 12px;
  background: #e8f5e9; border-radius: 8px;
  font-size: 0.72rem; font-weight: 600; color: #4ecb71;
  text-align: center;
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mock-report-ready.visible {
  opacity: 1; transform: scale(1);
}

/* Mock: Scaffold */
.mock-scaffold-prompt {
  background: #fafafa; border-radius: 12px;
  padding: 12px; margin-bottom: 10px;
}
.mock-scaffold-label { font-size: 0.68rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.mock-scaffold-text { font-size: 0.8rem; color: var(--text); line-height: 1.5; }
.mock-scaffold-cursor {
  display: inline-block; width: 2px; height: 14px;
  background: var(--primary); animation: blink 1s infinite;
  vertical-align: middle; margin-left: 2px;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.mock-checklist { display: flex; flex-direction: column; gap: 6px; }
.mock-checklist-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.mock-check-icon {
  width: 16px; height: 16px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mock-check-done { background: #e8f5e9; color: #4ECB71; }
.mock-check-empty { background: #f0f0f0; color: transparent; border: 1px solid #ddd; }

/* Scaffold animation states */
[data-scaffold-animate] [data-scaffold-step="typing"],
[data-scaffold-animate] [data-scaffold-step="hint"],
[data-scaffold-animate] [data-scaffold-step="check"] {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
[data-scaffold-animate].scaffold-active [data-scaffold-step].show {
  opacity: 1; transform: translateY(0);
}

.scaffold-bulb {
  display: inline-block;
  animation: bulbGlow 1.5s ease-in-out infinite;
}
@keyframes bulbGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes checkPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.mock-check-icon.check-anim {
  animation: checkPop 0.3s ease;
}

/* Mock: Rank/Gamification */
.mock-rank-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-rank-badge {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.mock-rank-info { flex: 1; }
.mock-rank-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.mock-rank-level { font-size: 0.68rem; color: var(--text-muted); }
.mock-xp-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.mock-xp-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--orange)); }
.mock-xp-text { font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }

.mock-achievements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-achievement {
  text-align: center; padding: 10px 4px; background: #fafafa; border-radius: 12px;
}
.mock-achievement-icon { font-size: 1.2rem; margin-bottom: 4px; }
.mock-achievement-name { font-size: 0.6rem; color: var(--text-muted); line-height: 1.2; }

/* Gamify animation states */
[data-gamify-animate] .mock-achievement[data-gamify-ach] {
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-gamify-animate].gamify-active .mock-achievement[data-gamify-ach].pop {
  opacity: 1; transform: scale(1);
}

[data-gamify-animate] .mock-rank-progress {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-gamify-animate].gamify-active .mock-rank-progress.show {
  opacity: 1; transform: translateY(0);
}

.mock-xp-fill {
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes levelUp {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.mock-rank-badge.level-up {
  animation: levelUp 0.6s ease;
}

/* Core features responsive */
/* =============================================
   Features Grid — Colorful Backgrounds (6 small cards)
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card-item {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Alternating colorful backgrounds */
.feature-card-item:nth-child(1) { background: var(--cyan-bg); }
.feature-card-item:nth-child(2) { background: var(--pink-bg); }
.feature-card-item:nth-child(3) { background: #FFE8CC; }
.feature-card-item:nth-child(4) { background: var(--yellow-bg); }
.feature-card-item:nth-child(5) { background: #E0F5E9; }
.feature-card-item:nth-child(6) { background: #E8E0FF; }

/* Semi-transparent shapes in feature cards */
.feature-card-item::after {
  content: '';
  position: absolute;
  opacity: 0.12;
  z-index: 0;
}

.feature-card-item:nth-child(1)::after {
  width: 100px; height: 100px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: var(--cyan);
  bottom: -15px; right: -10px;
}

.feature-card-item:nth-child(2)::after {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--pink);
  top: -20px; right: -15px;
}

.feature-card-item:nth-child(3)::after {
  width: 80px; height: 80px;
  transform: rotate(45deg);
  border-radius: 8px;
  background: var(--orange);
  bottom: -15px; right: 10px;
}

.feature-card-item:nth-child(4)::after {
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 85px solid var(--yellow);
  background: none;
  top: -10px; right: -5px;
  opacity: 0.2;
}

.feature-card-item:nth-child(5)::after {
  width: 100px; height: 100px;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  background: var(--green);
  bottom: -20px; right: -10px;
}

.feature-card-item:nth-child(6)::after {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #8B5CF6;
  top: -25px; right: -20px;
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.feature-card-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.feature-card-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* =============================================
   Parent Section
   ============================================= */
.section-parent {
  padding: 80px 0;
  background: var(--blue-bg);
}
.parent-header { text-align: center; margin-bottom: 48px; }
.parent-quote {
  font-size: 1.15rem; color: var(--primary);
  font-weight: 600; font-style: italic;
  margin-top: 12px; max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.parent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.parent-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 24px; box-shadow: 0 2px 16px rgba(253,55,59,0.06);
}
.parent-card-icon { font-size: 2rem; margin-bottom: 16px; }
.parent-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.parent-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   Pricing Section
   ============================================= */
.section-pricing { padding: 80px 0; background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 960px; margin: 0 auto;
}
.pricing-card {
  background: var(--blue-bg); border-radius: var(--radius-lg);
  padding: 36px 28px; border: 1px solid rgba(0,0,0,0.06);
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.pricing-card-popular {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(253,55,59,0.12);
  background: var(--white);
}
.pricing-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 700; border-radius: 999px; white-space: nowrap;
}
.pricing-save-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--orange); color: #fff;
  font-size: 0.75rem; font-weight: 700; border-radius: 999px; white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pricing-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-price-unit { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.pricing-features {
  list-style: none; margin: 20px 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-features li::before {
  content: '\2713'; color: var(--primary); font-weight: 700; font-size: 0.85rem;
}
.pricing-cta { width: 100%; justify-content: center; }

/* =============================================
   Testimonials — Dark Navy Section
   ============================================= */
.section-testimonials {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.section-testimonials .section-title { color: var(--navy); }

/* Masonry grid */
.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.tm-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card */
.tm-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Header */
.tm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}
.tm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tm-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.tm-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Source icons */
.tm-source {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  flex-shrink: 0;
}
.tm-source-google {
  background: none;
  color: #4285f4;
  font-family: 'Product Sans', Arial, sans-serif;
  font-size: 1.1rem;
}
.tm-source-star {
  background: none;
  font-size: 1.2rem;
}

/* Stars */
.tm-stars {
  font-size: 0.75rem;
  color: #00b67a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tm-date {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Text */
.tm-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #444;
}

/* Video card */
.tm-card-video {
  padding: 0;
  overflow: hidden;
}
.tm-video-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #222;
  cursor: pointer;
}
.tm-video-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
}
.tm-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.tm-video-wrapper:hover .tm-video-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.tm-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.tm-video-body {
  padding: 14px 18px 18px;
}

.tm-video-body .tm-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.tm-video-body .tm-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.tm-video-body .tm-role {
  font-size: 0.8rem;
  color: #888;
}

/* =============================================
   CTA — Dark Navy with Shapes
   ============================================= */
.cta-section {
  padding: 80px 0;
  background: var(--blue-bg);
}

.cta-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes inside CTA */
.cta-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.cta-shape-triangle {
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-10deg);
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid var(--orange);
}

.cta-shape-star {
  right: 20px;
  bottom: 20px;
  width: 120px; height: 120px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.cta-shape-circle {
  right: -40px;
  top: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.3;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.6);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-trust {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* =============================================
   FAQ — Card-style with rounded corners
   ============================================= */
.section-faq {
  padding: 80px 0;
  background: linear-gradient(155deg, #fff5f2 0%, #ffe8e0 30%, #ffd8cc 55%, #ffe0d6 75%, #fff2ed 100%);
  border: 1px solid rgba(232, 180, 160, 0.5);
  border-radius: var(--radius-xl);
  margin: 48px 24px 0;
  position: relative;
  overflow: hidden;
}

.section-faq .section-title {
  color: var(--navy);
  text-align: center;
}

.section-faq .section-desc {
  color: var(--text-muted);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-item {
  border-radius: 100px;
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-radius 0.3s;
}

.faq-item.active {
  border-radius: var(--radius-lg);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(253,55,59,0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle { transform: rotate(180deg); }

.faq-toggle .minus { display: none; }
.faq-toggle .plus { display: block; }
.faq-item.active .faq-toggle .minus { display: block; }
.faq-item.active .faq-toggle .plus { display: none; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* =============================================
   Footer — Light style (matches template)
   ============================================= */
.site-footer {
  padding: 56px 0 0;
  background: var(--white);
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes in footer corners */
.site-footer::before {
  content: '';
  position: absolute;
  bottom: -40px; left: -20px;
  width: 120px; height: 120px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.15;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -10px;
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 80px solid var(--green);
  opacity: 0.15;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 3fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-img { height: 52px; }

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-col ul li a { color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--primary); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p { font-size: 0.95rem; color: var(--text-muted); }

/* =============================================
   Fade Up Animation
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for cards */
.pain-card.fade-up:nth-child(2),
.feature-card-item.fade-up:nth-child(2),
.tm-card.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.pain-card.fade-up:nth-child(3),
.feature-card-item.fade-up:nth-child(3),
.tm-card.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card-item.fade-up:nth-child(4) { transition-delay: 0.1s; }
.feature-card-item.fade-up:nth-child(5) { transition-delay: 0.2s; }
.feature-card-item.fade-up:nth-child(6) { transition-delay: 0.3s; }

/* =============================================
   Responsive — 1024px
   ============================================= */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-masonry { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr 1fr; }
  .parent-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stat-num-lg { font-size: 1.6rem; }
}

/* =============================================
   Responsive — 768px
   ============================================= */
@media (max-width: 768px) {
  /* Navbar padding fix */
  .navbar { padding: 12px 16px 0; }
  .nav-container { padding: 0 16px; }
  .nav-logo { flex: 1; justify-content: center; }
  .mobile-menu-btn { position: absolute; right: 16px; }

  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-sticky-cta { display: block; }

  /* Mobile menu position */
  .mobile-menu { top: 76px; }

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

  /* Hero section */
  .hero-section { padding: 100px 0 40px; }
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { display: none; }
  .hero-bubble { display: none; }
  .hero-orbit { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .hero-stat-num { font-size: 1.1rem; }

  .section-title { font-size: 2rem; }
  .section-white, .section-alt, .section-testimonials { padding: 60px 0; }
  .section-faq { margin: 0; padding: 60px 0; border-radius: var(--radius-lg); }

  .awards-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .awards-title { font-size: 2rem; }
  .section-awards { padding: 60px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-masonry { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .parent-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }
  .cta-title { font-size: 2rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .cta-shape-triangle { display: none; }
  .cta-shape-star { width: 80px; height: 80px; }

  /* How-help section */
  .section-howhelp { padding: 40px 0; }
  .section-howhelp .section-title { font-size: 2rem; }
  .video-showcase { padding: 24px 16px 0; border-radius: 16px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }

  .section-parent { padding: 60px 0; }
  .section-pricing { padding: 60px 0; }

  /* Core features */
  .core-feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
  .core-feature-reverse { direction: ltr; }
  .core-feature-text h3 { font-size: 1.4rem; }
  .mock-card { max-width: 400px; margin: 0 auto; }
}

/* =============================================
   Responsive — 480px
   ============================================= */
@media (max-width: 480px) {
  .navbar { padding: 8px 12px 0; }
  .nav-container { padding: 0 12px; }

  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .cta-title { font-size: 1.7rem; }
  .cta-card { padding: 36px 16px; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* FAQ focus-visible */
.faq-question:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
  border-radius: var(--radius-lg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  .hero-cursor {
    animation: none;
    display: none;
  }
}
