/* ========== IMPORTS & RESET ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #000000;
  --bg-surface: #0a0812;
  --bg-card: rgba(18, 12, 33, 0.65);
  --bg-glass: rgba(30, 20, 50, 0.45);
  --sakura-pink: #ff3e8d;
  --sakura-light: #ff85b6;
  --sakura-soft: #ffb8d4;
  --sakura-dark: #cc0052;
  --purple-accent: #a855f7;
  --purple-deep: #7c3aed;
  --gold: #f59e0b;
  --gold-soft: #fbbf24;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 230, 246, 0.7);
  --text-muted: rgba(255, 200, 230, 0.4);
  --border-subtle: rgba(255, 62, 141, 0.15);
  --border-glow: rgba(255, 62, 141, 0.4);
  --shadow-sakura: 0 0 50px rgba(255, 62, 141, 0.2);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.6);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-jp: 'Noto Serif JP', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-tech: 'Space Grotesk', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  perspective: 1500px;
}

::selection {
  background: rgba(255, 107, 157, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--sakura-dark);
  border-radius: 3px;
}

/* ========== PETAL CANVAS (disabled for minimal landing) ========== */
#petalCanvas {
  display: none;
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
  display: none;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: transparent;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: top;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
}

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

.nav-jp {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sakura-pink), var(--purple-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.nav-en {
  font-family: var(--font-tech);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: rgba(255, 255, 255, 0.92);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sakura-pink), var(--purple-accent));
  transition: all 0.35s var(--ease-out-expo);
  border-radius: 1px;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 24px;
}

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

.nav-get-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-get-app:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-social {
  color: var(--text-muted);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  display: flex;
}

.nav-social:hover {
  color: var(--sakura-pink);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-glow {
  background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--sakura-pink), var(--purple-accent));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(12px);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(255, 107, 157, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* ========== HERO — SCROLL LOCKED REMOVED ========== */


/* ========== HERO — CLEAN LAYOUT ========== */
.hero-scroll-container {
  position: relative;
  background: #000000;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 88px 0 36px;
  background: #000000;
}

.hero-anisurge {
  perspective: none;
  transform-style: flat;
}


/* HUD elements */
.hero-hud {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 10;
  padding: 0 40px;
  pointer-events: none;
}

.hero-hud-left {
  left: 0;
}

.hero-hud-right {
  right: 0;
}

.hud-item {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0.5;
}

.hud-sep {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--sakura-pink), transparent);
  opacity: 0.3;
}

/* Split Layout */
.hero-split-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 48px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 5;
  transform-style: flat;
}

.hero-left {
  flex: 1 1 280px;
  max-width: 440px;
  transform-style: flat;
  z-index: 2;
}

.hero-right {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.hero-platform-tabs {
  display: inline-flex;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  margin-bottom: 2px;
}

.hero-platform-tab {
  padding: 7px 14px;
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-platform-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

.hero-platform-tab:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Compact device preview + anisurge-style labeled thumbnails */
.hero-device-main {
  margin: 0;
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.65);
  background: #0a0a0a;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 340px);
  object-fit: contain;
  vertical-align: middle;
}

.hero-device-main--desktop {
  max-width: min(100%, 420px);
  width: 100%;
}

.hero-device-main--desktop .hero-shot {
  max-height: min(52vh, 300px);
  width: 100%;
}

.hero-right[data-active="pc"] {
  max-width: min(100%, 460px);
}

.hero-device-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
  max-width: 280px;
}

