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

:root {
  --pm-bg: #07000f;
  --pm-bg-2: #0f001a;
  --pm-text: rgba(255, 255, 255, 0.94);
  --pm-muted: rgba(255, 255, 255, 0.58);
  --pm-soft: rgba(255, 255, 255, 0.78);
  --pm-purple: #a855f7;
  --pm-purple-dim: rgba(168, 85, 247, 0.22);
  --pm-violet: #7c3aed;
  --pm-gold: #fbbf24;
  --pm-border: rgba(168, 85, 247, 0.18);
  --pm-card: rgba(255, 255, 255, 0.03);
  --pm-card-hover: rgba(168, 85, 247, 0.08);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--pm-bg);
  color: var(--pm-text);
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.pm-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(168, 85, 247, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(236, 72, 153, 0.1), transparent 50%),
    var(--pm-bg);
  pointer-events: none;
}

.pm-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.pm-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.pm-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(124, 58, 237, 0.28);
  animation: pmFloat 12s ease-in-out infinite;
}

.pm-orb-2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -100px;
  background: rgba(168, 85, 247, 0.2);
  animation: pmFloat 10s ease-in-out infinite reverse;
}

@keyframes pmFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -16px); }
}

.pm-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(7, 0, 15, 0.75);
  border-bottom: 1px solid var(--pm-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pm-back {
  font-size: 0.9rem;
  color: var(--pm-muted);
  transition: color 0.2s ease;
}

.pm-back:hover { color: var(--pm-text); }

.pm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pm-brand img { border-radius: 8px; }

.pm-brand em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pm-gold), var(--pm-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pm-nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #1a1200;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25);
  transition: transform 0.2s ease;
}

.pm-nav-cta:hover { transform: translateY(-1px); }

main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 80px;
}

.pm-hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(32px, 5vw, 48px);
  text-align: center;
}

.pm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(168, 85, 247, 0.12);
  color: var(--pm-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.pm-hero h1 span {
  background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 45%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pm-hero-lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  color: var(--pm-muted);
}

.pm-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pm-hero-pills span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pm-border);
  background: rgba(168, 85, 247, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pm-soft);
  letter-spacing: 0.04em;
}

.pm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: clamp(48px, 8vw, 72px);
}

.pm-stat {
  padding: 20px 16px;
  border-radius: 20px;
  border: 1px solid var(--pm-border);
  background: var(--pm-card);
  text-align: center;
  backdrop-filter: blur(8px);
}

.pm-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pm-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--pm-muted);
}

.pm-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.pm-tag {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-purple);
  font-weight: 700;
}

.pm-section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.pm-section-head p {
  margin: 14px 0 0;
  color: var(--pm-muted);
  line-height: 1.65;
}

.pm-category {
  margin-bottom: 48px;
}

.pm-category h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pm-soft);
}

.pm-cat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pm-purple-dim);
  font-size: 1.1rem;
}

.pm-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.pm-card {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--pm-border);
  background: var(--pm-card);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.4);
  background: var(--pm-card-hover);
}

.pm-card-featured {
  grid-column: 1 / -1;
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(168, 85, 247, 0.06));
}

.pm-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(168, 85, 247, 0.2), transparent 55%);
  pointer-events: none;
}

.pm-card h4 {
  position: relative;
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.pm-card p {
  position: relative;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--pm-muted);
}

.pm-pricing {
  padding-top: 24px;
}

.pm-pricing-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 44px);
  border-radius: 28px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  overflow: hidden;
}

.pm-pricing-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 60%);
  pointer-events: none;
}

.pm-pricing-card h2 {
  position: relative;
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.pm-plans {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.pm-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--pm-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.pm-plan.is-active {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(168, 85, 247, 0.12));
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.2);
}

.pm-plan-label {
  font-size: 0.82rem;
  color: var(--pm-muted);
  font-weight: 600;
}

.pm-plan-price {
  font-size: 1.4rem;
  font-weight: 700;
}

.pm-plan-save {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pm-gold), var(--pm-purple));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.pm-plan-note {
  position: relative;
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--pm-muted);
}

.pm-plan-note.is-hidden { display: none; }

.pm-pricing-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pm-btn:hover { transform: translateY(-2px); }

.pm-btn-gold {
  color: #1a1200;
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b);
  box-shadow: 0 12px 36px rgba(251, 191, 36, 0.3);
}

.pm-btn-ghost {
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--pm-text);
}

.pm-btn-ghost:hover {
  background: rgba(168, 85, 247, 0.1);
}

.pm-pricing-fine {
  position: relative;
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--pm-muted);
}

.pm-code-note {
  position: relative;
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pm-soft);
}

.pm-code {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pm-code[hidden] { display: none; }

.pm-code code {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pm-border);
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.pm-code .pm-btn { width: auto; padding: 12px 18px; }

.pm-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.pm-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  border-top: 1px solid var(--pm-border);
  font-size: 0.88rem;
  color: var(--pm-muted);
}

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

.pm-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  translate: -50% 120%;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(15, 0, 26, 0.92);
  border: 1px solid var(--pm-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  color: var(--pm-text);
  font-weight: 600;
  transition: translate 0.28s ease;
}

.pm-toast.is-visible { translate: -50% 0; }

@media (max-width: 720px) {
  .pm-stats { grid-template-columns: repeat(2, 1fr); }
  .pm-back { font-size: 0.82rem; }
  .pm-brand span { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .pm-nav-cta { padding: 8px 14px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pm-orb-1, .pm-orb-2 { animation: none; }
}
