/* Apex 1080 — Project Heimdall — Global Styles */

:root {
  --navy: #0B1F3A;
  --cyan: #00C8E8;
  --white: #F5F8FF;
  --dark: #060E1A;
  --olive: #4A5240;
  --law-blue: #1A3A6A;
  --font-headline: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow: 0 0 20px rgba(0, 200, 232, 0.35);
  --border-cyan: 1px solid rgba(0, 200, 232, 0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.4s ease;
}

body.page-exit { opacity: 0; }

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover { color: var(--white); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p { color: rgba(245, 248, 255, 0.85); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-cyan);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.navbar-logo img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

.navbar-logo:hover { color: var(--cyan); }
.navbar-logo:hover img {
  filter: drop-shadow(0 0 8px rgba(0, 200, 232, 0.5));
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.7);
}

.navbar-links a:hover,
.navbar-links a.active { color: var(--cyan); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--navy);
  z-index: 1001;
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: var(--border-cyan);
}

.mobile-menu.open { right: 0; }

.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 1.5rem; }

.mobile-menu a {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.mobile-menu a.active { color: var(--cyan); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(0, 200, 232, 0.5);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow);
}

/* ── Hero Grid (index only) ── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-grid-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(0, 200, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 232, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--dark) 70%);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cyan);
  margin: 1rem 0;
  font-weight: 500;
}

.hero-support {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(245, 248, 255, 0.65);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--dark) 100%);
  border-bottom: var(--border-cyan);
}

.page-hero h1 { margin-bottom: 0.75rem; }

.page-hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245, 248, 255, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 248, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Cards & Grids ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.card {
  background: rgba(11, 31, 58, 0.6);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.stat-card { text-align: center; }

.stat-number {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label { font-size: 0.9rem; color: rgba(245, 248, 255, 0.7); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 { margin-bottom: 0.75rem; color: var(--white); }

.feature-card p { font-size: 0.9rem; }

.market-card {
  border-top: 3px solid var(--cyan);
}

.market-card.olive { border-top-color: var(--olive); }
.market-card.law { border-top-color: var(--law-blue); }

/* ── Pills & Badges ── */
.pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 200, 232, 0.4);
  border-radius: 100px;
  color: var(--cyan);
  background: rgba(0, 200, 232, 0.08);
  margin: 0.25rem;
}

.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }

.badge {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 200, 232, 0.1);
  border: 1px solid rgba(0, 200, 232, 0.3);
  border-radius: 4px;
  color: var(--cyan);
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Patent Strip ── */
.patent-strip {
  background: var(--navy);
  padding: 3rem 0;
  text-align: center;
  border-top: var(--border-cyan);
  border-bottom: var(--border-cyan);
}

.patent-strip p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(245, 248, 255, 0.8);
}

/* ── Waitlist ── */
.waitlist-section {
  background: linear-gradient(180deg, var(--dark) 0%, var(--navy) 100%);
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 520px;
  margin: 2rem auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.25rem;
  background: rgba(6, 14, 26, 0.8);
  border: var(--border-cyan);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(245, 248, 255, 0.5);
}

.form-success {
  display: none;
  padding: 1rem 2rem;
  background: rgba(0, 200, 232, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  color: var(--cyan);
  margin-top: 1rem;
}

.form-success.show { display: block; }

/* ── Subsystems ── */
.subsystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.subsystem-card {
  background: rgba(11, 31, 58, 0.5);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 1.75rem;
  transition: var(--transition);
}

.subsystem-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.subsystem-ref {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--cyan);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.subsystem-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.subsystem-card p { font-size: 0.875rem; }

/* ── Video ── */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: 4px;
  overflow: hidden;
  border: var(--border-cyan);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
  width: 100%;
  display: block;
  background: #000;
}

.video-caption {
  padding: 0.75rem 1rem;
  background: var(--navy);
  font-size: 0.85rem;
  color: rgba(245, 248, 255, 0.6);
  text-align: center;
}

.youtube-placeholder {
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: rgba(245, 248, 255, 0.4);
  border: var(--border-cyan);
  border-radius: 4px;
}

.youtube-placeholder .play-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
}

/* ── Carousel ── */
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--navy);
}

.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: var(--navy); }
.carousel::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

.carousel-item {
  flex: 0 0 auto;
  width: min(400px, 80vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: var(--border-cyan);
  transition: var(--transition);
}

.carousel-item:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--dark);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 26, 0.85) 0%, transparent 50%);
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
  z-index: 1;
}

figure { margin: 0; }

figcaption {
  font-size: 0.8rem;
  color: rgba(245, 248, 255, 0.5);
  margin-top: 0.5rem;
  text-align: center;
}

/* ── Founder Images ── */
.founder-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 232, 0.4);
  box-shadow: var(--glow);
  transition: var(--transition);
}

.founder-photo:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 200, 232, 0.5);
}

.founder-photo img {
  width: 100%;
  object-fit: cover;
}

.founder-photo .photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 14, 26, 0.85);
  border: 1px solid var(--cyan);
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(6, 14, 26, 0.4) 100%);
  pointer-events: none;
}

.inline-photo {
  float: right;
  width: min(320px, 100%);
  margin: 0 0 1.5rem 2rem;
}

.story-with-photo::after {
  content: '';
  display: table;
  clear: both;
}

