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

:root {
  --primary:          hsl(163, 88%, 20%);
  --primary-mid:      hsl(158, 53%, 59%);
  --primary-dark:     hsl(152, 41%, 52%);
  --forest:           #066046;
  --secondary-light:  hsl(159, 46%, 93%);
  --foreground:       hsl(240, 10%, 3.9%);
  --muted:            hsl(240, 3.8%, 46.1%);
  --background:       #ffffff;
  --border:           hsl(240, 5.9%, 90%);
  --radius:           0.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

/* ------------------------------------------------------------------ Layout */

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

.section {
  padding: 5rem 0;
}

.section-tinted {
  background: var(--secondary-light);
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------- Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.nav-logo {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.125rem;
  margin-left: auto;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--secondary-light);
}

.lang-toggle {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.625rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: border-color 0.15s, color 0.15s;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  background:
    radial-gradient(90% 75% at 100% 30%, hsl(163 70% 24%) 0%, transparent 65%),
    radial-gradient(70% 60% at 95% 100%, hsl(163 80% 16%) 0%, transparent 70%),
    var(--forest);
  color: #fff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(159 46% 90%);
  background: rgba(228, 245, 239, 0.12);
  border: 1px solid rgba(228, 245, 239, 0.2);
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(158 75% 60%);
  box-shadow: 0 0 0 0 hsl(158 75% 60% / 0.6);
  animation: greenPulse 2.4s ease-in-out infinite;
}

@keyframes greenPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 hsl(158 75% 60% / 0.55);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 6px hsl(158 75% 60% / 0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.875rem;
}

.hero-tagline {
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 200px;
  opacity: 0.1;
  filter: brightness(100);
}

/* ----------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary {
  background: #ffffff;
  color: var(--forest);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 6px 16px rgba(6,95,70,0.18);
}

.btn-primary:hover {
  background: var(--secondary-light);
  color: var(--forest);
}

.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s, border-color 0.15s;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------- Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--secondary-light);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem 1.75rem;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--primary-mid);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.09), 0 12px 24px rgba(0, 0, 0, 0.07);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.625rem;
}

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

/* ------------------------------------------------------------------- Pilot */

.pilot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
}

.badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.pilot-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.pilot-text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.pilot-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: 1.75rem;
  border-left: 2px solid hsl(163, 88%, 20%, 0.18);
  min-width: 200px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ---------------------------------------------------------------- Timeline */

.timeline {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.375rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--background);
  box-shadow: 0 0 0 2px var(--primary);
  margin-top: 0.125rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-marker--active {
  animation: blink 2.4s ease-in-out infinite;
}

.timeline-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

/* -------------------------------------------------------------------- Team */

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

.team-card {
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  border-color: var(--primary-mid);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.09), 0 12px 24px rgba(0, 0, 0, 0.07);
}

.team-avatar {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  margin: 0 auto 1.125rem;
}

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

.team-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.875rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.team-linkedin:hover {
  color: #0a66c2;
}

/* ----------------------------------------------------------------- Contact */

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: var(--muted);
  font-size: 1.0625rem;
}

.contact-detail {
  text-align: right;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.contact-link:hover {
  border-color: var(--primary);
}

/* ------------------------------------------------------------------ Footer */

.footer {
  background: var(--forest);
  padding: 2rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer-logo {
  width: 22px;
  height: 22px;
  filter: brightness(100);
  opacity: 0.75;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* -------------------------------------------------------------- Responsive */

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    display: none;
  }

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

  .pilot-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pilot-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: none;
    border-top: 2px solid hsl(163, 88%, 20%, 0.18);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1rem;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-detail {
    text-align: left;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
