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

:root {
  --brand-primary: #FFD55A;
  --brand-secondary: #FF8A65;
  --bg-cream: #FFF9F0;
  --bg-warm: #FFF5E6;
  --card: #FFFFFF;
  --text-primary: #2D2D2D;
  --text-secondary: #8E8E93;
  --score-low: #FFB74D;
  --score-mid: #AED581;
  --score-high: #66BB6A;
  --duchenne-glow: #4FC3F7;
  --coral-soft: #FFAB91;
  --golden-light: #FFE89A;
  --orange-deep: #F4511E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-cream);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ===== FLOATING BLOBS BACKGROUND ===== */
.blob-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobFloat 20s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--brand-primary);
  top: -100px; left: -100px;
  animation-delay: 0s;
  animation-duration: 22s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--brand-secondary);
  top: 30%; right: -80px;
  animation-delay: -5s;
  animation-duration: 18s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: var(--duchenne-glow);
  bottom: 20%; left: 10%;
  animation-delay: -10s;
  animation-duration: 25s;
}
.blob-4 {
  width: 300px; height: 300px;
  background: var(--score-mid);
  top: 60%; right: 20%;
  animation-delay: -15s;
  animation-duration: 20s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -60px) scale(1.1); }
  50% { transform: translate(-30px, 40px) scale(0.95); }
  75% { transform: translate(50px, 20px) scale(1.05); }
}

/* ===== GLOBAL LAYOUT ===== */
section {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
nav.scrolled {
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo img {
  width: 40px; height: 40px;
  border-radius: 10px;
}
.nav-logo span {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand-secondary); }
.nav-cta {
  background: var(--brand-secondary) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 101, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  animation: fadeSlideUp 0.8s ease-out;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 2px solid var(--golden-light);
  padding: 6px 16px 6px 8px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.hero-badge img {
  width: 28px; height: 28px;
  border-radius: 8px;
}
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--score-high);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-secondary), var(--orange-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-secondary), #FF7043);
  color: white;
  padding: 16px 32px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 25px rgba(255, 138, 101, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 138, 101, 0.45);
}
.btn-primary svg { width: 22px; height: 22px; }
.btn-primary .tf-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  margin: -4px 2px -4px -6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  display: block;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--text-primary);
  padding: 16px 28px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid #EDEDED;
  transition: transform 0.25s, border-color 0.25s;
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--brand-secondary);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: var(--bg-cream);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  image-rendering: high-quality;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  object-position: top;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 3;
}

/* Floating mascot next to phone */
.hero-mascot {
  position: absolute;
  width: 160px;
  z-index: 3;
  animation: mascotBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}
.hero-mascot.mascot-left {
  left: -20px;
  bottom: 60px;
}

/* Floating score badges */
.float-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 4;
  animation: floatBadge 4s ease-in-out infinite;
}
.float-badge.badge-score {
  top: 40px;
  right: -10px;
  animation-delay: -1s;
}
.float-badge.badge-streak {
  bottom: 30px;
  right: -20px;
  animation-delay: -2s;
}
.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-icon img {
  width: 20px;
  height: 20px;
}
.badge-icon.green { background: #E8F5E9; }
.badge-icon.gold { background: #FFF8E1; }

@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== SOCIAL PROOF STRIP ===== */
.proof-strip {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.4);
}
.proof-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-item {
  text-align: center;
}
.proof-item .number {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-secondary);
}
.proof-item .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== WHAT IS DUCHENNE ===== */
.section-duchenne {
  padding: 120px 0;
}
.duchenne-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.duchenne-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.smile-diagram {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  position: relative;
}
.smile-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
}
.smile-type {
  padding: 24px 16px;
  border-radius: 20px;
}
.smile-type.fake {
  background: #FFF3E0;
}
.smile-type.real {
  background: #E8F5E9;
}
.smile-type .type-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: block;
}
.smile-type .type-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.smile-type h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.smile-type .muscle-count {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}
.smile-type.fake .muscle-count { color: var(--score-low); }
.smile-type.real .muscle-count { color: var(--score-high); }
.smile-type .muscle-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.duchenne-mascot {
  position: absolute;
  width: 120px;
  bottom: -40px;
  right: -30px;
  animation: mascotBounce 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}

