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

:root {
  /* Stark OS Palette */
  --jarvis-cyan: #00d4ff;
  --jarvis-cyan-dim: rgba(0, 212, 255, 0.12);
  --jarvis-cyan-glow: rgba(0, 212, 255, 0.45);
  --jarvis-cyan-soft: rgba(0, 212, 255, 0.08);
  --arc-red: #ff3333;
  --arc-red-dim: rgba(255, 51, 51, 0.15);
  --stark-gold: #ffd700;
  --stark-gold-dim: rgba(255, 215, 0, 0.12);
  --stark-amber: #ffaa00;
  --iron-bg: #05070a;
  --iron-surface: rgba(12, 18, 35, 0.78);
  --iron-dark: #070a12;
  --iron-mid: #0f1623;
  --hud-green: #00ff88;
  --hud-green-dim: rgba(0, 255, 136, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #e0f2fe;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Spacing */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  /* Shadows */
  --shadow-cyan: 0 0 30px rgba(0, 212, 255, 0.18);
  --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.12);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 17px;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--iron-bg);
  color: var(--text-secondary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Orbitron', sans-serif; color: var(--text-primary); }

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

::selection { background: rgba(0, 212, 255, 0.35); color: white; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--iron-bg); }
::-webkit-scrollbar-thumb { background: var(--jarvis-cyan); border-radius: 3px; box-shadow: 0 0 10px var(--jarvis-cyan-glow); }

/* ===== SPOTLIGHT OVERLAY ===== */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(0, 212, 255, 0.04) 0%, transparent 50%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
@media (max-width: 1024px), (pointer: coarse) {
  .spotlight-overlay { opacity: 0.25; background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 60%); }
}

/* ===== BOOT OVERLAY ===== */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--iron-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.boot-overlay.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-frame {
  width: min(520px, 90vw);
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(10, 16, 35, 0.95));
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.boot-frame::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--jarvis-cyan), transparent);
  animation: boot-scan 1.5s ease-in-out infinite;
}
@keyframes boot-scan {
  0% { left: -100%; }
  100% { left: 100%; }
}
.boot-frame::after, .boot-bl, .boot-br {
  content: ''; position: absolute; width: 12px; height: 12px;
  border-color: var(--jarvis-cyan); border-style: solid;
}
.boot-frame::after { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.boot-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.boot-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.boot-title { font-family: 'Orbitron'; font-size: 1.25rem; color: var(--jarvis-cyan); letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 0 20px var(--jarvis-cyan-glow); }
.boot-line { font-family: 'Rajdhani'; font-size: 0.9375rem; color: var(--text-muted); min-height: 1.5rem; }
.boot-line span { color: var(--jarvis-cyan); }
.boot-bar { width: 100%; height: 3px; background: rgba(0, 212, 255, 0.08); position: relative; overflow: hidden; }
.boot-bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--jarvis-cyan), var(--stark-gold)); width: 0%; box-shadow: 0 0 15px var(--jarvis-cyan); transition: width 0.3s linear; }
.boot-segments { display: flex; gap: 3px; margin-top: 0.5rem; }
.boot-segment { flex: 1; height: 2px; background: rgba(0, 212, 255, 0.1); transition: background 0.2s; }
.boot-segment.active { background: var(--jarvis-cyan); box-shadow: 0 0 8px var(--jarvis-cyan-glow); }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--jarvis-cyan), var(--stark-gold));
  width: 0%; z-index: 99999;
  box-shadow: 0 0 12px var(--jarvis-cyan-glow);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--jarvis-cyan); cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.4s var(--ease-out); z-index: 95;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: rgba(0, 212, 255, 0.18); box-shadow: var(--shadow-cyan); transform: translateY(-4px); color: #fff; }

