/* ══════════════════════════════════════════════════════════════
   CIRCUITLABS — SHARED DESIGN SYSTEM
   style.css
══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg: #060607;
  --bg2: #0b0a0e;
  --bg3: #111018;
  --bg4: #181620;
  --surface: #1e1b28;
  --b0: rgba(255,255,255,0.025);
  --b1: rgba(255,255,255,0.06);
  --b2: rgba(255,255,255,0.11);
  --b3: rgba(255,255,255,0.18);
  --text: #f0edf8;
  --text2: #c8c4d4;
  --muted: #6b667a;
  --muted2: #312e3e;
  --orange: #ff6920;
  --orange-soft: rgba(255,105,32,0.10);
  --orange-glow: rgba(255,105,32,0.07);
  --orange-border: rgba(255,105,32,0.22);
  --orange-bright: #ff8240;
  --amber: #ffb300;
  --green: #00e676;
  --red: #ff5252;
  --grid-line: rgba(255,255,255,0.028);
  --font: 'DM Sans', sans-serif;
  --display: 'Syne', sans-serif;
  --hero-display: 'Bebas Neue', sans-serif;
  --mono: 'Space Mono', monospace;
  --r: 16px;
  --r2: 12px;
  --r3: 8px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(255,105,32,0.25); color: var(--orange); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 2px; }

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,105,32,0.04) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%,-50%);
  transition: opacity 0.4s;
  border-radius: 50%;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 clamp(20px,5vw,60px);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  transition: background var(--transition), border-color var(--transition);
}
nav.scrolled {
  background: rgba(6,6,7,0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--b1);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 34px; height: 34px;
  border-radius: 8px; flex-shrink: 0;
  filter: brightness(1.1);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-main {
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase; margin-top: 1px;
}
.nav-center { display: flex; gap: 34px; }
.nav-center a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.01em; transition: color var(--transition); position: relative;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-center a:hover { color: var(--text); }
.nav-center a:hover::after { transform: scaleX(1); }
.nav-center a.active { color: var(--text); }
.nav-center a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-github-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--b2); color: var(--text);
  transition: all var(--transition);
}
.nav-github-btn:hover { background: var(--b1); border-color: var(--orange-border); color: var(--orange); }
.nav-github-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-join-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 8px;
  background: var(--orange); color: #fff;
  transition: all var(--transition);
}
.nav-join-btn:hover {
  background: var(--orange-bright);
  box-shadow: 0 0 24px rgba(255,105,32,0.35);
  transform: translateY(-1px);
}
.nav-menu-btn {
  display: none; background: none; border: 1px solid var(--b2);
  border-radius: 8px; width: 40px; height: 40px;
  color: var(--text); cursor: pointer; font-size: 18px;
  align-items: center; justify-content: center;
}
/* Mobile nav drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
  background: rgba(6,6,7,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--b1);
  padding: 20px clamp(20px,5vw,60px) 28px;
  flex-direction: column; gap: 6px;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer a {
  padding: 12px 0; font-size: 15px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid var(--b1);
  transition: color var(--transition);
}
.nav-mobile-drawer a:last-child { border-bottom: none; }
.nav-mobile-drawer a:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════════════════════ */
section { padding: clamp(80px,12vw,160px) clamp(20px,5vw,60px); position: relative; }
.container { max-width: 1160px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--orange); }
h2 {
  font-family: var(--display);
  font-size: clamp(32px,4.5vw,56px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
}
h3 {
  font-family: var(--display);
  font-size: clamp(20px,2.5vw,26px);
  font-weight: 600; line-height: 1.25;
}
p { color: var(--muted); line-height: 1.75; }
.text-orange { color: var(--orange); }
.text-muted { color: var(--muted); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px; border-radius: 10px;
  transition: all var(--transition); cursor: pointer; border: none; line-height: 1;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 0 0 rgba(255,105,32,0);
}
.btn-primary:hover {
  background: var(--orange-bright);
  box-shadow: 0 0 36px rgba(255,105,32,0.4), 0 4px 20px rgba(0,0,0,0.5);
  transform: translateY(-1px);
}
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--b2); }
.btn-outline:hover { background: var(--b1); border-color: var(--orange-border); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── TICKER ── */
.ticker-section {
  padding: 0;
  border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
  background: var(--bg2); overflow: hidden;
  height: 46px; display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker-item {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted2); white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
}
.ticker-item::after { content: '✦'; font-size: 7px; color: var(--orange); opacity: 0.5; }

/* ── GRID BACKGROUND ── */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 30%, transparent 100%);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg2); border-top: 1px solid var(--b1);
  padding: clamp(48px,6vw,80px) clamp(20px,5vw,60px) clamp(28px,3vw,40px);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px,5vw,80px);
  padding-bottom: 48px; border-bottom: 1px solid var(--b1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-img { width: 28px; height: 28px; border-radius: 7px; filter: brightness(1.1); }
.footer-brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; }
.footer-tagline { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.7; max-width: 300px; }
.footer-by { font-size: 12px; color: var(--muted2); }
.footer-by strong { color: var(--muted); font-weight: 500; }
.footer-col-title {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: var(--muted2); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted2); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════════
   INDEX.HTML — HOME PAGE STYLES
