/* ==========================================================================
   Thinklab Design System
   Light, clean, editorial (inspired by ondo.finance) with friendly Jester warmth
   Brand Palette from LOGO THINKLAB NO BG.png:
   - Orange: #EA5E1A
   - Science Blue: #3B9BC2
   - Sunny Yellow: #F4C414
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-warm: #fffaf5;
  --surface: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  --brand-orange: #ea5e1a;
  --brand-orange-hover: #d45010;
  --brand-orange-soft: #fff2eb;

  --brand-blue: #3b9bc2;
  --brand-blue-soft: #eef8fc;

  --brand-yellow: #f4c414;
  --brand-yellow-soft: #fef9e2;

  --wa-green: #16a34a;
  --tokped-green: #03ac0e;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 16px 40px rgba(17, 24, 39, 0.08);

  --container-max: 1140px;
  --transition: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-transparent {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.site-header.header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-orange);
}

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

.btn-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--text-primary);
  color: #ffffff;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-account:hover,
.btn-account.active {
  background: var(--brand-orange);
  transform: translateY(-1px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 94, 26, 0.24);
}

.btn-primary:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 94, 26, 0.3);
}

.btn-outline {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn-blue:hover {
  background: #2f87ab;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Full-Viewport Shrink-to-Reveal Transition)
   ========================================================================== */
.hero-scroll-stage {
  position: relative;
  height: 100vh;
  background: var(--bg-page);
  overflow: hidden;
}

.hero-sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  transform-origin: center center;
  will-change: transform, opacity, border-radius;
}

.hero-bg-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, opacity, border-radius;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.28) 12%,
      rgba(15, 23, 42, 0.46) 28%,
      rgba(15, 23, 42, 0.54) 65%,
      rgba(15, 23, 42, 0.5) 100%
    );
  backdrop-filter: blur(2.5px);
}

.hero-content-layer {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 40px;
  will-change: opacity, transform;
}

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

.hero-ribbon {
  display: inline-block;
  background: #1e3a5f;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 18px;
  border-radius: 6px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
  margin-bottom: 16px;
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
  max-width: 820px;
  margin: 0 auto;
}

.hero-sparkle {
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.35));
}

.hero-sparkle-left {
  top: -8px;
  left: -38px;
  transform: rotate(-10deg);
}

.hero-sparkle-right {
  bottom: 4px;
  right: -34px;
  width: 28px;
  height: 28px;
  transform: rotate(12deg);
}

.hero-title {
  font-family: "Fredoka", "Rubik", sans-serif;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(15, 23, 42, 0.5), 0 2px 6px rgba(15, 23, 42, 0.35);
}

.hero-squiggle {
  display: block;
  width: clamp(160px, 28vw, 240px);
  height: auto;
  margin: 8px auto 18px;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.35));
}

@media (max-width: 768px) {
  .hero-sparkle-left {
    left: -6px;
    top: -18px;
    width: 24px;
    height: 24px;
  }

  .hero-sparkle-right {
    right: -4px;
    bottom: -6px;
    width: 22px;
    height: 22px;
  }
}

.hero-subtitle {
  font-family: "Rubik", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  margin: 0 auto 12px;
  max-width: 660px;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.65);
}

.hero-footnote {
  font-family: "Rubik", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fde68a;
  margin: 0 auto 30px;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.65);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-ctas .btn-primary {
  background: #16a34a;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.42);
}

.hero-ctas .btn-primary:hover {
  background: #15803d;
}

.hero-ctas .btn-outline {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.hero-ctas .btn-outline:hover {
  background: #ffffff;
  color: var(--brand-blue);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.85);
  will-change: opacity, transform;
  cursor: pointer;
}

/* ==========================================================================
   Full-Screen Section Themes & Neat Geometric Shapes
   ========================================================================== */
.full-screen-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 54px;
  overflow: hidden;
}

.section-shrink-wrap {
  position: relative;
  z-index: 2;
  transform-origin: center center;
  will-change: transform, opacity;
}

.section-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  display: block;
}

.shape-circle {
  border-radius: 50%;
}

.shape-square {
  border-radius: 24px;
}

.shape-ring {
  border-radius: 50%;
  background: transparent !important;
  border-style: solid;
}

.shape-pill {
  border-radius: 9999px;
}

