/* ============================================
   ORYX — Layer 3 Liquidity Infrastructure
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --bg: #05070A;
  --bg-secondary: #0F172A;
  --bg-card: #0A0E14;
  --bg-card-hover: #0F1520;
  --primary: #D9FF00;
  --primary-dim: rgba(217, 255, 0, 0.15);
  --primary-glow: rgba(217, 255, 0, 0.08);
  --text: #FFFFFF;
  --text-sub: #8A8F98;
  --text-dim: #4A4F58;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(217, 255, 0, 0.2);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1280px;
  --section-padding: 160px 0;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

/* ── Cursor Glow ── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(217, 255, 0, 0.03) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
}

.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(217, 255, 0, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 255, 0, 0.1);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Section ── */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

/* Animated background lines */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg .line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(217, 255, 0, 0.06) 50%, transparent 100%);
  animation: linePulse 8s ease-in-out infinite;
}

.hero-bg .line:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-bg .line:nth-child(2) { left: 25%; animation-delay: 2s; }
.hero-bg .line:nth-child(3) { left: 50%; animation-delay: 4s; }
.hero-bg .line:nth-child(4) { left: 75%; animation-delay: 6s; }
.hero-bg .line:nth-child(5) { left: 90%; animation-delay: 1s; }

/* Horizontal light streaks */
.hero-bg .streak {
  position: absolute;
  height: 1px;
  width: 200px;
  background: linear-gradient(90deg, transparent, rgba(217, 255, 0, 0.08), transparent);
  animation: streakMove 10s linear infinite;
}

.hero-bg .streak:nth-child(6) { top: 20%; animation-delay: 0s; }
.hero-bg .streak:nth-child(7) { top: 40%; animation-delay: 3s; }
.hero-bg .streak:nth-child(8) { top: 60%; animation-delay: 6s; }
.hero-bg .streak:nth-child(9) { top: 80%; animation-delay: 9s; }

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

@keyframes streakMove {
  0% { left: -200px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}

.hero-text h1 .highlight {
  color: var(--primary);
}

.hero-text p {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 255, 0, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
}

/* Hero Animation - Flow Diagram */
.hero-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  background: var(--bg-card);
  transition: all 0.4s ease;
}

.flow-node.main {
  padding: 22px 48px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  border-color: rgba(217, 255, 0, 0.2);
  background: rgba(217, 255, 0, 0.03);
  box-shadow: 0 0 40px rgba(217, 255, 0, 0.05);
}

.flow-connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--border), rgba(217, 255, 0, 0.15));
  position: relative;
}

.flow-connector .pulse {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: flowPulse 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes flowPulse {
  0% { top: 0; opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.flow-endpoints {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-endpoints .flow-node {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
}

.flow-endpoints .flow-node:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 255, 0, 0.05);
}

/* ═══════════════════════════════════════════════
   SECTION 2 — Designed For
   ═══════════════════════════════════════════════ */

.designed-for {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.designed-for .container {
  text-align: center;
}

.designed-for .label {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 48px;
  font-weight: 500;
}

.designed-for .tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.designed-for .tag {
  padding: 14px 36px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.4s ease;
  letter-spacing: 0.5px;
}

.designed-for .tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
  box-shadow: 0 0 30px rgba(217, 255, 0, 0.08);
}

/* ═══════════════════════════════════════════════
   SECTION 3 — The Problem
   ═══════════════════════════════════════════════ */

.problem .section-title .dim {
  color: var(--text-dim);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 80px;
}

.problem-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.problem-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.problem-item::after {
  content: '↓';
  display: block;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 18px;
}

.problem-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.problem-center .fragmented {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  opacity: 0.4;
}

.problem-center .line-v {
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--text-dim), transparent);
  opacity: 0.3;
}

/* ═══════════════════════════════════════════════
   SECTION 4 — The Solution
   ═══════════════════════════════════════════════ */

.solution-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 80px;
}

.solution-sources {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.solution-sources .item {
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-card);
  letter-spacing: 0.5px;
}

.solution-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.solution-connector .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--border), var(--primary));
  position: relative;
  overflow: hidden;
}

.solution-connector .line::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -3px;
  width: 7px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: flowDown 2.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--primary);
}

@keyframes flowDown {
  0% { top: -10px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.solution-oryx {
  padding: 24px 56px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--primary);
  background: rgba(217, 255, 0, 0.04);
  box-shadow: 0 0 60px rgba(217, 255, 0, 0.08);
  position: relative;
}

.solution-output {
  padding: 16px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-card);
}