.hero-device-thumbs--pc {
  display: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.hero-right[data-active="pc"] .hero-device-thumbs--android {
  display: none !important;
}

.hero-right[data-active="pc"] .hero-device-thumbs--pc {
  display: flex !important;
}

.hero-right[data-active="android"] .hero-device-thumbs--pc {
  display: none !important;
}

.hero-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hero-thumb:hover {
  color: rgba(255, 255, 255, 0.75);
}

.hero-thumb.is-active {
  color: rgba(255, 255, 255, 0.95);
}

.hero-thumb-frame {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-thumb.is-active .hero-thumb-frame {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-thumb:hover .hero-thumb-frame {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-thumb-frame--wide {
  width: 76px;
  height: 43px;
  border-radius: 5px;
}

.hero-thumb-frame--wide img {
  object-fit: cover;
}

.hero-thumb-label {
  line-height: 1.2;
}

.hero-thumb:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero-eyebrow {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a6a6a;
  margin-bottom: 14px;
}

.hero-headline {
  margin-bottom: 16px;
}

.hero-headline-line {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-lede {
  font-size: 13px;
  line-height: 1.55;
  color: #7a7a7a;
  max-width: 36em;
  margin-bottom: 22px;
  border-left: none;
  padding-left: 0;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-hero-primary-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.btn-hero-primary-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-below {
  width: 100%;
  max-width: 1080px;
  margin: 32px auto 0;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.hero-feature-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  max-width: 820px;
}

.hero-feature-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
}

.hero-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.hero-available {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-available-label {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666666;
}

.hero-available-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.hero-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9a9a9a;
}

.hero-platform svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Content Elements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 4px;
  background: rgba(255, 62, 141, 0.1);
  border-left: 2px solid var(--sakura-pink);
  color: var(--sakura-pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-tech);
  margin-bottom: 24px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  transform: translateZ(100px);
}

.jp-title {
  font-family: var(--font-jp);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.8;
  color: var(--sakura-pink);
  text-shadow: 0 0 30px rgba(255, 62, 141, 0.5);
}

.en-title {
  font-family: var(--font-tech);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

/* CA Note Box */
.ca-note-box {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 107, 157, 0.05);
  border: 1px solid rgba(255, 107, 157, 0.2);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  max-width: 440px;
  position: relative;
  overflow: hidden;
}

.ca-note-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, rgba(255, 107, 157, 0.1), transparent 70%);
  pointer-events: none;
}

.ca-note-icon {
  color: var(--sakura-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  filter: drop-shadow(0 0 8px rgba(255, 107, 157, 0.5));
}

.ca-note-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ca-note-title {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

.ca-address-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 107, 157, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ca-address-wrapper:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 107, 157, 0.4);
  box-shadow: 0 0 15px rgba(255, 107, 157, 0.15);
}

.ca-address {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--sakura-soft);
  letter-spacing: 0.5px;
  word-break: break-all;
}

.ca-copy-btn {
  background: none;
  border: none;
  color: var(--sakura-pink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.ca-address-wrapper:hover .ca-copy-btn {
  opacity: 1;
  transform: scale(1.1);
}

.ca-address-wrapper:active {
  transform: scale(0.98);
}



/* ========== 3D SECTION REVEAL ========== */
.section {
  position: relative;
  z-index: 2;
  padding: 140px 24px;
  perspective: 2000px;
  transform-style: preserve-3d;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  transform-style: preserve-3d;
  opacity: 1;
  filter: none;
  will-change: transform, opacity;
}

.section-inner.in-view {
  transform: rotateX(0deg) translateY(0) translateZ(0);
  opacity: 1;
  filter: blur(0);
}

/* Parallax Layers */
.parallax-layer {
  transform-style: preserve-3d;
  will-change: transform;
}

.parallax-back {
  transform: translateZ(-150px);
}

.parallax-mid {
  transform: translateZ(50px);
}

.parallax-front {
  transform: translateZ(150px);
}

.section-dark {
  background: rgba(0, 0, 0, 0.2);
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

/* ========== HERO HUD & COUNTDOWN ========== */
.beta-countdown-hud {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--sakura-pink);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
  animation: hudFlicker 4s infinite;
}

@keyframes hudFlicker {

  0%,
  100% {
    opacity: 1;
  }

  98% {
    opacity: 1;
  }

  99% {
    opacity: 0.8;
  }
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;
}

.hud-status {
  color: var(--sakura-pink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sakura-pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sakura-pink);
  animation: pulse 2s infinite;
}

.hud-date {
  color: var(--text-muted);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 12px;
  animation: tabIn 0.5s var(--ease-out-expo);
}

.countdown-item {
  display: flex;
  flex-direction: column;
}

.count-value {
  font-family: var(--font-tech);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.count-label {
  font-family: var(--font-tech);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

.hud-footer {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
}

.hud-progress-fill {
  height: 100%;
  width: 65%;
  background: var(--sakura-pink);
  box-shadow: 0 0 10px var(--sakura-pink);
}

.hero-tagline {
  font-family: var(--font-tech);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--sakura-light);
  margin-bottom: 16px;
  opacity: 0.9;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sakura-pink);
  display: inline-block;
  margin-bottom: 14px;
  min-width: 80px;
}

.section-title {
  font-family: var(--font-jp);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--sakura-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ========== SPLIT TEXT ========== */
.split-text .char-wrap {
  display: inline-block;
  overflow: hidden;
}

.split-text .char-inner {
  display: inline-block;
}

/* Scramble */
.scramble-text {
  min-width: 80px;
}

/* Fade in */
.fade-in-text {
  opacity: 1;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  position: relative;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.7s var(--ease-out-expo), opacity 0.6s var(--ease-smooth),
    border-color 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
  border-color: rgba(255, 107, 157, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 157, 0.1);
}

.about-card:hover .card-shine {
  opacity: 1;
  animation: shineSlide 0.7s ease forwards;
}

.card-shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.03) 44%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 56%, transparent 62%);
  background-size: 300% 300%;
}

@keyframes shineSlide {
  0% {
    background-position: 250% 0;
  }

  100% {
    background-position: -50% 0;
  }
}

.about-card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 62, 141, 0.15), rgba(168, 85, 247, 0.15));
  margin-bottom: 24px;
  position: relative;
}