══════════════════════════════════════════════════════════════ */

/* Hero */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 80px; overflow: hidden;
}
.hero-orb {
  position: absolute; top: -15%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 560px;
  background: radial-gradient(ellipse, rgba(255,105,32,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-orb2 {
  position: absolute; top: 35%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,50,10,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-orb3 {
  position: absolute; bottom: 10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,105,32,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 100px;
  border: 1px solid var(--orange-border);
  background: var(--orange-soft);
  margin-bottom: 40px;
}
.hero-tag-dot-wrap {
  width: 24px; height: 24px;
  background: rgba(255,105,32,0.14);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }
.hero-tag-text {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--orange); text-transform: uppercase;
}
.hero-title { margin-bottom: 24px; display: flex; flex-direction: column; }
.hero-h1-line1 {
  font-family: var(--hero-display);
  font-size: clamp(64px,10vw,140px);
  font-weight: 400; line-height: 0.92;
  letter-spacing: 0.02em; color: var(--text); display: block;
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
}
.hero-h1-line2 {
  font-family: var(--hero-display);
  font-size: clamp(64px,10vw,140px);
  font-weight: 400; line-height: 0.92;
  letter-spacing: 0.02em; color: var(--orange); display: block;
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
  text-shadow: 0 0 80px rgba(255,105,32,0.3), 0 0 30px rgba(255,105,32,0.15);
}
.hero-sub {
  font-size: clamp(15px,1.7vw,18px);
  max-width: 540px; margin: 28px 0 48px;
  line-height: 1.8; color: var(--muted);
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-kpi-strip {
  display: flex; gap: clamp(28px,5vw,72px);
  margin-top: 80px; padding-top: 48px;
  border-top: 1px solid var(--b1);
  flex-wrap: wrap;
}
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi-val {
  font-family: var(--display);
  font-size: clamp(20px,2.5vw,28px); font-weight: 700;
  letter-spacing: -0.03em; color: var(--text);
}
.kpi-val span { color: var(--orange); }
.kpi-label { font-size: 12px; color: var(--muted); }

/* About section */
#about { background: var(--bg2); }
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,100px); align-items: center; margin-top: 60px;
}
.about-text p { font-size: 15px; margin-top: 20px; max-width: 480px; }
.about-text p + p { margin-top: 16px; }
.about-values { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.about-val {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: var(--bg3);
  border: 1px solid var(--b1); border-radius: var(--r2);
  transition: all var(--transition);
}
.about-val:hover { border-color: var(--orange-border); transform: translateX(4px); }
.about-val-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.about-val-title { font-family: var(--display); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.about-val-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
.about-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.about-stat {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.about-stat:hover { border-color: var(--orange-border); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 24px var(--orange-glow); }
.about-stat::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,105,32,0.05) 0%, transparent 70%);
}
.about-stat-val {
  font-family: var(--display);
  font-size: clamp(28px,3.5vw,40px); font-weight: 700;
  color: var(--orange); letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* What We Build */
#build { background: var(--bg); }
.build-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}
.build-card {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: clamp(24px,3vw,32px);
  position: relative; overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.build-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.build-card:hover { border-color: var(--orange-border); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--orange-glow); }
.build-card:hover::before { opacity: 0.5; }
.build-card-icon {
  font-size: 28px; margin-bottom: 20px;
  width: 52px; height: 52px;
  background: var(--orange-soft); border: 1px solid var(--orange-border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.build-card h4 {
  font-family: var(--display); font-size: 17px; font-weight: 600;
  margin-bottom: 10px; color: var(--text);
}
.build-card p { font-size: 13px; line-height: 1.7; }
.build-card-tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--bg4); color: var(--muted); border: 1px solid var(--b1);
}

/* Ongoing Dev — NetSure feature */
#ongoing { background: var(--bg2); }
.ongoing-inner {
  margin-top: 64px;
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); overflow: hidden;
  transition: all var(--transition);
}
.ongoing-inner:hover { border-color: var(--orange-border); box-shadow: 0 0 60px var(--orange-glow); }
.ongoing-header {
  padding: clamp(32px,4vw,56px);
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border-bottom: 1px solid var(--b1);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.ongoing-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.ongoing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: breathe 2s ease-in-out infinite; }
.ongoing-title {
  font-family: var(--display); font-size: clamp(24px,3.5vw,40px);
  font-weight: 700; color: var(--text); letter-spacing: -0.03em; margin-bottom: 12px;
}
.ongoing-sub { font-size: 15px; color: var(--muted); max-width: 480px; line-height: 1.7; }
.ongoing-cta-area { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.ongoing-body {
  padding: clamp(28px,4vw,48px);
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.ongoing-stat {
  padding: 20px; background: var(--bg4);
  border: 1px solid var(--b1); border-radius: var(--r2);
  transition: all var(--transition);
}
.ongoing-stat:hover { border-color: var(--orange-border); }
.ongoing-stat-val {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  color: var(--orange); letter-spacing: -0.03em; margin-bottom: 4px;
}
.ongoing-stat-label { font-size: 11px; color: var(--muted); }

/* GitHub CTA Section */
#github-cta { background: var(--bg); }
.github-cta-inner {
  text-align: center; max-width: 700px; margin: 0 auto;
  padding: clamp(48px,6vw,80px);
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: 24px; position: relative; overflow: hidden;
}
.github-cta-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.github-cta-orb {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,105,32,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.github-cta-icon {
  width: 64px; height: 64px;
  background: var(--bg4); border: 1px solid var(--b2);
  border-radius: 16px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
}
.github-cta-icon svg { width: 30px; height: 30px; color: var(--text); }
.github-cta-inner h2 { margin-bottom: 16px; }
.github-cta-inner p { font-size: 15px; max-width: 480px; margin: 0 auto 36px; }
.github-btn-large {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  padding: 16px 32px; border-radius: 12px;
  background: var(--bg4); border: 1px solid var(--b2);
  color: var(--text); transition: all var(--transition);
}
.github-btn-large:hover {
  border-color: var(--orange-border);
  box-shadow: 0 0 40px var(--orange-glow);
  transform: translateY(-2px);
}
.github-btn-large svg { width: 20px; height: 20px; }

/* Team Section */
#team { background: var(--bg2); }
.team-header { max-width: 580px; margin-bottom: 64px; }
.team-header p { margin-top: 16px; font-size: 15px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: clamp(28px,3.5vw,36px);
  position: relative; overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.team-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.team-card::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,105,32,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.team-card:hover { border-color: var(--orange-border); transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 36px var(--orange-glow); }
.team-card:hover::before { opacity: 0.6; }
.team-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-soft); border: 1px solid var(--orange-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 16px; font-weight: 700;
  color: var(--orange); margin-bottom: 20px; flex-shrink: 0;
}
.team-name {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  color: var(--text); margin-bottom: 4px; letter-spacing: -0.02em;
}
.team-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.team-divider { width: 28px; height: 1px; background: var(--orange-border); margin-bottom: 16px; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 20px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
}
.team-linkedin:hover { color: var(--orange); }
.team-linkedin svg { width: 14px; height: 14px; }
.team-no-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 20px;
  font-size: 12px; color: var(--muted2);
}

/* Join The Team */
#join { background: var(--bg); }
.join-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(60px,7vw,100px) clamp(32px,5vw,80px);
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid var(--b1); border-radius: 24px;
  position: relative; overflow: hidden;
}
.join-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.join-orb {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,105,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.join-inner h2 { margin-bottom: 16px; }
.join-inner p { font-size: 15px; max-width: 520px; margin: 0 auto 20px; }
.join-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 36px;
}
.join-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  background: var(--bg4); color: var(--muted); border: 1px solid var(--b1);
}
.join-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
  padding: 16px 40px; border-radius: 12px;
  background: var(--orange); color: #fff;
  transition: all var(--transition);
}
.join-cta-btn:hover {
  background: var(--orange-bright);
  box-shadow: 0 0 48px rgba(255,105,32,0.45), 0 8px 28px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   PROJECTS PAGE STYLES
══════════════════════════════════════════════════════════════ */
#projects-hero { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; overflow: hidden; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; margin-top: 64px; }
.project-card {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  display: block; text-decoration: none;
  position: relative;
}
.project-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover { border-color: var(--orange-border); transform: translateY(-6px); box-shadow: 0 28px 72px rgba(0,0,0,0.5), 0 0 40px var(--orange-glow); }
.project-card:hover::before { opacity: 1; }
.project-card-visual {
  height: 200px; background: var(--bg4);
  border-bottom: 1px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.project-card-visual-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,105,32,0.12) 0%, transparent 70%);
}
.project-card-visual-icon { font-size: 52px; position: relative; z-index: 1; }
.project-card-visual-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.project-card-body { padding: clamp(24px,3vw,32px); }
.project-card-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.project-card-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); animation: breathe 2s ease-in-out infinite; }
.project-card-title { font-family: var(--display); font-size: clamp(22px,2.5vw,28px); font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -0.02em; }
.project-card-subtitle { font-family: var(--display); font-size: 15px; color: var(--orange); margin-bottom: 14px; font-weight: 500; }
.project-card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project-card-tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--bg4); color: var(--muted); border: 1px solid var(--b1);
}
.project-card-cta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--orange);
  transition: gap var(--transition);
}
.project-card:hover .project-card-cta { gap: 14px; }
.projects-coming { margin-top: 48px; text-align: center; padding: 60px 20px; border: 1px dashed var(--b2); border-radius: var(--r); }
.projects-coming p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.projects-coming .eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted2); text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════════
   NETSURE PAGE STYLES
