/* ===========================
   TokenBeep Site — Premium Styles v2
   Redesign: Cleaner, more commercial, trading-platform feel
   =========================== */

/* --- Custom Properties --- */
:root {
  --gold: #d4a843;
  --gold-light: #e8c547;
  --gold-bright: #f5d96e;
  --gold-dim: #a88632;
  --bg-primary: #06080d;
  --bg-secondary: #0a0d14;
  --bg-card: rgba(14, 17, 24, 0.7);
  --bg-card-hover: rgba(20, 24, 34, 0.8);
  --border: rgba(212, 168, 67, 0.08);
  --border-hover: rgba(212, 168, 67, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --text-primary: #eaeef3;
  --text-secondary: #7a8599;
  --text-muted: #78808c;
  --green: #2dd4bf;
  --red: #ff4757;
  --blue: #3b82f6;
  --purple: #a78bfa;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  scroll-snap-align: start;
}

body {
  margin: 0;
  background-color: #080b0f;
  color: var(--text-secondary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Fixed background layer — drives the scroll color transitions ── */
#page-bg {
  position: fixed;
  inset: 0;
  z-index: -2; /* Ensure page-bg is below mouse-glow */
  background-color: #080b0f;
  transition: background-color 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

#mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  /* Custom Mint Cyan / Turquoise per user request, lowered opacity */
  background: radial-gradient(circle, rgba(34, 211, 178, 0.15), transparent 65%);
  mix-blend-mode: screen;
  top: -300px;
  left: -300px;
  transform: translate(-1000px, -1000px); /* Hide until JS loads */
  will-change: transform;
}

::selection {
  background: rgba(212, 168, 67, 0.25);
  color: #fff;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212, 168, 67, 0.2); border-radius: 10px; }

/* --- Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* --- SVG overflow fix: paths that extend slightly beyond viewBox (e.g. user/person icon head) --- */
.cap-icon svg { overflow: visible; }

/* --- Utility --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-animated {
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--gold-dim), var(--gold-bright));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* --- Glass Card --- */
.glass {
  background: linear-gradient(135deg, rgba(14, 17, 24, 0.8), rgba(14, 17, 24, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.glass-gold {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.06), rgba(14, 17, 24, 0.6));
  border: 1px solid rgba(212, 168, 67, 0.12);
}

/* --- Glow --- */
.glow-gold {
  box-shadow:
    0 0 20px rgba(212, 168, 67, 0.08),
    0 0 60px rgba(212, 168, 67, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glow-soft {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-logo img { width: 32px; height: 32px; border-radius: 22%; }

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--gold-light); }

.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-primary);
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 10px;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.nav-links a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.25);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 13, 0.98);
  backdrop-filter: blur(40px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--gold-light); }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-close:hover { color: var(--text-primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

/* ─── Hero (Redesigned — Clean Commercial Style) ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(212, 168, 67, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 75% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Left — Content */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 36px;
  max-width: 440px;
}

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

@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: var(--gold); /* Text changed to gold */
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px; /* 统一左右圆角为 12px */
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

/* White inner container forming the sleek background */
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0; 
  border-radius: 12px;
  background: white; /* Clean white like Dribbble */
  z-index: -1;
  transition: all 0.3s ease;
}

/* Background moving light layer (sweeping streak with blur spill) */
.btn-gold::before {
  content: '';
  position: absolute;
  inset: -2.5px; /* 让光边显著突出，形成明确的光轨 */
  border-radius: 14.5px;
  /* 非常显眼但依然柔和的高亮光尾 */
  background: conic-gradient(
    from var(--glow-angle) at 50% 50%,
    transparent 0%,
    transparent 50%,
    rgba(212, 168, 67, 0.4) 75%,
    var(--gold) 90%,
    #FFE8A1 96%, /* 高亮核心光束 */
    transparent 100%
  );
  animation: glow-spin 4s linear infinite;
  z-index: -2;
  filter: blur(4px); /* 散开柔和的光晕 */
  transition: all 0.3s ease;
}

.btn-gold svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  transform: translateY(-2px);
  /* Hover 时加深外围光晕 */
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.15);
}