/* ── Market Sections ── */
.market-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-section.accent-cyan { border-left: 4px solid var(--cyan); }
.market-section.accent-olive { border-left: 4px solid var(--olive); }
.market-section.accent-law { border-left: 4px solid var(--law-blue); }

.market-section .section-headline { color: var(--cyan); }
.market-section.accent-olive .section-headline { color: #8A9A7A; }
.market-section.accent-law .section-headline { color: #4A7AB8; }

.capabilities-list {
  list-style: none;
  margin: 1.5rem 0;
}

.capabilities-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: rgba(245, 248, 255, 0.85);
}

.capabilities-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.market-video {
  margin: 2rem 0;
  max-width: 700px;
}

.price-tag {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 200, 232, 0.1);
  border: 1px solid var(--cyan);
  font-family: var(--font-headline);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ── Press ── */
.copy-block {
  background: rgba(11, 31, 58, 0.5);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  position: relative;
}

.copy-block p, .copy-block ul {
  font-size: 0.95rem;
  user-select: all;
}

.copy-block ul { list-style: disc; padding-left: 1.5rem; }
.copy-block li { margin-bottom: 0.5rem; color: rgba(245, 248, 255, 0.85); }

.download-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.download-card .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  border: var(--border-cyan);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(245, 248, 255, 0.4);
  overflow: hidden;
}

.download-card .placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card h4 { margin-bottom: 0.5rem; font-size: 1rem; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ── Contact ── */
.contact-cards { margin: 3rem 0; }

.contact-card h3 {
  color: var(--cyan);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-card .email-link {
  font-weight: 600;
  font-size: 1rem;
  word-break: break-all;
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.6);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(6, 14, 26, 0.8);
  border: var(--border-cyan);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}

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

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

.info-strip {
  background: var(--navy);
  padding: 2rem 0;
  text-align: center;
  border-top: var(--border-cyan);
}

.info-strip p {
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.6);
  margin-bottom: 0.25rem;
}

/* ── Patent Claims ── */
.claims-list {
  list-style: none;
  columns: 1;
  margin: 2rem 0;
}

.claims-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.8);
  break-inside: avoid;
}

.claims-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.6rem;
  top: 0.85rem;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--navy) 100%);
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 4rem 0 0;
  border-top: var(--border-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.6);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.7);
}

.footer-links a:hover { color: var(--cyan); }

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 200, 232, 0.15);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245, 248, 255, 0.4);
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Three Videos Row ── */
.use-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.use-video-card {
  border: var(--border-cyan);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.use-video-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.use-video-card video { width: 100%; background: #000; }

.use-video-card .video-label {
  padding: 0.75rem 1rem;
  background: var(--navy);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ── Founder Hero Layout ── */
.founder-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.founder-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder-hero-images .founder-photo:first-child { grid-column: 1 / -1; }

.project-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ── Mobile Carousel Stack ── */
@media (max-width: 768px) {
  .carousel-mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: visible;
  }

  .carousel-mobile-stack .carousel-item {
    width: 100%;
  }
}

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

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }

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

  section { padding: 3.5rem 0; }

  .founder-hero-grid { grid-template-columns: 1fr; }
  .founder-hero-images { grid-template-columns: 1fr; }

  .inline-photo {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .claims-list { columns: 1; }

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

@media (min-width: 769px) {
  .claims-list { columns: 2; gap: 2rem; }
}

/* ── Admin Dashboard ── */
.admin-body {
  min-height: 100vh;
  background: var(--dark);
}

.admin-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.admin-alert {
  background: rgba(255, 180, 0, 0.1);
  border: 1px solid rgba(255, 180, 0, 0.4);
  color: #ffc107;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.admin-alert code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.admin-login-card {
  max-width: 420px;
  margin: 4rem auto;
  background: rgba(11, 31, 58, 0.8);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 2.5rem;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-header h1 {
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}

.admin-login-header p {
  font-size: 0.9rem;
  color: rgba(245, 248, 255, 0.6);
}

.admin-logo-icon {
  height: 48px;
  width: auto;
  margin: 0 auto;
  mix-blend-mode: screen;
}

.form-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.form-error.show { display: block; }

.admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border-cyan);
}

.admin-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.admin-user {
  font-size: 0.85rem;
  color: rgba(245, 248, 255, 0.5);
}

.admin-header-actions {
  display: flex;
  gap: 0.75rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: rgba(11, 31, 58, 0.6);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}

.admin-stat-number {
  font-family: var(--font-headline);
  font-size: 3rem;
  color: var(--cyan);
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.85rem;
  color: rgba(245, 248, 255, 0.6);
  margin-top: 0.5rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-tab {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: var(--border-cyan);
  border-radius: 4px;
  color: rgba(245, 248, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab:hover,
.admin-tab.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 200, 232, 0.08);
}

.admin-panel-toolbar {
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-end;
}

.admin-table-wrap {
  overflow-x: auto;
  border: var(--border-cyan);
  border-radius: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  background: var(--navy);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: var(--border-cyan);
}

.admin-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(0, 200, 232, 0.1);
  color: rgba(245, 248, 255, 0.85);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(0, 200, 232, 0.04);
}

.admin-empty {
  text-align: center;
  color: rgba(245, 248, 255, 0.4);
  padding: 2rem !important;
}

.admin-message-cell {
  max-width: 280px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 768px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-table { font-size: 0.8rem; }
  .admin-message-cell { max-width: 160px; }
}
