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

:root {
  --bg:         #080c10;
  --bg-dark:    #050709;
  --bg-card:    #0d1117;
  --border:     rgba(255,255,255,0.07);
  --accent:     #4a9eff;
  --accent-dim: rgba(74,158,255,0.15);
  --text:       #e8edf2;
  --text-muted: #6b7a8d;
  --text-faint: #3a4550;
  --font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* SVG filter: black fill → white for dark backgrounds */
  --svg-to-white: brightness(0) invert(1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(8,12,16,0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  height: 30px;
  width: auto;
  filter: var(--svg-to-white);
  opacity: 0.92;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  height: 20px;
  width: auto;
  filter: var(--svg-to-white);
}

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

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

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

.nav-cta {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text) !important;
  transition: border-color 0.2s, background 0.2s !important;
}

.nav-cta:hover {
  border-color: var(--accent) !important;
  background: var(--accent-dim) !important;
}

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

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,158,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Planet mark — atmospheric background decoration */
.hero-decoration {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-38%);
  width: clamp(380px, 46vw, 640px);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-decoration img {
  width: 100%;
  display: block;
  /* black SVG → tinted white with a blue atmospheric glow */
  filter: var(--svg-to-white) drop-shadow(0 0 80px rgba(74,158,255,0.35));
  opacity: 0.13;
  /* fade inward from edges so it dissolves into the background */
  mask-image: radial-gradient(
    ellipse 62% 68% at 60% 44%,
    black 10%,
    rgba(0,0,0,0.7) 45%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 62% 68% at 60% 44%,
    black 10%,
    rgba(0,0,0,0.7) 45%,
    transparent 78%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #080c10;
}

.btn-primary:hover { background: #6cb3ff; }

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

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

.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── Logo Bar ──────────────────────────────────────────────── */
.logos-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg-dark);
}

.logos-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.logos-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.logos-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-placeholder {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 7rem 0; }

.section-dark { background: var(--bg-dark); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2,
.about-text h2,
.contact-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Capability Cards ──────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.card:hover { background: #111820; }

.card-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── About ─────────────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-text .btn { margin-top: 0.75rem; }

.about-stat-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat { border-left: 2px solid var(--accent); padding-left: 1.5rem; }

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ── Team ──────────────────────────────────────────────────── */
.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
}

.team-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.team-photo-placeholder {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(74,158,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.team-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.team-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner .section-eyebrow { margin-bottom: 0.75rem; }
.contact-inner h2 { margin-bottom: 1rem; }
.contact-inner .section-sub { margin-bottom: 2.5rem; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  background: var(--bg-dark);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-wordmark {
  height: 16px;
  width: auto;
  filter: var(--svg-to-white);
  opacity: 0.55;
}

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-decoration { opacity: 0.07; }
}

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

  .hero-decoration {
    width: clamp(280px, 80vw, 420px);
    right: -15%;
    opacity: 0.06;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-cards { grid-template-columns: 1fr; }

  .team-card { flex-direction: column; }

  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
