/* ═══════════════════════════════════════════
   ClawForge — Styles
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Sora:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ─── Reset (inside @layer base for Tailwind v4) ─── */
@layer base {
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  * {
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
  }

  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

  html {
    scroll-behavior: smooth;
    background: var(--bg);
    overflow-x: hidden;
  }

  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }

  ::selection { background: var(--accent); color: var(--bg); }

  a { color: inherit; text-decoration: none; }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  img { display: block; max-width: 100%; }
}

/* ─── Design Tokens ─── */
:root {
  --bg: #0a0a0f;
  --surface: #111116;
  --surface-2: #1a1a20;
  --surface-3: #14141a;
  --border: #222228;
  --border-light: #333338;
  --text: #f0efe9;
  --text-dim: #888880;
  --text-muted: #555550;
  --accent: #ff3b3b;
  --accent-dim: #cc2e2e;
  --accent-glow: rgba(255, 59, 59, 0.08);
  --green: #00ff88;
  --green-dim: rgba(0, 255, 136, 0.15);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

/* ─── Utility ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 15, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dim);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--text); }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 59, 59, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 59, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  display: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.35s;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.5s;
}

.hero-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  background: rgba(255, 59, 59, 0.04);
}

.hero-ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.6s;
}

.hero-ca-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-ca-value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.75s;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Flywheel Visual ─── */
.flywheel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
  padding: 48px;
}

.flywheel-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

.flywheel-ring {
  --ring: 260px;
  --node: 86px;
  --half: calc(var(--node) / 2);
  width: var(--ring);
  height: var(--ring);
  position: relative;
  animation: flywheelSpin 30s linear infinite;
}

@keyframes flywheelSpin {
  to { transform: rotate(360deg); }
}

.flywheel-node {
  position: absolute;
  width: var(--node);
  height: var(--node);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  animation: flywheelCounterSpin 30s linear infinite;
  transition: border-color 0.3s;
  z-index: 2;
}

.flywheel-node:hover { border-color: var(--accent); }

@keyframes flywheelCounterSpin {
  to { transform: rotate(-360deg); }
}

.flywheel-node-icon {
  font-size: 18px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
}

.flywheel-node-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Nodes centered on orbit circumference at cardinal points */
.flywheel-node:nth-child(1) { top: calc(0px - var(--half)); left: calc(50% - var(--half)); }
.flywheel-node:nth-child(2) { top: calc(50% - var(--half)); left: calc(100% - var(--half)); }
.flywheel-node:nth-child(3) { top: calc(100% - var(--half)); left: calc(50% - var(--half)); }
.flywheel-node:nth-child(4) { top: calc(50% - var(--half)); left: calc(0px - var(--half)); }

/* Orbit ring — inset: 0 so it passes through node centers */
.flywheel-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  z-index: 1;
}

.flywheel-orbit::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: rgba(255, 59, 59, 0.3);
  animation: orbitGlow 4s linear infinite;
}

@keyframes orbitGlow {
  to { transform: rotate(360deg); }
}

.flywheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -8px;
  margin-left: -32px;
  z-index: 3;
  animation: flywheelCounterSpin 30s linear infinite, centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ─── Buttons ─── */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #ff5555;
  border-color: #ff5555;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 59, 59, 0.25);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════ HOW IT WORKS (FLYWHEEL) ═══════════ */
.how-section {
  padding: 120px 0;
  position: relative;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
}

.flywheel-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.flywheel-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.flywheel-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: var(--surface-2);
}

.flywheel-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  width: 16px;
  height: 1px;
  background: var(--border-light);
}

.flywheel-step:last-child::after { display: none; }

.step-number {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}

.flywheel-loop {
  text-align: center;
  margin-top: 40px;
}

.flywheel-loop-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.flywheel-loop-line::before,
.flywheel-loop-line::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.loop-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  animation: centerPulse 3s ease-in-out infinite;
}

/* ═══════════ TRUST SECTION ═══════════ */
.trust-section {
  padding: 120px 0;
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-header {
  text-align: center;
  margin-bottom: 60px;
}

.trust-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
}

.trust-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.trust-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.trust-card--old {
  border: 1px solid var(--accent);
}

.trust-card--new {
  border: 1px solid var(--green);
}

.trust-card-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 20px;
}

