:root {
  --bg: #0f1512;
  --bg-soft: #151d18;
  --card: #18211b;
  --line: rgba(154, 255, 194, 0.14);
  --text: #eef5ef;
  --muted: #b6c4ba;
  --green: #7ee787;
  --green-strong: #4fd16a;
  --accent: #d6ffd9;
  --shadow: 0 20px 50px rgba(0,0,0,.28);
  --radius: 18px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(126,231,135,.10), transparent 28%),
    linear-gradient(180deg, #101612 0%, #0e1411 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(15, 21, 18, 0.84);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand span { color: var(--green); }

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: .96rem;
}

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

.nav .cta-small {
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #0d140f;
  font-weight: 700;
}

.hero { padding: 5rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: .9rem;
  background: rgba(126,231,135,.05);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.lead {
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-block;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: .95;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #0d140f;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.02);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  color: var(--muted);
  font-size: .96rem;
}

.hero-card,
.plan,
.subdomain-box,
.cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card { padding: 1.5rem; }

.hero-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.hero-card p { color: var(--muted); }

section { padding: 2.6rem 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.plan {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: rgba(126,231,135,.35);
  transform: translateY(-4px);
}

.plan h3 {
  margin: 0 0 .4rem;
  font-size: 1.35rem;
}

.plan .intro {
  color: var(--muted);
  margin: 0 0 1rem;
  min-height: 3.2em;
}

.price {
  margin: .3rem 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.price small {
  font-size: .95rem;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.plan li { margin: .45rem 0; }

.plan-btn {
  margin-top: auto;
  text-align: center;
  padding: .9rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.plan.featured .plan-btn {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  border: none;
  color: #0d140f;
}

.subdomain-box { padding: 1.5rem; }

.examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}

.example {
  padding: .95rem 1rem;
  border-radius: 14px;
  background: rgba(126,231,135,.05);
  border: 1px solid rgba(126,231,135,.12);
  color: var(--accent);
  font-family: monospace;
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.cta-box {
  padding: 2rem;
  text-align: center;
}

.cta-box p {
  margin: 0 auto 1.2rem;
  max-width: 700px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .plans,
  .examples {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: .8rem;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 720px) {
  .footer-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* ===== FOOTER ===== */

footer {
  margin-top: 5rem;
  padding: 2rem 0;
  background: #111713;
  border-top: 1px solid rgba(126, 231, 135, 0.08);
}

.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-brand {
  color: #9aa7a0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.footer-links a {
  color: #9aa7a0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #7ee787;
}

@media (max-width: 720px) {
  .footer-line {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .footer-line {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ===== CONTACT FORM ===== */

.contact-section {
  padding-top: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 680px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(126,231,135,.45);
  background: rgba(255,255,255,.05);
}

.contact-form button {
  align-self: flex-start;
}

.contact-form select {
  appearance: none;
}

.honeypot {
  display: none;
}

.pilot-offer {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 1.4rem 0 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(126, 231, 135, 0.10);
  color: var(--accent);
  border: 1px solid rgba(126, 231, 135, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pilot-offer strong {
  font-weight: 800;
}

.pilot-offer span {
  font-size: 0.92rem;
  color: var(--muted);
}

.pilot-note {
  max-width: 680px;
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}