/* ===== CUSTOM CURSOR & TRAIL ===== */
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--jarvis-cyan); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--jarvis-cyan), 0 0 20px var(--jarvis-cyan-glow);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid var(--jarvis-cyan); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, border-color 0.2s;
  box-shadow: 0 0 12px var(--jarvis-cyan-dim), inset 0 0 12px var(--jarvis-cyan-dim);
}
.cursor-ring::before, .cursor-ring::after {
  content: ''; position: absolute; background: var(--jarvis-cyan); opacity: 0.4;
}
.cursor-ring::before { top: 50%; left: -4px; right: -4px; height: 1px; transform: translateY(-50%); }
.cursor-ring::after { left: 50%; top: -4px; bottom: -4px; width: 1px; transform: translateX(-50%); }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--jarvis-cyan); box-shadow: 0 0 25px var(--jarvis-cyan-glow), inset 0 0 25px var(--jarvis-cyan-dim); }
.cursor-ring.clicking { width: 24px; height: 24px; border-color: var(--arc-red); box-shadow: 0 0 15px rgba(255, 51, 51, 0.3); }
.cursor-trail-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 99997;
}

@media (max-width: 1024px), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-trail-canvas { display: none !important; }
}

/* ===== JARVIS GLASS ===== */
.jarvis-glass {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(12, 18, 35, 0.85));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== GRADIENT TEXT ===== */
.jarvis-text {
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #00f0ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.stark-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ffe066 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== BUTTONS ===== */
.btn-jarvis {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.03));
  border: 1px solid rgba(0, 212, 255, 0.45); border-radius: var(--radius-md);
  color: var(--jarvis-cyan); font-family: 'Orbitron', sans-serif;
  font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  position: relative; overflow: hidden;
}
.btn-jarvis::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
}
.btn-jarvis:hover::before { left: 100%; }
.btn-jarvis:hover { border-color: rgba(0, 212, 255, 0.85); box-shadow: 0 0 35px rgba(0, 212, 255, 0.35); transform: translateY(-2px); color: #fff; }
.btn-stark {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 170, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.4); border-radius: var(--radius-md);
  color: var(--stark-gold); font-family: 'Orbitron', sans-serif;
  font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: all 0.4s var(--ease-out); box-shadow: 0 0 20px rgba(255, 215, 0, 0.08);
  position: relative; overflow: hidden;
}
.btn-stark:hover { border-color: rgba(255, 215, 0, 0.75); box-shadow: 0 0 35px rgba(255, 215, 0, 0.25); color: #fff; transform: translateY(-2px); }

/* ===== MAGNETIC BUTTON WRAPPER ===== */
.magnetic { display: inline-flex; transition: transform 0.2s ease; }

/* ===== JARVIS CARD ===== */
.jarvis-card {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.04), rgba(12, 18, 35, 0.62));
  border: 1px solid rgba(0, 212, 255, 0.1); border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease-out); position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.jarvis-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
  opacity: 0.6;
}
.jarvis-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid transparent; transition: border-color 0.4s;
}
.jarvis-card:hover { border-color: rgba(0, 212, 255, 0.25); box-shadow: 0 24px 70px rgba(0, 212, 255, 0.1); transform: translateY(-8px); }
.jarvis-card:hover::after { border-color: rgba(0, 212, 255, 0.15); }

/* Animated gradient border */
.card-glow {
  position: relative;
  background: var(--iron-mid);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--jarvis-cyan), var(--stark-gold), var(--jarvis-cyan));
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.4s;
}
.card-glow:hover::before { opacity: 1; }
.card-glow-inner {
  position: relative;
  background: linear-gradient(145deg, rgba(12, 18, 35, 0.95), rgba(7, 10, 18, 0.98));
  border-radius: var(--radius-lg);
  height: 100%;
}

