:root {
  --bg: #0f1512;
  --bg-soft: #151d18;
  --card: #18211b;
  --line: rgba(154, 255, 194, 0.14);
  --line-strong: rgba(126, 231, 135, 0.25);
  --text: #eef5ef;
  --muted: #b6c4ba;
  --green: #7ee787;
  --green-strong: #4fd16a;
  --accent: #d6ffd9;
  --shadow: 0 20px 50px rgba(0, 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, 0.10), transparent 28%),
    linear-gradient(180deg, #101612 0%, #0e1411 100%);
  color: var(--text);
  line-height: 1.6;
}

body.contact-page { --max: 920px; }

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, 0.05);
}

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

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

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

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

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

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

/* Shared typography */
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.9rem;
  background: rgba(126, 231, 135, 0.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 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

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

/* Front page */
.hero { padding: 5rem 0 3.2rem; }

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

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

.btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: none;
  cursor: pointer;
  font: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.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, 0.02);
}

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

.hero-card,
.plan,
.subdomain-box,
.info-card,
.cta-box,
.link-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card { padding: 1.5rem; }

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

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

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

section { padding: 2.8rem 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, 0.35);
  transform: translateY(-4px);
}

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

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

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

.price small {
  font-size: 0.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: 0.45rem 0; }

.plan-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

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

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.subdomain-box { padding: 1.5rem; }

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

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

.info-grid,
.link-grid {
  display: grid;
  gap: 1rem;
}

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

.info-card,
.link-card { padding: 1.2rem; }

.info-card h3,
.link-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.info-card p,
.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.link-card a {
  color: var(--accent);
  font-weight: 700;
}

.card-link { margin-top: 0.8rem; }

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

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

.pilot-badge {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 12px 18px;
  background: rgba(88, 225, 119, 0.14);
  color: #58e177;
  border: 1px solid rgba(88, 225, 119, 0.35);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.pilot-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #b8c8c0;
  max-width: 620px;
}

/* Contact page */
.contact-page main { padding: 4rem 0 5rem; }

.contact-page .intro { margin-bottom: 2rem; }

.contact-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.contact-page .lead {
  margin: 0;
  max-width: 720px;
  font-size: 1.08rem;
}

.contact-card {
  border-radius: 24px;
  padding: 1.6rem;
}

form {
  display: grid;
  gap: 1.1rem;
}

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

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

label {
  font-weight: 700;
  font-size: 0.98rem;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -0.1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(126, 231, 135, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select { appearance: none; }

.domain-row {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1rem;
  align-items: end;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0 0.1rem;
  color: var(--text);
  font-size: 1rem;
}

.checkbox-line input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--green);
}

.contact-page .subdomain-box {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 231, 135, 0.12);
  background: rgba(126, 231, 135, 0.05);
  box-shadow: none;
}

.subdomain-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.subdomain-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.subdomain-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.subdomain-options label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 400;
  font-size: 0.98rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.subdomain-options input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--green);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  padding-top: 0.4rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.hp-field { display: none; }

/* Footer */
footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-page footer { padding-top: 0; }

.footer-line {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left p { margin: 0 0 0.35rem; }

.footer-right {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  text-align: right;
  flex-wrap: wrap;
}

.footer-right a {
  color: #9fb3aa;
  text-decoration: none;
}

.footer-right a:hover { color: #58e177; }

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

  .plan.featured { transform: none; }
}

@media (max-width: 760px) {
  .grid-2,
  .domain-row,
  .subdomain-options {
    grid-template-columns: 1fr;
  }

  .contact-page main { padding-top: 3rem; }
}

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

  .nav { gap: 0.8rem; }

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