/* Neptune Shield — SpecOps Design System */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Roboto+Mono:wght@400;500;700&family=Inter:wght@300;400;600;700&display=swap');

:root {
  --color-stealth-black: #07090e;
  --color-combat-dark: #0d111a;
  --color-panel-border: #1a2333;
  --color-hud-green: #00e5ff;
  --color-hud-green-dim: rgba(0,229,255,0.15);
  --color-sonar-pulse: #ff3b30;
  --color-titanium-light: #f1f5f9;
  --color-titanium-mute: #94a3b8;
  --color-titanium-dark: #334155;
  --gradient-stealth-fade: linear-gradient(180deg, rgba(7,9,14,0.8) 0%, rgba(13,17,26,0.95) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-stealth-black);
  color: var(--color-titanium-mute);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image:
    linear-gradient(rgba(26,35,51,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,35,51,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 1;
}

a { color: var(--color-hud-green); text-decoration: none; transition: color 0.3s; }
a:hover { color: #33ff88; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .hud-title {
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-titanium-light);
}

.telemetry-label, .cage-code, .ueid {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-hud-green);
  letter-spacing: 0.15em;
}

/* ===== HEADER ===== */
.ns-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.ns-header__scanline {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-hud-green), transparent);
  box-shadow: 0 0 10px var(--color-hud-green), 0 0 20px var(--color-hud-green-dim);
}
.ns-header__body {
  background: rgba(7,9,14,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-panel-border);
}
.ns-header.scrolled .ns-header__body {
  background: rgba(7,9,14,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.8);
}
.ns-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0.6rem 2rem;
}

.ns-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.ns-logo__emblem { height: 44px; width: auto; filter: drop-shadow(0 0 10px rgba(0,229,255,0.35)); }
.ns-logo__text { display: flex; flex-direction: column; }
.ns-logo__name {
  font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(120deg, #006080 0%, #00c8e5 25%, #80f0ff 50%, #00c8e5 75%, #006080 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ns-logo__sub {
  font-family: 'Roboto Mono', monospace; font-size: 0.5rem;
  letter-spacing: 4px; color: var(--color-hud-green); text-transform: uppercase;
}

.ns-nav { display: flex; gap: 1.8rem; }
.ns-nav a {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600;
  color: var(--color-titanium-mute); text-transform: uppercase; letter-spacing: 1.5px;
  position: relative; padding: 0.3rem 0;
}
.ns-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--color-hud-green);
  box-shadow: 0 0 6px var(--color-hud-green); transition: width 0.3s;
}
.ns-nav a:hover { color: #fff; }
.ns-nav a:hover::after { width: 100%; }

.ns-header__actions { display: flex; }
.ns-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.ns-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--color-hud-green); transition: all 0.3s; }

/* ===== BUTTONS ===== */
.ns-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 12px 28px; font-family: 'Orbitron', monospace;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 2px; cursor: pointer;
  transition: all 0.3s; border: none; text-decoration: none;
  position: relative; overflow: hidden;
}
.ns-btn .btn-shimmer {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg); pointer-events: none;
}
.ns-btn--green {
  background: var(--color-hud-green); color: #07090e;
  box-shadow: 0 0 15px var(--color-hud-green-dim);
}
.ns-btn--green:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,229,255,0.4); color: #07090e; }
.ns-btn--outline {
  background: transparent; color: var(--color-hud-green);
  border: 1px solid rgba(0,229,255,0.4);
}
.ns-btn--outline:hover { background: var(--color-hud-green-dim); border-color: var(--color-hud-green); color: var(--color-hud-green); }
.ns-btn--sm { padding: 8px 18px; font-size: 0.65rem; }
.ns-btn--lg { padding: 16px 36px; font-size: 0.8rem; }

