:root {
  --bg: #0b0b0d;
  --surface: #141418;
  --surface-alt: #181820;
  --red: #b11226;
  --plex: #e5a00d;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --border: #2a2a2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
}

.logo span {
  color: var(--plex);
}

nav a {
  color: var(--muted);
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--plex);
}

.hero {
  background: linear-gradient(180deg, #141418, #0b0b0d);
  text-align: center;
  padding: 4rem 0;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta {
  margin-top: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.95rem;
}

.primary {
  background: var(--plex);
  color: #000;
  font-weight: 600;
}

.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

.feature {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.feature h3 {
  margin-top: 0;
}

/* Generic section styles */

.section-dark {
  background: var(--surface);
}

.section-light {
  background: #101015;
}

.section-dark .container,
.section-light .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 2rem;
}

/* Pricing */

.pricing {
  background: var(--surface);
}

.pricing h2 {
  margin-top: 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.plan {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  background: #101015;
}

.plan.highlight {
  border-color: var(--plex);
  box-shadow: 0 0 0 1px rgba(229, 160, 13, 0.2);
}

.plan h3 {
  margin-top: 0;
}

.price {
  font-size: 1.5rem;
  color: var(--plex);
  margin-bottom: 0.5rem;
}

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

.plan ul {
  padding-left: 1.25rem;
}

.payment {
  margin-top: 2rem;
  font-size: 0.95rem;
}

.payment a {
  color: var(--plex);
  text-decoration: none;
}

.payment a:hover {
  text-decoration: underline;
}

/* Lifetime banner */

.lifetime-banner {
  background: #181820;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lifetime-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.lifetime-banner h3 {
  margin: 0 0 0.5rem;
}

.lifetime-banner p {
  margin: 0;
  color: var(--muted);
}

.lifetime-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.counter-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.counter-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--plex);
}

/* Cost savings */

.cost-savings h2 {
  margin-top: 0;
}

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

.comparison-card {
  background: #101015;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.comparison-card h3 {
  margin-top: 0;
}

.comparison-card ul {
  padding-left: 1.25rem;
}

.comparison-price {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.plex-color {
  color: var(--plex);
}

/* What you get */

.what-you-get {
  background: #0b0b0f;
}

.what-you-get .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.what-you-get h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

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

.benefit {
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.benefit h3 {
  margin-top: 0;
}

/* How it works */

.how-it-works h2 {
  margin-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.step {
  background: #101015;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.step h3 {
  margin-top: 0;
}

/* Testimonials */

.testimonials h2 {
  margin-top: 0;
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.testimonial {
  background: #101015;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.testimonial.placeholder {
  opacity: 0.8;
}

.quote {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.author {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Server specs */

.server-specs h2 {
  margin-top: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.spec-item {
  background: #101015;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.spec-item h3 {
  margin-top: 0;
}

.donation-callout {
  background: #181820;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.donation-callout h3 {
  margin-top: 0;
}

.donation-callout a {
  color: var(--plex);
  text-decoration: none;
}

.donation-callout a:hover {
  text-decoration: underline;
}

/* Status */

.status-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 6px;
}

.status-box.online .dot {
  background: #2ecc71;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  background: #0b0b0d;
}

.footer .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer .links a {
  color: var(--muted);
  margin: 0 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer .links a:hover {
  color: var(--plex);
}

/* Misc */

.muted {
  color: var(--muted);
}

/* Responsive tweaks */

@media (max-width: 700px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .lifetime-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
