/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050914;
  --bg-2: #0a1122;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(0,194,255,0.15);
  --border-2: rgba(0,194,255,0.35);
  --text: #e8eef8;
  --text-dim: #8a97b0;
  --text-dimmer: #5a6580;
  --blue: #00c2ff;
  --cyan: #00ffd5;
  --amber: #ffb547;
  --grad: linear-gradient(135deg, #00c2ff 0%, #00ffd5 100%);
  --grad-2: linear-gradient(135deg, #ffffff 0%, #00c2ff 100%);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: 'Orbitron', monospace; letter-spacing: 0.05em; }
.dim { color: var(--text-dim); }
.grad { background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-2 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amber { color: var(--amber); }

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0,194,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.bg-orbs { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.orb-1 { width: 500px; height: 500px; background: #0066ff; top: -150px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: #00ffd5; bottom: -100px; right: -100px; opacity: 0.2; }
.orb-3 { width: 350px; height: 350px; background: #00c2ff; top: 40%; left: 50%; opacity: 0.15; }

.cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.12) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5,9,20,0.6);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(5,9,20,0.85);
  border-bottom-color: var(--border);
  padding: 12px 40px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 32px; width: auto; }
.nav-name {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  letter-spacing: 0.15em; font-size: 1rem;
  background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-dim);
  position: relative; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-toggle { display: none; font-size: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad); color: #041018;
  box-shadow: 0 8px 30px rgba(0,194,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,194,255,0.45);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  border: 1px solid var(--border-2); color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--blue); }

/* ---------- Hero (index) ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: 60px;
  padding: 140px 60px 80px; position: relative;
}
.hero-inner { max-width: 640px; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.02;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-dim); max-width: 520px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 700;
  background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 0.85rem; color: var(--text-dimmer); }

/* Floating cubes */
.hero-visual { position: relative; height: 500px; }
.cube-field { position: relative; width: 100%; height: 100%; }
.cube {
  position: absolute; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,194,255,0.6), rgba(0,255,213,0.3));
  border: 1px solid rgba(0,194,255,0.4);
  box-shadow: 0 0 40px rgba(0,194,255,0.3), inset 0 0 20px rgba(0,255,213,0.15);
  animation: float 6s ease-in-out infinite;
}
.c1 { width: 90px; height: 90px; top: 10%; left: 20%; animation-delay: 0s; }
.c2 { width: 60px; height: 60px; top: 55%; left: 10%; animation-delay: 1s; }
.c3 { width: 120px; height: 120px; top: 30%; left: 55%; animation-delay: 2s; }
.c4 { width: 50px; height: 50px; top: 75%; left: 65%; animation-delay: 1.5s; }
.c5 { width: 70px; height: 70px; top: 5%; left: 75%; animation-delay: 0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(8deg); }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 160px 60px 60px; position: relative;
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.page-kicker {
  font-family: 'Orbitron', monospace; font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--cyan); margin-bottom: 20px; display: block;
}
.page-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.page-lede { color: var(--text-dim); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section-title {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center;
  margin-bottom: 60px; letter-spacing: -0.01em;
}

/* ---------- Tease (index) ---------- */
.tease {
  padding: 120px 60px; position: relative;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.tease-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.tease-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Orbitron', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--cyan); margin-bottom: 28px;
}
.tease-label .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  animation: pulse 1.5s infinite;
}
.tease-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.tease-sub { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 48px; }