.duchenne-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}
.pronunciation {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 500;
}
.duchenne-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.duchenne-content .fact-callout {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border-radius: 20px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  color: #5D4037;
}
.fact-callout .fact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fact-callout .fact-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(30%) sepia(20%) saturate(700%) hue-rotate(350deg) brightness(85%) contrast(95%);
}

/* ===== HOW IT WORKS ===== */
.section-how {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-card {
  background: white;
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 28px 28px 0 0;
}
.how-card:nth-child(1)::before { background: var(--duchenne-glow); }
.how-card:nth-child(2)::before { background: var(--brand-secondary); }
.how-card:nth-child(3)::before { background: var(--score-high); }

.how-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.how-icon img {
  width: 40px;
  height: 40px;
}
.how-card:nth-child(1) .how-icon { background: #E1F5FE; }
.how-card:nth-child(2) .how-icon { background: #FFF3E0; }
.how-card:nth-child(3) .how-icon { background: #E8F5E9; }

.how-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.how-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Score ring animation */
.score-ring {
  width: 100px;
  height: 100px;
  margin: 20px auto 0;
  position: relative;
}
.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
.score-ring .ring-bg {
  stroke: #F0F0F0;
}
.score-ring .ring-fill {
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  transition: stroke-dashoffset 1.5s ease-out;
}
.score-ring.animate .ring-fill {
  stroke-dashoffset: var(--offset);
}
.score-ring .ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

/* ===== FEATURES ===== */
.section-features {
  padding: 120px 0;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  background: var(--bg-warm);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-secondary);
}
.feature-phone {
  display: flex;
  justify-content: center;
}
.feature-phone .phone-mockup {
  width: 320px;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.section-achievements {
  padding: 100px 0;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  overflow: hidden;
}
.achievement-scroll {
  display: flex;
  gap: 16px;
  animation: scrollAchievements 30s linear infinite;
  width: max-content;
}
.achievement-pill {
  flex-shrink: 0;
  background: white;
  border-radius: 50px;
  padding: 10px 22px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  white-space: nowrap;
}
.achievement-pill .ach-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--golden-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.achievement-pill .ach-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(700%) hue-rotate(350deg) brightness(95%) contrast(95%);
}

@keyframes scrollAchievements {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PRICING ===== */
.section-pricing {
  padding: 120px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: white;
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s;
  border: 2px solid transparent;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.popular {
  border-color: var(--brand-secondary);
  box-shadow: 0 20px 60px rgba(255, 138, 101, 0.15);
}
.price-card.popular::before {
  content: 'Best Value';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-secondary), #FF7043);
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-card .plan-name {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.price-card .plan-price {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-secondary);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .plan-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 600;
}
.price-card .plan-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.price-card .plan-btn.btn-fill {
  background: linear-gradient(135deg, var(--brand-secondary), #FF7043);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 138, 101, 0.3);
}
.price-card .plan-btn.btn-outline {
  background: transparent;
  color: var(--brand-secondary);
  border: 2px solid var(--brand-secondary);
}
.price-card .plan-btn:hover {
  transform: translateY(-2px);
}
.price-card .plan-save {
  display: inline-block;
  margin-top: 12px;
  background: #E8F5E9;
  color: var(--score-high);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Free vs Premium table */
.comparison-section {
  margin-top: 80px;
}
.comparison-table {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.comp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 16px 28px;
  align-items: center;
  border-bottom: 1px solid #F5F5F5;
  font-size: 0.95rem;
}
.comp-row:last-child { border-bottom: none; }
.comp-row.comp-header {
  background: var(--bg-warm);
  font-weight: 800;
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
}
.comp-row .comp-feature { font-weight: 600; }
.comp-row .comp-free,
.comp-row .comp-premium {
  text-align: center;
  font-weight: 600;
}
.comp-row .comp-premium { color: var(--brand-secondary); }
.comp-check { color: var(--score-high); font-size: 1.2rem; }
.comp-cross { color: #DDD; font-size: 1.2rem; }

/* ===== FUN FACTS ===== */
.section-facts {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255, 213, 90, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 55% at 85% 100%, rgba(255, 138, 101, 0.14), transparent 60%),
    var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.section-facts::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(45, 45, 45, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.section-facts .container { position: relative; z-index: 1; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.fact-card {
  background: white;
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 24px rgba(244, 81, 30, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.fact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.9;
}
.fact-card:nth-child(4n+1)::before { background: var(--brand-primary); }
.fact-card:nth-child(4n+2)::before { background: var(--brand-secondary); }
.fact-card:nth-child(4n+3)::before { background: var(--duchenne-glow); }
.fact-card:nth-child(4n+4)::before { background: var(--score-high); }
.fact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(244, 81, 30, 0.12);
}
.fact-card .fact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.fact-card:nth-child(4n+1) .fact-icon-wrap { background: #FFF6D6; }
.fact-card:nth-child(4n+2) .fact-icon-wrap { background: #FFE6DB; }
.fact-card:nth-child(4n+3) .fact-icon-wrap { background: #E1F5FE; }
.fact-card:nth-child(4n+4) .fact-icon-wrap { background: #E8F5E9; }
.fact-card .fact-icon-wrap img {
  width: 26px;
  height: 26px;
}
.fact-card:nth-child(4n+1) .fact-icon-wrap img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(64%) saturate(463%) hue-rotate(5deg) brightness(98%) contrast(96%);
}
.fact-card:nth-child(4n+2) .fact-icon-wrap img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(67%) saturate(1063%) hue-rotate(338deg) brightness(101%) contrast(101%);
}
.fact-card:nth-child(4n+3) .fact-icon-wrap img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(500%) hue-rotate(170deg) brightness(95%) contrast(95%);
}
.fact-card:nth-child(4n+4) .fact-icon-wrap img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(52%) saturate(425%) hue-rotate(79deg) brightness(93%) contrast(87%);
}
.fact-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== PRIVACY SECTION (landing page) ===== */
.section-privacy {
  padding: 100px 0;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}
@media (max-width: 480px) {
  .privacy-grid { grid-template-columns: 1fr; max-width: 320px; }
}
.privacy-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.04);
}
.privacy-card .priv-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: block;
}
.privacy-card .priv-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(59%) sepia(67%) saturate(1063%) hue-rotate(338deg) brightness(101%) contrast(101%);
}
.privacy-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.privacy-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.section-cta {
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
}
.cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border-radius: 36px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--brand-primary);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  top: -50px; right: -50px;
}
.cta-mascot {
  width: 140px;
  margin: 0 auto 24px;
  display: block;
  animation: mascotBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}
.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  font-size: 1.1rem;
  color: #5D4037;
  margin-bottom: 32px;
  line-height: 1.7;
  position: relative;
}
.cta-card .btn-primary { position: relative; }
.cta-badge {
  display: inline-block;
  position: relative;
  padding: 6px 14px;
  margin-bottom: 16px;
  background: rgba(79, 195, 247, 0.15);
  color: #0277BD;
  border: 1px solid rgba(79, 195, 247, 0.35);
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cta-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4FC3F7;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.7);
  animation: ctaBadgePulse 2s infinite;
}
@keyframes ctaBadgePulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(79, 195, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0); }
}
.cta-fineprint {
  position: relative;
  margin-top: 14px;
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
}
.footer-brand span {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h5 {
  color: white;
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 140px 0 80px;
}
.legal-page .container {
  max-width: 800px;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-weight: 600;
}
.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.legal-page h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.legal-page p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.legal-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-page li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}
.legal-page a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 600;
}
.legal-page a:hover {
  text-decoration: underline;
}
.legal-page .legal-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.legal-page .legal-highlight {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  color: #5D4037;
}
.legal-page .legal-highlight .fact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-mascot.mascot-left { left: 0; bottom: 20px; width: 120px; }
  .float-badge { display: none; }
  .duchenne-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .feature-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255, 249, 240, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .how-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .comp-row { font-size: 0.85rem; padding: 14px 20px; }
  .hero h1 { font-size: 2.4rem; }
  .phone-mockup { width: 260px; }
    .feature-phone .phone-mockup { width: 260px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 48px 28px; }
  .hero { padding: 100px 0 60px; }
  .section-duchenne, .section-how, .section-features, .section-pricing { padding: 80px 0; }
  .features-list { gap: 64px; }
  .legal-page .legal-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .proof-inner { gap: 32px; }
  .feature-phone .phone-mockup { width: 240px; }
    .facts-grid { grid-template-columns: 1fr; }
}
