/* ─── AETHRIX CAPITAL — SOVEREIGN INTELLIGENCE ─────────────────────────────── */
/* Jarvis / Stark aesthetic: deep black, cyan/electric-blue accents, holographic */

:root {
  --bg:           #050508;
  --bg-2:         #08080d;
  --bg-card:      #0c0c14;
  --border:       rgba(0, 200, 255, 0.12);
  --border-hover: rgba(0, 200, 255, 0.35);
  --cyan:         #00c8ff;
  --cyan-dim:     rgba(0, 200, 255, 0.6);
  --cyan-glow:    rgba(0, 200, 255, 0.15);
  --cyan-deep:    rgba(0, 200, 255, 0.04);
  --text-primary: #e8edf5;
  --text-secondary: rgba(232, 237, 245, 0.55);
  --text-muted:   rgba(232, 237, 245, 0.3);
  --mono:         'JetBrains Mono', monospace;
  --sans:         'Inter', system-ui, sans-serif;
  --radius:       6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── GRID BACKGROUND ───────────────────────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.scan-line {
  position: fixed;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
  animation: scan 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  flex-shrink: 0;
}

.hex-outer { animation: hex-pulse 4s ease-in-out infinite; }
@keyframes hex-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.hex-core { animation: core-pulse 2s ease-in-out infinite; }
@keyframes core-pulse {
  0%, 100% { r: 3; opacity: 1; }
  50%       { r: 4.5; opacity: 0.7; }
}

.logo-text {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}
.logo-cap { color: var(--cyan); }

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22ff88;
  box-shadow: 0 0 8px #22ff8899;
  animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan-glow);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-login:hover::before { opacity: 1; }
.btn-login:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,200,255,0.2);
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 60px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--cyan-dim);
  margin-bottom: 32px;
  animation: fade-up 0.8s ease both;
}

.eyebrow-line {
  flex: 0 0 40px;
  height: 1px;
  background: var(--cyan-dim);
}

.hero-title {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.1s;
}

.accent-line {
  display: block;
  background: linear-gradient(135deg, var(--cyan) 0%, #4488ff 60%, #8844ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.3s;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.4s;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(0,200,255,0.15), rgba(68,136,255,0.1));
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0,200,255,0.25), inset 0 0 20px rgba(0,200,255,0.05);
  transform: translateY(-1px);
}

.btn-primary:hover::after { opacity: 1; }

.cta-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ─── TICKER STRIP ───────────────────────────────────────────────────────────── */
.data-strip {
  background: rgba(0,200,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  overflow: hidden;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.5s;
  max-width: 720px;
}

.data-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ticker-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.ticker-item .tv {
  color: var(--cyan);
  margin-left: 4px;
}

.ticker-sep {
  color: var(--border-hover);
  font-size: 11px;
}

.ticker-item.up .tv   { color: #22ff88; }
.ticker-item.down .tv { color: #ff4466; }

/* ─── ORB ────────────────────────────────────────────────────────────────────── */
.orb-wrap {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(0,200,255,0.18) 0%,
    rgba(68,136,255,0.1) 35%,
    rgba(136,68,255,0.06) 65%,
    transparent 100%
  );
  box-shadow:
    0 0 80px rgba(0,200,255,0.15),
    0 0 160px rgba(0,200,255,0.06),
    inset 0 0 40px rgba(0,200,255,0.08);
  animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.06); opacity: 0.8; }
}

.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,200,255,0.12);
}

.orb-ring-1 { width: 300px; height: 300px; animation: ring-spin 20s linear infinite; }
.orb-ring-2 { width: 420px; height: 420px; animation: ring-spin 35s linear infinite reverse; border-color: rgba(0,200,255,0.06); }
.orb-ring-3 { width: 540px; height: 540px; animation: ring-spin 55s linear infinite; border-color: rgba(0,200,255,0.04); border-style: dashed; }

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orb-crosshair {
  position: absolute;
  top: 50%; left: 50%;
  background: rgba(0,200,255,0.2);
}

.orb-ch-h {
  width: 540px; height: 1px;
  transform: translate(-50%, -50%);
}

.orb-ch-v {
  width: 1px; height: 540px;
  transform: translate(-50%, -50%);
}

/* ─── STATS BAR ──────────────────────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,200,255,0.02);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 60px;
}

.stat-val {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── FEATURES ───────────────────────────────────────────────────────────────── */
.features {
  position: relative;
  z-index: 2;
  padding: 100px 32px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cyan-dim);
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 36px 32px;
  background: var(--bg-card);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover { background: rgba(0,200,255,0.03); }

.feat-icon {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  margin-bottom: 20px;
  opacity: 0.8;
}

.feat-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.feat-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  opacity: 0.7;
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 3px;
  padding: 3px 8px;
  display: inline-block;
}

/* ─── ARCHITECTURE STRIP ────────────────────────────────────────────────────── */
.arch-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 48px 32px;
}

.arch-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.arch-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.arch-flow {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  overflow-x: auto;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  white-space: nowrap;
  transition: all 0.2s;
}

.arch-node.active {
  border-color: var(--border-hover);
  background: rgba(0,200,255,0.05);
  box-shadow: 0 0 20px rgba(0,200,255,0.1);
}

.arch-icon {
  font-size: 18px;
  color: var(--cyan);
  line-height: 1;
}

.arch-node span:nth-child(2) {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.arch-sub {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.arch-arrow {
  font-size: 18px;
  color: var(--cyan-dim);
  flex-shrink: 0;
  animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50%       { opacity: 1;   transform: translateX(3px); }
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  padding: 32px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.logo-mark-sm {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  opacity: 0.6;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-sep { opacity: 0.4; }

.footer-access {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-access:hover { opacity: 1; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .orb-wrap { display: none; }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat { padding: 0 24px; }
  .arch-inner { flex-direction: column; align-items: flex-start; }
  .arch-label { margin-bottom: 16px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .nav-status { display: none; }
  .hero { padding: 100px 20px 48px; }
  .hero-sub { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 60px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-meta { flex-direction: column; gap: 6px; }
}
