/* ========================================
   RIVETFLO - FUTURISTIC DESIGN SYSTEM
   ======================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-primary: #050a15;
  --bg-secondary: #0a1628;
  --bg-card: #0d1b2e;
  --bg-card-hover: #112240;
  --bg-elevated: #0f2035;
  --border-subtle: rgba(56, 189, 248, 0.08);
  --border-glow: rgba(56, 189, 248, 0.2);
  --border-bright: rgba(56, 189, 248, 0.4);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-purple: #a78bfa;
  --accent-green: #34d399;
  --accent-amber: #fbbf24;
  --accent-red: #f87171;
  --gradient-main: linear-gradient(135deg, #38bdf8, #a78bfa, #38bdf8);
  --gradient-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(167, 139, 250, 0.3));
  --gradient-card: linear-gradient(145deg, rgba(56, 189, 248, 0.05), rgba(167, 139, 250, 0.05));
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::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-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.text-red { color: var(--accent-red); }

/* --- Layout Utilities --- */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-top: 16px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-tag-red {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.2);
  color: var(--accent-red);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(56, 189, 248, 0.3); }
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.btn-secondary:hover { border-color: var(--accent-cyan); background: rgba(56, 189, 248, 0.05); }

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ========================================
   NAVIGATION
   ======================================== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 10, 21, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}
#main-nav.scrolled { background: rgba(5, 10, 21, 0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

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

.nav-logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 800; }
.logo-rivet { color: var(--text-primary); }
.logo-flo { color: var(--accent-cyan); }

.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent-cyan); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition-fast); border-radius: 2px; }

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.hero-glow-1 { width: 600px; height: 600px; background: rgba(56, 189, 248, 0.15); top: -200px; right: -100px; animation: floatGlow 8s ease-in-out infinite; }
.hero-glow-2 { width: 500px; height: 500px; background: rgba(167, 139, 250, 0.1); bottom: -200px; left: -100px; animation: floatGlow 10s ease-in-out infinite reverse; }

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* --- Hero Split Layout --- */
.hero-split {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

/* --- Hero Content (left) --- */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  width: fit-content;
  letter-spacing: 0.03em;
}
.hero-tag i { font-size: 0.7rem; }

.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-metric-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.hero-metric-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Hero Flow Wrapper (right) --- */
.hero-flow-wrap {
  position: relative;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ========================================
   HERO LIVE FLOW — The Real Automation
   ======================================== */
.hero-live-flow {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: visible;
  /* height set dynamically by JS */
}

/* Status badge */
.hlf-status {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(5, 10, 21, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  z-index: 20;
}
.hlf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse 1.5s ease-in-out infinite;
}

/* SVG layer */
.hlf-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* SVG Paths */
.hlf-path {
  fill: none;
  stroke: rgba(56, 189, 248, 0.1);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  transition: all 0.3s ease;
}
.hlf-path-active {
  stroke: var(--accent-cyan) !important;
  stroke-width: 3 !important;
  stroke-dasharray: none !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
  animation: pathPulse 0.8s ease;
}
.hlf-path-done {
  stroke: rgba(52, 211, 153, 0.3);
  stroke-dasharray: none;
  stroke-width: 2;
  transition: all 1s ease;
}
@keyframes pathPulse {
  0% { stroke-width: 2; filter: none; }
  50% { stroke-width: 4; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8)); }
  100% { stroke-width: 3; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6)); }
}

/* Nodes container */
.hlf-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Individual node */
.hlf-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(13, 27, 46, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  overflow: hidden;
}
.hlf-node:hover {
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

/* Node glow (background radial) */
.hlf-node-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hlf-node-cyan .hlf-node-glow  { background: radial-gradient(circle, rgba(56,189,248,0.12), transparent); }
.hlf-node-green .hlf-node-glow { background: radial-gradient(circle, rgba(52,211,153,0.12), transparent); }
.hlf-node-purple .hlf-node-glow{ background: radial-gradient(circle, rgba(167,139,250,0.12), transparent); }
.hlf-node-amber .hlf-node-glow { background: radial-gradient(circle, rgba(251,191,36,0.12), transparent); }
.hlf-node-blue .hlf-node-glow  { background: radial-gradient(circle, rgba(59,130,246,0.12), transparent); }

/* Active state */
.hlf-active {
  border-color: var(--border-bright) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), 0 0 40px rgba(56, 189, 248, 0.05);
}
.hlf-active .hlf-node-glow { opacity: 1; }

