/* ============================================================
   PIKURU LANDING PAGE
   Dark green sports app theme | Rubik + Noto Sans JP
   ============================================================ */

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

/* === DESIGN TOKENS === */
:root {
  /* Colors */
  --bg:           #0D1B14;
  --bg-2:         #111F16;
  --bg-dark:      #091410;
  --card:         #162119;
  --accent:       #32A259;
  --accent-hover: #3ab568;
  --accent-glow:  rgba(50, 162, 89, 0.25);
  --text-primary: #FFFFFF;
  --text-body:    #A8BFB0;
  --text-muted:   #6B8A74;
  --border:       #1E3028;
  --border-soft:  #162119;

  /* Spacing */
  --nav-height:  5rem;
  --max-width:   1100px;
  --section-gap: 5.5rem;

  /* Easing (Emil design engineering) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Shadows -- tinted to dark green hue */
  --shadow-sm:   0 2px 12px rgba(9, 20, 16, 0.5);
  --shadow-md:   0 4px 24px rgba(9, 20, 16, 0.6);
  --shadow-lg:   0 8px 48px rgba(9, 20, 16, 0.75);
  --shadow-accent: 0 4px 20px rgba(50, 162, 89, 0.3);
}

/* === BASE === */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 200ms ease;
}
.skip-link:focus { top: 0; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: children delay by index */
.stagger .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger .reveal:nth-child(4) { transition-delay: 240ms; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.375rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }

.btn--lg {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* Primary: filled green */
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-accent), 0 0 0 3px rgba(50, 162, 89, 0.18);
  transform: scale(1.02);
}

/* Outline: white border, transparent bg */
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

/* Inverse CTA: white bg, green text */
.btn--cta-inverse {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  font-weight: 700;
}
.btn--cta-inverse:hover {
  background: #f0fdf4;
  border-color: #f0fdf4;
  transform: scale(1.02);
}

/* CTA outline: white outline on green bg */
.btn--cta-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--cta-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.navbar.scrolled {
  background: rgba(13, 27, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.navbar__logo img {
  height: 96px;
  width: auto;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Social icon links -- navbar */
.navbar__social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 150ms ease, background-color 150ms ease;
}
.navbar__social-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

/* Language toggle button */
.btn-lang {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
  white-space: nowrap;
}
.btn-lang:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(50, 162, 89, 0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 150ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(11, 22, 17, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.mobile-nav.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.mobile-nav__links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 150ms ease;
}
.mobile-nav__links a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.mobile-nav__actions .btn { justify-content: center; }

.mobile-nav__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

/* === SECTION COMMON === */
section { padding: var(--section-gap) 2rem; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee79a;
  background: rgba(50, 162, 89, 0.1);
  border: 1px solid rgba(50, 162, 89, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.875rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  letter-spacing: -0.028em;
  background: linear-gradient(135deg, #ffffff 0%, #d4f5e2 70%, #6ee79a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 58ch;
  line-height: 1.72;
  white-space: pre-line;
}

.section-header { margin-bottom: 3.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3.5rem) 2rem 4rem;
  overflow: hidden;
}

/* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Dark cinematic overlay -- heavier on left where text lives */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9,20,16,0.95) 35%, rgba(9,20,16,0.60) 65%, rgba(9,20,16,0.25) 100%),
    linear-gradient(0deg, rgba(9,20,16,0.70) 0%, transparent 50%);
}

/* Pickleball ball dot texture -- signature element */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(50,162,89,0.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  animation: dotDrift 25s linear infinite;
}
@keyframes dotDrift {
  from { background-position: 0 0; }
  to   { background-position: 26px 26px; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 2rem;
}

.hero__content { max-width: 580px; }

/* Badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(50, 162, 89, 0.12);
  border: 1px solid rgba(50, 162, 89, 0.28);
  color: #6ee79a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Hero H1 -- gradient text */
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.375rem;
  white-space: pre-line;
  background: linear-gradient(135deg, #ffffff 0%, #d4f5e2 50%, #6ee79a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subhead */
.hero__sub {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 2.25rem;
  max-width: 50ch;
  white-space: pre-line;
}

/* CTA buttons row */
.hero__ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.875rem;
  align-items: center;
}

/* Dog mascot -- right side */
.hero__mascot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
/* Large atmospheric orb behind dog */
.hero__mascot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(50,162,89,0.22) 0%, rgba(50,162,89,0.1) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 5s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  50%       { transform: translate(-50%, -50%) scale(1.1); opacity: 1;   }
}
.hero__mascot img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(50,162,89,0.2));
}

