/* MetaQuantum Landing Page Styles */
:root {
  --bg: #06090f;
  --bg-alt: #0b1420;
  --text: #d9f7ff;
  --muted: #9bd6e3;
  --primary: #00f6ff;
  --primary-600: #00c6d6;
  --card: #0e1b29;
  --border: rgba(0,255,255,0.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(0,246,255,0.15), transparent),
              radial-gradient(800px 500px at -10% 20%, rgba(0,180,255,0.1), transparent),
              var(--bg);
}

/* Accent title */
.title-gradient {
  background: linear-gradient(92deg, var(--primary) 0%, #6af3ff 35%, #baf7ff 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(0, 246, 255, 0.08);
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,9,15,0.9);
  border-bottom: 1px solid var(--border);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
         background: linear-gradient(180deg, rgba(6,9,15,0.85), rgba(6,9,15,0.65)); }
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .3px;
}
.brand img { width: 28px; height: 28px; border-radius: 6px; box-shadow: 0 0 8px rgba(0,255,255,.25); }
.brand span { color: var(--text); }

.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* Focus visibility */
.button:focus-visible, .button-outline:focus-visible, .nav-links a:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 10px;
  width: auto;
  height: auto;
  background: var(--card);
  color: var(--text);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 1000;
}

.button, .button-outline {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.button { background: linear-gradient(180deg, var(--primary), var(--primary-600)); color: #00242a; box-shadow: 0 0 18px rgba(0,246,255,.25); }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,246,255,.25); }
.button-outline { background: transparent; color: var(--text); }
.button-outline:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,246,255,.15); }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 22px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  background: linear-gradient(180deg, rgba(14,27,41,.9), rgba(6,9,15,.9));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card img { max-width: 100%; height: auto; opacity: .95; }

.hero-card { transition: transform .25s ease, box-shadow .25s ease; }
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,255,255,.12); }

/* Metrics strip */
.metrics {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.metric {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.metric .label { color: var(--muted); font-size: 12px; }
.metric .value { font-size: 18px; margin-top: 2px; }

/* Features */
.section { padding: 40px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section h2 { margin: 0 0 16px; font-size: 22px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(14,27,41,.9), rgba(6,9,15,.9));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,255,255,.08); border-color: rgba(0,255,255,.25); }
.card img { width: 32px; height: 32px; }
.card h3 { margin: 12px 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 18px 20px; color: var(--muted); text-align: center; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 12px 14px; }
  .metrics { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: transparent; border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; }
  .nav-links { display: none; position: absolute; right: 12px; top: 56px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; gap: 10px; }
  .nav-links.open { display: flex; }
}

/* Decorative animated orbs */
.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  right: -120px;
  top: 120px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,246,255,.18), rgba(0,246,255,0) 70%);
  filter: blur(12px) saturate(120%);
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  left: -160px;
  right: auto;
  top: 420px;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(106,243,255,.14), rgba(0,246,255,0) 70%);
  animation-duration: 10s;
}
@keyframes float {
  0%   { transform: translateY(0px) translateX(0px); opacity: .9; }
  50%  { transform: translateY(-12px) translateX(6px); opacity: 1; }
  100% { transform: translateY(0px) translateX(0px); opacity: .9; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
  .button, .button-outline, .card, .hero-card { transition: none !important; }
}

/* Connection toast */
.net-toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Nav toggle default hidden on desktop */
.nav-toggle { display: none; }