/* ===== HERO ===== */
.ns-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ns-hero__bg {
  position: absolute; inset: 0;
}
.ns-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.ns-hero--showcase {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background: var(--color-stealth-black);
  overflow: hidden;
}
.ns-hero--showcase .ns-hero__bg {
  position: absolute;
  top: 70px;
  right: 0;
  bottom: 0;
  left: 0;
}
.ns-hero--showcase .ns-hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.ns-hero--showcase .ns-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}
.ns-hero--showcase .ns-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,14,0.02) 0%, rgba(7,9,14,0.08) 55%, rgba(7,9,14,0.3) 100%);
}
.ns-hero--compact {
  min-height: 72vh;
}
.ns-hero--plain .ns-hero__bg {
  background: linear-gradient(135deg, #0a1628 0%, var(--color-stealth-black) 60%, var(--color-combat-dark) 100%);
}
.ns-hero--plain .ns-hero__overlay {
  background: linear-gradient(180deg, rgba(7,9,14,0.4) 0%, rgba(7,9,14,0.85) 100%);
}
.ns-hero-intro {
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--color-stealth-black) 0%, var(--color-combat-dark) 100%);
  border-bottom: 1px solid var(--color-panel-border);
}
.ns-hero-intro__content {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact {
  scroll-margin-top: 80px;
}
.ns-cta--contact {
  padding-top: 4rem;
}
.ns-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,14,0.75) 0%, rgba(7,9,14,0.4) 40%, rgba(7,9,14,0.6) 70%, rgba(7,9,14,1) 100%);
}
.ns-hero__content {
  position: relative; z-index: 2; text-align: center;
  max-width: 950px; padding: 140px 2rem 100px;
  display: flex; flex-direction: column; align-items: center;
}
.ns-hero__tag {
  display: block; width: fit-content; font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem; color: var(--color-hud-green); letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 1.5rem;
  border: 1px solid rgba(0,229,255,0.3); padding: 6px 16px;
  background: rgba(0,229,255,0.05);
}
.ns-hero__title {
  display: block; width: 100%;
  font-family: 'Orbitron', monospace; font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: 4px; line-height: 1.15; margin-bottom: 1rem;
}
.shimmer-text {
  background: linear-gradient(120deg, #006080 0%, #00c8e5 25%, #80f0ff 50%, #00c8e5 75%, #006080 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.ns-hero__title.shimmer-text { display: block; }
.ns-hero__subtitle {
  font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 500;
  color: var(--color-hud-green); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1.5rem; text-shadow: 0 0 20px rgba(0,229,255,0.4);
}
.ns-hero__desc {
  font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 700px;
  margin: 0 auto 2.5rem; line-height: 1.8;
}
.ns-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== STATS BAR ===== */
.ns-stats {
  background: var(--color-combat-dark);
  border-top: 1px solid var(--color-panel-border);
  border-bottom: 1px solid var(--color-panel-border);
  padding: 2.5rem 2rem;
}
.ns-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center;
}
.ns-stat__number {
  font-family: 'Orbitron', monospace; font-size: 1.6rem; font-weight: 700;
  color: var(--color-titanium-light);
}
.ns-stat__label {
  font-family: 'Roboto Mono', monospace; font-size: 0.6rem;
  color: var(--color-hud-green); text-transform: uppercase;
  letter-spacing: 3px; margin-top: 0.25rem;
}

/* ===== SECTIONS ===== */
.ns-section { padding: 6rem 2rem; position: relative; z-index: 2; }
.ns-section--dark { background: var(--color-combat-dark); }
.ns-container { max-width: 1280px; margin: 0 auto; }
.ns-section__header { text-align: center; margin-bottom: 4rem; }
.ns-section__label {
  display: inline-block; font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem; color: var(--color-hud-green); text-transform: uppercase;
  letter-spacing: 5px; font-weight: 700; margin-bottom: 0.75rem;
}
.ns-section__title {
  font-family: 'Orbitron', monospace; font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: 3px; margin-bottom: 1rem;
}
.ns-section__subtitle {
  font-size: 1rem; color: var(--color-titanium-mute);
  max-width: 700px; margin: 0 auto; line-height: 1.8;
}

/* ===== HUD CARDS ===== */
.hud-card {
  background: var(--color-combat-dark);
  border: 1px solid var(--color-panel-border);
  position: relative; overflow: hidden;
  padding: 2rem; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.hud-card::before, .hud-card::after {
  content: ''; position: absolute;
  width: 8px; height: 8px;
  border-color: var(--color-titanium-dark);
  border-style: solid; pointer-events: none;
}
.hud-card::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.hud-card::after { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.hud-card:hover {
  border-color: var(--color-hud-green);
  box-shadow: 0 0 20px var(--color-hud-green-dim);
  transform: translateY(-4px);
}
.hud-card:hover::before, .hud-card:hover::after { border-color: var(--color-hud-green); }

.hud-card-scanner {
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--color-hud-green);
  box-shadow: 0 0 8px var(--color-hud-green), 0 0 15px var(--color-hud-green-dim);
  opacity: 0; pointer-events: none;
}
.hud-card:hover .hud-card-scanner { animation: radar-sweep 2s infinite linear; opacity: 0.7; }
@keyframes radar-sweep { 0% { top: 0; } 50% { top: calc(100% - 2px); } 100% { top: 0; } }

.hud-card__header { margin-bottom: 1rem; }
.hud-card__title {
  font-family: 'Orbitron', monospace; font-size: 1.1rem;
  font-weight: 700; letter-spacing: 2px; color: var(--color-titanium-light);
}
.hud-card__body { font-size: 0.9rem; color: var(--color-titanium-mute); line-height: 1.7; }
.hud-card__footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-panel-border); }

