:root {
  --bg: #04111f;
  --bg-soft: #0a1c2f;
  --card: rgba(10, 28, 47, 0.72);
  --card-strong: rgba(12, 37, 56, 0.94);
  --line: rgba(127, 255, 214, 0.16);
  --text: #f4fbff;
  --muted: #9fc2d2;
  --green: #7df66e;
  --cyan: #3ce5ff;
  --gold: #ffcc58;
  --violet: #a87dff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --orange: #ff9f43;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", Bahnschrift, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 212, 170, 0.22), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 159, 67, 0.16), transparent 20%),
    linear-gradient(180deg, #020812 0%, #071827 54%, #03111e 100%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 12px;
  background: #beff78;
  color: #04111f;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 28px 32px;
  border: 1px solid rgba(125, 246, 110, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(12, 29, 44, 0.9), rgba(4, 13, 23, 0.82)),
    rgba(10, 28, 47, 0.7);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 229, 255, 0.28), transparent 70%);
  filter: blur(6px);
}

.topbar,
.hero-grid,
.plans-grid,
.promo-section,
.features-grid,
.faq-grid,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 72px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.button:focus-visible {
  color: var(--text);
  outline: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.promo-copy h2 {
  margin: 0;
  line-height: 1.03;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 11ch;
}

.hero-text,
.promo-copy p,
.plan-copy,
.features-grid p,
.faq-grid p,
.footer p,
.trust-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.06rem;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-links a:focus-visible {
  box-shadow: 0 0 0 3px rgba(60, 229, 255, 0.28);
  border-radius: 999px;
}

.button-primary {
  color: #062011;
  background: linear-gradient(135deg, var(--green), #beff78);
  box-shadow: 0 14px 30px rgba(125, 246, 110, 0.24);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(159, 194, 210, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.stat-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.stat-row li,
.server-card,
.feature-stack article,
.plan-card,
.features-grid article,
.faq-grid article,
.promo-visual {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.stat-row li {
  padding: 16px;
  border-radius: 20px;
}

.stat-row strong {
  display: block;
  color: var(--green);
  font-size: 1.4rem;
}

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

.hero-panel {
  padding: 8px;
}

.server-label,
.metric-title,
.plan-name {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--cyan);
}

.feature-stack article,
.features-grid article,
.faq-grid article {
  padding: 18px 20px;
  border-radius: 22px;
}

.feature-stack span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.hero-image-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(60, 229, 255, 0.18);
  background: linear-gradient(180deg, rgba(4, 18, 31, 0.95), rgba(8, 26, 42, 0.92));
  box-shadow: var(--shadow);
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.trust-strip {
  padding: 22px 12px 0;
  text-align: center;
}

.trust-strip p {
  margin: 0;
}

.plans-section,
.promo-section,
.features-section,
.faq-section,
.contact-section {
  padding: 84px 0 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.promo-copy h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.plans-grid,
.features-grid,
.faq-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 28px;
}

.plan-card.featured {
  transform: translateY(-10px);
  border-color: rgba(125, 246, 110, 0.38);
  background: linear-gradient(180deg, rgba(10, 35, 46, 0.96), rgba(5, 18, 31, 0.92));
}

.plan-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.1;
}

.plan-card ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}

.plan-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(159, 194, 210, 0.12);
}

.plan-card .button {
  margin-top: auto;
}

.promo-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 22px;
  align-items: center;
}

.promo-visual {
  margin: 0;
  padding: 22px;
  border-radius: 28px;
}

.setup-steps {
  display: grid;
  gap: 16px;
}

.setup-steps article {
  padding: 18px 18px 18px 78px;
  border-radius: 22px;
  border: 1px solid rgba(159, 194, 210, 0.14);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.setup-steps span {
  position: absolute;
  left: 20px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #ffd36f);
  color: #1a1305;
  font-weight: 800;
}

.setup-steps h3 {
  margin: 0 0 8px;
}

.setup-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.features-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features-grid h3,
.faq-grid h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-heading p {
  max-width: 62ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

.contact-summary {
  display: grid;
  gap: 16px;
}

.contact-summary article,
.contact-form,
.form-section,
.choice-group {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.contact-summary article {
  padding: 20px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.contact-summary article span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #ffd36f);
  color: #1a1305;
  font-weight: 800;
}

.contact-summary h3,
.form-section-title h3 {
  margin: 16px 0 8px;
}

.contact-summary p,
.form-section-title p,
.field span,
.choice-group legend,
.form-status {
  color: var(--muted);
}

.contact-form {
  padding: 24px;
  border-radius: 30px;
}

.form-section {
  padding: 20px;
  border-radius: 24px;
}

.form-section + .form-section {
  margin-top: 18px;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field span,
.choice-group legend {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(159, 194, 210, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(3, 12, 20, 0.72);
  color: var(--text);
  font: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(159, 194, 210, 0.72);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(60, 229, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(60, 229, 255, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-full {
  grid-column: 1 / -1;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.choice-group {
  margin: 0;
  padding: 18px;
  border-radius: 22px;
}

.choice-group legend {
  padding: 0 8px;
}

.choice-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.form-actions .button,
.form-actions button {
  cursor: pointer;
}

.form-actions button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: #ff8f8f;
}

.form-status[data-state="warning"] {
  color: var(--gold);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 84px 0 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(4, 18, 31, 0.74);
}

.brand-footer {
  margin: 0 0 12px;
}

.brand-footer img {
  height: 82px;
}

@media (max-width: 980px) {
  .hero-grid,
  .plans-grid,
  .promo-section,
  .features-grid,
  .faq-grid,
  .contact-layout,
  .choice-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding: 20px 18px 26px;
    border-radius: 24px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 58px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-grid {
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
    max-width: none;
  }

  .server-metrics {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .setup-steps article {
    padding-left: 18px;
    padding-top: 72px;
  }

  .hero-image-card img {
    min-height: 280px;
  }

  .brand-footer img {
    height: 64px;
  }
}
