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

:root {
  --void:    #03060f;
  --abyss:   #050810;
  --steel:   #080c18;
  --panel:   #0d1220;
  --surface: #111827;
  --border:       rgba(255,255,255,0.08);
  --border-cyan:  rgba(0,212,255,0.25);
  --border-violet:rgba(168,85,247,0.25);
  --border-neon:  rgba(57,255,20,0.25);
  --cyan:    #00d4ff;
  --neon:    #39ff14;
  --violet:  #a855f7;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --text-primary:   #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;
}

*  { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--void);
  color: var(--text-primary);
  overflow-x: hidden;
}
.mono { font-family: 'JetBrains Mono', monospace; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  background: rgba(3,6,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: var(--void);
}
.nav-logo-name { font-size: 16px; font-weight: 900; color: var(--text-primary); letter-spacing: 0.06em; }
.nav-logo-sub  { font-size: 9px; color: var(--text-muted); letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; padding: 8px 15px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--violet)) !important;
  color: var(--void) !important; font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.88 !important; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; border: none; text-decoration: none;
  transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--void);
}
.btn-primary:hover {
  opacity: 0.9; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.3);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); }
.btn-neon { background: var(--neon); color: var(--void); }
.btn-neon:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(57,255,20,0.3); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 12px; }

/* ═══════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.badge-cyan    { background: rgba(0,212,255,0.10);  color: var(--cyan);    border: 1px solid var(--border-cyan); }
.badge-violet  { background: rgba(168,85,247,0.10); color: var(--violet);  border: 1px solid var(--border-violet); }
.badge-neon    { background: rgba(57,255,20,0.10);  color: var(--neon);    border: 1px solid var(--border-neon); }
.badge-warning { background: rgba(245,158,11,0.10); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }

/* ═══════════════════════════════════════════════════════════
   SECTION LAYOUT
═══════════════════════════════════════════════════════════ */
.section { padding: 100px 64px; position: relative; overflow: hidden; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px; font-family: 'JetBrains Mono', monospace;
}
.section-label-violet { color: var(--violet); }
.section-label-neon   { color: var(--neon); }
.section-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.75; max-width: 660px; margin-bottom: 48px;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
}
.card-cyan    { border-color: rgba(0,212,255,0.18);  }
.card-violet  { border-color: rgba(168,85,247,0.18); }
.card-neon    { border-color: rgba(57,255,20,0.18);  }
.card-title   { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.card-body    { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   GRIDS
═══════════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   GRADIENT TEXT
═══════════════════════════════════════════════════════════ */
.gradient-cyan   { background: linear-gradient(135deg, var(--cyan), #0080ff);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-violet { background: linear-gradient(135deg, var(--violet), #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-neon   { background: linear-gradient(135deg, var(--neon), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-full   { background: linear-gradient(135deg, var(--cyan), var(--violet), var(--neon)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══════════════════════════════════════════════════════════
   GLOW ORBS
═══════════════════════════════════════════════════════════ */
.glow-cyan {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.glow-violet {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.glow-neon {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(57,255,20,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-secondary);
}
.form-input,
.form-select,
.form-textarea {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px;
  font-size: 14px; color: var(--text-primary);
  font-family: 'Inter', sans-serif; transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-select option { background: var(--panel); color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════════════════════════ */
.page-header {
  padding: 160px 64px 80px;
  background: var(--abyss);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD (pre-order)
═══════════════════════════════════════════════════════════ */
.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.product-card.featured {
  border-color: rgba(0,212,255,0.35);
  box-shadow: 0 0 40px rgba(0,212,255,0.08);
}
.product-card.featured::before {
  content: 'FLAGSHIP';
  position: absolute; top: 16px; right: 16px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.15em;
  color: var(--void); background: var(--cyan);
  padding: 4px 10px; border-radius: 4px;
}
.product-name { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 4px; }
.product-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.product-price { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; font-family: 'JetBrains Mono', monospace; margin-bottom: 4px; }
.product-price-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 24px; }
.product-specs { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.product-specs li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.product-specs li::before { content: '✓'; color: var(--neon); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════════════════════ */
.divider { height: 1px; background: var(--border); }

/* ═══════════════════════════════════════════════════════════
   WHITE PAPER BODY
═══════════════════════════════════════════════════════════ */
.wp-section { margin-bottom: 56px; }
.wp-h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px; color: var(--text-primary);
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.wp-h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--cyan); }
.wp-p  { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.wp-ul {
  list-style: none; padding-left: 0;
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px;
}
.wp-ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.wp-ul li::before { content: '→'; color: var(--cyan); flex-shrink: 0; }
.wp-callout {
  background: rgba(0,212,255,0.05); border: 1px solid var(--border-cyan);
  border-radius: 12px; padding: 20px 24px; margin: 24px 0;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.wp-callout strong { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--abyss);
  border-top: 1px solid var(--border);
  padding: 56px 64px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--void);
}
.footer-logo-name { font-size: 14px; font-weight: 900; color: var(--text-primary); letter-spacing: 0.06em; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 270px; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer { padding: 48px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-header { padding: 120px 24px 60px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   COMPATIBILITY BRIDGE
   Aliases used in page HTML → canonical CSS variables/classes
═══════════════════════════════════════════════════════════ */

/* Nav logo image */
.nav-logo-img {
  height: 140px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1.15);
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.75; }

/* Footer logo */
.footer-brand .nav-logo-img,
.footer-brand .nav-logo .nav-logo-img {
  height: 120px;
}

/* Variable aliases */
:root {
  --bg:       #03060f;           /* = --void   */
  --fg:       #f0f4ff;           /* = --text-primary   */
  --steel:    #94a3b8;           /* secondary text (overrides dark bg value — unused by rules above) */
  --muted:    #475569;           /* = --text-muted     */
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Container (centred content wrapper) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section header block */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Gradient text shorthand */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.glow-orb.cyan   { background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%); }
.glow-orb.violet { background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%); }
.glow-orb.neon   { background: radial-gradient(circle, rgba(57,255,20,0.10) 0%, transparent 70%); }

/* Nav container + actions + toggle */
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav { padding: 6px 32px; justify-content: center; }
.nav-logo-text {
  font-size: 16px; font-weight: 900;
  color: var(--text-primary); letter-spacing: 0.08em;
}
.nav-logo-sub {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.28em; text-transform: uppercase;
  display: block; margin-top: 4px; text-align: center; width: 100%;
}
.nav-logo { flex-direction: column; align-items: center; gap: 0; }
.nav-actions { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.scrolled {
  background: rgba(3,6,15,0.98);
  box-shadow: 0 1px 0 var(--border);
}

/* Card colour variants used in HTML */
.cyan-card   { border-color: rgba(0,212,255,0.2);  }
.violet-card { border-color: rgba(168,85,247,0.2); }
.neon-card   { border-color: rgba(57,255,20,0.15); }

/* Footer variants */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-tagline { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.footer-col { }
.footer-heading {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: 14px;
}

/* Override footer-bottom to work outside footer-inner */
.footer .footer-bottom {
  max-width: none;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(3,6,15,0.98);
    flex-direction: column; align-items: stretch;
    padding: 16px; border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-actions { display: none; }
}
