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

:root {
  --bg:        #080c10;
  --bg2:       #0d1117;
  --bg3:       #111820;
  --border:    rgba(255,255,255,0.07);
  --accent:    #00e5a0;
  --accent2:   #00b87a;
  --text:      #e8edf2;
  --muted:     #7a8a99;
  --white:     #ffffff;
  --radius:    12px;
  --font:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #040d08;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--accent2); transform: translateY(-1px); }
.btn--sm  { padding: 9px 18px; font-size: 14px; }
.btn--lg  { padding: 15px 32px; font-size: 16px; }
.btn--full { width: 100%; text-align: center; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(8,12,16,0.85);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-bio {
  color: var(--white);
  font-weight: 700;
}
.logo-prime {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 3px;
  margin-bottom: 7px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  filter: grayscale(20%);
  pointer-events: none;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,229,160,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,184,122,0.06) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(8,12,16,0.15) 0%, rgba(8,12,16,0.88) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero__scroll { z-index: 2; }
.badge {
  display: inline-block;
  border: 1px solid rgba(0,229,160,0.35);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.accent { color: var(--accent); }
.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Section commons ── */
.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 48px;
}

/* ── Services ── */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(0,229,160,0.3);
  transform: translateY(-3px);
}
.card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: grayscale(30%) brightness(0.75);
  transition: filter 0.3s;
}
.card:hover .card__img { filter: grayscale(10%) brightness(0.9); }
.card__body { padding: 28px 24px; }
.card__icon { font-size: 28px; margin-bottom: 14px; }
.card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Metrics ── */
.metrics {
  padding: 72px 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 640px) { .metrics__grid { grid-template-columns: repeat(2,1fr); } }
.metric__num {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric__label { font-size: 13px; color: var(--muted); }

/* ── How it works ── */
.how { padding: 100px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 700px) {
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); }
}
.step { flex: 1; }
.step__num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0,229,160,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.step__arrow {
  font-size: 24px;
  color: var(--border);
  padding-top: 12px;
  flex-shrink: 0;
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}
.contact__sub {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 15px;
}
.contact__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__perks li { font-size: 14px; color: var(--text); }

/* ── Form ── */
.form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.form__group { margin-bottom: 20px; }
.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.optional { color: var(--muted); font-weight: 400; }
.form__group input,
.form__group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--muted); }
.form__group input:focus,
.form__group textarea:focus { border-color: var(--accent); }
.form__status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}
.form__status--ok    { color: var(--accent); }
.form__status--error { color: #ff6b6b; }

/* ── Science grid ── */
.science {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.science__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 768px) {
  .science__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .science__grid { grid-template-columns: 1fr; }
}
.science__item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.science__item:hover { background: var(--bg3); }
.science__icon {
  display: block;
  font-size: 26px;
  margin-bottom: 14px;
}
.science__item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.science__item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer p { font-size: 13px; color: var(--muted); }
