/* ============================================
   MissionOpsAI — Brand Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Primary */
  --navy-deep: #0F1629;
  --navy-mid: #1A2342;
  --navy-card: #1E2A4A;
  --navy-light: #2A3A5C;

  /* Accent */
  --gold: #C5A55A;
  --gold-light: #D4B96E;
  --gold-dim: rgba(197, 165, 90, 0.15);
  --gold-glow: rgba(197, 165, 90, 0.08);

  /* Secondary */
  --teal: #14B8A6;
  --teal-dim: rgba(20, 184, 166, 0.12);
  --blue: #3B82F6;

  /* Text */
  --text-primary: #FFFFFF;
  --text-body: #CBD5E1;
  --text-muted: #8899AA;
  --text-dim: rgba(136, 153, 170, 0.5);

  /* Utility */
  --border: rgba(136, 153, 170, 0.1);
  --border-gold: rgba(197, 165, 90, 0.2);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--navy-deep);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Subtle background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 165, 90, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 165, 90, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Gold radial glow */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(15, 22, 41, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo span {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* Dropdown sub-menus */
.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(15, 22, 41, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 12px;
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu li {
  margin: 0;
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(197, 165, 90, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

.btn-teal {
  background: var(--teal);
  color: var(--navy-deep);
}

.btn-teal:hover {
  background: #17c9b5;
  color: var(--navy-deep);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

/* --- Cards --- */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.25rem;
}

.card-icon.teal {
  background: var(--teal-dim);
  color: var(--teal);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.hero .label {
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero with left alignment for inner pages */
.hero-left {
  text-align: left;
}

.hero-left h1,
.hero-left p {
  margin-left: 0;
  margin-right: 0;
}

/* --- Credibility Markers --- */
.markers {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marker {
  text-align: center;
}

.marker-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.marker-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* --- Steps / Process --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Tags / Badges --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: border-color 0.2s;
}

.tag:hover {
  border-color: var(--border-gold);
}

/* Status dot */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Quotes / Callouts --- */
.callout {
  background: var(--navy-card);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 24px 32px;
  margin: 24px 0;
}

.callout p {
  font-style: italic;
  color: var(--text-body);
}

.callout cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Problem Stats --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Forms --- */
.form-section {
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899AA' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy-mid);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success h3 {
  color: var(--teal);
  margin-bottom: 8px;
}

/* --- Tables --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--navy-mid);
}

.comparison-table th:first-child {
  border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 8px 0 0;
}

.comparison-table td {
  color: var(--text-body);
}

.comparison-table tr:hover td {
  background: rgba(30, 42, 74, 0.5);
}

.check { color: var(--teal); }
.cross { color: var(--text-dim); }

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-card));
  border-radius: 16px;
  padding: 80px 40px;
  border: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 32px;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* --- Architecture Visual --- */
.arch-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.arch-box {
  padding: 20px 32px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  min-width: 160px;
}

.arch-box.highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-card));
}

.arch-box h4 {
  margin-bottom: 4px;
}

.arch-box p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.arch-arrow {
  font-size: 1.5rem;
  color: var(--gold);
}

/* --- Sector Cards --- */
.sector-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 32px;
  transition: border-color 0.3s;
}

.sector-card:hover {
  border-color: var(--border-gold);
}

.sector-card h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sector-card .regulation {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.use-cases {
  list-style: none;
  margin-top: 16px;
}

.use-cases li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-body);
  font-size: 0.9375rem;
}

.use-cases li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-toggle { display: block; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15, 22, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }

  .nav-links.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  /* Mobile dropdowns */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    display: none;
  }

  .nav-dropdown.open > .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 6px 0;
    font-size: 0.9375rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before { display: none; }

  .markers {
    flex-direction: column;
    gap: 24px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 40px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .arch-visual {
    flex-direction: column;
  }

  .arch-arrow {
    transform: rotate(90deg);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .cta-section {
    padding: 48px 24px;
  }
}

@media (max-width: 375px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-body);
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-disclaimer {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 40px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media print {
  .legal-content {
    color: #000;
    max-width: 100%;
  }
  .legal-content h2,
  .legal-content h3 {
    color: #000;
  }
  .legal-content p,
  .legal-content li {
    color: #333;
  }
  .nav, .footer, .legal-disclaimer { display: none; }
  body { background: #fff; }
  body::before, body::after { display: none; }
}

/* ============================================
   NDA Page
   ============================================ */
.nda-text {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  max-height: 500px;
  overflow-y: auto;
}

.nda-text h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.nda-text p,
.nda-text li {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-body);
}

.nda-text ol {
  padding-left: 24px;
  margin: 12px 0;
}

.nda-form {
  max-width: 640px;
  margin: 0 auto;
}

.nda-form .form-grid {
  gap: 16px;
}

.nda-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}

.nda-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.nda-checkbox label {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
  cursor: pointer;
}

.nda-success {
  text-align: center;
  padding: 40px;
  display: none;
}

.nda-success h3 {
  color: var(--teal);
  margin-bottom: 12px;
}

.nda-reference {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--gold);
  background: var(--navy-card);
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 12px;
}

/* ============================================
   Status Page
   ============================================ */
.status-overview {
  text-align: center;
  margin-bottom: 48px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-indicator.green {
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulse 2s infinite;
}

.status-indicator.amber {
  background: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
  animation: pulse 1.5s infinite;
}

.status-indicator.red {
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
  animation: pulse 1s infinite;
}

.service-list {
  max-width: 700px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.service-item:hover {
  border-color: var(--border-gold);
}

.service-name {
  font-weight: 600;
  color: var(--text-primary);
}

.service-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   Modal (Lead-Gated Downloads)
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-content h3 {
  margin-bottom: 8px;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

/* ============================================
   Footer Legal Row
   ============================================ */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-body);
}

/* ============================================
   Brand Page
   ============================================ */
.colour-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.colour-swatch {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.swatch-colour {
  height: 80px;
}

.swatch-info {
  background: var(--navy-card);
  padding: 12px;
}

.swatch-info .swatch-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.swatch-info .swatch-hex {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   Investor Gated Section
   ============================================ */
.gated-content {
  display: none;
}

.gated-content.unlocked {
  display: block;
}

.gate-message {
  text-align: center;
  padding: 60px 40px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.gate-message h3 {
  margin-bottom: 12px;
}

.gate-message p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   Download Cards
   ============================================ */
.download-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.3s;
}

.download-card:hover {
  border-color: var(--border-gold);
}

.download-info h4 {
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.download-card .btn {
  flex-shrink: 0;
}