/* ===== PILLARS GRID ===== */
.ns-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ns-pillar__icon { font-size: 2rem; margin-bottom: 1rem; }

/* ===== VALUE GRID ===== */
.ns-value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ===== STARTUP DOSSIERS ===== */
.ns-dossier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ===== CAMPUS FEATURES ===== */
.ns-campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ===== MEMBERSHIP TIERS ===== */
.ns-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ns-tier { text-align: center; }
.ns-tier--featured { border-color: var(--color-hud-green); }
.ns-tier--featured .hud-card-scanner { opacity: 0.5; animation: radar-sweep 3s infinite linear; }
.ns-tier__name {
  font-family: 'Orbitron', monospace; font-size: 1.2rem;
  font-weight: 700; color: var(--color-hud-green); margin-bottom: 0.5rem;
}
.ns-tier__price {
  font-family: 'Orbitron', monospace; font-size: 2rem;
  font-weight: 900; color: var(--color-titanium-light); margin-bottom: 1.5rem;
}
.ns-tier__price span { font-size: 0.8rem; color: var(--color-titanium-mute); }
.ns-tier__features { list-style: none; text-align: left; margin-bottom: 2rem; }
.ns-tier__features li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--color-panel-border);
  font-size: 0.85rem; color: var(--color-titanium-mute);
}
.ns-tier__features li::before { content: '▸ '; color: var(--color-hud-green); }

