/* ═══════════════════════════════════════════ */
/*  ASG Pay — The Agent Bank                   */
/*  Design System: Stripe × Vercel × Linear    */
/* ═══════════════════════════════════════════ */

:root {
  /* ─── Color Tokens ─── */
  --bg-primary: #09090b;
  --bg-secondary: #0c0c0f;
  --bg-tertiary: #111114;
  --bg-card: rgba(17, 17, 20, 0.6);
  --bg-card-hover: rgba(24, 24, 28, 0.7);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text-primary: #fafafa;
  --text-secondary: rgba(250, 250, 250, 0.64);
  --text-tertiary: rgba(250, 250, 250, 0.4);
  --text-muted: rgba(250, 250, 250, 0.28);

  --accent: #818cf8;
  --accent-bright: #a5b4fc;
  --accent-glow: rgba(129, 140, 248, 0.15);
  --accent-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);

  --success: #34d399;
  --warning: #fbbf24;

  /* ─── Typography ─── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* ─── Spacing ─── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ─── Radius ─── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ─── Transitions ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
}

/* ═══════════ RESET ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

/* ═══════════ LAYOUT ═══════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}
.section-alt {
  background: var(--bg-secondary);
}

/* ═══════════ ANIMATED MESH BG ═══════════ */
.mesh-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
  contain: layout style;
}
.orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orbFloat1 25s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #818cf8 0%, transparent 70%);
  top: 40%; right: -100px;
  animation: orbFloat2 30s ease-in-out infinite;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  bottom: -100px; left: 40%;
  animation: orbFloat3 20s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 120px) scale(1.1); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-120px, -80px) scale(1.15); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, -60px); }
}

.noise {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ═══════════ HEADER ═══════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background var(--duration) var(--ease-out), border-color var(--duration);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-center {
  display: flex;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-link-icon {
  display: flex;
  align-items: center;
  padding: var(--space-2);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: 13px;
  font-weight: 500;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }

/* ═══════════ HERO ═══════════ */
.hero {
  padding-top: 160px;
  padding-bottom: var(--space-16);
  text-align: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-announce {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: var(--accent-glow);
  border: 1px solid rgba(129,140,248,0.2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-bright);
  margin-bottom: var(--space-10);
  transition: background 0.3s;
  cursor: default;
}
.hero-announce:hover {
  background: rgba(129,140,248,0.22);
}
.announce-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
}
.hero-line {
  display: block;
}
.hero-title em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

/* ─── Hero Install ─── */
.hero-install {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 18px;
  background: rgba(12, 12, 15, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--accent-bright);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-install:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 24px rgba(99,102,241,0.08);
}
.hero-install code {
  font-family: inherit;
}
.hero-install .copy-mini {
  margin-left: var(--space-2);
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 0 0 0 rgba(99,102,241,0);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(99,102,241,0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}
.btn-large { padding: 16px 36px; font-size: 15px; }

/* ─── Hero Terminal ─── */
.hero-terminal {
  width: 100%;
  max-width: 680px;
  background: rgba(12, 12, 15, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 60px -12px rgba(0,0,0,0.5),
    0 0 60px -20px rgba(99,102,241,0.12);
  backdrop-filter: blur(8px);
  text-align: left;
}
.terminal-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.terminal-dots span:first-child { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:last-child { background: #28c840; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.terminal-spacer { width: 42px; }
.terminal-body {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
}
.terminal-line {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: opacity 0.4s var(--ease-out);
}
.terminal-output { padding-left: 22px; }
.t-prompt { color: var(--accent); font-weight: 500; }
.t-cmd, .t-text { color: var(--text-primary); }
.t-muted { color: var(--text-tertiary); }
.t-success { color: var(--success); }
.t-cursor {
  color: var(--accent-bright);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════ LOGOS ═══════════ */
.logos-section {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 12, 15, 0.5);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}
.logos-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.logos-track {
  display: flex;
  gap: var(--space-10);
  animation: marquee 35s linear infinite;
  width: max-content;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}
.li-svg { flex-shrink: 0; opacity: 0.7; }
.li-logo { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; filter: brightness(0.9); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════ SECTION HEADERS ═══════════ */
.section-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: var(--space-16);
}

/* ═══════════ BENTO GRID ═══════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.bento-card {
  position: relative;
  background: var(--bg-card);
  padding: var(--space-8);
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
}
.bento-card:hover {
  background: var(--bg-card-hover);
}

/* Spotlight effect */
.card-spotlight {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(129,140,248,0.06), transparent 60%);
}
.bento-card:hover .card-spotlight { opacity: 1; }

.bento-lg {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 420px;
}
.bento-md { grid-column: span 1; }
.bento-sm { grid-column: span 1; }

.bento-content { position: relative; z-index: 1; }
.bento-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.bento-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.bento-lg .bento-title { font-size: 28px; }
.bento-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-bright);
  transition: gap 0.2s var(--ease-out);
}
.bento-link:hover { gap: var(--space-2); }

/* ─── Virtual Card Visual ─── */
.bento-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.vcard-demo {
  perspective: 800px;
  padding-top: var(--space-8);
}
.vcard-inner {
  width: 320px;
  height: 195px;
  padding: 24px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 40%, #1a1a2c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateX(4deg) rotateY(-3deg);
  transition: transform 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.vcard-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(129,140,248,0.05), transparent);
  animation: vcardShine 8s linear infinite;
}
@keyframes vcardShine { to { transform: rotate(360deg); } }

.bento-card:hover .vcard-inner {
  transform: rotateX(0) rotateY(0);
}
.vcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.vcard-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.vcard-label-sm {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.vcard-chip-wrap { position: relative; }
.vcard-chip {
  width: 36px; height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #c9a652, #e8d48b, #c9a652);
  position: relative;
}
.vcard-chip::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 3px;
}
.vcard-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  position: relative;
}
.vcard-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}
.vcard-val {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}
.vcard-bal {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-mono);
}