══════════════════════════════════════════════════════════════ */

/* NetSure Hero */
#ns-hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 80px; overflow: hidden;
}
.ns-hero-orb {
  position: absolute; top: -15%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 560px;
  background: radial-gradient(ellipse, rgba(255,105,32,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.ns-hero-content { position: relative; z-index: 1; }
.ns-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 100px;
  border: 1px solid var(--orange-border);
  background: var(--orange-soft); margin-bottom: 40px;
}
.ns-hero-h1 {
  font-family: var(--hero-display);
  font-size: clamp(70px,11vw,150px);
  font-weight: 400; line-height: 0.92;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  margin-bottom: 24px;
}
.ns-hero-h1 span { color: var(--orange); text-shadow: 0 0 80px rgba(255,105,32,0.3), 0 0 30px rgba(255,105,32,0.15); }
.ns-hero-sub { font-size: clamp(15px,1.7vw,18px); max-width: 520px; margin: 0 0 48px; line-height: 1.8; color: var(--muted); }
.ns-hero-kpi-strip {
  display: flex; gap: clamp(28px,5vw,72px);
  margin-top: 80px; padding-top: 48px;
  border-top: 1px solid var(--b1); flex-wrap: wrap;
}

/* Problem */
#ns-problem { background: var(--bg); }
.ns-problem-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,100px); align-items: start; margin-top: 64px;
}
.pain-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.pain-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; background: var(--bg3);
  border: 1px solid var(--b1); border-radius: var(--r2);
  transition: all var(--transition);
}
.pain-item:hover { border-color: var(--orange-border); }
.pain-icon {
  font-size: 20px; flex-shrink: 0; margin-top: 2px;
  width: 40px; height: 40px;
  background: var(--bg4); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pain-item h4 { font-family: var(--display); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pain-item p { font-size: 13px; color: var(--muted); }

/* Comparison card */
.comparison-card {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: clamp(24px,3vw,36px);
}
.comp-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.comp-row { margin-bottom: 20px; }
.comp-row-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.comp-row-label { font-size: 13px; font-weight: 500; color: var(--text); }
.comp-row-pct { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.comp-track { height: 6px; background: var(--bg4); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.comp-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }
.comp-fill.red { background: var(--red); }
.comp-fill.amber { background: var(--amber); }
.comp-fill.green { background: var(--green); }
.comp-desc { font-size: 11px; color: var(--muted); }

/* Solution */
#ns-solution { background: var(--bg2); }
.solution-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 64px; margin-bottom: 40px; }
.solution-header p { font-size: 15px; line-height: 1.8; }
.product-callout {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: clamp(28px,4vw,48px);
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: start; margin-bottom: 40px;
}
.callout-specs { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.spec-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--bg4);
  border: 1px solid var(--b1); border-radius: var(--r3);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.spec-pill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.spec-pill-dot.orange { background: var(--orange); }
.spec-pill-dot.green { background: var(--green); }
.spec-pill-dot.amber { background: var(--amber); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: var(--bg3); border: 1px solid var(--b1);
  border-radius: var(--r); padding: clamp(24px,3vw,32px);
  position: relative; overflow: hidden;
  transition: all var(--transition); cursor: default;
  --mx: 50%; --my: 50%;
}
.feat-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r);
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,105,32,0.05) 0%, transparent 55%);
  pointer-events: none; opacity: 0; transition: opacity var(--transition);
}
.feat-card:hover { border-color: var(--orange-border); transform: translateY(-3px); }
.feat-card:hover::after { opacity: 1; }
.feat-icon-wrap {
  font-size: 24px; margin-bottom: 18px;
  width: 48px; height: 48px;
  background: var(--bg4); border: 1px solid var(--b1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.feat-card h4 { font-family: var(--display); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.feat-card p { font-size: 13px; line-height: 1.7; }
.feat-badge {
  display: inline-block; margin-top: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange-border);
}

/* Architecture */
#ns-architecture { background: var(--bg); }
.arch-wrap {
  margin-top: 64px; background: var(--bg3);
  border: 1px solid var(--b1); border-radius: var(--r); overflow: hidden;
}
.arch-tabs {
  display: flex; border-bottom: 1px solid var(--b1);
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
}
.arch-tabs::-webkit-scrollbar { display: none; }
.arch-tab {
  padding: 16px 28px; font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; border: none; border-bottom: 2px solid transparent;
  background: none; white-space: nowrap; transition: all var(--transition);
}
.arch-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.arch-tab:hover:not(.active) { color: var(--text); }
.arch-panel { padding: clamp(24px,3vw,48px); display: none; }
.arch-panel.active { display: block; }
.arch-desc { font-size: 13px; color: var(--muted); margin-bottom: 36px; max-width: 600px; }
.arch-flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.arch-flow::-webkit-scrollbar { display: none; }
.arch-node {
  background: var(--bg4); border: 1px solid var(--b1);
  border-radius: var(--r2); padding: 18px 22px;
  min-width: 148px; flex-shrink: 0; text-align: center;
  transition: all var(--transition); cursor: default;
}
.arch-node:hover { border-color: var(--orange-border); box-shadow: 0 0 24px var(--orange-glow); }
.arch-node.highlight { border-color: var(--orange-border); background: rgba(255,105,32,0.04); }
.arch-node-icon { font-size: 24px; margin-bottom: 10px; }
.arch-node-label { font-size: 13px; font-weight: 600; color: var(--text); }
.arch-node-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.arch-node.highlight .arch-node-label { color: var(--orange); }
.arch-arrow-gap { padding: 0 10px; color: var(--muted2); font-size: 16px; flex-shrink: 0; display: flex; align-items: center; }
.arch-note {
  margin-top: 28px; padding: 16px 20px;
  background: var(--bg4); border-radius: var(--r3);
  border: 1px solid var(--b1); font-size: 12px; color: var(--muted); line-height: 1.65;
}
.arch-note strong { color: var(--text); }
.task-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 28px; }
.task-card { padding: 18px 20px; background: var(--bg4); border-radius: var(--r3); border: 1px solid var(--b1); }
.task-label { font-family: var(--mono); font-size: 10px; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 6px; }
.task-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.task-desc { font-size: 12px; color: var(--muted); }

/* OLED Dashboard */
#ns-dashboard { background: var(--bg2); }
.dashboard-layout {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(28px,4vw,60px); align-items: start; margin-top: 64px;
}
.oled-wrap { position: relative; }
.oled-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.oled-frame {
  background: #000; border: 2px solid #1e1e1e; border-radius: 14px;
  padding: clamp(18px,3vw,26px); font-family: var(--mono);
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.8), 0 0 20px rgba(255,105,32,0.04);
}
.oled-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 2px);
  pointer-events: none; z-index: 2;
}
.oled-glow { position: absolute; inset: -1px; border-radius: 13px; border: 1px solid rgba(255,105,32,0.07); pointer-events: none; z-index: 3; }
.oled-hdr { font-size: 9px; letter-spacing: 0.2em; color: #f80; border-bottom: 1px solid rgba(255,130,0,0.15); padding-bottom: 8px; margin-bottom: 12px; text-transform: uppercase; }
.oled-r { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 11px; }
.oled-k { color: #3a3028; }
.oled-v { color: #ff9040; }
.oled-v.ok { color: #0f6; }
.oled-v.warn { color: #fa0; }
.oled-v.off { color: #f44; }
.oled-bar-wrap { margin: 10px 0 7px; }
.oled-bar-l { font-size: 9px; color: #3a3a5a; margin-bottom: 4px; }
.oled-bg { width: 100%; height: 5px; background: #111; border-radius: 3px; overflow: hidden; }
.oled-fill { height: 100%; border-radius: 3px; transition: width 0.8s ease; }
.oled-status { display: flex; gap: 8px; margin-top: 10px; }
.oled-badge { padding: 2px 8px; border-radius: 3px; font-size: 9px; letter-spacing: 0.1em; }
.oled-badge.on { background: rgba(0,230,118,0.1); color: #0f6; border: 1px solid rgba(0,230,118,0.2); }
.oled-badge.act { background: rgba(255,105,32,0.1); color: #ff8040; border: 1px solid rgba(255,105,32,0.2); }
.metrics-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(12px,2vw,20px); }
.metric-card { background: var(--bg3); border: 1px solid var(--b1); border-radius: var(--r2); padding: clamp(18px,2.5vw,26px); transition: all var(--transition); }
.metric-card:hover { border-color: var(--b2); transform: translateY(-2px); }
.metric-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.metric-val { font-family: var(--display); font-size: clamp(28px,3.5vw,38px); font-weight: 700; line-height: 1.1; margin-top: 8px; letter-spacing: -0.03em; }
.metric-val.orange { color: var(--orange); }
.metric-val.green { color: var(--green); }
.metric-val.amber { color: var(--amber); }
.metric-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* Roadmap */
#ns-roadmap { background: var(--bg); }
.roadmap-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px,6vw,100px); align-items: start; margin-top: 64px; }
.roadmap-intro p { margin-top: 20px; font-size: 15px; }
.roadmap-stat { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.rstat { padding: 20px 22px; background: var(--bg3); border: 1px solid var(--b1); border-radius: var(--r2); }
.rstat-val { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--orange); letter-spacing: -0.02em; }
.rstat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.roadmap-track { position: relative; }
.rm-spine { position: absolute; left: 19px; top: 16px; bottom: 16px; width: 1px; background: linear-gradient(to bottom, var(--orange), var(--muted2) 60%, transparent); }
.rm-items { display: flex; flex-direction: column; gap: 0; }
.rm-item { display: flex; gap: clamp(20px,3vw,40px); padding: 20px 0; }
.rm-dot-col { width: 40px; flex-shrink: 0; display: flex; justify-content: center; position: relative; z-index: 1; }
.rm-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; transition: all var(--transition); }
.rm-dot.done { background: var(--orange); border: 2px solid var(--orange); box-shadow: 0 0 14px rgba(255,105,32,0.5); }
.rm-dot.active { background: var(--bg); border: 2px solid var(--orange); animation: ring-pulse 2s ease-in-out infinite; }
.rm-dot.upcoming { background: var(--bg); border: 2px solid var(--muted2); }
@keyframes ring-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,105,32,0.5); } 50% { box-shadow: 0 0 0 8px rgba(255,105,32,0); } }
.rm-body { flex: 1; padding-bottom: 20px; border-bottom: 1px solid var(--b1); }
.rm-item:last-child .rm-body { border-bottom: none; }
.rm-phase { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.rm-phase.done { color: var(--muted); }
.rm-phase.upcoming { color: var(--muted2); }
.rm-body h4 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.rm-body p { font-size: 13px; line-height: 1.65; }
.rm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rm-tag { font-family: var(--mono); font-size: 10px; padding: 3px 10px; border-radius: 100px; background: var(--bg4); color: var(--muted); border: 1px solid var(--b1); }
.rm-tag.active { background: var(--orange-soft); color: var(--orange); border-color: var(--orange-border); }

/* Vision */
#ns-vision { background: var(--bg2); }
.future-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; margin-top: 64px; }
.future-card { background: var(--bg3); border: 1px solid var(--b1); border-radius: var(--r); padding: clamp(24px,3vw,32px); position: relative; overflow: hidden; transition: all var(--transition); }
.future-card:hover { border-color: var(--orange-border); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--orange-glow); }
.future-card-ribbon { position: absolute; top: 18px; right: -26px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; background: var(--amber); color: #000; padding: 3px 34px; transform: rotate(45deg); font-weight: 700; }
.future-icon { font-size: 30px; margin-bottom: 18px; }
.future-card h4 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.future-card p { font-size: 13px; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .about-layout, .ns-problem-layout, .solution-header, .product-callout,
  .roadmap-layout, .dashboard-layout, .ongoing-header { grid-template-columns: 1fr; }
  .build-grid, .features-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .ongoing-body { grid-template-columns: repeat(2,1fr); }
  .ongoing-cta-area { align-items: flex-start; flex-direction: row; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-center { display: none; }
  .nav-menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .build-grid, .features-grid, .team-grid { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .future-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .ongoing-body { grid-template-columns: 1fr 1fr; }
  .hero-kpi-strip, .ns-hero-kpi-strip { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .hero-h1-line1, .hero-h1-line2 { font-size: clamp(52px,14vw,80px); }
  .ns-hero-h1 { font-size: clamp(52px,14vw,80px); }
  .ongoing-body { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES FOR style.css
   Append these rules at the very end of style.css
   Desktop layout is completely untouched.
══════════════════════════════════════════════════════════════ */

/* ── TABLET BREAKPOINT (≤960px) — already exists, extend it ── */
@media (max-width: 960px) {

  /* Navbar */
  nav {
    height: 60px;
    padding: 0 20px;
  }
  .nav-mobile-drawer {
    top: 60px;
  }

  /* Hide the GitHub button text on tablet — keep icon only */
  .nav-github-btn {
    padding: 7px 12px;
    font-size: 11px;
    gap: 6px;
  }
  .nav-join-btn {
    padding: 7px 14px;
    font-size: 11px;
  }
  .nav-right {
    gap: 8px;
  }

  /* Hero top padding matches new nav height */
  #hero, #ns-hero {
    padding-top: 60px;
  }

  /* Tighten hero KPI strip on tablet */
  .hero-kpi-strip, .ns-hero-kpi-strip {
    margin-top: 56px;
    padding-top: 36px;
    gap: clamp(20px, 4vw, 48px);
  }

  /* Tighten section vertical padding */
  section {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 4vw, 48px);
  }

  /* Product callout — stack gracefully */
  .product-callout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .callout-specs {
    min-width: unset;
  }
}

/* ── MOBILE BREAKPOINT (≤640px) ── */
@media (max-width: 640px) {

  /* ── Navbar ── */
  nav {
    height: 56px;
    padding: 0 16px;
  }
  .nav-mobile-drawer {
    top: 56px;
    padding: 16px 16px 24px;
  }

  /* Logo — tighten gap, shrink image slightly */
  .nav-logo {
    gap: 8px;
  }
  .nav-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .nav-logo-main {
    font-size: 13px;
  }
  .nav-logo-sub {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  /* Hide the GitHub button entirely on small phones — hamburger covers it */
  .nav-github-btn {
    display: none;
  }
  /* Scale down Join button */
  .nav-join-btn {
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.02em;
    border-radius: 7px;
  }
  .nav-right {
    gap: 8px;
  }
  /* Hamburger button — compact */
  .nav-menu-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* ── Hero section ── */
  #hero, #ns-hero {
    padding-top: 56px;
    min-height: 100svh;
  }

  .hero-tag, .ns-hero-tag {
    margin-bottom: 28px;
    padding: 6px 14px 6px 6px;
  }
  .hero-tag-dot-wrap {
    width: 20px;
    height: 20px;
  }
  .hero-tag-dot {
    width: 7px;
    height: 7px;
  }
  .hero-tag-text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  /* Hero title — slightly tighter on small phones */
  .hero-h1-line1,
  .hero-h1-line2 {
    font-size: clamp(48px, 13vw, 72px);
    line-height: 0.9;
  }
  .hero-title {
    margin-bottom: 20px;
  }

  /* NetSure hero title */
  .ns-hero-h1 {
    font-size: clamp(48px, 13vw, 72px);
    line-height: 0.9;
    margin-bottom: 20px;
  }

  /* Hero sub paragraph */
  .hero-sub, .ns-hero-sub {
    font-size: 15px;
    margin: 20px 0 36px;
    line-height: 1.75;
  }

  /* CTA row — stack on very small screens */
  .hero-cta-row {
    gap: 10px;
  }

  /* Buttons — proportionally smaller */
  .btn {
    font-size: 13px;
    padding: 12px 22px;
    border-radius: 9px;
    gap: 7px;
  }
  .btn svg {
    width: 14px;
    height: 14px;
  }

  /* KPI strip — already column-stacked, tighten spacing */
  .hero-kpi-strip, .ns-hero-kpi-strip {
    margin-top: 44px;
    padding-top: 28px;
    gap: 16px;
  }
  .kpi-val {
    font-size: clamp(17px, 4.5vw, 22px);
  }
  .kpi-label {
    font-size: 11px;
  }

  /* ── Section spacing ── */
  section {
    padding: clamp(52px, 9vw, 90px) 16px;
  }

  /* Section eyebrow */
  .section-eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
  }

  /* h2 — clamp already handles scaling, add line-height fix */
  h2 {
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  /* ── Cards & grids ── */

  /* Feature cards */
  .feat-card {
    padding: 20px 18px;
  }
  .feat-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 20px;
    margin-bottom: 14px;
  }
  .feat-card h4 {
    font-size: 14px;
  }

  /* Pain items */
  .pain-item {
    padding: 14px 16px;
    gap: 12px;
  }
  .pain-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  /* About stat cards */
  .about-stat {
    padding: 22px 18px;
  }

  /* Arch nodes — allow wrapping on tiny screens */
  .arch-flow {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 8px;
  }
  .arch-node {
    min-width: 120px;
    padding: 14px 16px;
  }
  .arch-arrow-gap {
    display: none; /* Replace with visual flow via wrapping; arrows hidden */
  }

  /* OLED frame */
  .oled-frame {
    padding: 16px 18px;
  }

  /* Metric cards grid — already 2-col, tighten padding */
  .metric-card {
    padding: 16px 14px;
  }
  .metric-val {
    font-size: clamp(22px, 5.5vw, 30px);
    margin-top: 6px;
  }

  /* Roadmap */
  .roadmap-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rm-item {
    gap: 16px;
  }

  /* Footer */
  .footer-top {
    gap: 28px;
  }
  .footer-brand {
    margin-bottom: 12px;
  }
  .footer-tagline {
    font-size: 12px;
  }
  footer {
    padding: 40px 16px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Drawer links — bigger tap target */
  .nav-mobile-drawer a {
    padding: 14px 0;
    font-size: 16px;
  }

  /* Project cards */
  .project-card-body {
    padding: 20px 18px;
  }
  .project-card-visual {
    height: 160px;
  }
  .project-card-title {
    font-size: 20px;
  }

  /* Ticker */
  .ticker-section {
    height: 40px;
  }
  .ticker-item {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

/* ── EXTRA SMALL (≤480px) — already exists, extend it ── */
@media (max-width: 480px) {

  /* Prevent any horizontal overflow */
  body {
    overflow-x: hidden;
  }

  /* Hero headings — absolute minimum comfortable reading size */
  .hero-h1-line1,
  .hero-h1-line2 {
    font-size: clamp(44px, 12.5vw, 64px);
  }
  .ns-hero-h1 {
    font-size: clamp(44px, 12.5vw, 64px);
  }

  /* Stack CTA buttons full-width on very small phones */
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    justify-content: center;
    width: 100%;
  }

  /* Projects hero h1 */
  #projects-hero h1 {
    font-size: clamp(52px, 12vw, 80px) !important;
  }

  /* Comparison card */
  .comparison-card {
    padding: 20px 16px;
  }

  /* Spec pills wrap cleanly */
  .callout-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .spec-pill {
    font-size: 12px;
    padding: 8px 12px;
  }

  /* Arch tabs scroll — ensure touch-friendly */
  .arch-tab {
    padding: 14px 18px;
    font-size: 12px;
  }

  /* Dashboard layout — already single col via 960px breakpoint,
     ensure OLED label is readable */
  .oled-label {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  /* Future cards */
  .future-card {
    padding: 20px 18px;
  }
  .future-icon {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .future-card h4 {
    font-size: 15px;
  }

  /* Roadmap spine — adjust for narrower left gutter */
  .rm-spine {
    left: 16px;
  }
  .rm-dot-col {
    width: 34px;
  }

  /* Ongoing section CTA area */
  .ongoing-cta-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
