/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — NOVA design system */
  --color-bg: #0a0e17;
  --color-surface: #1a1f35;
  --color-brand-primary: #a57fff;
  --color-brand-mid: #80a3ff;
  --color-brand-secondary: #5bc8ff;
  --color-text: #ffffff;
  --color-text-muted: #b0b7d6;
  --color-star: #edaf16;
  --color-danger: #ff6b6b;
  --color-glass: rgba(42, 53, 81, 0.3);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-input: rgba(255, 255, 255, 0.2);
  --color-input-bg: rgba(255, 255, 255, 0.1);
  --color-input-focus: rgba(255, 255, 255, 0.15);
  --color-overlay: rgba(10, 14, 23, 0.95);
  --color-footer: rgba(0, 0, 0, 0.3);
  --card-bg: #191641;
  --bg-surface: #191641;

  /* Aliases */
  --primary-color: var(--color-bg);
  --secondary-color: var(--color-surface);
  --brand-primary: var(--color-brand-primary);
  --brand-gradient: var(--color-brand-mid);
  --brand-secondary: var(--color-brand-secondary);
  --accent-blue: var(--color-brand-secondary);
  --accent-purple: var(--color-brand-primary);
  --accent-orange: var(--color-star);
  --text-light: var(--color-text);
  --text-muted: var(--color-text-muted);
  --text-secondary: #b0b0e3;
  --glass-bg: var(--color-glass);
  --glass-border: var(--color-glass);

  /* Gradients & effects */
  --gradient-primary: linear-gradient(
    90deg,
    #5b8cff 0%,
    #a06bff 15.87%,
    #ff7eb6 63.46%
  );
  --gradient-button: linear-gradient(90deg, #3b6bff 0%, #9b5cff 100%);
  --gradient-dark: linear-gradient(135deg, var(--color-bg), var(--color-surface));
  --glass-blur: blur(5px);
  --glass-shadow: none;
  --shadow-btn: 0 5px 15px rgba(165, 127, 255, 0.4);
  --shadow-btn-hover: 0 8px 20px rgba(91, 200, 255, 0.5);

  /* Layout */
  --container-max: 1320px;
  --section-pad: var(--space-section);
  --card-radius: 25px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --border-radius: var(--radius-sm);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.35s;
  --duration-slow: 0.65s;
  --transition: transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base) var(--ease-out),
    background-color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    filter var(--duration-base) var(--ease-out);
  --bg-gradient: linear-gradient(180deg, #0d0a28 0%, #0a0820 55%, #0b0922 100%);
  --bg-hero: url("assets/bg_hero.png");

  /* Typography — NOVA Figma design system */
  --font-body: "Inter", sans-serif;
  --font-display: "Inter Display", sans-serif;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-display: 700;
  --font-weight-extrabold: 800;
  --text-display: clamp(2.25rem, 5vw, 3.5rem);
  --text-h2: clamp(1.875rem, 4vw, 2.5rem);
  --text-h3: 1.5rem;
  --text-h4: 1.125rem;
  --text-body: 1rem;
  --text-body-lg: 1.125rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --tracking-tight: -0.02em;

  /* Spacing */
  --space-section: 5rem;
  --space-header: 3.75rem;
  --space-card: 1.875rem;
  --gap-grid: 1.875rem;
  --gap-sm: 0.9375rem;
}

/* Utilities */
.glass,
.feature-card,
.comparison-table,
.step-content,
.testimonial-card,
.testimonial-stats,
.pricing-card,
.faq-item,
.support-card,
.feature-tag,
.badge,
.mockup-screen,
.legal-notice {
  background: var(--glass-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.text-gradient,
.gradient-text,
.stat h3,
.price-currency,
.price-amount,
.price,
.price-mmk {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-amount,
.price,
.price-mmk {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-display);
}

.stat h3 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-display);
}

.field,
.cta-form input,
.testimonial-form input[type="email"],
.testimonial-form textarea {
  padding: 18px 25px;
  border: 2px solid var(--color-border-input);
  background: var(--color-input-bg);
  color: var(--color-text);
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  outline: none;
  transition: var(--transition);
}