/* ===== CTA ===== */
.ns-cta {
  padding: 6rem 2rem; text-align: center;
  background: linear-gradient(135deg, #0a1628 0%, var(--color-stealth-black) 100%);
  position: relative; z-index: 2;
}
.ns-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 700px; margin: 0 auto 2.5rem; }
.ns-cta__card {
  background: var(--color-combat-dark); border: 1px solid var(--color-panel-border);
  border-radius: 3px; padding: 2rem;
}
.ns-cta__card h3 {
  font-family: 'Orbitron', monospace; font-size: 0.85rem;
  letter-spacing: 2px; margin-bottom: 0.75rem; color: var(--color-titanium-light);
}
.ns-cta__value {
  display: block; font-family: 'Orbitron', monospace; font-size: 1.1rem;
  color: var(--color-hud-green); letter-spacing: 1px; margin-bottom: 0.5rem;
}
.ns-cta__card p { font-size: 0.8rem; margin: 0; }
.ns-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT FORM ===== */
.ns-form {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: left;
}
.ns-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.ns-form__field--full { grid-column: 1 / -1; }
.ns-form label {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem;
  color: var(--color-hud-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.ns-form input,
.ns-form select,
.ns-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-combat-dark);
  border: 1px solid var(--color-panel-border);
  border-radius: 3px;
  color: var(--color-titanium-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.ns-form textarea {
  min-height: 120px;
  resize: vertical;
}
.ns-form input:focus,
.ns-form select:focus,
.ns-form textarea:focus {
  outline: none;
  border-color: var(--color-hud-green);
}
.ns-form .ns-btn { width: 100%; justify-content: center; }

/* ===== VENDOR BANNER ===== */
.ns-vendor-banner {
  border-top: 1px solid var(--color-panel-border);
  background: var(--color-stealth-black);
  padding: 1.25rem 0;
  position: relative;
  z-index: 2;
}
.ns-vendor-banner__viewport { overflow: hidden; }
.ns-vendor-banner__track {
  display: flex;
  width: max-content;
  animation: ns-vendor-scroll 45s linear infinite;
}
.ns-vendor-banner:hover .ns-vendor-banner__track { animation-play-state: paused; }
@keyframes ns-vendor-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ns-vendor-banner__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}
.ns-vendor-banner__item img {
  max-height: 160px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.ns-vendor-banner__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.ns-vendor-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}
.ns-vendor-card__logo {
  display: block;
  max-height: 80px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}
#ns-vendors-grid {
  align-items: stretch;
}
#ns-vendors-grid .hud-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#ns-vendors-grid .hud-card__body {
  flex: 1;
}
#ns-vendors-grid .hud-card__footer {
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ns-vendor-banner__viewport { overflow: visible; }
  .ns-vendor-banner__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
  }
}

/* ===== FOOTER ===== */
.ns-footer {
  background: var(--color-stealth-black);
  border-top: 1px solid var(--color-panel-border);
  padding: 2rem; position: relative; z-index: 2;
}
.ns-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; max-width: 1280px; margin: 0 auto;
}
.ns-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.ns-footer__emblem { filter: drop-shadow(0 0 10px rgba(0,229,255,0.3)); height: 24px; width: auto; opacity: 0.7; }
.ns-footer__name {
  font-family: 'Orbitron', monospace; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 2px; color: var(--color-hud-green);
}
.ns-footer__telemetry {
  display: flex; gap: 2rem; align-items: center;
}
.ns-footer__text { font-size: 0.65rem; color: var(--color-titanium-dark); }
.ns-footer__links { display: flex; gap: 1.5rem; }
.ns-footer__links a {
  font-size: 0.7rem; color: var(--color-titanium-mute);
  letter-spacing: 1px; text-transform: uppercase;
}
.ns-footer__links a:hover { color: var(--color-hud-green); }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .ns-nav {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(7,9,14,0.98); flex-direction: column; justify-content: center;
    align-items: center; gap: 2rem; z-index: 9999;
  }
  .ns-nav.active { display: flex; }
  .ns-nav a { font-size: 1.1rem; letter-spacing: 3px; }
  .ns-mobile-toggle { display: flex; z-index: 10000; }
  .ns-header__actions { display: none; }
  .ns-pillars, .ns-campus-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-tiers { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ns-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ns-value-grid { grid-template-columns: 1fr; }
  .ns-cta__grid { grid-template-columns: 1fr; }
  .ns-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ns-pillars, .ns-campus-grid { grid-template-columns: 1fr; }
  .ns-stats__grid { grid-template-columns: 1fr 1fr; }
  .ns-hero__actions { flex-direction: column; align-items: center; }
  .ns-btn { width: 100%; max-width: 300px; justify-content: center; }
  .ns-footer__inner { flex-direction: column; text-align: center; }
  .ns-footer__telemetry { flex-direction: column; gap: 0.5rem; }
}