/* Holographic corners */
.holo-card { position: relative; }
.holo-card .corner { position: absolute; width: 12px; height: 12px; border-color: rgba(0, 212, 255, 0.35); border-style: solid; pointer-events: none; transition: all 0.3s; z-index: 2; }
.holo-card .corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.holo-card .corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.holo-card .corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.holo-card .corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.holo-card:hover .corner { width: 20px; height: 20px; border-color: var(--jarvis-cyan); box-shadow: 0 0 10px var(--jarvis-cyan-glow); }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.04), rgba(12, 18, 35, 0.62));
  border: 1px solid rgba(0, 212, 255, 0.1); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.5s ease; position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--jarvis-cyan), transparent); opacity: 0; transition: opacity 0.4s; z-index: 2;
}
.product-card:hover { border-color: rgba(0, 212, 255, 0.22); box-shadow: 0 28px 72px rgba(0, 212, 255, 0.08); transform: translateY(-10px); }
.product-card:hover::before { opacity: 1; }
.product-card .aspect-4-3 { overflow: hidden; position: relative; }
.product-card .aspect-4-3::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,10,18,0.85));
  pointer-events: none;
}
.product-card img { transition: transform 0.7s ease; }
.product-card:hover img { transform: scale(1.1); }
.product-card .view-case {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.1); opacity: 0; transition: opacity 0.4s; z-index: 3;
}
.product-card:hover .view-case { opacity: 1; }
.product-card .scan-line-card {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--jarvis-cyan), transparent);
  box-shadow: 0 0 15px var(--jarvis-cyan-glow);
  opacity: 0; transition: opacity 0.3s; z-index: 4;
}
.product-card:hover .scan-line-card {
  opacity: 1;
  animation: scan-vertical 1.5s ease-in-out infinite;
}
@keyframes scan-vertical {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===== PRICING CARD ===== */
.pricing-card {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.04), rgba(12, 18, 35, 0.68));
  border: 1px solid rgba(0, 212, 255, 0.12); border-radius: var(--radius-lg);
  padding: 2rem; transition: all 0.5s ease; position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pricing-card:hover { border-color: rgba(0, 212, 255, 0.28); transform: translateY(-8px); }
.pricing-card.popular { border-color: rgba(255, 215, 0, 0.4); box-shadow: 0 0 50px rgba(255, 215, 0, 0.12); }
@media (max-width: 768px) {
  .pricing-card.popular { order: -1; }
}
.pricing-card.popular::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
  background-size: 200% 200%; animation: gradient-shift 3s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.ribbon {
  position: absolute; top: -12px; right: 1rem;
  background: linear-gradient(135deg, var(--stark-gold), var(--stark-amber));
  color: #000; font-family: 'Orbitron'; font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm); box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}

/* ===== STAT CARD / HUD GAUGE ===== */
.jarvis-stat {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(0, 212, 255, 0.01));
  border: 1px solid rgba(0, 212, 255, 0.1); border-radius: var(--radius-md);
  padding: 1.25rem; transition: all 0.4s ease;
}
.jarvis-stat:hover { border-color: rgba(0, 212, 255, 0.25); box-shadow: 0 8px 32px rgba(0, 212, 255, 0.06); }

.hud-gauge {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem;
}
.hud-gauge svg { transform: rotate(-90deg); }
.hud-gauge .gauge-bg { fill: none; stroke: rgba(0, 212, 255, 0.08); stroke-width: 6; }
.hud-gauge .gauge-fill {
  fill: none; stroke: url(#gaugeGradient); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 283; stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.gauge-circle-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hud-gauge .gauge-value {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron'; font-size: 1.75rem; font-weight: 700; color: #fff;
  white-space: nowrap;
}
.hud-gauge .gauge-label { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }

/* ===== TAG ===== */
.jarvis-tag {
  display: inline-flex; padding: 0.3rem 0.85rem; border-radius: var(--radius-sm);
  font-family: 'Orbitron', sans-serif; font-size: 0.625rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.15); color: var(--jarvis-cyan);
}
.jarvis-tag.gold { background: rgba(255, 215, 0, 0.1); border-color: rgba(255, 215, 0, 0.25); color: var(--stark-gold); }
.jarvis-tag.pulse { animation: tag-pulse 2s ease-in-out infinite; }
@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(0, 212, 255, 0); }
}