.field:focus,
.cta-form input:focus,
.testimonial-form input[type="email"]:focus,
.testimonial-form textarea:focus {
  border-color: var(--color-brand-secondary);
  background: var(--color-input-focus);
}

.field::placeholder,
.cta-form input::placeholder,
.testimonial-form input[type="email"]::placeholder,
.testimonial-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

:is(.feature-card, .pricing-card):hover {
  transform: translateY(-10px);
}

:is(.testimonial-card, .support-card):hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  transform: none;
}

.pricing-card.popular:hover {
  transform: translateY(-10px);
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  background: var(--bg-gradient);
  color: var(--text-light);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Motion — scroll reveals & page entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: fadeUp var(--duration-slow) var(--ease-out) backwards;
  }

  .hero-content > *:nth-child(1) {
    animation-delay: 0.05s;
  }

  .hero-content > *:nth-child(2) {
    animation-delay: 0.15s;
  }

  .hero-content > *:nth-child(3) {
    animation-delay: 0.25s;
  }

  .hero-visual {
    animation: fadeUp 0.8s var(--ease-out) 0.2s backwards;
  }

  .hero-feature-bar {
    animation: fadeUp 0.75s var(--ease-out) 0.4s backwards;
  }

  .navbar-pill,
  .site-header {
    animation: fadeIn 0.6s var(--ease-out) backwards;
  }
}

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

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

section {
  padding: var(--section-pad) 0;
}

/* Type scale — single source from Figma */
h1,
.type-display {
  font-family: var(--font-body);
  font-weight: var(--font-weight-extrabold);
  font-size: var(--text-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 20px;
}

h2,
.type-h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: var(--text-h2);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 15px;
}

h3,
h4,
.type-h3,
.type-h4 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
}

h3,
.type-h3 {
  font-size: var(--text-h3);
  margin-bottom: 10px;
}

h4,
.type-h4 {
  font-size: var(--text-h4);
}

p,
.type-body {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-relaxed);
}

.type-body-lg,
.subtitle,
.section-header p {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
}

.type-sm {
  font-size: var(--text-sm);
}

.type-xs {
  font-size: var(--text-xs);
}

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

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-input);
}

.btn-outline:hover {
  border-color: var(--color-brand-secondary);
  background: rgba(91, 200, 255, 0.1);
}

.btn-large {
  padding: 16px 36px;
  font-size: var(--text-body-lg);
}

.btn-block {
  display: block;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-header);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

/* Site header & navbar — Figma floating pill */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 20px 0;
  pointer-events: none;
}