.btn-gold:hover svg {
  transform: translateX(4px); /* Hold 时箭头向右位移 */
}

@keyframes glow-spin {
  0% { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hero Capability Banner (Replaced Badges) */
.hero-capability-banner {
  position: relative;
  height: 48px;
  width: 100%;
  max-width: 440px;
  margin-top: 16px; /* 缩小了上方按钮与底部文字轮播的间距 */
  background: transparent;
  border: none;
  overflow: hidden;
}

.capability-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px; /* Reduced from 16px to align better without a box */
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  animation: banner-fade 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-item svg {
  color: var(--teal);
  opacity: 0.8;
  flex-shrink: 0;
}

.capability-item.item-1 { animation-delay: 0s; }
.capability-item.item-2 { animation-delay: 4s; }
.capability-item.item-3 { animation-delay: 8s; }

@keyframes banner-fade {
  0% { opacity: 0; transform: translateY(10px); }
  5%, 28% { opacity: 1; transform: translateY(0); }
  33.33%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* Hero Right — Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  position: relative;
  z-index: 1;
}

.hero-visual-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Hero Visual Carousel */
.hero-visual-carousel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  position: relative;
  width: 100%;
}
.carousel-slide {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(12px);
  filter: blur(4px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 1s ease;
  width: 100%;
  display: flex;
  justify-content: center;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  filter: blur(0);
  z-index: 2;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  z-index: 3;
  grid-area: 2 / 1 / 3 / 2;
}
.carousel-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.carousel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.carousel-dot.active::after {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.4);
}
.carousel-dot:hover::after {
  background: rgba(212, 168, 67, 0.5);
}

/* Hero Right — Trading Card */
.trading-card {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  background: linear-gradient(160deg, rgba(18, 22, 32, 0.9), rgba(10, 13, 20, 0.95));
  border: 1px solid rgba(212, 168, 67, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trading-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* Floating notification cards */
.notif-float {
  position: absolute;
  z-index: 3;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(14, 17, 24, 0.95), rgba(14, 17, 24, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: float-card 6s ease-in-out infinite;
}

.notif-float.top {
  top: 20px;
  left: -40px;
}

.notif-float.bottom {
  bottom: 30px;
  right: -30px;
  animation-delay: 2s;
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-text-sm {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.notif-text-main {
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

/* ─── Capabilities Showcase ────────────────────────────────── */
.scroll-unstack-container {
  padding: 0;
  height: 150vh; /* gives enough scrolling runway to hold the sticky view for 1s + unfold */
  position: relative;
  z-index: 2;
  scroll-snap-align: none; /* sticky 需要禁用 snap */
}

.capabilities-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Provide utterly smooth CSS GPU expansion animation */
.unstack-grid .cap-card {
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease, filter 0.4s ease !important;
  opacity: 1 !important;
  transform-style: preserve-3d;
  z-index: 1; /* base */
}

/* To ensure stacking works naturally in flex, we can let JS set explicit transforms */

.capabilities-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

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

.cap-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  /* GPU layer */
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 12px 40px rgba(0,0,0,0.45);
}

/* Noise grain overlay for all cards (optional, adds texture depth) */
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* ─── Card 1: 信号验证 — Teal/Cyan glow (居左) ─── */
.cap-card--signal {
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(45, 212, 191, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(20, 184, 166, 0.08) 0%, transparent 60%),
    linear-gradient(165deg, #0f1820 0%, #0a0f14 50%, #080d12 100%);
  border-color: rgba(45, 212, 191, 0.18);
}
.cap-card--signal::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.cap-card--signal:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.1) inset,
    0 20px 50px rgba(0,0,0,0.5),
    0 0 40px rgba(45, 212, 191, 0.08);
}

/* ─── Card 2: 社区互动 — Blue/Indigo glow (居中) ─── */
.cap-card--community {
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(99, 102, 241, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(59, 130, 246, 0.09) 0%, transparent 60%),
    linear-gradient(165deg, #0d1421 0%, #090e1a 50%, #070b14 100%);
  border-color: rgba(99, 102, 241, 0.2);
}
.cap-card--community::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.cap-card--community:hover {
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.08) inset,
    0 20px 50px rgba(0,0,0,0.5),
    0 0 40px rgba(99, 102, 241, 0.09);
}

/* ─── Card 3: AI Agent — Amber/Gold glow (居右) ─── */
.cap-card--ai {
  background:
    radial-gradient(ellipse 75% 50% at 85% 0%, rgba(232, 197, 71, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(251, 191, 36, 0.07) 0%, transparent 60%),
    linear-gradient(165deg, #181408 0%, #120f08 50%, #0c0a06 100%);
  border-color: rgba(232, 197, 71, 0.16);
}
.cap-card--ai::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,197,71,0.11) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.cap-card--ai:hover {
  border-color: rgba(232, 197, 71, 0.32);
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.07) inset,
    0 20px 50px rgba(0,0,0,0.5),
    0 0 40px rgba(232, 197, 71, 0.07);
}


.cap-card-content {
  padding: 40px 40px 0 40px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cap-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cap-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cap-tag {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.cap-tag.tag-1 { color: #2dd4bf; background: rgba(45,212,191,0.05); border-color: rgba(45,212,191,0.2); }
.cap-tag.tag-2 { color: #3b82f6; background: rgba(59,130,246,0.05); border-color: rgba(59,130,246,0.2); }
.cap-tag.tag-3 { color: #e8c547; background: rgba(232,197,71,0.05); border-color: rgba(232,197,71,0.2); }

.cap-visual {
  flex: 1;
  min-height: 240px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 40px 0 40px;
}

/* Card 1 Visual: Signal Mockup */
.mockup-panel {
  width: 100%;
  background: rgba(20, 24, 32, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.2);
  margin-bottom: 12px;
}
.mockup-row:last-child { margin-bottom: 0; }
.mockup-row.highlight {
  background: rgba(45, 212, 191, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(45, 212, 191, 0.2);
}
.mockup-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.status-pending { background: #f59e0b; }
.status-active { background: #3b82f6; }
.status-closed { background: #10b981; }

/* Card 2 Visual: Community Chat */
.mockup-chat {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  max-width: 85%;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.chat-bubble.left {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-bubble.right {
  background: rgba(45, 212, 191, 0.15);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(45,212,191,0.2);
}

/* Card 3 Visual: AI Terminal */
.mockup-terminal {
  width: 100%;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.term-header {
  height: 28px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.term-header span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4b5563;
}
.term-header span:nth-child(1) { background: #ef4444; }
.term-header span:nth-child(2) { background: #eab308; }
.term-header span:nth-child(3) { background: #22c55e; }

.term-body {
  padding: 20px;
  font-family: 'Fira Code', monospace, Courier;
  font-size: 13px;
  line-height: 1.8;
  color: #9ca3af;
}
.term-body .term-line {
  margin-bottom: 8px;
}
.term-body .ai-response {
  color: #10b981;
}


/* ─── Card 1: Signal — State Progress ─────────────────── */
.mockup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.2);
  margin-bottom: 10px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid transparent;
}
.mockup-row:last-child { margin-bottom: 0; }
.mockup-row .row-label { font-weight: 600; color: var(--text-secondary); min-width: 56px; }
.mockup-row .row-value { flex: 1; }
.mockup-row .row-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.badge-pending { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.badge-active  { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.badge-closed  { background: rgba(16, 185, 129, 0.15); color: #34d399; }

/* Hover state — rows light up sequentially via JS class */
.mockup-row.signal-step-active {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  color: var(--text-primary);
}
.mockup-row.signal-step-active .row-badge { opacity: 1; }
.mockup-row[data-step="0"].signal-step-active { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.07); }
.mockup-row[data-step="1"].signal-step-active { border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.07); }
.mockup-row[data-step="2"].signal-step-active {
  border-color: rgba(45,212,191,0.35);
  background: rgba(45,212,191,0.1);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(45,212,191,0.08);
}

/* ─── Card 2: Community — Chat Activity ─────────────────── */
.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.chat-online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: pulse-online 2s ease-in-out infinite;
}
@keyframes pulse-online {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px rgba(34,197,94,0.2); }
}

.community-bubble {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.community-bubble.bubble-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Idle state — always show bubbles when not being hovered */
.cap-card--community:not(.card-hovered) .community-bubble {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Card 3: AI Agent — Terminal I/O ─────────────────── */
.term-prompt { white-space: nowrap; }
.term-cursor {
  display: inline-block;
  color: #e8c547;
  font-weight: 300;
  margin-left: 1px;
  animation: blink-cursor 1.1s step-end infinite;
}
.term-cursor.cursor-hidden { opacity: 0; animation: none; }
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.term-highlight { color: #e8c547; font-weight: 700; }
.term-sub { color: rgba(16,185,129,0.55); font-size: 11px; }
#term-response {
  transition: opacity 0.5s ease;
}

/* ─── Hover shimmer sweep (shared, per card color) ─────── */
.cap-card--signal::before,
.cap-card--community::before,
.cap-card--ai::before {
  transition: opacity 0.6s ease;
}
.cap-card--signal:hover::before  { opacity: 1; }
.cap-card--community:hover::before { opacity: 1; }
.cap-card--ai:hover::before      { opacity: 1; }

@media (max-width: 992px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Logos / Trust Bar ──────────────────────────────────── */
.trust-bar {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 500;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 0 32px;
}

.trust-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  opacity: 0.5;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-logo:hover { opacity: 0.8; }

.trust-logo .t-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ─── Stats ──────────────────────────────────────────────── */
.stats-section {
  padding: 60px 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 17, 24, 0.6), rgba(14, 17, 24, 0.2));
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-val .unit {
  font-size: 22px;
  color: var(--gold);
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Ticker ─────────────────────────────────────────────── */
.ticker-section {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 17, 24, 0.3);
}

.ticker {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.ticker-symbol {
  color: var(--text-primary);
  font-weight: 700;
}

.ticker-price {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-size: 13px;
}

.ticker-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.ticker-change.up { color: var(--green); background: rgba(45, 212, 191, 0.08); }
.ticker-change.down { color: var(--red); background: rgba(255, 71, 87, 0.08); }

/* ─── Section Commons ────────────────────────────────────── */
.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin: 0;
}

/* ─── Feature Showcase (alternating) ─────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }

.showcase-visual {
  position: relative;
}

.showcase-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(160deg, rgba(14, 17, 24, 0.8), rgba(14, 17, 24, 0.4));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.showcase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.3), transparent);
}

/* KOL Showcase Card Custom Styling & Animations */
.showcase-card.kol-showcase {
  position: relative;
  overflow: hidden;
  background: rgba(22, 22, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-card.kol-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.06);
}

@keyframes ambientGlowFlow {
  0% { transform: translate(-10%, -10%); }
  50% { transform: translate(10%, 10%); }
  100% { transform: translate(-10%, -10%); }
}

.kol-showcase::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 168, 67, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(45, 212, 191, 0.04) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
  animation: ambientGlowFlow 15s ease-in-out infinite;
}

.kol-showcase > * {
  position: relative;
  z-index: 1;
}

/* Individual Bar interactive styling */
.kol-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.kol-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.kol-bar:hover {
  transform: translateX(4px);
  box-shadow: -4px 4px 12px rgba(0,0,0,0.2);
  filter: brightness(1.15);
}

.kol-bar:hover::after {
  transform: translateX(0);
}

/* Base fade-in state for animated elements */
.stagger-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible .stagger-up,
.scrolly-visual-card.is-active .stagger-up {
  opacity: 1;
  transform: translateY(0);
}

/* Agent Chat Showcase Custom Styling & Animations */
.showcase-card.agent-showcase {
  position: relative;
  overflow: hidden;
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.showcase-card.agent-showcase:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 48px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.08);
}

.agent-showcase::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 60% 80%, rgba(212, 168, 67, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
  animation: ambientGlowFlow 12s ease-in-out infinite reverse;
}

.agent-showcase > * {
  position: relative;
  z-index: 1;
}

.chat-bubble {
  position: relative;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.chat-bubble:hover {
  filter: brightness(1.1);
}

@keyframes blinkingCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blink-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background-color: var(--gold);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkingCursor 1s step-end infinite;
}

.data-highlight {
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}
.data-highlight-gold {
  text-shadow: 0 0 10px rgba(212, 168, 67, 0.3);
}

/* Community Showcase Card Custom Styling & Animations */
.showcase-card.community-showcase {
  position: relative;
  overflow: hidden;
  background: rgba(18, 22, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.showcase-card.community-showcase:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 48px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.08);
}

.community-showcase::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.03) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
  animation: ambientGlowFlow 14s ease-in-out infinite;
}

.community-showcase > * {
  position: relative;
  z-index: 1;
}

.community-msg {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.community-msg:hover {
  transform: translateX(4px);
  filter: brightness(1.15);
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulseDot 2s infinite;
}

/* Signal Feed Mockup */
.signal-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.signal-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.signal-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.signal-content { flex: 1; min-width: 0; }

.signal-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

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

.signal-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.signal-tag.long { background: rgba(45, 212, 191, 0.1); color: var(--green); }
.signal-tag.short { background: rgba(255, 71, 87, 0.1); color: var(--red); }

/* AI Chat Mockup */
.ai-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.08));
  border: 1px solid rgba(212, 168, 67, 0.12);
  color: var(--text-primary);
}

.ai-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.ai-msg.bot .highlight {
  color: var(--green);
  font-weight: 600;
}

.ai-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Features Layout (Bento Grid) ───────────────────────── */
/* ── Grid container ─────────────────────────────────────────── */
.features-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  grid-template-areas:
    "a b"
    "a c"
    "d f"
    "e f";
}

/* ══════════════════════════════════════════════════════════════
   BENTO CARDS — Enhanced Interaction System
   ══════════════════════════════════════════════════════════════ */

.bento-card {
  border-radius: 20px;
  background: rgba(22, 22, 26, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02), 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* GPU composited transform only — no layout shift */
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  isolation: isolate;
}

/* ── Entrance animation ─────────────────────────────────────── */
.bento-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  /* each card gets individual transition for stagger */
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}
.bento-reveal.bento-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* stagger delays driven by data attribute via JS */
.bento-reveal[data-bento-delay="0"] { transition-delay: 0s; }
.bento-reveal[data-bento-delay="1"] { transition-delay: 0.08s; }
.bento-reveal[data-bento-delay="2"] { transition-delay: 0.16s; }
.bento-reveal[data-bento-delay="3"] { transition-delay: 0.05s; }
.bento-reveal[data-bento-delay="4"] { transition-delay: 0.13s; }
.bento-reveal[data-bento-delay="5"] { transition-delay: 0.2s; }

/* ── Shared hover lift ──────────────────────────────────────── */
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

/* Keep content above pseudo elements */
.bento-card > * {
  position: relative;
  z-index: 1;
}

/* ── Shimmer sweep on hover (shared, disabled by default) ───── */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255,255,255,0.035) 50%,
    transparent 80%
  );
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.bento-card:hover::after {
  transform: translateX(110%);
}

/* ── Icon block ─────────────────────────────────────────────── */
.bento-icon {
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.bento-card:hover .bento-icon {
  transform: scale(1.08);
  filter: brightness(1.25);
}

/* ── Title / text lift ──────────────────────────────────────── */
.bento-h3 {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.bento-card:hover .bento-h3 {
  transform: translateY(-3px);
  color: #fff;
}
.bento-p {
  transition: opacity 0.4s ease;
}
.bento-card:hover .bento-p {
  opacity: 0.85;
}

/* ── Grid areas ─────────────────────────────────────────────── */
.bento-card-a { grid-area: a; }
.bento-card-b { grid-area: b; justify-content: center; }
.bento-card-c { grid-area: c; justify-content: center; }
.bento-card-d { grid-area: d; justify-content: center; }
.bento-card-e { grid-area: e; justify-content: center; }
.bento-card-f { grid-area: f; }

/* ── Per-card semantic hover accents ────────────────────────── */
/* KOL — data scan: teal scan-line on hover */
#bento-kol:hover {
  border-color: rgba(45, 212, 191, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(45, 212, 191, 0.06) inset,
    0 0 32px rgba(45, 212, 191, 0.06);
}
#bento-kol .bento-icon { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
#bento-kol:hover .bento-icon { box-shadow: 0 0 18px rgba(45, 212, 191, 0.3); }

/* Lifecycle — progress feel: warm amber pulse */
#bento-lifecycle:hover {
  border-color: rgba(232, 197, 71, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(232, 197, 71, 0.06) inset,
    0 0 28px rgba(232, 197, 71, 0.06);
}
#bento-lifecycle:hover .bento-icon { box-shadow: 0 0 18px rgba(232, 197, 71, 0.3); }

/* Risk — cold blue, calm */
#bento-risk:hover {
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(59, 130, 246, 0.06) inset,
    0 0 28px rgba(59, 130, 246, 0.06);
}
#bento-risk:hover .bento-icon { box-shadow: 0 0 18px rgba(59, 130, 246, 0.3); }

/* Trust — network node: teal soft */
#bento-trust:hover {
  border-color: rgba(45, 212, 191, 0.18);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(45, 212, 191, 0.05);
}
#bento-trust:hover .bento-icon { box-shadow: 0 0 14px rgba(45, 212, 191, 0.25); }

/* Live — active red dot */
#bento-live:hover {
  border-color: rgba(255, 71, 87, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(255, 71, 87, 0.06);
}
#bento-live:hover .bento-icon { box-shadow: 0 0 18px rgba(255, 71, 87, 0.3); }

/* AI News — gold info glow */
#bento-ai-news:hover {
  border-color: rgba(219, 171, 9, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(219, 171, 9, 0.06) inset,
    0 0 32px rgba(219, 171, 9, 0.07);
}
#bento-ai-news .bento-icon { box-shadow: 0 0 0 0 rgba(219,171,9,0); }
#bento-ai-news:hover .bento-icon { box-shadow: 0 0 18px rgba(219, 171, 9, 0.3); }

/* ── Large bento layout ─────────────────────────────────────── */
.bento-large .feature-icon, .bento-large .bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}
.bento-large .bento-h3, .bento-large h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.bento-large .bento-p, .bento-large p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ── Small bento layout ─────────────────────────────────────── */
.bento-small {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
}
.bento-small .feature-icon, .bento-small .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}
.bento-small .bento-text { flex: 1; }
.bento-small .bento-h3, .bento-small h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.bento-small .bento-p, .bento-small p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* ── Decorative backgrounds ─────────────────────────────────── */
.bento-decor-1::before {
  content: '';
  position: absolute;
  top: -20%; left: -20%; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
#bento-kol:hover.bento-decor-1::before { opacity: 1; }
.bento-decor-1::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; width: 100%; height: 50%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at bottom right, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at bottom right, black 20%, transparent 80%);
  z-index: 0; pointer-events: none;
}
.bento-decor-2::before {
  content: '';
  position: absolute;
  bottom: -20%; right: -20%; width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0; pointer-events: none;
}
.bento-decor-2::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px);
  mask-image: radial-gradient(circle at top left, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at top left, black 10%, transparent 60%);
  z-index: 0; pointer-events: none;
}

@media (max-width: 768px) {
  .features-bento {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "f";
  }
  .bento-small {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-small .feature-icon {
    margin-bottom: 16px;
  }
}

.cta {
  padding: 80px 0; /* Reduced as padding moves into cta-box */
  text-align: center;
  position: relative;
  scroll-snap-align: none; /* Prevent browser from forcefully snapping back when trying to scroll to the footer */
}

.cta-box {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 36px;
  padding: 100px 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-box:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-box:hover .cta-glow {
  transform: translate(-50%, -46%) scale(1.15);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12), transparent 65%);
}

/* Ensure contents sit above glow */
.cta-box > .reveal, .cta-box > .cta-buttons {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 52px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85); /* Slightly muted inherently */
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 20px;
  position: relative;
  transition: color 0.6s ease;
}

.cta-box:hover .cta-title {
  color: rgba(255, 255, 255, 1); /* Brightens smoothly */
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 auto 48px;
  max-width: 500px;
  position: relative;
  transition: color 0.6s ease;
}

.cta-box:hover .cta-desc {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 17, 24, 0.7), rgba(14, 17, 24, 0.3));
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-box:hover .store-card {
  border-color: rgba(255, 255, 255, 0.12); /* Synchronized subtle brightening */
  background: linear-gradient(160deg, rgba(16, 20, 28, 0.8), rgba(16, 20, 28, 0.4));
}

.store-card:hover {
  border-color: rgba(255, 255, 255, 0.25) !important; /* Exceed outer box hover */
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.store-card .s-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card .s-label {
  font-size: 12px;
  color: var(--text-muted);
}

.store-card .s-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

/* ─── Features Page: Premium Hero Box ──────────────────────── */
.features-hero-section {
  padding: 80px 0 0;
}

.features-hero-box {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 36px;
  padding: 80px 40px 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.features-hero-box:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.features-hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 178, 0.07) 0%, rgba(212, 168, 67, 0.05) 30%, transparent 65%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.features-hero-box:hover .features-hero-glow {
  transform: translateX(-50%) scale(1.15);
  background: radial-gradient(circle, rgba(34, 211, 178, 0.1) 0%, rgba(212, 168, 67, 0.07) 30%, transparent 65%);
}

.features-hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  transition: color 0.6s ease;
}

.features-hero-box:hover .features-hero-title {
  color: rgba(255, 255, 255, 1);
}

.features-hero-desc {
  margin: 0 auto 0;
  text-align: center;
  transition: color 0.6s ease;
}

.features-hero-box:hover .features-hero-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* 3D ring image: bleeds out of the rounded box at the bottom, uses screen blend to fuse with dark bg */
.features-ring-wrap {
  margin: -10px auto 0; /* Pulled up closer to the text */
  max-width: 600px; /* Shrunk by ~30% from 860px */
  pointer-events: none;
}

.features-ring-img {
  display: block;
  width: 100%;
  margin: 0 auto -42%; /* Magic margin: proportionally clips 42% off the bottom relative to container width */
  mix-blend-mode: screen;
  filter: brightness(1.05) saturate(1.1);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.features-hero-box:hover .features-ring-img {
  transform: translateY(-8px);
}

@media (max-width: 768px) {
  .features-hero-title { font-size: 36px; }
  .features-hero-box { padding: 60px 24px 0; border-radius: 24px; }
  .features-ring-img { max-width: 100%; }
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col .footer-heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}

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

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-socials a:hover { color: var(--gold-light); }

/* ─── Download Page ──────────────────────────────────────── */
.dl-hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dl-hero .hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dl-cards {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0 32px;
}

.dl-card {
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  background: linear-gradient(160deg, rgba(14, 17, 24, 0.7), rgba(14, 17, 24, 0.3));
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.3), transparent);
}

.dl-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.dl-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dl-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.dl-card .dl-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.dl-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.dl-features li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.dl-features li:last-child { border-bottom: none; }

.dl-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.dl-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Compare */
.compare {
  max-width: 800px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.compare-table .yes {
  color: var(--green);
  font-weight: 600;
}

.compare-table .no {
  color: var(--text-muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.15), transparent);
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 17, 24, 0.6), rgba(14, 17, 24, 0.2));
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
  border: 1px solid rgba(212, 168, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes ping {
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes glow-line {
  0% { opacity: 0; left: -10%; }
  50% { opacity: 1; }
  100% { opacity: 0; left: 110%; }
}

.animate-in {
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Hero 内容不用 opacity 动画，避免 LCP 被延迟 */
.hero-content.animate-in {
  animation: hero-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-slide-up {
  from { transform: translateY(24px); }
  to { transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Focus */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero h1 { font-size: 44px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .notif-float { display: none; }
  .trading-card { margin: 0 auto; }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 48px; }
  .showcase.reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-title { font-size: 36px; }
  .cta-title { font-size: 38px; }
}

/* ═══ Crypto Ticker Module ═══ */
.crypto-ticker-section {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.ticker-tab {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.ticker-tab.active, .ticker-tab:hover {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.crypto-marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Fade out on left and right edges for a premium seamless look */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.crypto-marquee-track {
  display: flex;
  width: max-content;
}
.crypto-marquee-track:hover .marquee-group {
  animation-play-state: paused !important;
}

.marquee-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

/* Base scrolling animation */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-right-slow {
  animation: scroll-left 60s linear infinite reverse;
}
.scroll-right-fast {
  animation: scroll-left 45s linear infinite reverse;
}

.crypto-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 260px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.crypto-card::before {
  content: '';
  position: absolute;
  top: 2px; right: 2px; bottom: 2px; left: 2px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 0;
}

.crypto-card > * {
  position: relative;
  z-index: 1;
}

.crypto-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.crypto-card:hover::before {
  opacity: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.crypto-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
}
.crypto-icon svg {
  width: 20px;
  height: 20px;
}
.crypto-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.crypto-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crypto-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crypto-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.crypto-symbol {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.crypto-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}
.crypto-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}
.crypto-change {
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.crypto-change.up { color: var(--green); }
.crypto-change.down { color: var(--red); }

/* ─── Onboarding Section ───────────────────────────────────── */
.onboarding-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.onboarding-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.obs-step-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(22, 22, 26, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 36px 40px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.obs-step-card:hover {
  transform: translateY(-4px);
  background: rgba(28, 28, 34, 0.6);
  border-color: rgba(212, 168, 67, 0.15);
}
.obs-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.1);
  color: var(--gold-bright);
}
.obs-text {
  flex: 1;
}
.obs-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
  
  /* Apply the same gradient as .gradient-text-animated */
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--gold-dim), var(--gold-bright));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.obs-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.onboarding-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(212, 168, 67, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
}
.ov-app-mockup {
  position: relative;
  width: 320px;
  max-width: 100%;
  z-index: 2;
  animation: floatMockup 6s ease-in-out infinite;
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
  50% { transform: translateY(-12px); filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6)); }
}
.ov-app-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .onboarding-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-inner { padding: 120px 24px 60px; }
  .container { padding: 0 20px; }
  .platform-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .section-title { font-size: 30px; }
  .stat-val { font-size: 32px; }
  .dl-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-title { font-size: 32px; }
}

/* ─── Scrollytelling Section ────────────────────────────────── */
.scrolly-section {
  position: relative;
  padding: 80px 0;
  scroll-snap-align: none; /* sticky 需要禁用 snap */
}
.scrolly-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.scrolly-step {
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  opacity: 0.25;
  transition: opacity 0.6s ease;
}
.scrolly-step.is-active {
  opacity: 1;
}

/* Right-side Sticky Visual Stack */
.scrolly-visuals {
  position: relative;
  align-self: stretch; /* 用 grid stretch 代替 height:100%，确保拉满左列高度 */
}
.scrolly-sticky {
  position: sticky;
  top: calc(50vh - 300px); /* Mathematically perfectly centers the 600px block vertically */
  margin-top: calc(50vh - 300px); /* Ensures physical alignment in the document flow *before* scrolling sticks it */
  margin-bottom: calc(50vh - 300px); /* Ensures physical alignment when exiting the sticky zone at the bottom */
  width: 100%;
  height: 600px; 
}
.scrolly-visual-card {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
.scrolly-visual-card.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 3;
  pointer-events: auto;
}
.scrolly-visual-card.is-previous {
  opacity: 0;
  transform: translateY(-60px);
  z-index: 2;
}

/* ─── Scrollytelling 移动端适配 ────────────────────────────── */
@media (max-width: 768px) {
  .scrolly-layout {
    display: block; /* 取消 grid，改为纵向流式 */
  }
  .scrolly-visuals {
    display: none; /* 隐藏右侧 sticky 列，用 step 内嵌的 mobile visual 替代 */
  }
  .scrolly-step {
    min-height: auto;
    padding: 48px 0;
    opacity: 1;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .scrolly-step:last-child {
    border-bottom: none;
  }
  .scrolly-step .scrolly-mobile-visual {
    display: block;
    margin-top: 32px;
  }
}
/* 桌面端隐藏移动端视觉块 */
.scrolly-mobile-visual {
  display: none;
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
  .hero-badges { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .store-card { width: 100%; }
}