/* ===== TYPOGRAPHY ===== */
.text-hero { font-family: 'Orbitron'; font-size: clamp(2.5rem, 8vw, 7rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.text-section { font-family: 'Orbitron'; font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.15; }
.text-label { font-family: 'Orbitron'; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.text-gradient-cyan { background: linear-gradient(135deg, var(--jarvis-cyan), #00f0ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-gold { background: linear-gradient(135deg, var(--stark-gold), var(--stark-amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== ARC REACTOR 2.0 ===== */
.arc-reactor { position: relative; width: 100%; aspect-ratio: 1; max-width: 420px; margin: 0 auto; }
.arc-reactor-inner {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
}
.arc-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0, 212, 255, 0.18); }
.arc-ring.ring-1 { inset: 0; animation: rotate-cw 24s linear infinite; }
.arc-ring.ring-2 { inset: 10%; animation: rotate-ccw 18s linear infinite; border-color: rgba(0, 212, 255, 0.12); }
.arc-ring.ring-3 { inset: 20%; animation: rotate-cw 30s linear infinite; }
.arc-ring.ring-4 { inset: 30%; animation: rotate-ccw 22s linear infinite; border-color: rgba(0, 212, 255, 0.22); }
.arc-ring.ring-5 { inset: 40%; animation: rotate-cw 16s linear infinite; border-color: rgba(255, 215, 0, 0.15); }
.arc-glow {
  position: absolute; inset: 40%; border-radius: 50%; border: 1px solid rgba(0, 212, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.2), inset 0 0 40px rgba(0, 212, 255, 0.12);
  animation: reactor-breathe 4s ease-in-out infinite;
}
.arc-core {
  width: 18%; height: 18%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #00d4ff 35%, #0099cc 100%);
  box-shadow: 0 0 40px var(--jarvis-cyan), 0 0 80px rgba(0,212,255,0.5);
  animation: pulse-core 2s ease-in-out infinite;
}
.arc-reactor img {
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(0,212,255,0.35);
  animation: pulse-core 3s ease-in-out infinite;
}
@keyframes rotate-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-ccw { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes pulse-core { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.85); opacity: 0.75; } }
@keyframes reactor-breathe { 0%, 100% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.2), inset 0 0 40px rgba(0, 212, 255, 0.12); } 50% { box-shadow: 0 0 80px rgba(0, 212, 255, 0.35), inset 0 0 60px rgba(0, 212, 255, 0.2); } }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes scan-down { 0% { top: -4px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes badge-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); } }
@keyframes aurora-move { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(8%, 5%) rotate(120deg); } 66% { transform: translate(-4%, 10%) rotate(240deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes blink-live { 0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--hud-green); } 50% { opacity: 0.35; box-shadow: 0 0 2px var(--hud-green); } }
@keyframes hologram-sweep { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.badge-glow { animation: badge-glow 2.5s infinite; }
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  background-size: 200% 100%; animation: shimmer 2.2s infinite;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(45px); transition: all 1s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-70px); transition: all 1s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(70px); transition: all 1s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 1s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== PARTICLE CANVAS ===== */
.particle-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.particle-canvas-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ===== SCAN LINE ===== */
.scan-line { position: relative; overflow: hidden; }
.scan-line::after { content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent); animation: scan-down 4s ease-in-out infinite; pointer-events: none; }

/* ===== AURORA ===== */
.aurora-bg { position: relative; overflow: hidden; }
.aurora-bg::before, .aurora-bg::after { content: ''; position: absolute; width: 160%; height: 160%; border-radius: 50%; filter: blur(140px); opacity: 0.1; pointer-events: none; }
.aurora-bg::before { background: radial-gradient(circle, var(--jarvis-cyan), transparent 70%); top: -60%; left: -30%; animation: aurora-move 20s ease infinite; }
.aurora-bg::after { background: radial-gradient(circle, var(--stark-gold), transparent 70%); bottom: -60%; right: -30%; animation: aurora-move 20s ease infinite reverse; animation-delay: -10s; }

/* ===== MESH BG ===== */
.mesh-bg {
  background:
    linear-gradient(-45deg, #05070a, #0a1020, #070e18, #0a0e1a, #05070a);
  background-size: 400% 400%;
  animation: gradient-shift 22s ease infinite;
}

/* ===== HEX GRID ===== */
.hex-grid { background-image: linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px); background-size: 50px 50px; }

/* ===== SECTION BACKGROUNDS ===== */
.section-glass {
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.82));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
}
.section-transparent { background: transparent; }
.section-gradient {
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.78) 50%, rgba(5, 7, 10, 0.92) 100%);
}
.section-solid { background: rgba(5, 7, 10, 0.96); }

