:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 80px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.7));
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, #4f46e5);
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.7);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #22d3ee);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

main {
  padding: 1.8rem 0 3rem;
}

section {
  display: none;
}

section.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-top: 1.4rem;
  padding-bottom: 2.4rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.17rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.2), transparent 55%);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.hero h1 span {
  background: linear-gradient(90deg, #a5b4fc, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
}

.hero-meta span strong {
  color: #e5e7eb;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  color: #0b1020;
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(79, 70, 229, 0.55);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #4f46e5;
  background: rgba(30, 64, 175, 0.45);
}

.hero-image {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 65%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
}

.hero-pill {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.7rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(8px);
}

.hero-pill strong {
  color: #e5e7eb;
  font-weight: 500;
}

.section-title {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.3rem;
  max-width: 32rem;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.server-card {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), rgba(15, 23, 42, 0.95));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.server-card h3 {
  font-size: 1rem;
}

.server-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

.server-price {
  font-size: 1.05rem;
  font-weight: 600;
}

.server-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.server-specs {
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  display: grid;
  gap: 0.2rem;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.server-specs li strong {
  color: #e5e7eb;
  font-weight: 500;
}

.server-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.server-loc {
  font-size: 0.72rem;
  color: var(--muted);
}

.server-label {
  font-size: 0.72rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.25);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.server-btn {
  margin-top: 0.4rem;
  align-self: stretch;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 1.4rem;
}

.order-panel {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem;
}

.order-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.order-panel p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.order-grid {
  display: grid;
  gap: 0.7rem;
}

.field {
  display: grid;
  gap: 0.22rem;
  font-size: 0.82rem;
}

.field-label {
  color: #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.field-label span {
  color: var(--muted);
  font-size: 0.72rem;
}

select {
  background: #020617;
  border-radius: 0.55rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.45rem 0.6rem;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  width: 100%;
}

select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.order-summary {
  border-radius: 0.9rem;
  border: 1px solid rgba(79, 70, 229, 0.6);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.98));
  padding: 1rem;
  position: sticky;
  top: 5.2rem;
}

.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.order-summary h3 {
  font-size: 1rem;
}

.order-summary small {
  font-size: 0.72rem;
  color: var(--muted);
}

.price-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.price-value span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.summary-list {
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  display: grid;
  gap: 0.18rem;
  margin: 0.5rem 0 0.8rem;
}

.summary-list strong {
  font-weight: 500;
  color: #e5e7eb;
}

.order-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.order-safe {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.order-safe-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.6);
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #16a34a);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.os-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  padding: 0.5rem 0.45rem 0.55rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  text-align: center;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, transform 0.12s ease-out;
}

.os-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 0.15rem;
}

.os-name {
  color: #e5e7eb;
  font-weight: 500;
}

.os-version {
  color: var(--muted);
  font-size: 0.7rem;
}

.os-card.os-selected {
  border-color: #4f46e5;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.3), #020617);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.7);
  transform: translateY(-1px);
}

.range-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.range-row span {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 70px;
  text-align: right;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5 0%, #22d3ee 100%);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f9fafb;
  border: 2px solid #4f46e5;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f9fafb;
  border: 2px solid #4f46e5;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35);
}

.option-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
  font-size: 0.74rem;
}

.badge {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--muted);
}

.badge strong {
  color: #e5e7eb;
}

.notes-input {
  resize: vertical;
  min-height: 70px;
  background: #020617;
  border-radius: 0.55rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.45rem 0.6rem;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
}

.text-page {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.4rem;
}

.text-page h1 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.text-page p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.8rem;
}

.pill {
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  color: var(--muted);
}

.about-image,
.contact-card {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  padding: 1rem;
}

.about-image img {
  border-radius: 0.7rem;
  margin-bottom: 0.6rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.about-stat strong {
  display: block;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.contact-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-item {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.contact-value {
  color: #e5e7eb;
}

.contact-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.checkout-page {
  max-width: 720px;
  margin: 1.6rem auto 0;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  padding: 1.4rem 1.2rem;
}

.checkout-page h1 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.checkout-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1rem;
}

.checkout-field {
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
}

.checkout-field label {
  display: block;
  margin-bottom: 0.18rem;
  color: #e5e7eb;
}

.checkout-field input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}

.checkout-field input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
}

.checkout-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.checkout-summary-box {
  border-radius: 0.8rem;
  border: 1px solid rgba(79, 70, 229, 0.6);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.98));
  padding: 0.9rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.checkout-summary-box h2 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.checkout-summary-box ul {
  list-style: none;
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.4rem;
}

.checkout-summary-box strong {
  color: #e5e7eb;
}

.checkout-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 0.7rem 0 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(6px);
  z-index: 40;
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .order-layout,
  .text-page,
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-summary {
    position: static;
  }

  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .server-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta span {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    justify-content: stretch;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .os-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}