:root {
  --brand-primary: #26c2d1;
  --brand-primary-strong: #4dd8e5;
  --brand-accent: #f7d24b;
  --bg-base: #07141d;
  --bg-radial: #102736;
  --bg-section: #0a1c28;
  --surface: rgba(9, 29, 41, 0.82);
  --surface-alt: rgba(7, 23, 33, 0.92);
  --border: rgba(77, 216, 229, 0.2);
  --border-strong: rgba(247, 210, 75, 0.4);
  --text-main: #edf6fb;
  --text-muted: #a8c3d2;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: var(--bg-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 20, 29, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
}

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

.nav-cta {
  background: var(--brand-primary);
  color: var(--bg-base) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 150ms ease !important;
}

.nav-cta:hover {
  background: var(--brand-primary-strong) !important;
}

/* ── Hero ── */
.hero {
  padding: 10rem 1.5rem 5rem;
  background: radial-gradient(ellipse at 30% 20%, rgba(38, 194, 209, 0.08), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(247, 210, 75, 0.05), transparent 50%),
              var(--bg-base);
}

.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 100ms ease;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--bg-base);
}

.btn-primary:hover {
  background: var(--brand-primary-strong);
}

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

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-strong);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

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

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

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1.6rem;
  letter-spacing: -0.015em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── Two-column layouts ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Mission values ── */
.mission-values {
  display: grid;
  gap: 1rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.value-icon {
  color: var(--brand-accent);
  font-size: 0.85rem;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.4rem 0 0.25rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Metrics ── */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand-accent);
  text-shadow: 0 0 18px rgba(247, 210, 75, 0.15);
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Tech stack ── */
.tech-stack {
  display: grid;
  gap: 0.8rem;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
}

.tech-item strong {
  color: var(--brand-primary-strong);
  font-weight: 600;
}

.tech-item span {
  color: var(--text-muted);
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: var(--bg-base);
  font-weight: 800;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

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

/* ── CTA section ── */
.section-cta {
  background: radial-gradient(ellipse at center, rgba(38, 194, 209, 0.06), transparent 70%),
              var(--bg-base);
  text-align: center;
  padding: 5rem 0;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta-inner p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-powered {
  color: var(--brand-primary);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

@media (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 7rem 1.2rem 3rem;
  }
}