.glitch { position: relative; display: inline-block; color: var(--cyan); }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: var(--bg); overflow: hidden;
}
.glitch::before { color: #00c2ff; animation: glitch-1 3s infinite linear alternate-reverse; clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
.glitch::after { color: #00ffd5; animation: glitch-2 2s infinite linear alternate-reverse; clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
@keyframes glitch-1 { 0%,90%,100% { transform: translate(0); } 92% { transform: translate(-3px,1px); } 94% { transform: translate(3px,-1px); } 96% { transform: translate(-2px,-1px); } }
@keyframes glitch-2 { 0%,90%,100% { transform: translate(0); } 91% { transform: translate(2px,1px); } 93% { transform: translate(-3px,-1px); } 95% { transform: translate(1px,2px); } }

.tease-card {
  position: relative; max-width: 480px; margin: 0 auto 40px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,17,34,0.9), rgba(5,9,20,0.95));
  backdrop-filter: blur(20px);
  transition: transform 0.4s, border-color 0.3s;
}
.tease-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.tease-card-glow {
  position: absolute; inset: -1px; z-index: 0; opacity: 0.4;
  background: conic-gradient(from 0deg, transparent, rgba(0,194,255,0.4), transparent 30%);
  animation: spin 6s linear infinite; filter: blur(20px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.tease-card-inner {
  position: relative; z-index: 1; padding: 32px;
  background: linear-gradient(180deg, rgba(10,17,34,0.95), rgba(5,9,20,0.98));
  border-radius: var(--radius);
}
.tease-icon {
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 28px;
}
.tease-icon img { width: 90px; height: 90px; filter: drop-shadow(0 0 30px rgba(0,194,255,0.5)); animation: float 4s ease-in-out infinite; }
.tease-scramble {
  font-family: 'Orbitron', monospace; font-size: 0.85rem;
  letter-spacing: 0.4em; color: var(--blue);
}
.tease-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.tease-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Orbitron', sans-serif; font-size: 0.75rem; letter-spacing: 0.1em;
  padding-bottom: 12px; border-bottom: 1px dashed rgba(0,194,255,0.15);
}
.tease-row span { color: var(--text-dimmer); }
.tease-row em { font-style: normal; color: var(--text); }
.tease-progress {
  height: 4px; border-radius: 4px; background: rgba(255,255,255,0.05);
  overflow: hidden; margin-bottom: 16px;
}
.tease-progress-bar {
  height: 100%; width: 0%; background: var(--grad);
  box-shadow: 0 0 12px var(--blue);
  transition: width 2s ease-out;
}
.tease-hint {
  font-family: 'Orbitron', monospace; font-size: 0.7rem;
  color: var(--text-dimmer); letter-spacing: 0.15em;
}
.tease-footer { color: var(--text-dimmer); font-size: 0.9rem; }

/* ---------- Principles (index) ---------- */
.principles { padding: 120px 60px; }
.principles-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.principle {
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.principle::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(0,194,255,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.principle:hover { transform: translateY(-4px); border-color: var(--border-2); }
.principle:hover::before { opacity: 1; }
.p-icon {
  font-size: 1.8rem; color: var(--cyan); margin-bottom: 16px;
  filter: drop-shadow(0 0 12px rgba(0,255,213,0.4));
}
.principle h3 { font-family: 'Orbitron', sans-serif; font-size: 1.05rem; margin-bottom: 10px; letter-spacing: 0.02em; }
.principle p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- About page ---------- */
.about { padding: 100px 60px; }
.about-inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.about-block { }
.about-label {
  font-family: 'Orbitron', monospace; font-size: 0.72rem;
  letter-spacing: 0.2em; color: var(--cyan); margin-bottom: 14px;
}
.about-block h2 {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.about-block p {
  color: var(--text-dim); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.75;
}
.about-block p strong { color: var(--text); font-weight: 600; }
.about-block p em { color: var(--cyan); font-style: normal; }
.about-list {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.about-list li {
  position: relative; padding-left: 22px;
  color: var(--text-dim); font-size: 1rem;
}
.about-list li::before {
  content: '◆'; position: absolute; left: 0; top: 0;
  color: var(--cyan); font-size: 0.7rem; line-height: 1.9;
}
.about-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Contact page ---------- */
.contact { padding: 80px 60px; }
.contact-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at left center, rgba(0,194,255,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  box-shadow: 0 20px 60px rgba(0,194,255,0.15);
}
.contact-card:hover::before { opacity: 1; }
.contact-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,194,255,0.15), rgba(0,255,213,0.08));
  border: 1px solid var(--border-2); color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,194,255,0.2);
}
.contact-body { flex: 1; display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.contact-label {
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; color: var(--text-dimmer);
}
.contact-value { font-size: 1.05rem; font-weight: 600; color: var(--text); word-break: break-all; }
.contact-hint { font-size: 0.85rem; color: var(--text-dim); }
.contact-arrow { color: var(--cyan); flex-shrink: 0; transition: transform 0.3s; }
.contact-card:hover .contact-arrow { transform: translate(4px, -4px); }
.contact-note {
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px dashed var(--border);
  color: var(--text-dim); font-size: 0.92rem;
}

/* ---------- Products page ---------- */
.products { padding: 80px 60px; }
.products-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,17,34,0.9), rgba(5,9,20,0.95));
  backdrop-filter: blur(20px);
  transition: transform 0.4s, border-color 0.3s;
  padding: 0;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.product-glow {
  position: absolute; inset: -1px; z-index: 0; opacity: 0.35;
  background: conic-gradient(from 0deg, transparent, rgba(0,194,255,0.4), transparent 30%);
  animation: spin 8s linear infinite; filter: blur(24px);
  pointer-events: none;
}
.product-card > *:not(.product-glow) { position: relative; z-index: 1; }
.product-card {
  padding: 36px;
}
.product-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.3);
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.18em; color: var(--amber);
  margin-bottom: 26px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 1.6s infinite;
}
.product-icon-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 24px;
}
.product-icon {
  width: 96px; height: 96px;
  filter: drop-shadow(0 0 30px rgba(0,194,255,0.5));
  animation: float 4s ease-in-out infinite;
}
.product-icon-fallback {
  font-size: 0.9rem; letter-spacing: 0.5em; color: var(--blue);
  display: none;
}
.product-icon-wrap:has(img[style*="display: none"]) .product-icon-fallback,
.product-icon-wrap:has(img[style*="display:none"]) .product-icon-fallback {
  display: block;
}
.product-name {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: 1.7rem; letter-spacing: 0.15em; text-align: center;
  margin-bottom: 12px;
  background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.product-tag {
  text-align: center; color: var(--text-dim);
  font-size: 0.98rem; margin-bottom: 30px; line-height: 1.65;
}
.product-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.product-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem; letter-spacing: 0.1em;
  padding-bottom: 10px; border-bottom: 1px dashed rgba(0,194,255,0.15);
}
.product-meta-row span { color: var(--text-dimmer); }
.product-meta-row em { font-style: normal; color: var(--text); }