.trust-card--old .trust-card-tag {
  color: var(--accent);
  border: 1px solid var(--accent);
}

.trust-card--new .trust-card-tag {
  color: var(--green);
  border: 1px solid var(--green);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
}

.trust-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-card li {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.trust-card--old li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.trust-card--new li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--green);
}

.trust-statement {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ═══════════ CAPABILITIES ═══════════ */
.capabilities-section {
  padding: 120px 0;
}

.capabilities-header {
  margin-bottom: 60px;
}

.capabilities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.capability-card:hover::before { opacity: 1; }

.capability-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.capability-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
}

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 10px;
  position: relative;
}

.capability-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}

.capability-preview {
  margin-top: 24px;
  height: 80px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.capability-preview-bar {
  height: 3px;
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.capability-preview .preview-line {
  width: 60%;
  height: 2px;
  background: var(--border-light);
  border-radius: 1px;
  position: relative;
}

.capability-preview .preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  animation: previewSlide 3s ease-in-out infinite;
}

@keyframes previewSlide {
  0%, 100% { left: 0; }
  50% { left: calc(100% - 6px); }
}

/* ═══════════ TRUST BADGE ═══════════ */
.trust-badge {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.06), inset 0 1px 0 rgba(0, 255, 136, 0.08);
  position: relative;
  overflow: hidden;
}

.trust-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 255, 136, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.trust-badge-icon {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
  flex-shrink: 0;
  line-height: 1;
}

.trust-badge-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 8px;
}

.trust-badge-highlight {
  background: linear-gradient(90deg, var(--green), rgba(0, 255, 136, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.trust-badge-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--green);
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

.trust-badge-status::before {
  content: '\25CF  ';
  color: var(--green);
}

.trust-badge-chain {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

/* ═══════════ CAPABILITY MOCK PREVIEWS ═══════════ */
.preview--social,
.preview--mm,
.preview--trading,
.preview--treasury {
  height: auto;
  min-height: 80px;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Terminal header bar */
.preview--social::before,
.preview--mm::before,
.preview--trading::before,
.preview--treasury::before {
  content: '';
  display: block;
  height: 24px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
}

/* Terminal dots */
.preview--social::after,
.preview--mm::after,
.preview--trading::after,
.preview--treasury::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 12px 0 0 #cc8800, 24px 0 0 var(--green);
  z-index: 2;
}

/* Scanline overlay */
.capability-preview .mock-tweet,
.capability-preview .mock-spread,
.capability-preview .mock-pnl,
.capability-preview .mock-balance {
  position: relative;
}

.mock-tweet {
  width: 100%;
  font-family: var(--font-body);
  padding: 14px;
}

.mock-tweet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mock-tweet-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 59, 59, 0.2);
}

.mock-tweet-time {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mock-tweet-body {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
}

.mock-tweet-stats {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.mock-spread {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  position: relative;
}

.mock-spread-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.mock-spread-label {
  font-size: 9px;
  letter-spacing: 2px;
}

.mock-spread-ask .mock-spread-value {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 59, 59, 0.25);
}

.mock-spread-bid .mock-spread-value {
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.25);
}

.mock-spread-ask .mock-spread-label { color: var(--accent); }
.mock-spread-bid .mock-spread-label { color: var(--green); }

.mock-spread-info {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Spread gradient bar */
.preview--mm {
  position: relative;
}

.preview--mm .mock-spread::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent 40%, transparent 60%, var(--accent));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.mock-pnl {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.25);
  margin-bottom: 12px;
  padding: 14px 14px 0;
}

.mock-pnl span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-shadow: none;
}

.mock-trades {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 14px 14px;
}

.mock-trade {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.mock-trade:last-child { border-bottom: none; }

.mock-trade-token { color: var(--text-dim); }
.mock-trade-win { color: var(--green); text-shadow: 0 0 8px rgba(0, 255, 136, 0.2); }
.mock-trade-loss { color: var(--accent); text-shadow: 0 0 8px rgba(255, 59, 59, 0.2); }

.mock-balance {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  padding: 14px 14px 0;
  letter-spacing: -0.02em;
}

.mock-balance span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.mock-daily {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.2);
  padding: 0 14px 14px;
}

/* ═══════════ FEE FLOW ═══════════ */
.fee-flow {
  margin-top: 72px;
  text-align: center;
  position: relative;
}

