/* ==========================================================================
   LUMAONA - MODERN PLAYFUL & INTERACTIVE DESIGN SYSTEM
   ========================================================================== */

:root {
  --primary-blue: #103b87;
  --primary-blue-dark: #092659;
  --primary-blue-light: #1d4ed8;
  --green-mint: #10b981;
  --green-dark: #047857;
  --green-light: #d1fae5;
  --sunny-yellow: #ffdf20;
  --sunny-yellow-hover: #fde047;
  --coral-pink: #ff6b8b;
  --coral-light: #ffe4e6;
  --sky-soft: #f0f9ff;
  --sky-border: #bae6fd;
  --bg-page: #fffefb;
  --ink: #0f172a;
  --ink-light: #475569;
  --ink-muted: #64748b;
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(16, 59, 135, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(16, 59, 135, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(16, 59, 135, 0.14);
  --shadow-colored: 0 12px 24px -6px rgba(255, 223, 32, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-blue);
  margin: 0;
  word-break: break-word;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  letter-spacing: -0.5px;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  margin: 0;
}

.highlight-gradient {
  background: linear-gradient(135deg, #10b981 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.color-green {
  color: #10b981 !important;
}

.color-blue {
  color: var(--primary-blue-light) !important;
}

.color-yellow {
  color: #d97706 !important;
}

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

/* SKIP LINK */
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--white);
  z-index: 1000;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s;
}
.skip:focus {
  top: 20px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Baloo 2', sans-serif;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  background: var(--sunny-yellow);
  color: var(--primary-blue-dark);
  box-shadow: 0 4px 14px rgba(255, 223, 32, 0.4);
}
.button-primary:hover {
  background: var(--sunny-yellow-hover);
  box-shadow: 0 8px 20px rgba(255, 223, 32, 0.6);
}

.button-fun {
  background: var(--green-mint);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.button-fun:hover {
  background: #059669;
}

.button-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.button-whatsapp:hover {
  background: #1eb957;
}

.button-secondary {
  background: #e2e8f0;
  color: var(--ink);
}
.button-secondary:hover {
  background: #cbd5e1;
}

.button-lg {
  padding: 16px 30px;
  font-size: 19px;
}

.button.small {
  padding: 9px 18px;
  font-size: 15px;
}

.cta-bounce:hover {
  animation: mini-bounce 0.6s infinite alternate ease-in-out;
}

@keyframes mini-bounce {
  from { transform: translateY(-2px) scale(1.02); }
  to { transform: translateY(-6px) scale(1.04); }
}

/* TOP ANNOUNCEMENT */
.announcement {
  background: linear-gradient(90deg, #103b87 0%, #0d5bbd 50%, #10b981 100%);
  color: var(--white);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.ann-badge {
  background: var(--sunny-yellow);
  color: var(--primary-blue-dark);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
}

/* SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 59, 135, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(16, 59, 135, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover img {
  transform: rotate(8deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary-blue);
  line-height: 1;
}

.brand-slogan {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--green-mint);
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  background: transparent;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  background: #e0f2fe;
  color: var(--primary-blue);
  transform: translateY(-1px);
}

/* SECTION HEADERS */
.section-header {
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green-mint);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 18px;
  color: var(--ink-light);
  margin-top: 14px;
  line-height: 1.55;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 50px 24px 70px;
  background: radial-gradient(circle at 85% 30%, #e0f2fe 0%, #fffefb 70%);
  overflow: hidden;
}

.hero-bubbles .bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(2px);
  animation: float-bubbles 8s infinite alternate ease-in-out;
}
.b1 { width: 140px; height: 140px; background: #bae6fd; top: 10%; right: 5%; animation-delay: 0s; }
.b2 { width: 90px; height: 90px; background: #fef08a; top: 60%; right: 35%; animation-delay: 2s; }
.b3 { width: 180px; height: 180px; background: #bbf7d0; bottom: 5%; left: -5%; animation-delay: 4s; }
.b4 { width: 60px; height: 60px; background: #fbcfe8; top: 20%; left: 15%; animation-delay: 1s; }

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

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.chip-clinic {
  background: #dbeafe;
  color: var(--primary-blue);
}

.chip-fun {
  background: #fef3c7;
  color: #92400e;
}

.hero-title {
  margin-bottom: 18px;
}

.hero-description {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.hero-quote-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 2px solid #e0f2fe;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.quote-icon {
  font-size: 26px;
  line-height: 1;
}

.hero-quote-card strong {
  display: block;
  font-size: 16px;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.hero-quote-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.hero-features-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-light);
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ribbon-sep {
  color: #cbd5e1;
}

/* MASCOT STAGE */
.mascot-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mascot-speech-bubble {
  background: var(--white);
  border: 3px solid var(--sunny-yellow);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  position: relative;
  margin-bottom: 12px;
  max-width: 320px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bubble-tail {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--sunny-yellow);
}

.mascot-avatar-wrap {
  position: relative;
  cursor: pointer;
  filter: drop-shadow(0 15px 25px rgba(16, 59, 135, 0.15));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-avatar-wrap:hover {
  transform: scale(1.04) rotate(1deg);
}

.mascot-img {
  max-height: 480px;
  width: auto;
  user-select: none;
}

.sparkles-overlay .sparkle {
  position: absolute;
  font-size: 24px;
  animation: sparkle-bounce 2s infinite ease-in-out alternate;
}
.s1 { top: 15%; left: 5%; animation-delay: 0s; }
.s2 { top: 30%; right: 10%; animation-delay: 0.5s; font-size: 28px; }
.s3 { bottom: 25%; left: 10%; animation-delay: 1s; }
.s4 { bottom: 15%; right: 15%; animation-delay: 1.5s; }

@keyframes sparkle-bounce {
  from { transform: translateY(0) scale(0.9); opacity: 0.7; }
  to { transform: translateY(-12px) scale(1.2); opacity: 1; }
}

.mascot-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.fun-tap-btn {
  background: var(--white);
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.fun-tap-btn:hover {
  border-color: var(--green-mint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.fun-tap-btn.secondary {
  border-color: #fde047;
  background: #fefce8;
}

.tap-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* CELEBRATION ANIMATION FOR MASCOT */
.celebrate {
  animation: mascot-wiggle 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes mascot-wiggle {
  10%, 90% { transform: translate3d(-2px, -8px, 0) rotate(-3deg); }
  20%, 80% { transform: translate3d(4px, -12px, 0) rotate(4deg); }
  30%, 50%, 70% { transform: translate3d(-6px, -16px, 0) rotate(-4deg); }
  40%, 60% { transform: translate3d(6px, -14px, 0) rotate(4deg); }
}

/* ==========================================================================
   BEFORE VS AFTER & BENTO SECTION
   ========================================================================== */
.bento-section {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.compare-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 50px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.compare-card:hover {
  transform: translateY(-4px);
}

.before-card {
  background: #fff1f2;
  border: 2px dashed #fecdd3;
}

.after-card {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  box-shadow: var(--shadow-md);
}

.compare-head {
  margin-bottom: 20px;
}

.compare-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.compare-badge.bad {
  background: #ffe4e6;
  color: #e11d48;
}

.compare-badge.good {
  background: #d1fae5;
  color: #059669;
}

.compare-card h3 {
  font-size: 24px;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-vs span {
  width: 46px;
  height: 46px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* 3 LIVE PILLARS BENTO GRID */
.pillars-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bento-pink {
  background: #fff5f5;
  border-color: #fed7d7;
}

.bento-blue {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.bento-yellow {
  background: #fefce8;
  border-color: #fef08a;
}

.bento-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.bento-tag {
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.bento-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.bento-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.bento-stat {
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.bento-stat strong {
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  color: var(--green-mint);
  margin-right: 4px;
}

/* ==========================================================================
   EXPLORER SECTION (3-FACE INTERACTIVE SIMULATOR)
   ========================================================================== */
.explorer-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.explorer-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.brush-showcase-box {
  position: relative;
  background: var(--white);
  border: 3px solid #bbf7d0;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.brush-img {
  border-radius: var(--radius-lg);
  width: 100%;
  transition: transform 0.3s;
}

.brush-showcase-box:hover .brush-img {
  transform: scale(1.02);
}

.brush-badge-floating {
  position: absolute;
  bottom: 35px;
  left: 35px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid #86efac;
}

.face-tab-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.face-tab-btn {
  flex: 1;
  background: var(--white);
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.face-tab-btn .tab-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-muted);
}

.face-tab-btn .tab-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.face-tab-btn:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-2px);
}

.face-tab-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(16, 59, 135, 0.25);
}

.face-tab-btn.active .tab-num {
  color: var(--sunny-yellow);
}

.face-tab-btn.active .tab-title {
  color: var(--white);
}

.face-display-card {
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.face-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.face-badge-pill {
  background: #e0f2fe;
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.face-icon-anim {
  font-size: 32px;
}

.face-card-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.face-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.face-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hl-check {
  color: var(--green-mint);
  font-weight: 900;
  font-size: 16px;
}

.buy-box-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  border: 1px solid #e2e8f0;
}

.callout-tag {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #059669;
}

.callout-text {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   2-MINUTE BRUSHING TIMER RETO
   ========================================================================== */
.timer-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #103b87 0%, #0c2d67 100%);
  color: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.timer-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.timer-header h2 {
  color: var(--white);
}

.timer-header p {
  color: #93c5fd;
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 36px;
}

.timer-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.timer-visual-ring {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 30px;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 14;
}

.ring-progress {
  fill: none;
  stroke: var(--sunny-yellow);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s ease;
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-clock {
  font-family: 'Baloo 2', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.timer-phase {
  font-size: 13px;
  font-weight: 700;
  color: var(--sunny-yellow);
  margin-top: 4px;
}

.timer-controls {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.timer-tips {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 500px;
}

.tip-avatar {
  font-size: 32px;
}

.timer-tips p {
  font-size: 14px;
  color: #f1f5f9;
  line-height: 1.45;
}

/* ==========================================================================
   CLINICAL CALCULATOR & GUIDELINE
   ========================================================================== */
.calculator-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.calc-box {
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.age-selector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.age-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.age-btn .age-emoji {
  font-size: 32px;
  margin-bottom: 6px;
}

.age-btn .age-label {
  font-family: 'Baloo 2', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.age-btn small {
  font-size: 12px;
  color: var(--ink-muted);
}

.age-btn:hover {
  border-color: var(--green-mint);
  transform: translateY(-2px);
}

.age-btn.active {
  background: #ecfdf5;
  border-color: var(--green-mint);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.age-btn.active .age-label {
  color: #047857;
}

.calc-result-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: center;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 30px;
}

.dose-graphic-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #86efac;
  box-shadow: var(--shadow-sm);
}

.dose-scale-icon {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 12px;
}

.dose-name {
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #065f46;
}

.dose-chip-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.pill-chip {
  background: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  border: 1px solid #cbd5e1;
}

.pill-chip.green {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

.calc-result-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.calc-result-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 18px;
}

.guideline-reminder {
  background: var(--white);
  border-left: 4px solid var(--green-mint);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

/* ==========================================================================
   MEMORY GAME
   ========================================================================== */
.game-section {
  padding: 80px 24px;
  background: #fdfaf0;
}

.game-container {
  max-width: 600px;
  margin: 0 auto;
}

.game-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 2px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.score-pill {
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
}

.status-pill {
  font-size: 14px;
  font-weight: 700;
  color: #ea580c;
}

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

.memory-card {
  aspect-ratio: 1;
  background: var(--white);
  border: 3px solid #cbd5e1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  cursor: pointer;
  box-shadow: 0 6px 0 #94a3b8;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.memory-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue-light);
  box-shadow: 0 9px 0 #94a3b8;
}

.memory-card:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #94a3b8;
}

.memory-card.revealed {
  border-color: var(--green-mint);
  box-shadow: 0 6px 0 #059669;
  background: #ecfdf5;
}

.memory-card.matched {
  border-color: var(--sunny-yellow);
  box-shadow: 0 4px 0 #d97706;
  background: #fefce8;
  animation: card-pop 0.4s ease;
}

@keyframes card-pop {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   ABOUT & MISSION SECTION
   ========================================================================== */
.about-section {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 50px;
}

.about-story-card {
  background: var(--white);
  border: 2px solid #e0f2fe;
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-badge {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-blue);
  background: #e0f2fe;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.about-story-card h3 {
  font-size: 26px;
  line-height: 1.25;
}

.about-story-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-light);
}

.values-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-item-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: transform 0.2s;
}

.value-item-card:hover {
  transform: translateY(-4px);
}

.val-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.value-item-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.value-item-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-light);
}

.v1 { background: #fdf2f8; border-color: #fbcfe8; }
.v2 { background: #fefce8; border-color: #fde047; }
.v3 { background: #f0fdf4; border-color: #bbf7d0; }
.v4 { background: #eff6ff; border-color: #bfdbfe; }

.audiences-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.aud-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-mint);
  margin-bottom: 8px;
}

.aud-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.aud-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-light);
  flex-grow: 1;
}

.aud-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: underline;
}

/* ==========================================================================
   FAQ SECTION (FILTERABLE & ACCESSIBLE)
   ========================================================================== */
.faq-section {
  padding: 80px 24px;
  background: #f8fafc;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.chip-btn {
  background: var(--white);
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
}

.chip-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.chip-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(16, 59, 135, 0.25);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: #93c5fd;
}

.faq-item summary {
  padding: 20px 24px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.q-icon {
  font-size: 20px;
}

.faq-ans {
  padding: 0 24px 22px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.faq-ans p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-light);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-box {
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--ink);
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue-light);
}

.cbox-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.contact-box h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-box p {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.cbox-action {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: underline;
}

.cbox-address {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 600;
}

/* CLOSING BANNER */
.closing-banner {
  padding: 80px 24px;
  background: radial-gradient(circle at 50% 50%, #fffbeb 0%, #ffdf20 100%);
  text-align: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-tag {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-blue-dark);
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.closing-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--primary-blue-dark);
  margin-bottom: 12px;
}

.closing-inner h2 span {
  color: #047857;
}

.closing-inner p {
  font-size: 18px;
  color: #451a03;
  margin-bottom: 30px;
}

.closing-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER & POLICIES
   ========================================================================== */
.site-footer {
  background: #091a3e;
  color: #cbd5e1;
  padding: 60px 24px 30px;
}

.footer-top-row {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-family: 'Baloo 2', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.social-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--white);
  transition: background 0.2s;
}
.social-badge:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-contact-col a {
  color: var(--sunny-yellow);
  font-weight: 700;
}

.footer-legal-notice {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-policies-bar {
  max-width: 1200px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.policy-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--sunny-yellow);
}

.policy-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
}

.open-legal-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.open-legal-btn:hover {
  color: var(--sunny-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.footer-bottom-copy {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   LEGAL MODAL DIALOG
   ========================================================================== */
.legal-dialog {
  border: none;
  border-radius: 24px;
  padding: 0;
  max-width: 880px;
  width: 92%;
  max-height: 85vh;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  margin: auto;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 9999;
}

.legal-dialog::backdrop {
  background: rgba(9, 26, 62, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.legal-dialog-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 85vh;
}

.legal-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.legal-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--green-mint);
  display: block;
  margin-bottom: 2px;
}

.legal-dialog-header h2 {
  font-size: 22px;
  color: var(--primary-blue);
  margin: 0;
}

.close-modal-btn {
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.close-modal-btn:hover {
  background: #cbd5e1;
  transform: scale(1.08);
}

.legal-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.legal-tabs-nav::-webkit-scrollbar {
  display: none;
}

.legal-tabs-nav button {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.legal-tabs-nav button:hover {
  background: var(--white);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.legal-tabs-nav button[aria-selected="true"] {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(16, 59, 135, 0.25);
}

.legal-panels-content {
  flex: 1;
  padding: 26px;
  overflow-y: auto;
  line-height: 1.65;
  font-size: 15px;
}

.legal-panel {
  display: none;
}

.legal-panel.active {
  display: block;
}

.legal-panel h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin: 0 0 16px 0;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.legal-panel h4 {
  font-size: 16px;
  margin: 18px 0 8px 0;
}

.legal-panel p {
  margin: 0 0 12px 0;
  color: #334155;
}

.legal-panel ul {
  margin: 0 0 14px 18px;
  padding: 0;
  color: #334155;
}

.legal-panel li {
  margin-bottom: 6px;
}

.legal-dialog-footer {
  padding: 14px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  background: #f8fafc;
}

/* CONFETTI CANVAS */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-badge-row, .hero-actions, .hero-features-ribbon {
    justify-content: center;
  }

  .hero-quote-card {
    text-align: left;
  }

  .compare-container {
    grid-template-columns: 1fr;
  }

  .compare-vs {
    display: none;
  }

  .pillars-bento-grid {
    grid-template-columns: 1fr;
  }

  .explorer-layout {
    grid-template-columns: 1fr;
  }

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

  .audiences-row {
    grid-template-columns: 1fr;
  }

  .calc-result-card {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 8px 16px;
  }

  .brand-text {
    display: none;
  }

  .hero-section {
    padding: 30px 16px 50px;
  }

  .bento-section, .explorer-section, .timer-section, .calculator-section, .game-section, .about-section, .faq-section, .contact-section {
    padding: 50px 16px;
  }

  .age-selector-row {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .values-bento {
    grid-template-columns: 1fr;
  }

  .legal-dialog {
    width: 96%;
    max-height: 90vh;
    border-radius: 18px;
  }

  .legal-dialog-header {
    padding: 14px 16px;
  }

  .legal-tabs-nav {
    padding: 10px 14px;
    gap: 6px;
  }

  .legal-panels-content {
    padding: 18px 16px;
    font-size: 14px;
  }
}