.product-progress {
  height: 4px; border-radius: 4px; background: rgba(255,255,255,0.05);
  overflow: hidden; margin-bottom: 14px;
}
.product-progress-bar {
  height: 100%; width: 0%; background: var(--grad);
  box-shadow: 0 0 12px var(--blue);
  transition: width 2s ease-out;
}
.product-hint {
  font-size: 0.7rem; color: var(--text-dimmer); letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.product-footer {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px dashed var(--border);
  color: var(--text-dim); font-size: 0.88rem;
}
.lock-icon { color: var(--amber); flex-shrink: 0; display: flex; }

.products-coming {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  text-align: center;
}
.coming-inner .mono {
  font-size: 0.72rem; color: var(--cyan); letter-spacing: 0.2em;
  display: block; margin-bottom: 10px;
}
.coming-inner p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: 100px 60px; text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at center, rgba(0,194,255,0.08), transparent 70%);
}
.cta-inner h2 {
  font-family: 'Orbitron', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.cta-inner p { color: var(--text-dim); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 60px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: 0.15em; }
.footer-brand img { height: 28px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-dimmer); font-size: 0.8rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Constellation canvas ---------- */
#constellation {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}
@media (max-width: 640px) {
  #constellation { opacity: 0.55; }
}

.nav-logo {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 9px;   /* soft rounded corners */
  /* optional: subtle glow to match cubes */
  box-shadow: 0 0 12px rgba(0,194,255,0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 120px 28px 60px; min-height: auto; }
  .hero-visual { height: 260px; order: -1; }
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 20px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,9,20,0.98); padding: 24px; border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .tease, .principles, .cta-strip, .footer,
  .about, .contact, .products, .page-header { padding-left: 24px; padding-right: 24px; }
  .hero-stats { gap: 28px; }
  .stat strong { font-size: 1.5rem; }
  .contact-card { flex-direction: column; text-align: center; padding: 24px; }
  .contact-arrow { display: none; }
  .product-card { padding: 26px; }
}

