/* ========= Global tokens ========= */
:root {
  --bg-0: #07151a; /* header/top */
  --bg-1: #0b2026; /* hero mid */
  --bg-2: #0f2c33; /* sections */
  --accent: #00ffff;
  --accent-2: #ff00ff;
  --elev-1: rgba(255, 255, 255, 0.06);
  --text-0: #eaf6f7;
  --text-1: #ffffff;
  --header-h: 64px;
}

/* ========= Base ========= */
html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text-0);
  background: linear-gradient(to bottom, var(--bg-0), var(--bg-2));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}

/* ========= Generic layout ========= */
.container {
  width: min(92vw, 1100px);
  margin-inline: auto;
}

/* Buttons (shared) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn.secondary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--elev-1);
}
.btn.block {
  width: 100%;
}

/* Invisible label helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ========= Sections ========= */
.section {
  padding: 88px 0;
  background: transparent;
  border-top: 1px solid var(--elev-1);
}
.section.alt {
  background: rgba(255, 255, 255, 0.015);
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.6vw, 36px);
}
.section-sub {
  margin: 0 0 28px;
  color: #b7c9cc;
}

/* ========= Cards / Grids ========= */
.grid {
  display: grid;
  gap: 18px;
}

/* 3-up auto-fit cards */
.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 18px 18px 20px;
  border: 1px solid var(--elev-1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}
.card-ico {
  font-size: 22px;
}

/* ========= “How it works” steps ========= */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  padding: 18px 18px 20px;
  border: 1px solid var(--elev-1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.steps li h3 {
  margin: 0 0 6px;
}
.steps li h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  opacity: 0.7;
}

/* ========= Testimonials ========= */
.quotes-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.quote {
  padding: 18px 18px 20px;
  border: 1px solid var(--elev-1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.quote p {
  margin: 0 0 10px;
  font-weight: 600;
}
.quote footer {
  color: #b7c9cc;
}

/* ========= Pricing ========= */
.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.price-card {
  padding: 18px 18px 22px;
  border: 1px solid var(--elev-1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.price-card .price {
  font-size: 28px;
  margin: 8px 0 12px;
}
.price-card .price span {
  font-size: 14px;
  opacity: 0.85;
}
.price-card .list {
  margin: 0 0 16px;
  padding-left: 18px;
}
.price-card .btn.block {
  width: 100%;
}

.price-card.highlight {
  outline: 2px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 8px 26px rgba(0, 255, 255, 0.08);
  position: relative;
}
.price-card .chip {
  position: absolute;
  top: -12px;
  right: 12px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ========= CTA section ========= */
.section.cta {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
}
.cta-inner {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.cta-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--elev-1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-1);
  padding: 0 12px;
}
@media (max-width: 860px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

/* ========= Footer ========= */
.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  padding: 28px 0;
  border-top: 1px solid var(--elev-1);
}
.footer-grid nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.small.muted {
  color: #9cb1b6;
}

/* ========= (Nav is styled in nav_bar/nav.css) ========= */