/* ─── Agent Card Image ─── */
.agent-card-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(129,140,248,0.08));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}
.bento-card:hover .agent-card-img {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.03);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(129,140,248,0.15));
}

/* ─── Install snippet ─── */
.bento-install {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-bright);
  margin-top: var(--space-2);
}
.copy-mini {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 4px;
  color: var(--text-tertiary);
  transition: color 0.2s, background 0.2s;
}
.copy-mini:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

/* ═══════════ INFRASTRUCTURE ═══════════ */
.infra-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* ─── Code Block ─── */
.infra-code {
  background: rgba(12, 12, 15, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 60px -12px rgba(0,0,0,0.4);
}
.code-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  gap: var(--space-4);
}
.code-dots { display: flex; gap: 6px; }
.code-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.code-dots span:first-child { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:last-child { background: #28c840; }
.code-tabs { display: flex; gap: 2px; }
.code-tab {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.code-tab.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.code-tab:hover:not(.active) {
  color: var(--text-tertiary);
}
.code-body {
  padding: 24px;
  overflow-x: auto;
}
.code-body pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
}
.hl-kw { color: #c792ea; }
.hl-fn { color: #82aaff; }
.hl-str { color: #c3e88d; }
.hl-prop { color: #f78c6c; }
.hl-cmt { color: rgba(255,255,255,0.25); font-style: italic; }

/* ─── Feature List ─── */
.infra-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.infra-feat {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.infra-feat:hover { background: rgba(255,255,255,0.03); }
.feat-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid rgba(129,140,248,0.15);
  color: var(--accent-bright);
}
.infra-feat h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-1);
}
.infra-feat p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ═══════════ NETWORKS ═══════════ */
.nets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.net-group-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.net-items { display: flex; flex-direction: column; gap: var(--space-2); }
.net-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, color 0.2s;
}
.net-chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.net-chip.dim {
  color: var(--text-tertiary);
  border-color: transparent;
  background: rgba(255,255,255,0.02);
}
.net-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════ METRICS ═══════════ */
.metrics-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-8) 0;
}
.metric { text-align: center; }
.metric-num {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  margin-top: var(--space-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

/* ═══════════ CTA ═══════════ */
.cta-section {
  padding: var(--space-24) 0 var(--space-20);
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-glow-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
}
.cta-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-10);
  background: var(--bg-secondary);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}
.footer-brand { max-width: 280px; }
.footer-tagline {
  margin-top: var(--space-3);
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: var(--space-16);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-1);
}
.footer-col a {
  font-size: 13.5px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }

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

