.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-link { color: var(--muted); font-size: 14px; }
.nav-link:hover { color: var(--fg); }

.hero {
  padding: 96px 24px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin: 0;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 32px auto 64px;
  padding: 0 24px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pricing { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 32px; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: #3f3f46; }

.card-featured {
  border: 1px solid var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 20px 60px -20px rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0816 100%);
}

.tier {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.badge-new {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.plan {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.term { color: var(--muted); font-size: 14px; }

.div {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 10px 0;
}

.group {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 6px 0 0;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #e4e4e7;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M4 10.5l4 4 8-8' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat center / contain;
}

.hw {
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  align-self: flex-start;
}

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

.card .btn-ghost { margin-top: -4px; }

.foot {
  text-align: center;
  padding: 40px 24px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot .back:hover { color: var(--fg); }