@media (max-width: 1024px), (pointer: coarse) {
  .section-glass {
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-glass, .section-gradient { background: rgba(5, 7, 10, 0.96); backdrop-filter: none; }
}

/* ===== SECTION DIVIDERS ===== */
.hud-divider {
  position: relative; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.18), transparent);
  margin: 0;
}
.hud-divider::before, .hud-divider::after {
  content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 212, 255, 0.5); box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.hud-divider::before { left: 25%; }
.hud-divider::after { right: 25%; }

/* ===== CORNER BRACKETS ===== */
.corner-brackets { position: relative; }
.corner-brackets::before, .corner-brackets::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: rgba(0, 212, 255, 0.3); border-style: solid; pointer-events: none; }
.corner-brackets::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.corner-brackets::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }

/* ===== INPUT ===== */
.jarvis-input {
  width: 100%; padding: 0.9375rem 1.25rem;
  background: rgba(0, 212, 255, 0.03); border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-md); color: var(--text-secondary); font-family: 'Rajdhani';
  font-size: 0.9375rem; outline: none; transition: all 0.3s;
}
.jarvis-input::placeholder { color: rgba(224, 242, 254, 0.3); }
.jarvis-input:focus { border-color: rgba(0, 212, 255, 0.55); box-shadow: 0 0 25px rgba(0, 212, 255, 0.1); background: rgba(0, 212, 255, 0.05); }

/* ===== LANGUAGE BUTTONS ===== */
.lang-btn { background: transparent; color: var(--text-dim); border: 1px solid transparent; cursor: pointer; transition: all 0.3s; }
.lang-btn.lang-active { color: var(--jarvis-cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.25); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s var(--ease-out);
  height: 68px; display: flex; align-items: center;
}
.navbar.scrolled {
  background: linear-gradient(145deg, rgba(10, 16, 35, 0.94), rgba(5, 7, 10, 0.98));
  backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.navbar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.navbar.scrolled::after { opacity: 1; }
.logo-glow {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  transition: filter 0.3s, transform 0.3s;
  border-radius: 50%;
}
.logo-glow:hover { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)); transform: scale(1.05); }
.logo-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.3);
  opacity: 0; transition: opacity 0.3s;
  animation: rotate-cw 8s linear infinite;
}
.logo-wrapper { position: relative; }
.logo-wrapper:hover .logo-ring { opacity: 1; }
.nav-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-family: 'Orbitron'; font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  position: relative; transition: all 0.3s;
}
.nav-link svg {
  width: 14px; height: 14px;
  color: var(--text-dim);
  transition: color 0.3s;
}
.nav-link:hover svg, .nav-link.active svg { color: var(--jarvis-cyan); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 1px; background: var(--jarvis-cyan);
  box-shadow: 0 0 8px var(--jarvis-cyan-glow);
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--jarvis-cyan); background: rgba(0, 212, 255, 0.06); }
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.system-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--hud-green);
  box-shadow: 0 0 10px var(--hud-green); animation: blink-live 2s infinite;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }

.mobile-menu-backdrop {
  position: absolute; inset: 0; z-index: 1;
}

.mobile-menu-panel {
  position: relative; z-index: 2;
  width: min(480px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, rgba(12, 18, 35, 0.98), rgba(5, 7, 10, 0.99));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.12);
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.mobile-menu-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jarvis-cyan);
}

.mobile-menu-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--jarvis-cyan);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.5);
  color: #fff;
  transform: rotate(90deg);
}

.mobile-menu-nav {
  display: flex; flex-direction: column; gap: 0.5rem;
}

.mobile-menu-nav .nav-link {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  min-height: 48px;
}
.mobile-menu-nav .nav-link svg {
  width: 22px; height: 22px;
  color: var(--jarvis-cyan);
  flex-shrink: 0;
}
.mobile-menu-nav .nav-link:hover,
.mobile-menu-nav .nav-link:focus-visible,
.mobile-menu-nav .nav-link.active {
  background: rgba(0, 212, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.15);
}
.mobile-menu-nav .nav-link.active {
  background: rgba(0, 212, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.3), 0 0 16px rgba(0, 212, 255, 0.1);
}