/* Blue Theme (Why Thinklab) */
.theme-blue {
  background: linear-gradient(160deg, #eff8fc 0%, #e1f3fa 100%);
}

.theme-blue .shape {
  background: rgba(59, 155, 194, 0.13);
}

.theme-blue .shape-ring {
  border-width: 14px;
  border-color: rgba(59, 155, 194, 0.14);
}

.theme-blue .s1 { width: 280px; height: 280px; top: -80px; left: -60px; }
.theme-blue .s2 { width: 170px; height: 170px; top: 14%; right: 6%; transform: rotate(18deg); }
.theme-blue .s3 { width: 220px; height: 220px; bottom: -70px; left: 12%; }
.theme-blue .s4 { width: 240px; height: 68px; bottom: 14%; right: -50px; transform: rotate(-16deg); }
.theme-blue .s5 { width: 90px; height: 90px; top: 24%; left: 18%; background: rgba(59, 155, 194, 0.09); }

/* Orange Theme (Featured Boxes) */
.theme-orange {
  background: linear-gradient(160deg, #fff5ee 0%, #ffe9da 100%);
}

.theme-orange .shape {
  background: rgba(234, 94, 26, 0.11);
}

.theme-orange .shape-ring {
  border-width: 14px;
  border-color: rgba(234, 94, 26, 0.13);
}

.theme-orange .s1 { width: 210px; height: 210px; top: -60px; right: 8%; transform: rotate(22deg); }
.theme-orange .s2 { width: 250px; height: 250px; bottom: -90px; left: -60px; }
.theme-orange .s3 { width: 220px; height: 64px; top: 18%; left: -55px; transform: rotate(-14deg); }
.theme-orange .s4 { width: 190px; height: 190px; bottom: 10%; right: -50px; }
.theme-orange .s5 { width: 96px; height: 96px; top: 16%; right: 26%; transform: rotate(12deg); background: rgba(234, 94, 26, 0.08); }

/* Yellow Theme (What Parents Said) */
.theme-yellow {
  background: linear-gradient(160deg, #fefbe9 0%, #fdf2c6 100%);
}

.theme-yellow .shape {
  background: rgba(244, 196, 20, 0.22);
}

.theme-yellow .shape-ring {
  border-width: 14px;
  border-color: rgba(244, 196, 20, 0.24);
}

.theme-yellow .s1 { width: 260px; height: 260px; top: -85px; left: 6%; }
.theme-yellow .s2 { width: 210px; height: 64px; top: 16%; right: -45px; transform: rotate(16deg); }
.theme-yellow .s3 { width: 150px; height: 150px; bottom: 10%; left: 7%; transform: rotate(-15deg); }
.theme-yellow .s4 { width: 220px; height: 220px; bottom: -75px; right: 10%; }
.theme-yellow .s5 { width: 88px; height: 88px; top: 28%; left: 22%; background: rgba(244, 196, 20, 0.16); }

.theme-light {
  background: var(--bg-page);
}

/* Full-screen Why Thinklab section */
#why-thinklab {
  overflow-x: hidden;
}

.why-split-title {
  display: inline-flex;
  justify-content: center;
  gap: 0.28em;
}

.why-word-left,
.why-word-right {
  display: inline-block;
  opacity: 0;
  transition: transform 0.26s linear,
    opacity 0.24s linear;
  will-change: transform, opacity;
}

.why-word-left {
  transform: translateX(-28vw);
}

.why-word-right {
  transform: translateX(28vw);
}

#why-thinklab.in-view .why-word-left,
#why-thinklab.in-view .why-word-right {
  transform: translateX(0);
  opacity: 1;
}

.why-subtitle-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.24s linear,
    opacity 0.22s linear;
}

#why-thinklab.in-view .why-subtitle-anim {
  opacity: 1;
  transform: translateY(0);
}

.why-card-anim {
  opacity: 0;
  transform: translateY(48px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transition: transform 0.26s linear,
    opacity 0.24s linear,
    box-shadow var(--transition),
    border-color var(--transition);
  will-change: transform, opacity;
}

#why-thinklab.in-view .why-card-anim.reveal-delay-1 {
  transition-delay: 0.03s;
}

#why-thinklab.in-view .why-card-anim.reveal-delay-2 {
  transition-delay: 0.06s;
}

#why-thinklab.in-view .why-card-anim.reveal-delay-3 {
  transition-delay: 0.09s;
}

#why-thinklab.in-view .why-card-anim {
  opacity: 1;
  transform: translateY(0);
}

#why-thinklab.in-view .why-card-anim:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.34s;
}

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Why Thinklab (3 Pillars)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.pillar-icon.orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
}

.pillar-icon.blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.pillar-icon.yellow {
  background: var(--brand-yellow-soft);
  color: #b48a00;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Featured Boxes (Auto-Carousel Cards)
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.carousel-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-subtle);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
}

.carousel-wrap:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: #ffffff;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(17, 24, 39, 0.35);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  transition: all var(--transition);
}

.carousel-dot.active {
  background: #ffffff;
  width: 18px;
  border-radius: var(--radius-pill);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
}

.badge-orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
}

.badge-blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.badge-yellow {
  background: var(--brand-yellow-soft);
  color: #9a7400;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.product-summary {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.product-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-group {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-note {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.featured-cta-wrap {
  text-align: center;
  margin-top: 22px;
}

/* Compact Featured Boxes so cards + Explore Full Catalog fit in 100vh */
#featured-boxes {
  padding: 80px 0 36px;
}

#featured-boxes .section-header {
  margin-bottom: 22px;
}

#featured-boxes .section-title {
  margin-bottom: 8px;
}

#featured-boxes .featured-grid {
  gap: 22px;
}

#featured-boxes .carousel-wrap {
  aspect-ratio: 16 / 9;
  max-height: 210px;
}

#featured-boxes .product-body {
  padding: 16px 20px;
}

#featured-boxes .product-badges {
  margin-bottom: 8px;
}