/* ---------- MeritBits sub-pages ---------- */

/* Hero icon on Overview */
.mb-hero-icon {
  display: flex; justify-content: center; margin-bottom: 20px;
}
.mb-hero-icon img {
  width: 88px; height: 88px;
  filter: drop-shadow(0 0 30px rgba(0,194,255,0.55));
  animation: float 4s ease-in-out infinite;
}
.mb-title { letter-spacing: 0.02em; }

.mb-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 8px 16px; border-radius: 100px;
  background: rgba(255,181,71,0.08);
  border: 1px solid rgba(255,181,71,0.3);
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.18em; color: var(--amber);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
  animation: pulse 1.6s infinite;
}

/* Sub-navigation bar */
.mb-subnav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,9,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.mb-subnav {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; gap: 28px; overflow-x: auto;
  scrollbar-width: none;
}
.mb-subnav::-webkit-scrollbar { display: none; }
.mb-subnav a {
  padding: 16px 4px; font-size: 0.88rem; font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  position: relative; transition: color 0.2s;
}
.mb-subnav a:hover { color: var(--text); }
.mb-subnav a.active { color: var(--cyan); }
.mb-subnav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--grad); border-radius: 2px 2px 0 0;
}

/* Content wrapper */
.mb-content {
  max-width: 860px; margin: 0 auto;
  padding: 80px 40px 100px;
  display: flex; flex-direction: column; gap: 64px;
}