.navbar {
  max-width: var(--container-max);
  margin: 0 auto;
  pointer-events: auto;
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 12px 12px 24px;
  background: var(--color-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.site-header.is-scrolled .navbar-pill {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.navbar .logo {
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-image {
  width: 88px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 auto;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
}

.nav-links a:hover {
  color: var(--color-brand-secondary);
  transform: translateY(-1px);
}

.nav-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.nav-buttons .btn-primary,
.nav-buttons .nav-login {
  padding: 10px 22px;
  font-size: var(--text-sm);
}

.nav-buttons .btn-primary {
  background: var(--gradient-button);
}

.nav-buttons .nav-login {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero — Figma first section */
.hero {
  position: relative;
  padding: 120px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: var(--bg-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 560px;
}

.hero-heading {
  position: relative;
  margin-bottom: 24px;
  padding-top: 30px;
}

.hero-content h1 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 110%;
  letter-spacing: 0;
  margin: 0;
}

.hero-content h1 .gradient-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 110%;
}

.hero-star {
  position: absolute;
  top: 0;
  left: 2px;
  width: 32px;
  height: 32px;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}

.hero-content .hero-subtitle {
  margin: 0 0 32px;
  max-width: 520px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.btn-demo {
  flex-shrink: 0;
  background: var(--color-text);
  color: #1a1f35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-demo i {
  color: var(--color-brand-primary);
}

.btn-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-store-badges {
  display: contents;
}

.badge-store {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(42, 53, 81, 0.3);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.badge-store i {
  font-size: 1.6rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-mascot {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-bubble {
  position: absolute;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-bubble--blue {
  top: 8%;
  left: 0;
  background: linear-gradient(135deg, #5bc8ff, #4a9fd4);
}

.hero-bubble--purple {
  top: 42%;
  right: -4%;
  background: linear-gradient(135deg, #a57fff, #8b5cf6);
}

.hero-bubble--pink {
  bottom: 18%;
  left: 8%;
  background: linear-gradient(135deg, #e879f9, #c026d3);
}

.hero-feature-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  margin-top: 20px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 24px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hero-feature-item i {
  color: var(--color-brand-primary);
  font-size: 1rem;
}

.hero-feature-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1;
  padding: 0 16px;
  user-select: none;
}

.subtitle {
  margin-bottom: 30px;
  max-width: 600px;
  color: #B0B0E3;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
}

.feature-tag i {
  color: var(--color-brand-secondary);
}

.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  transition: var(--transition);
}

.badge i {
  font-size: 1.8rem;
}

.badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge div span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.badge div strong {
  font-size: var(--text-body);
  font-weight: var(--font-weight-semibold);
}

/* Mockup Screen */
.mockup-container {
  position: relative;
}

.mockup-screen {
  padding: 20px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.screen-dots {
  display: flex;
  gap: 8px;
}

.screen-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.screen-dots span:nth-child(1) {
  background: var(--color-brand-primary);
}

.screen-dots span:nth-child(2) {
  background: var(--color-brand-mid);
}

.screen-dots span:nth-child(3) {
  background: var(--color-brand-secondary);
}

.screen-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-body-lg);
}

.question-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  width: 66%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.question-text h3 {
  color: var(--color-brand-secondary);
  font-size: var(--text-h4);
  margin-bottom: 10px;
}

.question-instruction {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 10px;
  padding-left: 15px;
  border-left: 3px solid var(--color-brand-primary);
}

.speaking-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
}

.timer-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--color-brand-secondary) 0deg, transparent 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.timer-fill {
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.timer-text {
  position: relative;
  z-index: 1;
  font-weight: var(--font-weight-semibold);
  font-size: 1.2rem;
}

.recording-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recording-dot {
  width: 12px;
  height: 12px;
  background: var(--color-brand-primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

.ai-feedback {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(165, 127, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--color-brand-primary);
  margin-top: 20px;
}

.ai-icon {
  font-size: 1.8rem;
}

/* Cosmic Elements */
.cosmic-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.planet {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--color-brand-primary),
    transparent 70%
  );
  opacity: 0.3;
  filter: blur(20px);
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite alternate;
}

.star-1 {
  width: 5px;
  height: 5px;
  top: 30%;
  left: 10%;
  animation-delay: 0.5s;
}

.star-2 {
  width: 3px;
  height: 3px;
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.star-3 {
  width: 4px;
  height: 4px;
  top: 80%;
  left: 20%;
  animation-delay: 1.5s;
}

.comet {
  position: absolute;
  top: 10%;
  right: 30%;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-brand-secondary));
  transform: rotate(45deg);
  filter: blur(1px);
  animation: comet 20s infinite linear;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes comet {
  0% {
    transform: translateX(-100px) rotate(45deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateX(500px) rotate(45deg);
    opacity: 0;
  }
}

/* Features Section */
.features .section-header h2,
.features .section-header h2 .gradient-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
  margin-bottom: var(--space-header);
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-card);
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.features-grid .feature-card:nth-child(1),
.features-grid .feature-card:nth-child(5) {
  background: linear-gradient(127.94deg, #855eff 4.7%, #9883d9 95.69%);
}

.features-grid .feature-card:nth-child(2),
.features-grid .feature-card:nth-child(6) {
  background: linear-gradient(140.76deg, #2458e7 1.36%, #5873bd 90.31%);
}

.features-grid .feature-card:nth-child(3),
.features-grid .feature-card:nth-child(4) {
  background: linear-gradient(129.91deg, #ff5aa5 0%, #cf7aa1 96.17%);
}

.feature-card h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-card p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

.feature-card .feature-tag {
  align-self: flex-start;
  margin-top: 20px;
  padding: 6px 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-text);
}

.feature-card .feature-tag--speaking {
  background: rgba(91, 200, 255, 0.22);
  color: #b8ecff;
}

.feature-card .feature-tag--writing {
  background: rgba(200, 160, 255, 0.22);
  color: #e4d4ff;
}

.feature-card .feature-tag--reading {
  background: rgba(255, 201, 77, 0.22);
  color: #ffe8a8;
}

.feature-card .feature-tag--listening {
  background: rgba(120, 230, 160, 0.22);
  color: #c8f5da;
}

.feature-card .feature-tag--all {
  background: rgba(91, 140, 255, 0.22);
  color: #c8d8ff;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text);
}

.comparison-section {
  margin-top: var(--space-header);
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.comparison-title-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.comparison-title-pill {
  flex-shrink: 0;
  margin: 0;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
    linear-gradient(
      91.35deg,
      #f03f66 1.06%,
      #e285ee 25.46%,
      #70b4fb 46.4%
    )
    border-box;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--color-text);
  white-space: nowrap;
}

.comparison-title-brand {
  background: linear-gradient(
    91.35deg,
    #f03f66 1.06%,
    #e285ee 25.46%,
    #70b4fb 46.4%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comparison-table {
  padding: 0;
  overflow-x: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table thead {
  background: transparent;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: none;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr.reveal {
  transform: translateY(16px);
}

.comparison-table tbody tr.reveal.is-visible {
  transform: translateY(0);
}

.comparison-table th {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  background: rgb(24, 23, 63);
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background: rgb(31, 30, 69);
}

.comparison-table th:nth-child(2) {
  color: #9eb8ff;
}

.comparison-table td:first-child {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(176, 183, 214, 0.9);
}

.comparison-table td:nth-child(2) {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
}

.comparison-table td:nth-child(3) {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffffb2;
}

.comparison-table td i {
  color: #4ade80;
  margin-right: 8px;
}

/* How It Works */
.how-it-works {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #3b6bff 0%, #9b5cff 100%);
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.how-it-works .section-header h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: #ffffff;
}

.how-it-works .section-header p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
}

.how-it-works .steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  margin-bottom: 0;
}

.how-it-works .steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 0;
  border-top: 2px dotted rgba(255, 255, 255, 0.55);
  background: none;
  z-index: 1;
}

.how-it-works .step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.how-it-works .step-number {
  width: 64px;
  height: 64px;
  background: #ffd873;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgb(24, 23, 63);
  margin: 0 auto 20px;
  border: none;
}

.how-it-works .step-content {
  padding: 0 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.how-it-works .step-content h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  color: #ffffff;
  margin-bottom: 12px;
}

.how-it-works .step-content p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  margin-bottom: 50px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 1;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-display);
  margin: 0 auto 25px;
  border: 5px solid var(--primary-color);
}

.step-content {
  padding: 25px;
}

/* Testimonials */
.testimonials {
  position: relative;
  overflow: visible;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.testimonials::before {
  top: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(59, 107, 255, 0.25);
}

.testimonials::after {
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: rgba(155, 92, 255, 0.2);
}

.testimonials .container {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.testimonials-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 100px;
  align-items: start;
  min-width: 0;
}

.testimonials-intro {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  max-width: 580px;
}

.testimonials-mascot {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: end;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin-top: 0;
  pointer-events: none;
}

.testimonials-mascot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  object-position: top right;
  display: block;
}

.testimonials-container {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible;
}

.testimonials-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(rgb(31, 30, 69), rgb(31, 30, 69)) padding-box,
    linear-gradient(
      91.35deg,
      #f03f66 1.06%,
      #e285ee 25.46%,
      #70b4fb 46.4%
    )
    border-box;
}

.testimonials-badge-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  background: linear-gradient(
    91.35deg,
    #f03f66 1.06%,
    #e285ee 25.46%,
    #70b4fb 46.4%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-intro h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 48px);
  line-height: 110%;
  margin-bottom: 16px;
}

.testimonials-title {
  display: inline;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: var(--color-text);
}

.testimonials-gradient {
  display: inline;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #e052ff 0%, #ff5c97 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-intro p {
  max-width: 460px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #b0b0e3;
  margin-bottom: 0;
}

.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
  gap: 24px;
  min-width: 0;
}

.testimonial-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 24px;
  min-height: 240px;
  min-width: 0;
  box-sizing: border-box;
  background: rgb(31, 30, 69);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 16px;
}

.testimonial-stars {
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1;
}

.testimonial-stars i {
  margin-right: 4px;
  color: #ffd873;
}

.testimonial-stars i.filled {
  color: #ffd873;
}

.testimonial-body {
  flex: 1;
}

.testimonial-body p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--color-text);
  font-style: normal;
  margin-bottom: 0;
  text-align: left;
}

.testimonial-divider {
  height: 1px;
  margin: 24px 0 20px;
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

/* Controls positioning */
.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--color-brand-secondary);
  transform: scale(1.1);
}

.testimonials-dots {
  display: flex;
  gap: 10px;
}

.testimonials-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dots .dot.active {
  background: var(--color-brand-secondary);
  transform: scale(1.2);
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-initial {
  background: linear-gradient(135deg, #5b8cff 0%, #9b5cff 100%);
}

.user-avatar-initial span {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

.testimonial-footer .user-info h4 {
  margin-bottom: 4px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}

.testimonial-footer .user-info .testimonial-meta {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #b0b0e3;
  margin-bottom: 0;
}

.user-info h4 {
  margin-bottom: 5px;
}

.user-info p:not(.testimonial-meta),
.stars,
.stars-container i:hover,
.stars-container i.active,
.stars-container i.filled {
  color: var(--color-star);
}

.user-info p:not(.testimonial-meta) {
  font-weight: var(--font-weight-semibold);
  margin-bottom: 5px;
}

.stars {
  font-size: 0.9rem;
}

.testimonial-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 32px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.testimonials .stat {
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 0 24px;
}

.testimonials .stat h3 {
  margin-bottom: 8px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 40px);
  line-height: 100%;
  background: linear-gradient(
    91.35deg,
    #f03f66 1.06%,
    #e285ee 25.46%,
    #70b4fb 46.4%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials .stat p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #ffffffb2;
  margin-bottom: 0;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Pricing */
.pricing .section-header h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.pricing .section-header h2 .pricing-ielts {
  background: linear-gradient(
    90deg,
    #5b8cff 0%,
    #a06bff 40.38%,
    #ff7eb6 87.5%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing .section-header p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #ffffffb2;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg, #191641);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.pricing-cards .pricing-card:nth-child(2),
.pricing-card.popular {
  background: linear-gradient(
    104.13deg,
    #a57fff 0%,
    #80a3ff 50%,
    #5bc8ff 100%
  );
  margin-top: -22px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 18px;
  padding: 0;
  border-bottom: none;
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.pricing-price-panel,
.pricing-price-panel--popular {
  padding: 0;
  border-radius: 0;
  background: none;
}

.pricing-card .price,
.pricing-card .price-mmk,
.pricing-card .price-amount,
.pricing-card .price-currency {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.pricing-card:not(.popular) .price,
.pricing-card:not(.popular) .price-mmk,
.pricing-card:not(.popular) .price-amount,
.pricing-card:not(.popular) .price-currency {
  background: linear-gradient(
    104.15deg,
    #a57fff 0%,
    #80a3ff 50%,
    #5bc8ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-card.popular .price-now .price-amount,
.pricing-card.popular .price-now .price-currency {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

.pricing-card.popular .price-now {
  margin: 8px 0 4px;
}

.pricing-card.popular .original-price {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.pricing-card.popular .discount-arrow {
  color: #ffffff;
}

.pricing-card.popular .price-breakdown {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.popular .breakdown-value {
  color: #ffffff;
}

.pricing-card.popular .breakdown-label,
.pricing-card.popular .breakdown-period {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card.popular .pricing-card-save {
  background: #ffffff;
  color: #191641;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.35);
}

.pricing-card.popular .pricing-card-save .save-percent {
  background: rgba(25, 22, 65, 0.1);
  color: #191641;
}

.pricing-card.popular .pricing-card-save.pulse-animation {
  animation: savePulseWhite 2s ease-in-out infinite;
}

@keyframes savePulseWhite {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.35);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.55);
  }
}

.pricing-card.best-value .original-price {
  color: var(--color-danger);
  opacity: 1;
}

.pricing-price-panel > p,
.pricing-price-panel .price-mmk-per-test {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.pricing-price-panel .price-duration {
  color: var(--text-muted);
  margin-bottom: 0;
}

.pricing-card.popular .price-duration {
  color: rgba(255, 255, 255, 0.85);
}

.popular-badge,
.best-value-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
}

.popular-badge {
  background: var(--gradient-primary);
}

.best-value-badge {
  background: linear-gradient(135deg, #48bb78, #38a169);
}

/* Price Comparison - Original vs New Price */
.price-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.original-price {
  font-size: var(--text-h4);
  color: var(--color-danger);
  text-decoration: line-through;
  opacity: 0.8;
  font-weight: var(--font-weight-medium);
}

.discount-arrow {
  color: var(--color-brand-secondary);
  font-size: var(--text-body-lg);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(5px); opacity: 1; }
}

/* New Price Display */
.price-now {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.price-currency {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-semibold);
}

.price-duration {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 5px 0 10px 0;
}

.price span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Save Badges - Enhanced */
.pricing-card-save {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  text-align: center;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: var(--font-weight-semibold);
  margin: 15px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
  flex-wrap: wrap;
}

.pricing-card-save-annual {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: var(--font-weight-semibold);
  margin: 15px 0;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.pricing-card-save-annual .save-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-card-save-annual .save-text {
  font-size: 0.8rem;
}

.pricing-card-save-annual .save-percent {
  font-size: 0.72rem;
  padding: 2px 6px;
  flex-shrink: 0;
}

/* Pulse Animation for Save Badges */
.pulse-animation {
  animation: savePulse 2s ease-in-out infinite;
}

@keyframes savePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 6px 25px rgba(246, 173, 85, 0.6); }
}

.pricing-card-save-annual.pulse-animation {
  animation: savePulseGreen 2s ease-in-out infinite;
}

@keyframes savePulseGreen {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 6px 25px rgba(72, 187, 120, 0.6); }
}

.save-icon {
  font-size: 1.2rem;
}

.save-text {
  font-weight: var(--font-weight-semibold);
}

.save-percent {
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Price Breakdown */
.price-breakdown {
  background: rgba(91, 200, 255, 0.1);
  border: 1px dashed rgba(91, 200, 255, 0.4);
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.breakdown-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--font-weight-display);
  color: var(--color-brand-secondary);
}

.breakdown-label,
.breakdown-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Best Value Card */
.pricing-card.best-value {
  position: relative;
}

.price-mmk-per-test {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
}

.price span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-features {
  flex: 1;
  margin-bottom: 20px;
}

.pricing-features p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features i {
  margin-right: 8px;
  width: 16px;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-features .fa-check {
  color: var(--color-brand-secondary);
}

.pricing-features .fa-times {
  color: var(--text-muted);
}

.pricing-subscribe {
  margin-top: auto;
  text-decoration: none;
  width: 100%;
  background: var(--gradient-button);
  box-shadow: var(--shadow-btn);
}

.pricing-subscribe:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
}

.pricing-card.popular .pricing-features .fa-check {
  color: #ffffff;
}

/* FAQ */
.faq-header h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 48px);
  line-height: 110%;
  color: var(--color-text);
}

.faq-header p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #ffffffb2;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  margin-bottom: 0;
  overflow: hidden;
  background: var(--bg-surface, #191641);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(128, 163, 255, 0.25);
}

.faq-item:has(.faq-question.active) {
  border-radius: 24px;
}

.faq-question {
  width: 100%;
  padding: 18px 28px;
  background: transparent;
  border: none;
  color: var(--color-text);
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #80a3ff;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s var(--ease-out),
    padding 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
  opacity: 0;
}

.faq-answer p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  color: #ffffffb2;
  margin-bottom: 0;
}

.faq-answer.active {
  padding: 0 28px 20px;
  max-height: 500px;
  opacity: 1;
}

.faq-question.active i {
  transform: rotate(180deg);
}

/* Support Section */
.support {
  position: relative;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.support-card {
  padding: 40px 30px;
  text-align: center;
  background: linear-gradient(
    350deg,
    rgba(123, 92, 255, 0.2) 6.84%,
    rgba(59, 107, 255, 0.12) 93.16%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: var(--transition);
}

.support-card:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 163, 255, 0.22);
  box-shadow: 0 16px 40px rgba(59, 107, 255, 0.12);
}

.support-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.support-icon--hours {
  overflow: visible;
}

.support-icon--hours img {
  width: 110%;
  height: 110%;
  max-width: none;
  transform: scale(1.35);
  transform-origin: center center;
}

.support-card h3 {
  font-size: var(--text-h3);
  margin-bottom: 10px;
  color: var(--text-light);
}

.support-card p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: var(--text-sm);
}

.support-link {
  color: #d0a1fd;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-body-lg);
  transition: var(--transition);
  display: inline-block;
}

.support-link:hover {
  color: #e0b8ff;
  text-decoration: underline;
}

.support-info {
  color: #d0a1fd;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-body);
}

/* CTA */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(165, 127, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(91, 200, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-form {
  display: flex;
  gap: 15px;
  margin: 40px 0;
}

.cta-form input {
  flex: 1;
  border-radius: var(--radius-pill);
}

.cta-form button {
  padding: 18px 40px;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-note a {
  color: var(--color-brand-secondary);
  text-decoration: underline;
}

.cta-note a:hover {
  color: var(--color-brand-primary);
}

/* Testimonial Form */
.testimonial-form {
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-form input[type="email"],
.testimonial-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
}

.testimonial-form textarea {
  resize: vertical;
  min-height: 120px;
}

.testimonial-form button {
  align-self: center;
  padding: 18px 40px;
}

.star-rating {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.star-rating label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
}

.stars-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.stars-container i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.stars-container i:hover,
.stars-container i.active,
.stars-container i.filled {
  color: var(--color-star);
  transform: scale(1.1);
}

/* API Testimonials Avatar (initials) */
.user-avatar-initials,
.user-avatar-initial {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-semibold);
  font-size: 1.4rem;
  color: white;
  text-transform: uppercase;
}

.user-avatar-initial span {
  line-height: 1;
}

/* Footer */
.footer {
  background: var(--color-footer);
  padding: 60px 0 30px;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
  min-width: 300px;
}

.footer-logo p {
  margin: 20px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--color-brand-secondary);
  transform: translateY(-3px);
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.link-column {
  min-width: 150px;
}

.link-column h4 {
  margin-bottom: 20px;
  color: var(--color-brand-secondary);
}

.link-column a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--color-brand-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: 15px;
  margin: 0;
}

.badge.small {
  padding: 8px 15px;
}

.badge.small i {
  font-size: 1.2rem;
}

.badge.small div span {
  font-size: 0.7rem;
}

.badge.small div strong {
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-page {
  padding: 140px 0 80px;
  min-height: 60vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header h1 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-header .legal-updated {
  margin-bottom: 0;
}

.legal-updated {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: var(--text-h3);
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.legal-content h3 {
  font-size: var(--text-body-lg);
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--color-brand-secondary);
}

.legal-content h4 {
  font-size: var(--text-body);
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.legal-content ul {
  margin: 15px 0 20px 20px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--color-brand-secondary);
  transition: var(--transition);
}

.legal-content a:hover {
  color: var(--color-brand-primary);
}

.legal-notice {
  border-left: 4px solid var(--color-brand-secondary);
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-notice p {
  margin: 0;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
}

/* Footer logo (shared) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 40px;
  height: 40px;
}

.footer-logo h2 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
}

.navbar .logo {
  text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out),
    visibility var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 28px rgba(165, 127, 255, 0.45);
}

/* Large desktop & tablet — 3-card grid like Figma */
@media (min-width: 769px) {
  .testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    transform: none !important;
  }

  .testimonial-card {
    flex: none;
    min-width: 0;
    min-height: 100%;
  }

  .testimonials-controls {
    display: none;
  }

  .testimonials-container {
    overflow: visible;
  }
}

@media (max-width: 1200px) {
  .hero .container {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-heading {
    display: block;
    text-align: center;
    padding-top: 0;
    margin-bottom: 24px;
  }

  .hero-star {
    position: static;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 12px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 56px);
  }

  .hero-content .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-mascot {
    max-width: 380px;
  }

  .hero-bubble--purple {
    right: 2%;
  }

  .steps {
    flex-direction: column;
    gap: 50px;
  }

  .steps::before {
    display: none;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    align-items: stretch;
  }

  .pricing-cards .pricing-card:nth-child(2),
  .pricing-card.popular {
    margin-top: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .navbar-pill {
    position: relative;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .navbar-pill .logo {
    order: 1;
  }

  .navbar-pill .menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .navbar-pill .nav-links {
    order: 3;
  }

  .navbar-pill .nav-buttons {
    order: 4;
  }

  .nav-links,
  .nav-buttons {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    padding: 0;
    gap: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .navbar-pill.is-menu-open {
    flex-wrap: wrap;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--card-bg, #191641);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .nav-links.active,
  .nav-buttons.active {
    display: flex;
    margin-top: 16px;
  }

  .nav-buttons.active {
    margin-top: 0;
    padding-top: 4px;
  }

  .nav-buttons .btn-primary,
  .nav-buttons .nav-login {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  /* Hero Section */
  section {
    padding: 3.75rem 0;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

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

  .hero-actions {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hero-store-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .badge-store {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-feature-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
  }

  .hero-feature-item {
    justify-content: flex-start;
    width: 100%;
    max-width: 280px;
    padding: 6px 0;
    white-space: normal;
  }

  .hero-feature-divider {
    display: none;
  }

  .hero-bubble {
    display: none;
  }

  /* Testimonials */
  .testimonials {
    overflow-x: clip;
  }

  .testimonials-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .testimonials-intro {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    text-align: center;
    z-index: auto;
    min-width: 0;
  }

  .testimonials-mascot {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    max-width: 300px;
    margin: 0 auto;
    pointer-events: auto;
  }

  .testimonials-mascot img {
    max-width: 300px;
  }

  .testimonials-container {
    grid-column: auto;
    grid-row: auto;
    z-index: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .testimonials-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  /* Testimonials Carousel */
  .testimonials-track {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0 !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    z-index: auto;
    scroll-snap-align: center;
  }

  .testimonials-controls {
    gap: 20px;
  }

  /* Comparison Table */
  .comparison-title {
    gap: 12px;
  }

  .comparison-title-pill {
    white-space: normal;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
  }

  .comparison-table table {
    min-width: 500px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  /* CTA Form */
  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
  }

  /* Testimonial Form Mobile */
  .testimonial-form {
    gap: 20px;
  }

  .stars-container i {
    font-size: 1.5rem;
  }

  .testimonial-form textarea {
    min-height: 100px;
  }

  .testimonial-form button {
    width: 100%;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Pricing Cards */
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
  }

  .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Testimonial Stats */
  .testimonial-stats {
    padding: 30px 20px;
    gap: 20px;
  }

  .stat {
    min-width: 100px;
  }

  .stat h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .section-header p {
    font-size: var(--text-body);
  }

  .app-badges,
  .hero-store-badges {
    flex-direction: column;
    align-items: center;
  }

  .badge,
  .badge-store {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .testimonial-stats {
    flex-direction: column;
    gap: 25px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 100%;
  }

  .step-content {
    padding: 20px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-answer.active {
    padding: 0 20px 16px;
  }
}
