@font-face {
  font-family: "Neuzeit Gro";
  src: url("assets/fonts/NeuzeitGro-Reg-subset.woff2") format("woff2"),
    url("assets/fonts/NeuzeitGro-Reg.woff") format("woff"),
    url("assets/fonts/NeuzeitGro-Reg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neuzeit Gro";
  src: url("assets/fonts/NeuzeitGro-Bol-subset.woff2") format("woff2"),
    url("assets/fonts/NeuzeitGro-Bol.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neuzeit Gro";
  src: url("assets/fonts/NeuzeitGro-Bla-subset.woff2") format("woff2"),
    url("assets/fonts/NeuzeitGro-Bla.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0c0f14;
  --surface-2: #141821;
  --surface-3: #0b0e14;
  --text: #f6f7fb;
  --muted: #9ca6b5;
  --accent-main: #2cb7c4;
  --accent-yellow: #f5c84c;
  --accent-blue: #00a4ed;
  --border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: "Neuzeit Gro", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #050a0f 0%, #0a192f 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  font-size-adjust: 0.46;
}

.pricing .footer {
  background: #010206;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(44, 183, 196, 0.22), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(0, 164, 237, 0.2), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(44, 183, 196, 0.18), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.2;
  animation: gridDrift 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 12;
  padding: 0;
  background: rgba(9, 13, 20, 0.76);
  backdrop-filter: blur(18px);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

main {
  position: relative;
  z-index: 1;
}

.nav-shell {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(8, 12, 18, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(44, 183, 196, 0.1), transparent 45%),
    radial-gradient(circle at 80% 0, rgba(0, 164, 237, 0.1), transparent 45%);
  opacity: 1;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-top: 2px;
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

.nav-links a,
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(44, 183, 196, 0.85), rgba(0, 164, 237, 0));
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a:visited,
.nav-link:visited {
  color: var(--muted);
}

.nav-links a:hover,
.nav-link:hover,
.nav-links a:focus-visible,
.nav-link:focus-visible,
.nav-links a:active,
.nav-link:active {
  color: #d7e9ff;
}

.nav-links a:hover::after,
.nav-link:hover::after,
.nav-links a:focus-visible::after,
.nav-link:focus-visible::after,
.nav-links a:active::after,
.nav-link:active::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, #2cb7c4, #00a4ed);
  color: #0b0f14;
  box-shadow: 0 12px 28px rgba(0, 164, 237, 0.25);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: transparent;
}

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

.promo {
  background: linear-gradient(120deg, rgba(44, 183, 196, 0.25), rgba(0, 164, 237, 0.2));
  border-top: 1px solid rgba(44, 183, 196, 0.2);
  border-bottom: 1px solid rgba(44, 183, 196, 0.2);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}

.promo-icon {
  color: var(--accent-yellow);
}

.promo-action {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.pricing .hero {
  padding: 80px 0 40px;
  text-align: center;
  min-height: auto;
  display: block;
  overflow: visible;
}

.pricing .hero::before,
.pricing .hero::after {
  content: none;
}

.pricing .hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 12px;
}

.pricing .hero h1 span {
  color: var(--accent-yellow);
}

.pricing .hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}

.pricing .hero-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.billing-toggle {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 6px;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.toggle-btn.is-active {
  background: rgba(44, 183, 196, 0.2);
  color: var(--text);
}

.currency-toggle {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 6px;
}

.plans {
  padding: 40px 0 80px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 24px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.plan h3 {
  font-size: 20px;
}

.plan-meta {
  color: var(--muted);
  font-size: 13px;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-price-row .currency-toggle {
  margin-left: auto;
  padding: 4px;
  gap: 4px;
}

.plan-price-row .toggle-btn {
  padding: 6px 10px;
  font-size: 11px;
}

.price-suffix {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.plan-note {
  font-size: 12px;
  color: var(--muted);
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.plan ul li::before {
  content: "*";
  color: var(--accent-main);
  margin-right: 8px;
}

.plan-section {
  font-weight: 600;
  font-size: 13px;
}

.usage {
  padding: 0 0 36px;
}

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

.usage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.usage-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.usage-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.usage-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.usage-card ul li::before {
  content: "*";
  color: var(--accent-main);
  margin-right: 8px;
}

.usage-table-scroll {
  width: 100%;
  overflow-x: visible;
}

.usage-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}

.usage-table th,
.usage-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
}

.usage-table tr:last-child th,
.usage-table tr:last-child td {
  border-bottom: none;
}

.usage-table thead th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

.usage-table tbody th {
  font-weight: 500;
  text-align: left;
}

.usage-table tbody td {
  text-align: right;
  font-weight: 700;
}

.topups {
  padding: 24px 0 36px;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.topup-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.topup-price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
}

.topup-meta {
  color: var(--accent-main);
  font-weight: 600;
  margin-top: 8px;
}

.topup-card p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}

.compare {
  padding: 24px 0 100px;
}

.compare-intro {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 700px;
}

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

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.compare-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.compare-table thead th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th:first-child {
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  color: var(--text);
  text-align: left;
}

.compare-plan-head.is-studio {
  color: #b7f0f5;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody th {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}

.compare-table tbody td {
  text-align: center;
}

.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
}

.compare-mark.is-yes {
  color: #b7f0f5;
  background: rgba(44, 183, 196, 0.16);
  border-color: rgba(44, 183, 196, 0.36);
}

.compare-mark.is-no {
  color: #c7ced9;
  background: rgba(156, 166, 181, 0.16);
  border-color: rgba(156, 166, 181, 0.28);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 120px, 120px 0;
  }
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid,
  .topup-grid {
    grid-template-columns: 1fr;
  }

  .hero-controls {
    flex-direction: column;
  }

  .plan-price-row .currency-toggle {
    margin-left: 0;
  }

  .nav-links {
    display: none;
  }

  .promo-inner {
    flex-direction: column;
  }

  .compare-table {
    min-width: 740px;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: 12px 10px;
  }

  .compare-table tbody th {
    font-size: 13px;
  }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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