.mobile-menu-lang {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}
.mobile-menu-lang .lang-btn {
  min-width: 56px;
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.mobile-menu-lang .lang-btn.lang-active {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--jarvis-cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.2);
}
.mobile-menu-lang .lang-btn:hover:not(.lang-active) {
  background: rgba(0, 212, 255, 0.08);
  color: #fff;
}

.mobile-toggle {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}
.mobile-toggle span {
  position: absolute;
  left: 10px;
  height: 2px;
  background: var(--jarvis-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-toggle span:nth-child(1) { top: 13px; width: 20px; }
.mobile-toggle span:nth-child(2) { top: 19px; width: 20px; }
.mobile-toggle span:nth-child(3) { top: 25px; width: 14px; }
.mobile-toggle.active span:nth-child(1) { top: 19px; width: 20px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 19px; width: 20px; transform: rotate(-45deg); }

/* ===== LAYOUT ===== */
.container { max-width: 82rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.text-center { text-align: center; }
.hidden { display: none; }
@media (min-width: 1024px) { .lg\:flex { display: flex; } .lg\:grid { display: grid; } .lg\:hidden { display: none; } .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .md\:flex { display: flex; } .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .sm\:flex { display: flex; } .sm\:hidden { display: none; } }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-cyan-400 { color: #22d3ee; }
.text-cyan-500 { color: #06b6d4; }
.text-emerald-400 { color: #34d399; }
.text-yellow-400 { color: #facc15; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.leading-relaxed { line-height: 1.625; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-20 { width: 5rem; }
.h-full { height: 100%; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }

.aspect-4-3 { aspect-ratio: 4 / 3; width: 100%; max-width: 100%; }
.object-cover { width: 100%; height: 100%; object-fit: cover; }

.border-t { border-top: 1px solid rgba(0, 212, 255, 0.1); }

.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.drop-shadow-glow { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid rgba(0, 212, 255, 0.12); }
.footer-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer-col h4 {
  font-family: 'Orbitron';
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jarvis-cyan);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-col ul li:last-child { margin-bottom: 0; }
.footer-col a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.875rem;
  text-decoration: none; transition: all 0.3s;
}
.footer-col a:hover { color: var(--jarvis-cyan); transform: translateX(2px); }
.footer-col a svg {
  width: 14px; height: 14px;
  color: rgba(0, 212, 255, 0.5);
  transition: color 0.3s;
}
.footer-col a:hover svg { color: var(--jarvis-cyan); }
.footer-col p, .footer-col address {
  color: var(--text-muted); font-size: 0.875rem;
  font-style: normal; line-height: 1.7;
}
.footer-brand-desc {
  color: var(--text-muted); font-size: 0.9375rem;
  line-height: 1.7; margin-bottom: 1.25rem;
}
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--text-dim); font-size: 0.8125rem;
}
.footer-bottom-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
}
.footer-bottom-links a {
  color: var(--text-dim); font-size: 0.75rem;
  font-family: 'Orbitron';
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; transition: color 0.3s;
}
.footer-bottom-links a:hover { color: var(--jarvis-cyan); }
.footer-anpc {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.75rem;
  text-decoration: none; transition: all 0.3s;
}
.footer-anpc:hover { border-color: rgba(0, 212, 255, 0.35); color: var(--jarvis-cyan); }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
.footer-col ul li svg {
  width: 14px; height: 14px;
  color: rgba(0, 212, 255, 0.5);
  flex-shrink: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(5, 7, 10, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.legal-section {
  margin-bottom: 2.25rem;
}
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-family: 'Orbitron';
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--jarvis-cyan);
  margin-bottom: 0.75rem;
}
.legal-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9375rem;
}
.legal-section a { color: var(--jarvis-cyan); text-decoration: none; transition: color 0.3s; }
.legal-section a:hover { color: var(--stark-gold); }
@media (max-width: 640px) {
  .legal-content { padding: 1.5rem; }
}

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,0.75); backdrop-filter: blur(10px); }
.modal:target, .modal.open { display: flex; }
.modal-content { width: min(680px, 100%); background: linear-gradient(145deg, rgba(12,18,35,0.96), rgba(5,7,10,0.99)); border: 1px solid rgba(0,212,255,0.22); border-radius: var(--radius-lg); padding: 2rem; position: relative; box-shadow: 0 0 60px rgba(0, 212, 255, 0.12); }
.modal-close { position: absolute; top: 1rem; right: 1rem; color: var(--jarvis-cyan); text-decoration: none; font-size: 1.75rem; transition: color 0.2s; }
.modal-close:hover { color: var(--stark-gold); }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.filter-tab {
  padding: 0.625rem 1.5rem; border-radius: var(--radius-sm); font-family: 'Orbitron'; font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  background: rgba(0,212,255,0.05); border: 1px solid rgba(0,212,255,0.15); color: var(--text-muted); transition: all 0.3s;
}
.filter-tab:hover, .filter-tab.active { background: rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.45); color: var(--jarvis-cyan); box-shadow: 0 0 20px rgba(0, 212, 255, 0.1); }
.filter-item { transition: all 0.4s ease; }
.filter-item.hidden { display: none; }