/* Blocks */
.mb-block { }
.mb-block-label {
  font-family: 'Orbitron', monospace; font-size: 0.72rem;
  letter-spacing: 0.22em; color: var(--cyan);
  margin-bottom: 14px; text-transform: uppercase;
}
.mb-block h2 {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.mb-block p {
  color: var(--text-dim); font-size: 1.02rem;
  line-height: 1.75; margin-bottom: 16px;
}
.mb-block p strong { color: var(--text); font-weight: 600; }
.mb-quote {
  font-family: 'Orbitron', sans-serif; font-style: italic;
  font-size: 1.05rem; color: var(--cyan) !important;
  margin-bottom: 22px !important;
  letter-spacing: 0.02em;
}

/* Roles grid */
.mb-roles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 12px;
}
.mb-role {
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.mb-role:hover { border-color: var(--border-2); transform: translateY(-3px); }
.mb-role-icon {
  font-size: 1.6rem; color: var(--cyan);
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(0,255,213,0.4));
}
.mb-role h3 {
  font-family: 'Orbitron', sans-serif; font-size: 1rem;
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.mb-role p { font-size: 0.92rem; margin: 0; }

/* Steps */
.mb-steps {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.mb-steps li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.mb-steps li:hover { border-color: var(--border-2); }
.mb-steps li span {
  font-family: 'Orbitron', sans-serif; font-size: 0.8rem;
  color: var(--cyan); letter-spacing: 0.1em;
  flex-shrink: 0; padding-top: 2px;
}
.mb-steps li div { color: var(--text-dim); font-size: 0.98rem; line-height: 1.6; }
.mb-steps li div strong { color: var(--text); font-weight: 600; }

/* Rules list */
.mb-rules {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border);
}
.mb-rule {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 16px 0;
  border-bottom: 1px dashed rgba(0,194,255,0.15);
}
.mb-rule span {
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.15em; color: var(--text-dimmer);
  text-transform: uppercase;
}
.mb-rule em {
  font-style: normal; color: var(--text); font-size: 0.95rem;
  text-align: right;
}

/* Features grid */
.mb-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.mb-feature {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.mb-feature::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(0,194,255,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.mb-feature:hover { transform: translateY(-4px); border-color: var(--border-2); }
.mb-feature:hover::before { opacity: 1; }
.mb-feature-icon {
  font-size: 1.7rem; color: var(--cyan);
  margin-bottom: 14px; position: relative;
  filter: drop-shadow(0 0 12px rgba(0,255,213,0.4));
}
.mb-feature h3 {
  font-family: 'Orbitron', sans-serif; font-size: 1.02rem;
  margin-bottom: 10px; letter-spacing: 0.02em;
  position: relative;
}
.mb-feature p {
  color: var(--text-dim); font-size: 0.92rem;
  line-height: 1.65; margin: 0; position: relative;
}

/* Download card */
.mb-download-card {
  display: flex; align-items: center; gap: 24px;
  padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10,17,34,0.9), rgba(5,9,20,0.95));
  border: 1px solid var(--border);
}
.mb-download-icon {
  flex-shrink: 0;
}
.mb-download-icon img {
  width: 72px; height: 72px;
  filter: drop-shadow(0 0 24px rgba(0,194,255,0.5));
}
.mb-download-info h2 {
  font-family: 'Orbitron', sans-serif; font-size: 1.2rem;
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.mb-download-info .dim { font-size: 0.8rem; letter-spacing: 0.15em; }
.mb-status-line {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.18em; color: var(--amber);
}

/* CTA buttons on MB pages */
.mb-cta-buttons {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 20px;
}

/* Legal pages */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 70px 40px 100px;
  color: var(--text-dim); line-height: 1.8;
  font-size: 1rem;
}
.legal-intro {
  font-size: 1.05rem; color: var(--text-dim);
  padding-bottom: 28px; margin-bottom: 40px !important;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 1.25rem; color: var(--text);
  margin-top: 44px; margin-bottom: 16px;
  letter-spacing: -0.01em; line-height: 1.3;
}
.legal h3 {
  font-family: 'Orbitron', sans-serif; font-weight: 500;
  font-size: 0.95rem; color: var(--cyan);
  margin-top: 26px; margin-bottom: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.legal p {
  margin-bottom: 16px;
}
.legal ul, .legal ol {
  margin: 12px 0 20px; padding-left: 22px;
}
.legal li {
  margin-bottom: 10px; padding-left: 6px;
}
.legal li::marker { color: var(--cyan); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(0,255,213,0.3);
  transition: border-color 0.2s;
}
.legal a:hover { border-bottom-color: var(--cyan); }
.legal code, .legal .mono {
  font-family: 'Orbitron', monospace;
  font-size: 0.88em; color: var(--blue);
  background: rgba(0,194,255,0.06);
  padding: 2px 8px; border-radius: 6px;
}
.legal-footer-note {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-dimmer);
}

/* Responsive */
@media (max-width: 900px) {
  .mb-content { padding: 60px 24px 80px; gap: 48px; }
  .legal { padding: 50px 24px 80px; }
  .mb-rule { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mb-rule em { text-align: left; }
  .mb-download-card { flex-direction: column; text-align: center; padding: 28px; }
}

/* ---------- Screenshots page ---------- */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 20px 0 60px;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a2135, #0a0f1e);
  border: 2px solid rgba(0, 194, 255, 0.25);
  box-shadow:
    0 0 60px rgba(0, 194, 255, 0.12),
    inset 0 0 30px rgba(0, 194, 255, 0.06);
  padding: 14px 8px;
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.phone:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.55);
  box-shadow:
    0 0 80px rgba(0, 194, 255, 0.22),
    inset 0 0 30px rgba(0, 194, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 6px;
  border-radius: 100px;
  background: rgba(0, 194, 255, 0.3);
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at top, rgba(0, 194, 255, 0.12), transparent 60%),
    #050914;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 194, 255, 0.12);
}

.phone-placeholder {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding: 24px; text-align: center;
}
.ph-icon {
  font-size: 2.4rem; color: var(--cyan);
  filter: drop-shadow(0 0 16px rgba(0, 255, 213, 0.5));
  animation: float 4s ease-in-out infinite;
}
.ph-label {
  font-size: 0.65rem; color: var(--cyan);
  letter-spacing: 0.25em;
}
.ph-hint {
  font-size: 0.72rem; color: var(--text-dimmer);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .screens-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .phone { border-radius: 26px; padding: 10px 6px; }
  .phone-screen { border-radius: 18px; }
  .phone-notch { width: 50px; height: 4px; }
  .ph-icon { font-size: 1.6rem; }
  .ph-label { font-size: 0.55rem; }
  .ph-hint { font-size: 0.62rem; }
}
/* ---------- Real screenshots inside phone frames ---------- */
.phone-screen {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}