/* Entrance animations (staggered) */
.hero__badge  { animation: heroUp 500ms  0ms  var(--ease-out) both; }
.hero__title  { animation: heroUp 500ms 80ms  var(--ease-out) both; }
.hero__sub    { animation: heroUp 500ms 160ms var(--ease-out) both; }
.hero__ctas   { animation: heroUp 500ms 240ms var(--ease-out) both; }
.hero__mascot { animation: heroUp 600ms 300ms var(--ease-out) both; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 600ms 1200ms ease forwards;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.25); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* Hero CTA -- disabled/coming soon box */
.hero__cta-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2.25rem;
  border: 1px solid rgba(50, 162, 89, 0.28);
  border-radius: 18px;
  background: rgba(50, 162, 89, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(110, 231, 154, 0.1), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-cta--disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.55);
}

/* Coming Soon -- plain text label */
.hero__coming-soon {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  text-align: center;
}

/* ============================================================
   CORE VALUE
   ============================================================ */
.value { background: var(--bg-2); }

.value-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  background: linear-gradient(160deg, #1c2e22 0%, var(--card) 60%);
  border: 1px solid rgba(50, 162, 89, 0.18);
  border-top: 1px solid rgba(50, 162, 89, 0.45);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    border-color 250ms ease;
}

/* Shine sweep on hover */
.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 600ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
@media (hover: hover) and (pointer: fine) {
  .value-card:hover::after { left: 140%; }
}
@media (hover: hover) and (pointer: fine) {
  .value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(50,162,89,0.2);
    border-color: rgba(50, 162, 89, 0.35);
  }
}

/* Featured card -- slightly different surface */
.value-card--featured {
  background: linear-gradient(145deg, #1c2f22 0%, var(--card) 100%);
  border-color: rgba(50, 162, 89, 0.18);
  position: relative;
  overflow: hidden;
}
.value-card--featured::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(50,162,89,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.value-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(50, 162, 89, 0.12);
  border: 1px solid rgba(50, 162, 89, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(50, 162, 89, 0.12);
}
.value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
}

.value-card__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================
   BELONGING
   ============================================================ */
.belonging { background: var(--bg); }

/* Keep "見るだけじゃなく、仲間になろう。" on one line */
.belonging .section-title {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .belonging .section-title {
    white-space: normal;
  }
}

.belonging-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.55fr;
  gap: 3.5rem;
  align-items: center;
}

/* Widescreen: let the belonging section stretch beyond the default 1100px cap
   so the app screenshot fills the available horizontal/vertical space */
@media (min-width: 1280px) {
  .belonging .section-inner {
    max-width: 1340px;
  }
}
@media (min-width: 1600px) {
  .belonging .section-inner {
    max-width: 1480px;
  }
}

.belonging-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin: -0.875rem -1rem;
  width: calc(100% + 2rem);
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    background: rgba(50, 162, 89, 0.05);
  }
  .feature-item:hover .feature-item__check {
    background: rgba(50, 162, 89, 0.2);
    border-color: rgba(50, 162, 89, 0.4);
  }
}

.feature-item__check {
  width: 26px;
  height: 26px;
  background: rgba(50, 162, 89, 0.12);
  border: 1px solid rgba(50, 162, 89, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.feature-item__check svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item__text strong {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.feature-item__text p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.62;
}

.belonging-cta {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

/* Right side: app screenshot panel */
.belonging-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Ambient glow behind screenshot */
.belonging-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(50,162,89,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.belonging-visual::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(50,162,89,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.app-preview {
  position: relative;
  z-index: 1;
  width: 100%;
}
.app-preview__trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.app-preview__trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.app-preview__screenshot {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(50, 162, 89, 0.1);
  border: 1px solid rgba(50, 162, 89, 0.2);
  display: block;
  transition: transform 300ms var(--ease-out), filter 300ms ease;
}
.app-preview__trigger:hover .app-preview__screenshot {
  transform: scale(1.015);
  filter: brightness(0.85);
}
.app-preview__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.app-preview__zoom svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.app-preview__trigger:hover .app-preview__zoom {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 9, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 90dvh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: scale(0.94);
  transition: transform 280ms var(--ease-out);
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howworks {
  background: var(--bg-2);
}
.howworks .section-header {
  text-align: center;
}
.howworks .section-header .section-sub {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,162,89,0.3) 15%, rgba(50,162,89,0.3) 85%, transparent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem 2rem;
}

.step__num {
  height: 40px;
  padding: 0 1.125rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a2f20 0%, var(--bg) 100%);
  border: 2px solid rgba(50, 162, 89, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  position: relative;
  transition: border-color 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 0 0 0 rgba(50,162,89,0.4);
  white-space: nowrap;
}
/* Expanding ring pulse -- staggered per step */
.step__num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid rgba(50, 162, 89, 0.3);
  animation: ringExpand 3s ease-out infinite;
}
.step:nth-child(2) .step__num::after { animation-delay: 0.75s; }
.step:nth-child(3) .step__num::after { animation-delay: 1.5s; }
.step:nth-child(4) .step__num::after { animation-delay: 2.25s; }
@keyframes ringExpand {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.6);  opacity: 0;   }
  100% { transform: scale(1.6);  opacity: 0;   }
}
@media (hover: hover) and (pointer: fine) {
  .step:hover .step__num {
    border-color: rgba(50, 162, 89, 0.5);
    box-shadow: 0 0 0 5px rgba(50, 162, 89, 0.08);
  }
  .step:hover .step__icon {
    background: rgba(50, 162, 89, 0.16);
    border-color: rgba(50, 162, 89, 0.3);
    transform: scale(1.06);
  }
}

/* Arrow between step numbers */
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 0.625rem;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.5;
  z-index: 2;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50%       { opacity: 0.8; transform: translateX(3px); }
}

.step__icon {
  width: 46px;
  height: 46px;
  background: rgba(50, 162, 89, 0.1);
  border: 1px solid rgba(50, 162, 89, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}
.step__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Play icon has a filled polygon -- override fill */
.step__icon svg polygon { fill: currentColor; stroke: none; }

.step__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: -0.015em;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  background: var(--accent);
  position: relative;
  overflow: hidden;
  padding: var(--section-gap) 2rem;
}

/* Dot texture (signature element on green bg) */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Ambient light blob */
.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.cta-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.875rem;
  text-wrap: balance;
}

