:root {
  --bg: #050816;
  --bg-2: #081125;
  --surface: rgba(26, 34, 58, 0.95);
  --surface-2: rgba(30, 42, 69, 0.98);
  --line: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --muted: rgba(214, 223, 245, 0.82);
  --muted-2: rgba(183, 194, 221, 0.78);
  --primary: #2280ff;
  --primary-2: #1e62f2;
  --green: #17c57c;
  --pill: #5840cf;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 26%, rgba(85, 58, 208, 0.34), transparent 24%),
    radial-gradient(circle at 75% 18%, rgba(0, 163, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #091023 0%, #050a19 58%, #020817 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(33, 39, 61, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text { font-size: 1.08rem; font-weight: 800; color: rgba(255,255,255,0.92); }
.header-actions { display: flex; gap: 12px; align-items: center; }

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: rgba(14, 23, 43, 0.94);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 128, 255, 0.26);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.56);
}
.btn-block { width: 100%; }

.hero-section {
  position: relative;
  min-height: calc(100vh - 63px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
.hero-glow-left {
  width: 680px;
  height: 680px;
  left: -160px;
  top: 40px;
  background: radial-gradient(circle, rgba(83, 61, 220, 0.28), transparent 60%);
}
.hero-glow-right {
  width: 780px;
  height: 780px;
  right: -180px;
  top: -40px;
  background: radial-gradient(circle, rgba(0, 131, 255, 0.18), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 72px 0 80px;
}
.section-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(99, 74, 222, 0.18);
  border: 1px solid rgba(156, 136, 255, 0.18);
  color: #d4c8ff;
  font-size: 0.84rem;
  font-weight: 800;
}
.hero-title {
  margin: 22px auto 12px;
  max-width: 920px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.hero-subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.1rem;
  color: var(--muted);
}

.plans-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 28px;
}
.plan-card {
  position: relative;
  text-align: left;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 37, 61, 0.96), rgba(17, 24, 42, 0.98));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}
.plan-card.is-featured {
  background: linear-gradient(180deg, rgba(28, 44, 70, 0.98), rgba(17, 24, 42, 0.99));
  border-color: rgba(139, 163, 255, 0.22);
}
.plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(102, 84, 222, 0.22);
  color: #d8ccff;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(173, 162, 255, 0.12);
}
.plan-name {
  font-size: 1rem;
  font-weight: 800;
  color: #f0f4ff;
  margin-bottom: 12px;
}
.plan-price {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
}
.plan-price span {
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
}
.plan-ref {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 1rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 24px;
}
.plan-features li {
  position: relative;
  padding: 12px 0 12px 26px;
  color: #dfe6f9;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-size: 0.98rem;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  font-weight: 900;
  color: var(--green);
}
.plan-login-link {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 16px;
}
.plan-login-link strong { color: #fff; }

@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 56px; }
}

@media (max-width: 640px) {
  .topbar-inner { min-height: 58px; }
  .header-actions { gap: 8px; }
  .btn { padding: 0 14px; min-height: 38px; font-size: 0.92rem; }
  .wrap { width: min(100% - 20px, 1120px); }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .plan-card { padding: 22px 18px 18px; }
  .plan-price { font-size: 2.35rem; }
}