/* ═══════════════════════════════════════════════
   SECTION 5 — Core Products
   ═══════════════════════════════════════════════ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.products-grid .last-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(217, 255, 0, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(217, 255, 0, 0.03);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
  transition: all 0.4s ease;
  background: rgba(217, 255, 0, 0.03);
  color: var(--primary);
}

.product-card:hover .icon {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 255, 0, 0.1);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.product-card h3 .brand {
  color: var(--primary);
}

.product-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   SECTION 6 — Why Layer 3
   ═══════════════════════════════════════════════ */

.why-l3 {
  text-align: center;
  padding: 200px 0;
}

.why-l3 .statement {
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -1px;
}

.why-l3 .statement .dim {
  color: var(--text-dim);
}

.why-l3 .statement .accent {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════
   SECTION 7 — Architecture
   ═══════════════════════════════════════════════ */

.architecture-diagram {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-layer {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.arch-node {
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.arch-node:hover {
  border-color: var(--text-sub);
}

.arch-node.oryx {
  padding: 20px 48px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  border-color: rgba(217, 255, 0, 0.25);
  background: rgba(217, 255, 0, 0.03);
}

.arch-node.chain {
  border-color: rgba(217, 255, 0, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.arch-connector-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.arch-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--border), rgba(217, 255, 0, 0.1));
  position: relative;
}

.arch-connector .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  left: -2px;
  animation: flowPulse 3s ease-in-out infinite;
  opacity: 0.5;
}

.arch-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 8px 0;
}

/* ═══════════════════════════════════════════════
   SECTION 8 — Built for Tokenized Finance
   ═══════════════════════════════════════════════ */

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

.finance-card {
  padding: 48px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.finance-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.finance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 255, 0, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.finance-card:hover::after {
  transform: scaleX(1);
}

.finance-card .label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.finance-card h3 {
  font-size: 20px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   SECTION 9 — Developers
   ═══════════════════════════════════════════════ */

.dev-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dev-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dev-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.dev-code-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.3;
}

.dev-code-header .filename {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.dev-code pre {
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2;
  overflow-x: auto;
}

.dev-code .keyword { color: #c792ea; }
.dev-code .string { color: #c3e88d; }
.dev-code .function { color: #82aaff; }
.dev-code .const { color: #89ddff; }
.dev-code .comment { color: var(--text-dim); }
.dev-code .var { color: #f78c6c; }
.dev-code .bracket { color: var(--text-sub); }

/* ═══════════════════════════════════════════════
   SECTION 10 — Roadmap
   ═══════════════════════════════════════════════ */

.roadmap-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 80px;
  position: relative;
  justify-content: center;
}

.roadmap-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 24px;
  border: 1px solid rgba(217, 255, 0, 0.2);
  border-radius: var(--radius);
  background: rgba(217, 255, 0, 0.04);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.roadmap-line {
  height: 1px;
  width: 40px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-dot {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(217, 255, 0, 0.3);
}

.roadmap-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.5px;
}

.roadmap-item:hover .roadmap-label {
  color: var(--text);
}

/* Alt: Vertical Timeline for Mobile */
.roadmap-vertical {
  display: none;
}

/* ═══════════════════════════════════════════════
   SECTION 11 — FAQ
   ═══════════════════════════════════════════════ */

.faq-list {
  max-width: 720px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(217, 255, 0, 0.5);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom .copyright {
  font-size: 13px;
  color: var(--text-dim);
}

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

.footer-bottom .legal a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.footer-bottom .legal a:hover {
  color: var(--text-sub);
}

/* ═══════════════════════════════════════════════
   INNER PAGES (docs, developers, etc.)
   ═══════════════════════════════════════════════ */

.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label {
  margin-bottom: 16px;
}

.page-hero .section-title {
  margin-bottom: 16px;
}

.page-content {
  padding: 80px 0;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.coming-soon-card {
  padding: 40px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-align: center;
}

.coming-soon-card .icon-placeholder {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  background: rgba(217, 255, 0, 0.03);
}

.coming-soon-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.coming-soon-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.coming-soon-badge {
  display: inline-flex;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 120px 0;
  }

  .container {
    padding: 0 32px;
  }

  .nav {
    padding: 0 32px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-animation {
    display: none;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-center {
    flex-direction: row;
  }

  .problem-center .fragmented {
    writing-mode: horizontal-tb;
  }

  .problem-center .line-v {
    width: 120px;
    height: 1px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid .last-row {
    grid-column: auto;
    display: contents;
  }

  .finance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 24px;
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-text h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

  .roadmap-timeline {
    display: none;
  }

  .roadmap-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 60px;
    padding-left: 32px;
    border-left: 1px solid var(--border);
  }

  .roadmap-v-item {
    padding: 20px 0 20px 24px;
    position: relative;
  }

  .roadmap-v-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 28px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--text-dim);
    background: var(--bg);
  }

  .roadmap-v-item:first-child::before {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(217, 255, 0, 0.3);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

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

  .designed-for .tags {
    gap: 12px;
  }

  .designed-for .tag {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════
   ENHANCED ANIMATIONS v2
   ═══════════════════════════════════════════════ */

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #b8ff00);
  z-index: 10000;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(217, 255, 0, 0.4);
}

/* ── Floating Particles ── */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.15;
    transform: translateY(-80px) scale(1);
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-160px) scale(0.5);
  }
}

/* ── Typing Cursor ── */
.typing-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
  margin-left: 2px;
}

.typing-cursor.fade-cursor {
  animation: cursorFadeOut 1s forwards;
}

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

@keyframes cursorFadeOut {
  to { opacity: 0; }
}

/* ── Text Reveal — Word by Word ── */
.text-reveal {
  overflow: hidden;
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.text-reveal.revealed .reveal-word {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger Group ── */
.stagger-group > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stagger-group > .stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Ripple Effect ── */
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Section Divider Line ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  max-width: 200px;
  margin: 0 auto 48px;
  transform: scaleX(0);
  transition: transform 1s var(--ease);
}

.section-divider.line-animate {
  transform: scaleX(1);
}

/* ── Logo Breathing ── */
.logo-dot.breathing {
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    box-shadow: 0 0 8px rgba(217, 255, 0, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(217, 255, 0, 0.7), 0 0 40px rgba(217, 255, 0, 0.2);
    transform: scale(1.2);
  }
}

/* ── Card Glow Tracking ── */
.product-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 255, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover::after {
  opacity: 1;
}

/* ── Scramble Text ── */
.scramble-text {
  cursor: pointer;
  transition: color 0.3s ease;
}

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

/* ── Enhanced Flow Connector Glow ── */
.flow-connector {
  position: relative;
  overflow: visible;
}

.flow-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary);
  animation: connectorPulse 2s ease-in-out infinite;
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.5); }
}

/* ── Enhanced Tags Hover ── */
.designed-for .tag {
  position: relative;
  overflow: hidden;
}

.designed-for .tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(217, 255, 0, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.designed-for .tag:hover::before {
  opacity: 1;
}

/* ── Roadmap Dot Pulse ── */
.roadmap-item:first-of-type .roadmap-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(217, 255, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(217, 255, 0, 0.6), 0 0 40px rgba(217, 255, 0, 0.15); }
}

/* ── Architecture Node Hover ── */
.arch-node {
  transition: all 0.4s var(--ease);
}

.arch-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.arch-node.oryx:hover {
  box-shadow: 0 8px 40px rgba(217, 255, 0, 0.1);
}

/* ── FAQ Smooth Expand ── */
.faq-answer {
  transition: max-height 0.5s var(--ease), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

/* ── Why L3 Statement Enhanced ── */
.why-l3 .statement span {
  display: inline-block;
  transition: all 0.5s var(--ease);
}

.why-l3 .statement span:hover {
  transform: translateX(8px);
}

.why-l3 .statement .accent:hover {
  text-shadow: 0 0 40px rgba(217, 255, 0, 0.3);
}

/* ── Solution Oryx Node Glow ── */
.solution-oryx {
  animation: oryxGlow 4s ease-in-out infinite;
}

@keyframes oryxGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(217, 255, 0, 0.06); }
  50% { box-shadow: 0 0 80px rgba(217, 255, 0, 0.12), 0 0 120px rgba(217, 255, 0, 0.04); }
}

/* ── Finance Card Shine ── */
.finance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(217, 255, 0, 0.02) 50%,
    transparent 60%
  );
  transform: rotate(0deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.finance-card:hover::before {
  transform: rotate(180deg);
}

/* ── Nav Link Underline Animation ── */
.nav-links a {
  position: relative;
}

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

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

/* ── X (Twitter) Button ── */
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-x svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn-x:hover svg {
  transform: scale(1.1);
}

.btn-x:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 255, 0, 0.1);
}

