:root {
  --bg: #04070a;
  --bg-soft: #091015;
  --surface: rgba(9, 16, 21, 0.84);
  --surface-strong: rgba(7, 12, 16, 0.96);
  --surface-alt: #0b1318;
  --text: #edf7f2;
  --muted: #9bb0a3;
  --line: rgba(0, 200, 83, 0.14);
  --line-strong: rgba(0, 200, 83, 0.32);
  --primary: #00c853;
  --primary-strong: #00e676;
  --primary-soft: rgba(0, 200, 83, 0.10);
  --primary-glow: rgba(0, 230, 118, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 230, 118, 0.04), transparent 24%),
    linear-gradient(180deg, #020406 0%, #04070a 50%, #05090c 100%);
  color: var(--text);
  position: relative;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.bg-grid,
.bg-noise,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 95%);
}

.bg-noise {
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.5) 0.6px, transparent 0.7px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,0.4) 0.6px, transparent 0.7px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.3) 0.6px, transparent 0.7px);
  background-size: 18px 18px;
}

.bg-glow-1 { background: radial-gradient(circle at 15% 10%, rgba(0, 230, 118, 0.08), transparent 24%); }
.bg-glow-2 { background: radial-gradient(circle at 85% 16%, rgba(0, 200, 83, 0.10), transparent 20%); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 10, 0.76);
  border-bottom: 1px solid rgba(0, 200, 83, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #031009;
  background: linear-gradient(135deg, #00e676, #00c853);
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.18), 0 0 24px rgba(0, 200, 83, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: 180ms ease;
}

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

.hero {
  padding: 82px 0 38px;
}

.hero-grid,
.contact-grid,
.experience-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.card {
  background: linear-gradient(180deg, rgba(8, 15, 20, 0.88), rgba(5, 10, 14, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 28px;
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.05), transparent 28%, transparent 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.08), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: #66db93;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lead,
.section-heading p,
.experience-grid p,
.cta p,
.contact-grid p,
.card p,
.panel-list span,
.metric span,
.timeline-item p,
.contact-form label,
.strip-card span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions { margin: 28px 0 22px; }

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 83, 0.12);
  background: rgba(0, 200, 83, 0.06);
  color: #d9f8e5;
  font-size: 0.92rem;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 118, 0.28);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.06), 0 0 24px rgba(0, 200, 83, 0.10), var(--shadow);
}

.hero-panel h2 { margin-top: 8px; }

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-label,
.panel-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.panel-label { color: #66db93; }
.panel-signal {
  color: #d4ffe4;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.16);
}

.panel-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.panel-list div,
.metric,
.timeline-item {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 200, 83, 0.10);
}

.panel-list strong,
.metric strong { display: block; margin-bottom: 6px; }

.section { padding: 42px 0; }

.intro-strip { padding-top: 8px; }
.strip-grid,
.value-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mini { padding: 22px; }
.mini strong { display: block; margin-bottom: 8px; }

.alt .card,
.section.alt .experience-box,
.section.alt .contact-card,
.section.alt .contact-form {
  background: linear-gradient(180deg, rgba(9, 16, 21, 0.90), rgba(4, 8, 11, 0.98));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.narrow { max-width: 640px; }

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

.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.step {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.10);
  border: 1px solid rgba(0, 200, 83, 0.18);
  color: #cffff0;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  color: #04100a;
  background: linear-gradient(90deg, #00c853, #00e676);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 6px rgba(0, 230, 118, 0.55),
    0 0 18px rgba(0, 200, 83, 0.32),
    0 0 32px rgba(0, 200, 83, 0.18);
}

.btn-secondary,
.btn-outline {
  border-color: rgba(0, 200, 83, 0.14);
  background: rgba(0, 200, 83, 0.04);
  color: var(--text);
}
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 230, 118, 0.26);
  box-shadow:
    0 0 8px rgba(0, 230, 118, 0.06),
    0 0 18px rgba(0, 200, 83, 0.10);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-card p:last-child { margin-bottom: 0; }

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 200, 83, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 230, 118, 0.32);
  box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(0, 200, 83, 0.08);
  padding: 24px 0 42px;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .experience-grid,
  .timeline,
  .cards-grid,
  .strip-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav { flex-direction: column; min-height: auto; padding: 16px 0; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero-copy { padding: 28px; }
  .hero-grid,
  .contact-grid,
  .experience-grid,
  .timeline,
  .cards-grid,
  .strip-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
