*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b0f14;
  --bg-card: #121820;
  --bg-elevated: #181f2a;
  --border: #252f3d;
  --border-light: #2f3b4d;
  --text: #e8edf4;
  --text-muted: #8b97a8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, 0.12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.logo__icon {
  opacity: 0.9;
}

.logo__text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo__muted {
  color: var(--text-muted);
  font-weight: 500;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 4vw 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.nav__mobile a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__mobile.open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--dashboard {
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}

.btn--dashboard:hover {
  background: var(--accent-hover);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--tier {
  width: 100%;
  margin-top: 1.25rem;
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn--tier:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--tier-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--tier-featured:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: 640px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Sections */
.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.925rem;
  max-width: 520px;
}

/* Features */
.features {
  padding: 3.5rem 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Pricing */
.pricing {
  padding: 3.5rem 0;
}

.pricing--minecraft {
  padding-bottom: 2rem;
}

.pricing--vps {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  padding-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.tier-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.tier-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--bg-card) 35%);
}

.tier-card__label {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-card__icon {
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.tier-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tier-card__note {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tier-card--custom {
  border-style: dashed;
  border-color: var(--border-light);
}

.tier-card--custom .tier-card__name {
  color: var(--accent);
}

.tier-card--custom .btn--tier:hover {
  background: var(--accent-muted);
}

.tier-card__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-card__specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.tier-card__specs li:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* CTA */
.cta {
  padding: 0 0 4rem;
}

.cta__inner {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cta__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cta__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer__links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .nav__links,
  .nav > .btn--dashboard {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