/* ===== FORM STATUS ===== */
.form-status {
  padding: 0.875rem 1rem; border-radius: var(--radius-md); font-size: 0.875rem; margin-top: 1rem;
  display: none; align-items: center; gap: 0.5rem;
}
.form-status.success { display: flex; background: rgba(0, 255, 136, 0.08); border: 1px solid rgba(0, 255, 136, 0.2); color: var(--hud-green); }
.form-status.error { display: flex; background: rgba(255, 51, 51, 0.08); border: 1px solid rgba(255, 51, 51, 0.2); color: var(--arc-red); }

/* ===== BLUEPRINT SVG ===== */
.blueprint-line { fill: none; stroke: rgba(0, 212, 255, 0.2); stroke-width: 1; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s ease; }
.blueprint-line.drawn { stroke-dashoffset: 0; }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.03), rgba(12, 18, 35, 0.6));
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(0, 212, 255, 0.18); }
.faq-question {
  width: 100%; padding: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: none; color: var(--text-primary);
  font-family: 'Orbitron'; font-size: 0.9375rem; font-weight: 600;
  text-align: left; cursor: pointer; transition: color 0.3s;
}
.faq-question:hover { color: var(--jarvis-cyan); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--jarvis-cyan); transition: transform 0.4s var(--ease-spring);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.faq-answer-inner { padding: 0 1.25rem 1.25rem; color: var(--text-muted); line-height: 1.65; font-size: 0.9375rem; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ===== TRUST BADGES ===== */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: 'Orbitron'; font-size: 0.625rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.trust-badge svg { color: var(--hud-green); }

/* ===== STICKY BOTTOM CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(5,7,10,0.98), rgba(5,7,10,0.92));
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0.75rem 1rem;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-content {
  max-width: 82rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.sticky-cta-text { font-family: 'Orbitron'; font-size: 0.75rem; color: var(--text-secondary); }
.sticky-cta-text span { color: var(--jarvis-cyan); }
@media (min-width: 769px), (pointer: fine) {
  .sticky-cta { display: none; }
}

/* ===== HERO HUD OVERLAYS ===== */
.hero-hud {
  position: absolute; pointer-events: none; z-index: 2;
  font-family: 'Orbitron'; font-size: 0.625rem; letter-spacing: 0.1em;
  color: rgba(0, 212, 255, 0.35); text-transform: uppercase;
}
.hero-hud.top-left { top: 8%; left: 4%; }
.hero-hud.top-right { top: 8%; right: 4%; text-align: right; }
.hero-hud.bottom-left { bottom: 8%; left: 4%; }
.hero-hud.bottom-right { bottom: 8%; right: 4%; text-align: right; }
.hero-hud-line {
  position: absolute; pointer-events: none; z-index: 2;
  background: rgba(0, 212, 255, 0.08);
}

/* ===== AVATAR MARQUEE ===== */
.avatar-marquee {
  position: relative;
  overflow: hidden;
  width: 120px;
  height: 34px;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.avatar-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
  will-change: transform;
}
.avatar-marquee:hover .avatar-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #05070a;
  margin-left: -8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.avatar-sm:first-child { margin-left: 0; }
.avatar-sm:hover { transform: scale(1.2); z-index: 5; }
.avatar-marquee.scroll-boost .avatar-track { animation-duration: 6s; }

@media (max-width: 640px) {
  .avatar-marquee { width: 100px; height: 30px; }
  .avatar-sm { width: 22px; height: 22px; margin-left: -7px; }
  .avatar-track { animation-duration: 14s; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-track { animation: none; }
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.05); border: 1px solid rgba(0, 212, 255, 0.12);
  color: var(--text-muted); transition: all 0.3s;
}
.social-icon:hover { background: rgba(0, 212, 255, 0.12); border-color: rgba(0, 212, 255, 0.35); color: var(--jarvis-cyan); transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 212, 255, 0.15); }