/* Processing state */
.hlf-processing {
  border-color: var(--accent-purple) !important;
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.25);
}
.hlf-processing::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  animation: procBar 1.5s ease-in-out;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
@keyframes procBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Color-specific active borders */
.hlf-node-green.hlf-active  { border-color: var(--accent-green) !important;  box-shadow: 0 0 20px rgba(52,211,153,0.2); }
.hlf-node-purple.hlf-active { border-color: var(--accent-purple) !important; box-shadow: 0 0 20px rgba(167,139,250,0.2); }
.hlf-node-amber.hlf-active  { border-color: var(--accent-amber) !important;  box-shadow: 0 0 20px rgba(251,191,36,0.2); }
.hlf-node-blue.hlf-active   { border-color: var(--accent-blue) !important;   box-shadow: 0 0 20px rgba(59,130,246,0.2); }
.hlf-node-cyan.hlf-active   { border-color: var(--accent-cyan) !important;   box-shadow: 0 0 20px rgba(56,189,248,0.2); }

/* Node icon */
.hlf-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hlf-icon-cyan   { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.hlf-icon-green  { background: rgba(52, 211, 153, 0.15); color: var(--accent-green); }
.hlf-icon-purple { background: rgba(167, 139, 250, 0.15); color: var(--accent-purple); }
.hlf-icon-amber  { background: rgba(251, 191, 36, 0.15); color: var(--accent-amber); }
.hlf-icon-blue   { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }

/* Node label */
.hlf-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.hlf-label strong {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hlf-label span {
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Data packet (moving dot) */
.hlf-packet {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan), 0 0 28px rgba(56, 189, 248, 0.3);
  z-index: 10;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.hlf-packet-burst {
  animation: packetBurst 0.4s ease-out forwards;
}
@keyframes packetBurst {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Keep old icon color classes for other pages */
.icon-blue { background: rgba(59, 130, 246, 0.2); color: var(--accent-blue); }
.icon-cyan { background: rgba(56, 189, 248, 0.2); color: var(--accent-cyan); }
.icon-green { background: rgba(52, 211, 153, 0.2); color: var(--accent-green); }
.icon-purple { background: rgba(167, 139, 250, 0.2); color: var(--accent-purple); }
.icon-amber { background: rgba(251, 191, 36, 0.2); color: var(--accent-amber); }
.icon-red { background: rgba(248, 113, 113, 0.2); color: var(--accent-red); }

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
#industries {
  padding: 120px 0;
  position: relative;
}

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

.industry-card {
  padding: 36px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.industry-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.industry-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.industry-card h3 { margin-bottom: 12px; }
.industry-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Card CTA hint */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s ease;
}
.industry-card:hover .card-cta {
  opacity: 1;
  transform: translateX(0);
}
.card-cta i { font-size: 0.65rem; transition: transform 0.2s ease; }
.industry-card:hover .card-cta i { transform: translateX(3px); }

/* Industries hint */
.industries-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.industries-hint i {
  color: var(--accent-cyan);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   TRADE FLOW MODAL
   ======================================== */
.trade-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(2, 6, 14, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
}
.trade-modal.active {
  opacity: 1;
  pointer-events: all;
}
.trade-modal-inner {
  width: 100%;
  max-width: 780px;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.97), rgba(5, 10, 21, 0.99));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.trade-modal.active .trade-modal-inner {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.trade-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.trade-modal-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trade-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.trade-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.trade-modal-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.4;
}
.trade-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.trade-modal-close:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
}

/* Modal Body */
.trade-modal-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Modal Footer */
.trade-modal-footer {
  display: flex;
  gap: 12px;
  padding: 24px 32px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 10, 21, 0.6);
}

/* ========================================
   TRADE FLOW STEPS (inside modal)
   ======================================== */

/* Connector between steps */
.tf-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0 23px;
  margin-bottom: 0;
}
.tf-connector-line {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, var(--border-glow), var(--border-subtle));
  border-radius: 2px;
}
.tf-connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
  margin: 4px 0;
}

