/* ============================================
   InvisiPay — Light Theme, Figma Purple v2
   Palette: White #FFFFFF / Indigo Black #1E1B4B / Figma Purple #7B61FF
   Typography: Space Grotesk (headings) + Inter (body)
   Design System: InvisiPay 设计规范 v2
   ============================================ */

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

:root {
  --black: #0A0A0A;
  --white: #ffffff;

  /* v2: Figma Purple 梦幻紫蓝 — 品牌主色 */
  --accent: #7B61FF;
  --accent-light: #9B85FF;
  --accent-mid: #9B85FF;
  --accent-dark: #6A4FE8;
  --accent-soft: #EDE5FF;
  --accent-border: #C4B8FE;
  --accent-glow: rgba(123, 97, 255, 0.15);

  /* v2: Vivid Purple 灵动紫 — 隐私功能强调色 */
  --accent-purple: #A855F7;
  --accent-purple-dark: #7E22CE;
  --accent-purple-light: #F3E8FF;

  /* v2: Cyber Cyan 赛博青 — Web3 链上标识 */
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #CFFAFE;

  /* v2: Text & Neutral */
  --indigo-black: #1E1B4B;
  --ink: #312E81;
  --storm: #4B5563;
  --slate: #9CA3AF;
  --lavender-mist: #DDD6FE;

  --gray-50: #fafafa;
  --gray-100: #F5F5F5;
  --gray-200: #DDD6FE;
  --gray-300: #d4d4d4;
  --gray-400: #9CA3AF;
  --gray-500: #4B5563;
  --gray-600: #312E81;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #1E1B4B;
  --gray-950: #0F0D24;

  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
  background: var(--accent);
  color: var(--white);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gray-200);
}

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

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

.logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--black);
  transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}

.logo:hover .logo-icon {
  color: var(--accent);
  transform: rotate(-30deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-invisi {
  color: var(--black);
}

.logo-pay {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  color: var(--black);
  border-color: var(--black);
}

.btn-sm { padding: 8px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 0.9rem; }
.btn-xl { padding: 20px 48px; font-size: 1rem; }

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

.btn-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 200;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translateY(5.25px);
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translateY(-5.25px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul { text-align: center; }
.mobile-menu li { margin-bottom: 24px; }

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.3s;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 32px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--black);
}

.title-line {
  display: block;
}

.title-line:last-child {
  color: var(--accent);
}

/* Typewriter cursor */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: baseline;
  position: relative;
  top: 0.05em;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-strip {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--gray-50);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

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

/* ============================================
   SECTIONS SHARED
   ============================================ */
.section {
  padding: 140px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.label-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.label-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  margin-bottom: 100px;
}

.about-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.split-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--black);
}

.about-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 20px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}

.stat-block {
  background: var(--gray-50);
  padding: 40px 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-item {
  display: grid;
  grid-template-columns: 60px 1fr 320px;
  gap: 40px;
  align-items: center;
  padding: 48px 40px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

.feature-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.feature-item:hover {
  background: rgba(123, 97, 255, 0.02);
}

.feature-item:hover::after {
  width: 3px;
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-400);
}

.feature-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.feature-info p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 480px;
}

/* Feature visual cards */
.feature-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 300px;
  font-size: 0.8rem;
}

/* Section inline CTA */
.section-cta {
  text-align: center;
  margin-top: 56px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.card-row:last-child { border-bottom: none; }

.card-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
}

.card-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-status.on { color: var(--accent); }
.card-status.pending { color: var(--gray-400); }

/* Privacy card */
.privacy-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.flow-node {
  padding: 6px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--gray-600);
  text-align: center;
  white-space: nowrap;
}

.flow-node-pool {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(123, 97, 255, 0.05);
}

.flow-line {
  flex: 1;
  height: 1px;
  background: var(--gray-300);
  position: relative;
  margin: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-lock {
  background: var(--white);
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
}

.privacy-label {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Verify card */
.verify-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
}

.step-dot.done {
  background: var(--accent);
  border-color: var(--accent);
}

.verify-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.7rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* Batch card */
.batch-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.batch-many {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.batch-many span {
  width: 12px; height: 12px;
  background: var(--gray-300);
  border-radius: 2px;
}

.batch-arrow { color: var(--accent); }

.batch-one span {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 4px;
  display: block;
}

.batch-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* Yield card */
.yield-bar {
  height: 32px;
  background: var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.yield-fill {
  height: 100%;
  width: var(--width);
  background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
}

.yield-sources {
  display: flex;
  gap: 12px;
}

.yield-sources span {
  padding: 4px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.technology {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.tech-hero {
  max-width: 700px;
  margin-bottom: 80px;
}

.tech-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--black);
}

.tech-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}

.tech-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.4s;
}

.tech-card:hover {
  background: rgba(123, 97, 255, 0.02);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tech-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(123, 97, 255, 0.05);
}

.tech-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.tech-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.roadmap-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
  color: var(--black);
}

.roadmap-phases {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.phase-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 36px;
}

.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.phase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.phase-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.phase-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}