.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 50ch;
  white-space: pre-line;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-mascot img {
  width: 240px;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ============================================================
   SPONSORS / PARTNERS
   ============================================================ */
.sponsors {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.sponsors::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(50, 162, 89, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.sponsors .section-inner {
  position: relative;
  z-index: 1;
}
.sponsors__header {
  margin-bottom: 3rem;
}

.sponsor-tier {
  margin-bottom: 2.5rem;
}
.sponsor-tier:last-child {
  margin-bottom: 0;
}

.sponsor-tier__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

.sponsor-tier__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sponsor-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  border-radius: 10px;
  transition: border-color 200ms ease, background-color 200ms ease;
  /* default (gold) size */
  width: 180px;
  height: 72px;
}
.sponsor-logo-placeholder:hover {
  border-color: rgba(50, 162, 89, 0.3);
  background: rgba(50, 162, 89, 0.04);
}

/* Platinum: 2 large slots */
.sponsor-logo-placeholder--platinum {
  width: 280px;
  height: 110px;
}

/* Gold: 4 medium slots */
.sponsor-logo-placeholder--gold {
  width: 180px;
  height: 72px;
}

/* Silver: 8 smaller slots */
.sponsor-logo-placeholder--silver {
  width: 130px;
  height: 54px;
}

.sponsor-placeholder-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 0.75rem;
}

.sponsors__contact-email {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 150ms ease;
}
.sponsors__contact-email:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Founding Sponsors heading */
.sponsors__founding-header {
  margin-bottom: 1.5rem;
}
.sponsors__founding-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #d4f5e2 60%, #6ee79a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Silver tier: 2 rows of 4 */
.sponsor-tier__logos--silver {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 1rem;
}

/* Contact form: JP name field order (last name first) */
#nameFieldRow.ja-order .contact-form__field--firstname { order: 2; }
#nameFieldRow.ja-order .contact-form__field--lastname  { order: 1; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form__honeypot {
  display: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.contact-form__field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.contact-form__field input,
.contact-form__field textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary);
  width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  outline: none;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-muted);
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent), 0 0 0 3px rgba(50, 162, 89, 0.1);
}
.contact-form__field input[aria-invalid="true"],
.contact-form__field textarea[aria-invalid="true"] {
  border-color: #e05d5d;
  box-shadow: inset 3px 0 0 #e05d5d;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--accent);
  max-width: 480px;
  margin: 0 auto;
}
.contact-success p {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.65;
}
.contact-success .contact-success__note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
}
.contact-success[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 2.25rem 2rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__logo img {
  height: 80px;
  width: auto;
  opacity: 0.7;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer__links a:hover {
  color: var(--text-body);
  text-decoration: none;
}

.footer__social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
}

.footer__social-heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.footer__social-link:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(50, 162, 89, 0.08);
  text-decoration: none;
}

