@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── RESPONSIVE BREAKPOINT MIXIN ───────────────────── */
:root {
  --bg-deep: #030810;
  --bg-dark: #010f25;
  --bg-card: #0c1a30;
  --bg-section: #090f1f;
  --blue-mid: #01183d;
  --accent: #00c3ff;
  --accent-dim: rgba(0, 200, 224, 0.1);
  --accent-glow: #49d4ff;
  --white: #ffffff;
  --text-pri: #dce8f5;
  --text-sec: #b6d8ff;
  --border: rgba(0, 200, 224, 0.1);
  --border-mid: rgba(0, 200, 224, 0.25);
  --border-hi: rgba(0, 200, 224, 0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1160px;
  --nav-h: 100px;
  --r: 4px;
  --rl: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-pri);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.subhead {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(1, 15, 37, 0.9) 0%, rgba(1, 15, 37, 0.6) 60%, rgba(1, 15, 37, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}

nav.scrolled {
  background: var(--bg-dark);
  border-bottom-color: var(--border-mid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-logo-mark {
  display: none;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-sec);
}

.nav-cta {
  color: var(--bg-deep) !important;
  padding: 12px 20px;
  border-radius: var(--r);
  font-weight: 600 !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 6px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(3, 8, 16, 0.98);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 20px 28px 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav a {
  color: var(--text-pri);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav .m-cta {
  color: var(--accent);
  font-weight: 700;
}

/* ── HERO ──────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--blue-mid);
}

#hero-canvas {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--nav-h) 0 60px 0;
  max-width: 580px;
}

.hero-image-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 200, 224, 0.05) 25%, rgba(3, 8, 16, 0.5) 60%, rgba(3, 8, 16, 0.85) 100%);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 200, 224, 0.08);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 6px 18px 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-badge-dot {
  position: relative;
  top: -0.5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}
.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 570px;
  margin-bottom: 42px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--text-sec);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-cue span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.scroll-cue-line {
  width: 3px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: drip 2s ease-in-out infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* ── STATS STRIP ───────────────────────────────────── */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-cell {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-val {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-val em {
  font-style: normal;
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-sec);
  font-weight: 500;
}

/* ── TECHNOLOGY ────────────────────────────────────── */
#technology {
  padding: 110px 0;
  background: var(--bg-dark);
}

.tech-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tech-intro-text .subhead {
  margin-top: 18px;
  max-width: none;
}

.tech-intro-text p + p {
  margin-top: 14px;
}

.tech-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tech-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 200, 224, 0.06) 0%, transparent 70%);
}

.tech-visual-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: var(--r);
}

.tech-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}

.step-card {
  background: var(--bg-card);
  padding: 32px 26px;
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(0, 200, 224, 0.12);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.83rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.tech-callout {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(0, 200, 224, 0.07), rgba(0, 200, 224, 0.02));
  border: 1px solid var(--border-hi);
  border-radius: var(--rl);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.callout-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  flex-shrink: 0;
}

.tech-callout h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.tech-callout p {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ── ADVANTAGES ────────────────────────────────────── */
#advantages {
  padding: 0 0 110px 0;
  background: var(--bg-dark);
}

.adv-hdr {
  text-align: center;
  margin-bottom: 60px;
}

.adv-hdr .subhead {
  margin: 16px auto 0;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border-mid);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  gap: 1px;
}

.adv-card {
  background: var(--blue-mid);
  padding: 36px 30px;
  transition: background 0.2s;
}

.adv-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.adv-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 0.83rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ── ABOUT ─────────────────────────────────────────── */
#about {
  padding: 110px 0;
  background: var(--blue-mid);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body .subhead {
  margin-top: 18px;
  max-width: none;
}

.about-body p {
  margin-top: 16px;
  color: var(--text-sec);
  line-height: 1.78;
  font-size: 0.95rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-team-image {
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}

.team-figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
}

.team-img {
  width: 100%;
  height: auto;
  display: block;
}

.team-caption {
  padding: 16px 20px;
  font-size: 0.75rem;
  color: var(--white);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.cred {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.cred-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.cred h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.cred p {
  font-size: 0.78rem;
  color: var(--text-sec);
  line-height: 1.55;
}

.team-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0d2245, #050d1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 200, 224, 0.2);
}

.team-body {
  padding: 20px;
}

.team-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.team-body .role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.team-body p {
  font-size: 0.78rem;
  color: var(--text-sec);
  line-height: 1.55;
}

/* ── CONTACT ───────────────────────────────────────── */
#contact {
  padding: 110px 0;
  background: var(--bg-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .subhead {
  margin-top: 18px;
  max-width: none;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--white);
}

.c-detail-link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: rgba(255, 255, 255, 0.5);
          text-decoration-color: rgba(255, 255, 255, 0.5);
  -webkit-text-decoration-style: dotted;
          text-decoration-style: dotted;
}
.c-detail-link:hover, .c-detail-link:focus, .c-detail-link:active {
  text-decoration: none;
  color: var(--text-sec);
}

.c-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.form-group input::-moz-placeholder, .form-group textarea::-moz-placeholder {
  color: rgba(122, 155, 192, 0.85);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 155, 192, 0.85);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  color: var(--white);
  border-color: var(--accent);
  background: #000;
}

.form-group select option {
  background: #090f1f;
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 0.95rem;
}

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-sec);
  margin-top: 12px;
}

/* Honeypot field - hidden from users */
.hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* reCAPTCHA spacing */
form [data-netlify-recaptcha=true] {
  margin: 24px 0;
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-mid);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-sec);
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 40px) 28px 50px;
    max-width: none;
  }
  .hero-image-wrapper {
    height: 60vh;
    order: -1;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(3) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
  .stat-cell:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .tech-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-steps {
    grid-template-columns: 1fr 1fr;
  }
  .tech-callout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .adv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .tech-steps {
    grid-template-columns: 1fr;
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
}