#featured-boxes .product-title {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

#featured-boxes .product-summary {
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

#featured-boxes .product-footer {
  padding-top: 12px;
}

#featured-boxes .price-current {
  font-size: 1.08rem;
}

#featured-boxes .product-footer .btn {
  padding: 9px 16px;
  font-size: 0.86rem;
}

/* ==========================================================================
   Testimonials (What Parents Said - Single Centered Quote Carousel)
   ========================================================================== */
.testimonial-single-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-stage {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 196, 20, 0.45);
  border-radius: var(--radius-lg);
  padding: 44px 40px 36px;
  box-shadow: var(--shadow-md);
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.35s linear, transform 0.35s linear;
}

.testimonial-stage.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.testimonial-quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand-orange);
  font-weight: 800;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0 0 28px;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  width: 100%;
  max-width: 320px;
}

.author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.author-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.author-role {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(17, 24, 39, 0.2);
  transition: all var(--transition);
}

.testimonial-dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange);
}

/* ==========================================================================
   Platforms + Footer Combined Bottom Screen
   ========================================================================== */
.bottom-screen-group {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-page);
}

.platforms-compact {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 84px 0 24px;
}

.platforms-compact .section-header {
  margin-bottom: 36px;
}

.platforms-logos-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  max-width: 860px;
  margin: 0 auto;
}

.platform-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), opacity var(--transition);
}

a.platform-logo-link:hover {
  transform: translateY(-4px) scale(1.04);
}

.platform-logo-box {
  width: 170px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-logo-box img {
  max-width: 160px;
  max-height: 92px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-logo-link.disabled {
  opacity: 0.55;
  cursor: default;
}

.coming-soon-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9a7400;
  background: var(--brand-yellow-soft);
  padding: 3px 10px;
  border-radius: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 320px;
  margin: 14px 0 0;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0 0 14px;
}

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

.footer-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.footer-list a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Catalog Page Specifics
   ========================================================================== */
.catalog-header {
  padding: 56px 0 36px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter-pill {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.filter-pill.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.catalog-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}

.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb-btn {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  transition: border-color var(--transition);
}

.thumb-btn.active {
  border-color: var(--brand-orange);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-details h2 {
  margin: 10px 0 8px;
  font-size: 1.5rem;
}

.catalog-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.checklist li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checklist li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 700;
}

.catalog-meta-notes {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* ==========================================================================
   Account & Referral Page
   ========================================================================== */
.account-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 108px 0 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff4ed 0%, #f5fafe 52%, #e6f4fa 100%);
}

.theme-orange-blue .shape {
  background: rgba(234, 94, 26, 0.11);
}

.theme-orange-blue .shape-ring {
  border-width: 14px;
  border-color: rgba(59, 155, 194, 0.16);
}

.theme-orange-blue .s1 {
  width: 280px;
  height: 280px;
  top: -85px;
  left: -60px;
  background: rgba(234, 94, 26, 0.12);
}

.theme-orange-blue .s2 {
  width: 190px;
  height: 190px;
  top: 14%;
  right: 7%;
  transform: rotate(20deg);
  background: rgba(59, 155, 194, 0.13);
}

.theme-orange-blue .s3 {
  width: 220px;
  height: 220px;
  bottom: -65px;
  left: 10%;
}

.theme-orange-blue .s4 {
  width: 240px;
  height: 68px;
  bottom: 16%;
  right: -50px;
  transform: rotate(-16deg);
  background: rgba(234, 94, 26, 0.11);
}

.theme-orange-blue .s5 {
  width: 96px;
  height: 96px;
  top: 26%;
  left: 14%;
  background: rgba(59, 155, 194, 0.12);
}

.theme-orange-blue .s6 {
  width: 110px;
  height: 110px;
  bottom: 24%;
  right: 16%;
  transform: rotate(12deg);
  background: rgba(234, 94, 26, 0.08);
}

.account-card {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.account-card h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
}

.account-card .account-sub {
  margin: 0 0 26px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  text-align: center;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 155, 194, 0.16);
}

.form-error {
  color: #dc2626;
  font-size: 0.86rem;
  margin: 0 0 14px;
  text-align: center;
  display: none;
}

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

.referral-badge-box {
  background: var(--brand-yellow-soft);
  border: 2px dashed var(--brand-orange);
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0;
}

.referral-code-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-orange);
}

.referral-demo-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.account-tab-btn {
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.account-tab-btn.active {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 94, 26, 0.25);
}

.referral-stat-box {
  background: var(--brand-blue-soft);
  border: 1px solid rgba(59, 155, 194, 0.28);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.referral-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
}

.referral-stat-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.referral-stat-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 3px;
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .catalog-item {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .testimonials-grid,
  .platforms-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header-inner {
    height: 64px;
    gap: 8px;
  }

  .header-inner > nav {
    display: contents;
  }

  .brand-logo img {
    height: 38px;
  }

  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-account {
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.74rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 20px 20px;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 9px;
  }

  .mobile-menu-btn svg {
    width: 17px;
    height: 17px;
  }

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

  .floating-pill {
    display: none;
  }
}