/* ============================================================
   PRIVACY MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(8px);
  transition: transform 300ms var(--ease-out);
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.modal__close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 150ms ease, border-color 150ms ease;
  flex-shrink: 0;
}
.modal__close:hover { color: var(--text-primary); border-color: var(--text-muted); }

.modal__body { font-size: 0.9375rem; color: var(--text-body); line-height: 1.72; }
.modal__body h3 {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin: 1.25rem 0 0.375rem;
  font-weight: 600;
}
.modal__body p + p { margin-top: 0.75rem; }
.modal__updated {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
  .value-card--featured {
    grid-column: span 2;
  }

  .belonging-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  /* When belonging stacks to single column, center the header and CTA */
  .belonging-content .section-header { text-align: center; }
  .belonging-content .section-sub { margin-inline: auto; }
  .belonging-visual {
    max-width: 540px;
    margin-inline: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .steps-grid::before { display: none; }
  .step:not(:last-child)::after { display: none; }
  .step {
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
  }

  .cta-section .section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-mascot {
    display: flex;
    justify-content: center;
  }
  .cta-mascot img { width: 220px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 4rem; }

  section { padding: var(--section-gap) 1.25rem; }

  .navbar { padding: 0 1.25rem; }
  .navbar__desktop-cta { display: none; }
  .navbar__social { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding: calc(var(--nav-height) + 2rem) 1.25rem 3rem;
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 2.5rem);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__mascot {
    order: -1;
    justify-content: center;
  }
  .hero__mascot img {
    width: auto;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
  }
  /* Hero content -- center text and badge on single-column layout */
  .hero__content {
    text-align: center;
  }
  .hero__sub { margin-inline: auto; }
  .hero__cta-wrapper {
    align-items: center;
    align-self: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero__ctas .btn { width: 100%; max-width: 360px; justify-content: center; }
  .hero__scroll { display: none; }

  /* All section headers center on mobile */
  .section-header { text-align: center; }
  .section-sub { margin-inline: auto; }

  .value-grid { grid-template-columns: 1fr; }
  .value-card--featured { grid-column: span 1; }
  .value-card__icon { margin-inline: auto; }

  /* Belonging CTA centers when layout stacks */
  .belonging-cta {
    display: flex;
    justify-content: center;
  }

  .steps-grid { grid-template-columns: 1fr; }
  .step {
    align-items: center;
    text-align: center;
  }

  /* CTA section -- center content when mascot is hidden */
  .cta-section { padding: 3.5rem 1.25rem; }
  .cta-content { text-align: center; }
  .cta-sub { margin-inline: auto; }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn { width: 100%; max-width: 360px; justify-content: center; }

  .sponsor-logo-placeholder--platinum { width: 200px; height: 80px; }
  .sponsor-logo-placeholder--gold { width: 140px; height: 58px; }
  .sponsor-logo-placeholder--silver { width: 90px; height: 40px; }
  .sponsor-tier__logos { gap: 0.875rem; }
  .sponsor-tier__logos--silver { grid-template-columns: repeat(4, auto); gap: 0.625rem; }

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

  .footer { padding: 2rem 1.25rem; }
  .footer__inner { flex-direction: column; align-items: center; gap: 1rem; }
  .footer__brand { align-items: center; text-align: center; }
  .footer__links { gap: 1rem; justify-content: center; }

  .modal { padding: 1.75rem; }

  /* Mobile-only: enable line breaks (\n in textContent) for these classes */
  .section-title,
  .stats__label,
  .value-card__text {
    white-space: pre-line;
  }
  /* Override the desktop nowrap on belonging title so mobile breaks render */
  .belonging .section-title {
    white-space: pre-line;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .section-title { font-size: 1.625rem; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #6ee79a);
  z-index: 9999;
  pointer-events: none;
  transition: width 80ms linear;
  box-shadow: 0 0 8px rgba(50, 162, 89, 0.6);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
/* Very subtle green glow top edge */
.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,162,89,0.5), transparent);
  pointer-events: none;
}

.stats__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.stats__number {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #d4f5e2 50%, #6ee79a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: shimmer 6s ease-in-out infinite;
}

.stats__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats { padding: 3rem 1.25rem; }
  .stats__inner {
    gap: 0;
  }
  .stats__item { padding: 0 1rem; }
  .stats__number { font-size: 2rem; }
  .stats__label { font-size: 0.6875rem; }
  .stats__divider { height: 44px; }
}

/* ============================================================
   3D CARD TILT -- applied via JS
   ============================================================ */
.value-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================================
   MASCOT FLOAT
   ============================================================ */
.hero__mascot img {
  animation: heroUp 600ms 300ms var(--ease-out) both, mascotFloat 4s ease-in-out 900ms infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ============================================================
   HERO TITLE GRADIENT SHIMMER
   ============================================================ */
.hero__title {
  background-size: 200%;
  animation: heroUp 500ms 80ms var(--ease-out) both, shimmer 6s ease-in-out 600ms infinite;
}
.section-title {
  background-size: 200%;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .hero__mascot::before { animation: none; }
  .hero__mascot img { animation: none; opacity: 1; transform: none; }
  .step__num::after { animation: none; }
  .stats__number { animation: none; }
  .hero__title { animation: none; opacity: 1; transform: none; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