/* ═══════════ PAYMENT FLOW ═══════════ */
.flow-section {
  padding: var(--space-24) 0 var(--space-16);
  overflow: hidden;
}
.flow-canvas-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.flow-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 520;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99,102,241,0.06) 0%, transparent 70%),
    rgba(12, 12, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 60px -12px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.flow-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.flow-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* Lines — slightly thicker, softer */
.flow-line {
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
}

/* Hidden motion paths */
.flow-motion-path {
  fill: none;
  stroke: none;
}

/* Nodes (small squares) */
.flow-node {
  fill: rgba(255, 255, 255, 0.85);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.5;
}

/* Central hub */
.flow-hub {
  fill: var(--accent);
  stroke: rgba(129, 140, 248, 0.4);
  stroke-width: 1;
}

/* Hub pulsing rings */
.flow-hub-ring {
  fill: none;
  stroke: rgba(129, 140, 248, 0.12);
  stroke-width: 1;
  will-change: r, stroke-opacity;
}
.flow-hub-ring-1 {
  animation: hubPulse1 3s ease-in-out infinite;
}
.flow-hub-ring-2 {
  animation: hubPulse2 3s ease-in-out infinite 0.5s;
}
@keyframes hubPulse1 {
  0%, 100% { stroke-opacity: 0.12; r: 28; }
  50% { stroke-opacity: 0.25; r: 32; }
}
@keyframes hubPulse2 {
  0%, 100% { stroke-opacity: 0.06; r: 40; }
  50% { stroke-opacity: 0.15; r: 46; }
}

/* Animated dots — inbound (indigo) */
.flow-dot {
  fill: rgba(255, 255, 255, 0.9);
}
.flow-dot-in {
  fill: var(--accent-bright);
}
.flow-dot-out {
  fill: var(--success);
}

/* Labels */
.flow-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  fill: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.01em;
}
.flow-hub-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  fill: var(--accent-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════ ANIMATIONS — FADE IN ═══════════ */

.fade-in {
  opacity: 0;
  transform: translate3d(0, 28px, 0); /* GPU-accelerated */
  will-change: opacity, transform;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto; /* Release GPU layer after animation */
}

/* Flow canvas — special fade + scale */
.flow-canvas.fade-in {
  transform: translate3d(0, 20px, 0) scale(0.98);
}
.flow-canvas.fade-in.visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Logos — horizontal slide-in */
.logos-section.fade-in {
  transform: translate3d(0, 12px, 0);
  opacity: 0;
}
.logos-section.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition-duration: 0.01ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .mesh-orb {
    animation: none !important;
  }
  .flow-dot,
  .flow-hub-ring {
    animation: none !important;
  }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .nav-center { display: none; }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-lg { grid-column: span 1; grid-row: span 1; min-height: auto; }
  .infra-grid { grid-template-columns: 1fr; }
  .nets-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-row {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
  .metric-divider { display: none; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: var(--space-10); }
  .vcard-demo { display: none; }
  .flow-canvas {
    aspect-ratio: auto;
    min-height: 320px;
  }
  .flow-label { font-size: 12px; }
  .flow-hub-label { font-size: 10px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .nets-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
