:root {
  --bg: #f5f7fb;
  --ink: #142033;
  --muted: #667085;
  --panel: #ffffff;
  --line: #d9e1ec;
  --brand: #0f8b8d;
  --brand-dark: #0b6567;
  --accent: #f2a541;
  --night: #101828;
  --shadow: 0 18px 44px rgba(20, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(245, 247, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.login-link,
.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
}

.login-link,
.ghost {
  background: #e8eef6;
  color: var(--ink);
}

.primary {
  color: white;
  background: var(--brand);
}

.primary:hover {
  background: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 58px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(rgba(16, 24, 40, 0.62), rgba(16, 24, 40, 0.56)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.domain-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0 12px;
}

.domain-search input,
.domain-search button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
}

.domain-search button {
  color: white;
  background: var(--brand);
  cursor: pointer;
}

.domain-result {
  display: none;
  max-width: 720px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.58);
}

.domain-result.active {
  display: block;
}

.domain-result-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.domain-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.domain-option {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.domain-option h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.domain-option p {
  margin: 0;
  color: #e5e7eb;
}

.domain-option .price {
  color: white;
  font-size: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.status-line {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e5e7eb;
}

.status-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
}

.metric {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.metric strong {
  font-size: 28px;
}

.metric small {
  color: #d1d5db;
}

.band {
  padding: 58px clamp(18px, 5vw, 64px);
}

.band.light {
  background: white;
}

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

.section-head h2,
.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.section-head p,
.cta p {
  color: var(--muted);
  line-height: 1.6;
}

.features,
.plans,
.servers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.features article,
.plan,
.server {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.features h3,
.plan h3,
.server h3 {
  margin: 0;
}

.features p,
.plan p,
.server p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price {
  font-size: 30px;
  font-weight: 900;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specs span,
.badge {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e8eef6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.badge.available {
  background: #d1f2df;
  color: #0f5132;
}

.cta {
  margin: 0 clamp(18px, 5vw, 64px) 58px;
  padding: 34px;
  border-radius: 8px;
  background: var(--night);
  color: white;
}

.cta p {
  max-width: 760px;
  color: #d1d5db;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  nav {
    display: none;
  }

  .domain-search {
    grid-template-columns: 1fr;
  }

  .domain-options {
    grid-template-columns: 1fr;
  }
}