.feature-asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 62, 141, 0.4));
}

.about-card h3 {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== TABS ========== */
.tabs {
  transform: none;
  opacity: 1;
  position: relative;
  z-index: 20;
}

.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 6px;
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  pointer-events: auto;
}

.tab-nav::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.tab-btn {
  flex: 0 0 auto;
  min-width: 100px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-tech);
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.35s var(--ease-out-expo);
  letter-spacing: 0.5px;
  pointer-events: auto !important;
}

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(192, 132, 252, 0.15));
  color: var(--sakura-light);
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.08);
}

.tab-panel {
  display: none !important;
  position: relative;
  opacity: 0;
}

.tab-panel.active {
  display: block !important;
  opacity: 1;
  animation: tabIn 0.5s var(--ease-out-expo);
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.tab-info h3 {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tab-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}

.tab-list {
  list-style: none;
}

.tab-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.tab-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sakura-pink);
  box-shadow: 0 0 6px var(--sakura-pink);
}

.code-block {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.code-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.code-dot:first-child {
  background: #ff5f57;
}

.code-dot:nth-child(2) {
  background: #ffbd2e;
}

.code-dot:nth-child(3) {
  background: #28ca41;
}

.code-label {
  margin-left: auto;
  font-family: var(--font-tech);
  font-size: 10px;
  color: var(--text-muted);
}

.code-block pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--sakura-light);
  line-height: 1.8;
}

.ino-cta {
  text-align: center;
  margin-top: 52px;
  transform: none;
  opacity: 1;
}

/* ========== HORIZONTAL SCROLL FEATURES ========== */
.horiz-scroll-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0 100px;
}

.horiz-track {
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1100px) / 2));
  animation: horizDrift 35s linear infinite;
  width: max-content;
}

.horiz-track:hover {
  animation-play-state: paused;
}

@keyframes horizDrift {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.feature-card {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.feature-card:hover {
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(192, 132, 252, 0.1);
}

.feature-card:hover .card-shine {
  opacity: 1;
  animation: shineSlide 0.7s ease forwards;
}

.feature-num {
  font-family: var(--font-tech);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 20px;
  right: 24px;
  user-select: none;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), rgba(255, 107, 157, 0.08));
  margin-bottom: 22px;
  color: var(--purple-accent);
  transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
  color: var(--sakura-pink);
  transform: scale(1.08);
}

.feature-card h3 {
  font-family: var(--font-tech);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========== ARCHITECTURE ========== */
.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: none;
  opacity: 1;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  min-width: 200px;
  text-align: center;
  transition: all 0.35s ease;
}

.arch-node:hover {
  border-color: rgba(255, 107, 157, 0.25);
  box-shadow: var(--shadow-sakura);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(10, 10, 18, 0.9);
  backdrop-filter: blur(25px) saturate(180%);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  position: relative;
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid rgba(255, 107, 157, 0.2);
  padding: 56px 40px 48px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 157, 0.05);
  overflow: hidden;
  z-index: 10001;
  backdrop-filter: blur(10px);
}

/* Cyber Corners */
.modal::before,
.modal::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--sakura-pink);
  z-index: 2;
  pointer-events: none;
}

.modal::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.modal::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

/* Holographic Scanline */
.modal-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sakura-pink), transparent);
  opacity: 0.3;
  z-index: 3;
  pointer-events: none;
  animation: modalScan 4s linear infinite;
}

@keyframes modalScan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(500px);
  }
}

.modal-mascot {
  position: relative;
  margin-bottom: 24px;
}

.mascot-sad {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.4));
  animation: modalFloat 3s ease-in-out infinite, modalGlitch 5s step-end infinite, modalPulse 3s ease-in-out infinite;
}

@keyframes modalPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.4));
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 35px rgba(255, 107, 157, 0.7));
    opacity: 0.9;
  }
}