.fee-flow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.fee-flow-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}

.fee-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 130px;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fee-flow-node:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.fee-flow-node--locked {
  border-color: rgba(0, 255, 136, 0.35);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 255, 136, 0.03) 100%);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.08), 0 0 2px rgba(0, 255, 136, 0.15);
  animation: nodePulse 3s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 255, 136, 0.08), 0 0 2px rgba(0, 255, 136, 0.15); }
  50% { box-shadow: 0 0 36px rgba(0, 255, 136, 0.15), 0 0 4px rgba(0, 255, 136, 0.25); }
}

.fee-flow-node--compound {
  border-color: rgba(0, 255, 136, 0.25);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 255, 136, 0.02) 100%);
}

.fee-flow-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 59, 59, 0.3);
}

.fee-flow-lock-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.fee-flow-node--compound .fee-flow-icon {
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.fee-flow-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: lowercase;
}

.fee-flow-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 0 6px;
}

/* ═══════════ ECOSYSTEM ═══════════ */
.ecosystem-section {
  padding: 60px 0 80px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
}

.ecosystem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.ecosystem-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.ecosystem-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ecosystem-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 10px 24px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.ecosystem-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 6s ease-in-out infinite;
}

@keyframes badgeShine {
  0%, 80% { left: -100%; }
  100% { left: 200%; }
}

.ecosystem-badge:nth-child(2)::after { animation-delay: 1.5s; }
.ecosystem-badge:nth-child(3)::after { animation-delay: 3s; }
.ecosystem-badge:nth-child(4)::after { animation-delay: 4.5s; }

.ecosystem-badge:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.eco-solana:hover {
  border-color: rgba(153, 69, 255, 0.4);
  box-shadow: 0 0 16px rgba(153, 69, 255, 0.1);
}

.eco-pump:hover {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.08);
}

.eco-raydium:hover {
  border-color: rgba(90, 200, 250, 0.3);
  box-shadow: 0 0 16px rgba(90, 200, 250, 0.08);
}

.eco-jupiter:hover {
  border-color: rgba(199, 168, 120, 0.3);
  box-shadow: 0 0 16px rgba(199, 168, 120, 0.08);
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  padding: 120px 0 80px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 40px;
  font-weight: 300;
}

.cta-powered {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .flywheel-ring { --ring: 240px; --node: 74px; }
  .flywheel-node-icon { font-size: 16px; }
  .flywheel-node-label { font-size: 8px; }
  .flywheel-steps { grid-template-columns: repeat(3, 1fr); }
  .flywheel-step:nth-child(3)::after { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-pills { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .flywheel-visual { order: -1; padding: 48px 32px; }
  .flywheel-ring { --ring: 200px; --node: 64px; }

  .flywheel-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .flywheel-step::after { display: none; }

  .trust-comparison { grid-template-columns: 1fr; }
  .trust-badge { flex-direction: column; text-align: center; padding: 20px; }
  .trust-badge-meta { justify-content: center; }

  .capabilities-grid { grid-template-columns: 1fr; }

  .fee-flow-arrow { display: none; }
  .fee-flow-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fee-flow-node { min-width: 0; }

  .ecosystem-badge { padding: 8px 18px; font-size: 11px; }

  .how-section, .trust-section, .capabilities-section, .cta-section { padding: 80px 0; }

  .footer { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .nav-logo { font-size: 12px; letter-spacing: 2px; }

  .hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero-sub { font-size: 13px; }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 11px;
  }

  .flywheel-ring { --ring: 170px; --node: 52px; }
  .flywheel-node-icon { font-size: 14px; }
  .flywheel-node-label { font-size: 7px; }

  .capability-card { padding: 24px; }
  .fee-flow-nodes { grid-template-columns: 1fr; }
  .ecosystem-badge { padding: 8px 14px; font-size: 10px; }
  .ecosystem-section { padding: 40px 0 60px; }

  .how-section, .trust-section, .capabilities-section, .cta-section { padding: 60px 0; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-glow { animation: none; opacity: 0.6; }
  .flywheel-ring { animation: none; }
  .flywheel-node { animation: none; }
  .flywheel-orbit::after { animation: none; }
  html { scroll-behavior: auto; }
}
