.pricing {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 120px 32px 130px;
  scroll-margin-top: 72px;
  overflow: hidden;
}
.pricing .wrap { max-width: 1180px; position: relative; z-index: 2; }

.pricing .section-head { max-width: none; margin-bottom: 0; position: relative; z-index: 1; }
.pricing .section-head h2 {
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: #fff;
  margin: 0;
}
.pricing .section-head p {
  margin-top: 20px;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
}

/* Soft glowing orbs behind the headline. */
.pricing-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
  filter: blur(38px);
  z-index: 1;
  pointer-events: none;
}
.glow-1 { top: 128px; left: 41%; }
.glow-2 { top: 96px; left: 53%; }

.pricing-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  /* Pulls the card row up so it sits over the bottom half of the giant
     headline -- the cards' own glass blur is what makes that lower half
     of "Pricing" read as bleeding through them. */
  margin-top: -40px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  /* Glassmorphism: translucent + blurred, so the huge "Pricing" headline
     and glow orbs behind the grid show through, softened. */
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 0 50px rgba(255, 255, 255, .03),
    0 30px 60px -28px rgba(0, 0, 0, .6);
}

.plan-name { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.plan-desc { font-size: 13.5px; color: rgba(255, 255, 255, .45); margin: 6px 0 0; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.plan-price .amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.plan-price .period { font-size: 16px; color: rgba(255, 255, 255, .45); font-weight: 600; }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .75);
}
.plan-features li { display: flex; align-items: center; gap: 12px; }

.plan-check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plan-cta {
  display: block;
  text-align: center;
  margin-top: 30px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 15px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all .2s ease;
}
.plan-cta:hover { background: #0c0c0c; border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.plan-cta.accent { background: #fff; color: #0a0a0a; border-color: transparent; }
.plan-cta.accent:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ---- Billing toggle ---- */

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.pricing-toggle {
  width: 46px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .14);
  border: none;
  padding: 3px;
  cursor: pointer;
  transition: background .2s ease;
}
.pricing-toggle-knob {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}
.pricing-toggle[aria-checked="true"] { background: rgba(255, 255, 255, .28); }
.pricing-toggle[aria-checked="true"] .pricing-toggle-knob { transform: translateX(20px); }

.pricing-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 860px) {
  .pricing { padding: 88px 20px 96px; }
  .pricing .section-head { margin-bottom: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 20px; }
  .pricing-glow { display: none; }
}

@media (max-width: 480px) {
  .pricing { padding: 64px 14px 72px; }
  .pricing .section-head h2 { font-size: clamp(48px, 15vw, 64px); }
  .pricing-card { padding: 26px 22px; border-radius: 20px; }
  .plan-price .amount { font-size: 36px; }
}