@keyframes modalFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes modalGlitch {

  0%,
  95% {
    transform: translate(0) scale(1);
    filter: hue-rotate(0deg);
  }

  96% {
    transform: translate(2px, -2px) scale(1.05);
    filter: hue-rotate(90deg) contrast(1.2);
  }

  97% {
    transform: translate(-2px, 2px) scale(0.95);
    filter: hue-rotate(-90deg) brightness(1.5);
  }

  98% {
    transform: translate(0);
    filter: none;
  }
}

.modal-icon {
  display: none;
}

.arch-node-primary {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(192, 132, 252, 0.08));
  border-color: var(--border-glow);
}

.arch-icon {
  color: var(--sakura-pink);
  margin-bottom: 6px;
}

.arch-label {
  font-family: var(--font-tech);
  font-size: 14px;
  font-weight: 700;
}

.arch-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  color: var(--text-muted);
}

.arch-arrow span {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========== DOWNLOAD ========== */
.download-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 80px 40px;
  text-align: center;
  transform: none;
  opacity: 1;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.12), transparent 70%);
  pointer-events: none;
  animation: dlGlow 5s ease-in-out infinite;
}

@keyframes dlGlow {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-title {
  font-family: var(--font-jp);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--sakura-pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.download-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.download-ca {
  margin: 0 auto 24px;
  max-width: 480px;
}

.download-countdown {
  margin: 0 auto 28px;
  max-width: 520px;
}

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 24px;
  max-width: 560px;
}

.download-platform-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.28);
}

.download-platform-name {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.download-platform-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.download-platform-btn {
  width: 100%;
  justify-content: center;
}

.download-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-tech);
  letter-spacing: 1.5px;
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: top;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
}

.footer-jp {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sakura-pink), var(--purple-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.footer-copy {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--sakura-pink);
}

.footer-sol {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

a.footer-sol {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
}

a.footer-sol:hover {
  color: var(--sakura-pink);
}

.footer-dev {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-dev a {
  color: var(--sakura-pink);
  text-decoration: none;
}

/* ========== SAKURA AI BAND ========== */
.sai-band {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 10vw, 96px) 24px;
  border-block: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(ellipse 90% 70% at 20% -30%, rgba(255, 107, 157, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(192, 132, 252, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(11, 8, 20, 0.98), rgba(7, 5, 14, 0.99));
}

.sai-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

@media (min-width: 900px) {
  .sai-band-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.sai-band-col .section-tag {
  margin-bottom: 10px;
}

.sai-band-detail p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 18px;
}

.sai-band-detail p:last-child {
  margin-bottom: 0;
}

.sai-band-detail strong {
  color: var(--sakura-pink);
  font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: rgba(10, 8, 18, 0.96);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

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

  .nav-hamburger {
    display: flex;
  }

  .nav-get-app {
    display: none;
  }

  /* FLATTEN FOR TOUCH */
  .hero-scroll-container,
  .hero,
  .section,
  .section-inner,
  .hero-split-layout,
  .hero-left,
  .hero-right,
  .hero-mascot-mask,
  .parallax-layer,
  .tabs,
  .tab-panels {
    perspective: none !important;
    transform-style: flat !important;
    transform: none !important;
  }

  .hero-split-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-right {
    align-items: center;
    order: -1;
    max-width: 100%;
  }

  .hero-device-main {
    max-width: min(200px, 46vw);
  }

  .hero-right[data-active="pc"] .hero-device-main--desktop {
    max-width: min(100%, 400px);
  }

  .hero-shot {
    max-height: min(42vh, 300px);
  }

  .hero-right[data-active="pc"] .hero-device-main--desktop .hero-shot {
    max-height: min(44vh, 260px);
  }

  .hero-device-thumbs {
    max-width: 100%;
    justify-content: center;
  }

  .hero-thumb-frame:not(.hero-thumb-frame--wide) {
    width: 48px;
    height: 48px;
  }

  .hero-thumb-frame--wide {
    width: 64px;
    height: 36px;
  }

  .hero-below {
    margin-top: 28px;
    padding: 0 20px;
  }

  .hero-feature-pills {
    gap: 8px 14px;
  }

  .hero-tagline {
    letter-spacing: 4px;
  }

  .section {
    padding: 80px 16px;
  }

  .section-inner {
    transform: rotateX(2deg) translateY(40px) scale(0.97);
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

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

  .arch-node {
    min-width: auto;
    width: 100%;
    max-width: 260px;
  }

  .download-wrap {
    padding: 48px 20px;
  }

  .download-platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .cursor-glow {
    display: none;
  }

  .feature-card {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .hero-headline-line {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }

  .hero-tagline {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .tab-btn {
    min-width: 80px;
    font-size: 11px;
  }
}