/* Footer newsletter form responsive */
footer form { flex-wrap: nowrap; }
@media (max-width: 400px) {
  footer form { flex-wrap: wrap; }
  footer form button { width: 100%; justify-content: center; }
}

/* ===== NO-SCRIPT FALLBACK ===== */
@media (scripting: none) {
  .boot-overlay, .spotlight-overlay { display: none !important; }
  .cursor-dot, .cursor-ring, .cursor-trail-canvas { display: none !important; }
}

/* ===== RESPONSIVE TYPOGRAPHY & ARC REACTOR ===== */
@media (max-width: 768px) {
  .text-hero { font-size: clamp(2.25rem, 11vw, 3.25rem); line-height: 1.1; }
  .text-section { font-size: clamp(1.5rem, 7vw, 2rem); }
  .arc-reactor { max-width: 260px; }
  .hero-hud { display: none; }
  .btn-jarvis, .btn-stark { padding: 0.875rem 1.5rem; font-size: 0.75rem; width: 100%; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 640px) {
  .arc-reactor { max-width: 220px; }
  .navbar { height: 64px; }
  .pricing-card { padding: 1.5rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .spotlight-overlay, .cursor-dot, .cursor-ring, .cursor-trail-canvas { display: none !important; }
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal.open { display: flex; }
.cookie-modal[aria-hidden="true"] { display: none !important; }

.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.cookie-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(12, 18, 35, 0.98), rgba(5, 7, 10, 0.99));
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.12);
  animation: cookie-in 0.45s var(--ease-out);
}

.cookie-panel h3 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-panel > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.375rem 1rem;
  align-items: center;
  padding: 0.875rem 1rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.cookie-row:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.08);
}

.cookie-row-title {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.cookie-row-desc {
  grid-column: 1 / -1;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  justify-self: end;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: 0.3s;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: rgba(0, 212, 255, 0.22);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
  background: var(--jarvis-cyan);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-actions .btn-jarvis {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
  justify-content: center;
}

.btn-cookie-accept {
  background: rgba(0, 212, 255, 0.12);
}

.cookie-policy-link {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8125rem;
}

.cookie-policy-link a {
  color: var(--jarvis-cyan);
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-policy-link a:hover {
  color: var(--stark-gold);
}

.cookie-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 18, 35, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--jarvis-cyan);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.15);
  transition: all 0.3s var(--ease-out);
}

.cookie-float-btn.visible { display: flex; }

.cookie-float-btn:hover,
.cookie-float-btn:focus-visible {
  border-color: var(--jarvis-cyan);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .cookie-panel { padding: 1.5rem; }
  .cookie-actions .btn-jarvis { width: 100%; min-width: auto; }
  .cookie-float-btn { bottom: 1rem; right: 1rem; }
}

/* ===== WHATSAPP SHARE BUTTON ===== */
.wa-float-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 18, 35, 0.92);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.18);
  transition: all 0.3s var(--ease-out);
}

.wa-float-btn:hover,
.wa-float-btn:focus-visible {
  border-color: #25d366;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.32);
}

@media (max-width: 640px) {
  .wa-float-btn { bottom: 4.5rem; right: 1rem; }
}