.status-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(123, 97, 255, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(123, 97, 255, 0.4); }
  50% { box-shadow: 0 0 16px rgba(123, 97, 255, 0.6); }
}

.phase-connector {
  color: var(--gray-300);
  width: 80px;
}

/* ============================================
   CTA — Dark inverted section
   ============================================ */
.cta {
  background: var(--black);
  color: var(--white);
  padding: 180px 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--accent);
  color: var(--white);
}

.cta .btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
}

.cta .btn-ghost {
  color: var(--gray-400);
  border-color: rgba(255,255,255,0.2);
}

.cta .btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* ============================================
   FOOTER — Dark
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
}

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

.footer .logo-icon {
  color: var(--white);
}

.footer .logo:hover .logo-icon {
  color: var(--accent);
}

.footer .logo-invisi {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--gray-600);
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--gray-400); }

/* ============================================
   HERO STATUS BAR
   ============================================ */
.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 100px;
  background: rgba(123, 97, 255, 0.03);
}

.status-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: statusPulseGlow 2s ease-in-out infinite;
}

@keyframes statusPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123, 97, 255, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(123, 97, 255, 0); }
}

.status-networks {
  display: flex;
  gap: 8px;
}

.network-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-500);
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
}

/* ============================================
   PAIN CARDS
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.pain-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s var(--ease-out-expo);
}

.pain-card:hover {
  border-color: var(--accent);
  background: rgba(123, 97, 255, 0.02);
  transform: translateY(-2px);
}

.pain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gray-600);
}

.pain-card:hover .pain-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.pain-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}

.pain-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   BENTO GRID (Technology)
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.bento-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--accent);
  background: rgba(123, 97, 255, 0.02);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(123, 97, 255, 0.06);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 48px 40px;
}

.bento-medium {
  grid-column: span 1;
}

.bento-wide {
  grid-column: span 2;
}

.bento-small {
  grid-column: span 1;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
  letter-spacing: -0.01em;
}

.bento-large h3 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

.bento-link {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease-out-expo);
}

.bento-link:hover {
  gap: 10px;
}

/* ============================================
   LANGUAGE DROPDOWN (Globe Icon)
   ============================================ */
.lang-dropdown {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-600);
  transition: all 0.2s var(--ease-out-expo);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lang-trigger:hover {
  border-color: var(--gray-400);
  color: var(--black);
  background: var(--gray-50);
}

.globe-icon {
  color: var(--gray-500);
  flex-shrink: 0;
  transition: color 0.2s;
}

.lang-trigger:hover .globe-icon {
  color: var(--accent);
}

.lang-current {
  font-weight: 500;
}

.lang-chevron {
  color: var(--gray-400);
  transition: transform 0.25s var(--ease-out-expo);
  flex-shrink: 0;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 4px;
  min-width: 148px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease-out-expo),
              transform 0.2s var(--ease-out-expo);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-600);
  text-align: left;
  transition: all 0.15s;
  cursor: pointer;
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--black);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 500;
}

.lang-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
  transition: all 0.15s;
}

.lang-option.active .lang-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.lang-option:hover .lang-dot {
  border-color: var(--gray-500);
}

/* ============================================
   ACTIVE NAV LINK (Multi-page)
   ============================================ */
.nav-links a.active {
  color: var(--black);
}

.nav-links a.active::after {
  width: 100%;
}

/* ============================================
   HERO — Simple variant (no canvas)
   For sub-pages like merchant.html, technology.html
   ============================================ */
.hero--simple {
  min-height: auto;
  padding: 0;
}

.hero--simple .hero-content {
  padding: 180px 32px 100px;
  max-width: 800px;
}

.hero--simple .hero-eyebrow {
  margin-bottom: 32px;
}

.hero--simple .hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

/* ============================================
   CODE BLOCK (Technology page SDK section)
   ============================================ */
.code-block {
  background: var(--gray-900);
  color: var(--gray-200);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 28px 32px;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.8;
  border: 1px solid var(--gray-800);
  margin-top: 40px;
}

.code-comment { color: var(--gray-500); }
.code-keyword { color: var(--accent-light); }
.code-string  { color: #34d399; }
.code-func    { color: #60a5fa; }

/* Step list for SDK / Standards */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.step-num {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(123, 97, 255, 0.04);
  flex-shrink: 0;
}

.step-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Architecture cards grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.arch-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s var(--ease-out-expo);
}

.arch-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(123, 97, 255, 0.02);
}

.arch-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.arch-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-label { flex-direction: row; gap: 16px; }
  .feature-item { grid-template-columns: 40px 1fr; gap: 20px; }
  .feature-visual { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .roadmap-phases { grid-template-columns: 1fr; }
  .phase-connector { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .nav .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 100px 0; }
  .container { padding: 0 20px; }
  .hero-content { padding: 100px 20px 60px; }
  .hero--simple .hero-content { padding: 140px 20px 60px; }
  .arch-grid { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 0.7rem; }
  .hero-status { flex-direction: column; gap: 12px; }
  .status-networks { flex-wrap: wrap; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 1fr; padding: 32px 24px; }
  .feature-index { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