/* Step Card */
.tf-step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(13, 27, 46, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tf-step-card:hover {
  border-color: var(--border-glow);
}
.tf-step-card.tf-step-entering {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

/* Glow bar (left accent) */
.tf-step-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px 0 0 3px;
}

/* Step number */
.tf-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

/* Step icon */
.tf-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Step content */
.tf-step-content {
  flex: 1;
  min-width: 0;
}
.tf-step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary);
  line-height: 1.3;
}
.tf-step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ========================================
   TRADE MODAL RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .trade-modal { padding: 20px 12px; }
  .trade-modal-header { padding: 20px; }
  .trade-modal-body { padding: 20px; }
  .trade-modal-footer { padding: 16px 20px; flex-direction: column; }
  .trade-modal-footer .btn-primary,
  .trade-modal-footer .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .trade-modal-header h2 { font-size: 1rem; }
  .trade-modal-header p { font-size: 0.75rem; }
  .tf-step-card { padding: 16px; gap: 12px; }
  .tf-step-num { width: 30px; height: 30px; font-size: 0.65rem; }
  .tf-step-icon { width: 30px; height: 30px; font-size: 0.8rem; }
  .tf-step-content h3 { font-size: 0.88rem; }
  .tf-step-content p { font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .tf-step-num { display: none; }
  .tf-step-card { padding: 14px; gap: 10px; }
  .trade-modal-icon { width: 38px; height: 38px; font-size: 1rem; }
}

/* ========================================
   PROBLEM / SOLUTION SECTION
   ======================================== */
#problem-section {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

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

.problem-list, .solution-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-list li, .solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.problem-list li i { color: var(--accent-red); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.solution-list li i { color: var(--accent-green); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }

/* ========================================
   SOCIAL PROOF / TESTIMONIALS
   ======================================== */
#social-proof {
  padding: 120px 0;
}

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

.testimonial-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }

.testimonial-stars { color: var(--accent-amber); font-size: 0.85rem; display: flex; gap: 4px; margin-bottom: 20px; }

.testimonial-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; font-style: italic; margin-bottom: 24px; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ========================================
   CTA SECTIONS
   ======================================== */
#home-cta, #features-cta, #hiw-cta, #pricing-cta {
  padding: 80px 0 120px;
}

.cta-box {
  position: relative;
  padding: 72px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-bg-effects { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.08);
  filter: blur(100px);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-box h2 { position: relative; z-index: 1; margin-bottom: 16px; }
.cta-box p { position: relative; z-index: 1; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-box .btn-primary { position: relative; z-index: 1; }

/* ========================================
   FEATURES PAGE
   ======================================== */
#features-hero, #hiw-hero, #pricing-hero, #contact-hero {
  position: relative;
  padding: 160px 24px 80px;
  text-align: center;
  overflow: hidden;
}

#features-grid-section {
  padding: 0 0 80px;
}

.feature-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 40px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.feature-block:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }

.feature-block-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-cyan);
}

.feature-block-content h3 { margin-bottom: 12px; }
.feature-block-content p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }

.feature-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}

.feature-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-checks li i { color: var(--accent-green); font-size: 0.85rem; }

/* ========================================
   HOW IT WORKS PAGE
   ======================================== */
#hiw-steps {
  padding: 0 0 80px;
}

.hiw-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 100px;
}

/* Electric flowing line */
.timeline-line {
  position: absolute;
  left: 45px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 2px;
  overflow: visible;
}

/* Static glow base */
.timeline-line::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(to bottom,
    var(--accent-cyan),
    var(--accent-purple) 50%,
    var(--accent-cyan) 100%
  );
  border-radius: 4px;
  opacity: 0.15;
}

/* Animated electric pulse traveling down */
.timeline-line::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 11px;
  height: 80px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(56, 189, 248, 0.8) 30%,
    rgba(167, 139, 250, 0.9) 50%,
    rgba(56, 189, 248, 0.8) 70%,
    transparent
  );
  border-radius: 6px;
  filter: blur(2px);
  animation: electricFlow 3s ease-in-out infinite;
}

@keyframes electricFlow {
  0% { top: -80px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% + 80px); opacity: 0; }
}

.hiw-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}

.hiw-step:last-child { margin-bottom: 0; }

/* Step number - positioned on the timeline */
.step-number {
  position: absolute;
  left: -100px;
  top: 20px;
  width: 90px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  z-index: 2;
}

/* Glowing dot on the timeline at each step */
.step-number::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5), 0 0 24px rgba(56, 189, 248, 0.2);
  transition: all var(--transition-smooth);
}

.hiw-step.step-active .step-number::after {
  background: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 40px rgba(56, 189, 248, 0.3);
  transform: translateY(-50%) scale(1.2);
}

.hiw-step.step-active .step-number {
  color: #fff;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

/* Connector line from dot to card */
.step-number::before {
  content: '';
  position: absolute;
  right: -46px;
  top: 50%;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cyan), rgba(56, 189, 248, 0.1));
  transform: translateY(-50%);
}

.step-content {
  flex: 1;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  opacity: 0.5;
  transform: translateX(10px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hiw-step.step-active .step-content {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.08);
}

.step-content:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.step-content h3 { margin-bottom: 12px; }
.step-content > p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

.step-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.detail-item i { color: var(--accent-green); }

.step-timeline {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

/* Flow demo section */
#hiw-flow-demo {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.flow-demo-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ========================================
   PRICING PAGE
   ======================================== */
#pricing-cards {
  padding: 0 0 80px;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }

.pricing-card-featured {
  border-color: var(--accent-cyan);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.08), var(--bg-card));
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.1);
  transform: scale(1.02);
}

.pricing-card-featured:hover { transform: scale(1.02) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card-header h3 { font-size: 1.5rem; margin-bottom: 16px; }

.pricing-amount { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-dollar { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.price-value { font-size: 3rem; font-weight: 800; font-family: var(--font-mono); color: var(--text-primary); }
.price-period { font-size: 1rem; color: var(--text-muted); }

.pricing-onboarding {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  padding: 4px 0;
}

.pf-item.included { color: var(--text-primary); }
.pf-item.included i { color: var(--accent-green); }
.pf-item.not-included { color: var(--text-muted); opacity: 0.5; }
.pf-item.not-included i { color: var(--text-muted); }

/* ========================================
   FAQ
   ======================================== */
#pricing-faq {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover { border-color: var(--border-glow); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question i { transition: transform var(--transition-smooth); color: var(--accent-cyan); }
.faq-item.open .faq-question i { transform: rotate(180deg); }

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

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

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
#contact-form-section {
  padding: 0 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.futuristic-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 60px 40px;
}

.success-icon { font-size: 4rem; color: var(--accent-green); margin-bottom: 24px; }
.form-success h3 { margin-bottom: 12px; }
.form-success p { color: var(--text-secondary); }

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.contact-info-card:hover { border-color: var(--border-glow); }

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.contact-info-card h4 { margin-bottom: 8px; font-size: 1rem; }
.contact-info-card p { color: var(--text-secondary); font-size: 0.9rem; }

.contact-direct {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-direct h4 { margin-bottom: 16px; font-size: 1rem; }
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-cyan);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.contact-direct a:hover { color: var(--accent-blue); }

/* ========================================
   FOOTER
   ======================================== */
#site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.footer-socials a:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 20px; }
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--accent-cyan); }

/* ========================================
   ANIMATIONS / SCROLL REVEALS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-headline { font-size: 2rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block-icon { width: 56px; height: 56px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 21, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  #hero { padding: 80px 16px 40px; }
  .hero-headline { font-size: 1.7rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-metrics { gap: 20px; flex-wrap: wrap; }
  .hero-metric-num { font-size: 1.3rem; }
  .hlf-node { padding: 6px 8px; gap: 6px; }

  .industries-grid { grid-template-columns: 1fr; }
  .feature-checks { grid-template-columns: 1fr; }
  .step-details { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hiw-step { flex-direction: column; gap: 16px; }
  .timeline-line { display: none; }
  .hiw-timeline { padding-left: 0; }
  .step-number { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .step-number::after { display: none; }
  .step-number::before { display: none; }
  .step-content { opacity: 1; transform: none; }
  .cta-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.4rem; }
  .hero-metrics { gap: 16px; }
  .hero-metric-num { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; text-align: center; justify-content: center; }
}
