/* ==========================================================================
   pricing.css — "Pricing that works" + HIRE ME oval + plan card
   Source: alex-wbs.framer.website — video frames 33-37
   ========================================================================== */

.pricing-section {
  padding: 100px var(--gutter);
  background: var(--white);
  color: var(--text);
}

.pricing-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ── LEFT: HIRE ME oval card ── */
.pricing-hire {
  position: relative;
  aspect-ratio: 1/1.4;
  max-height: 600px;
  border-radius: 50% / 40%;
  background: radial-gradient(ellipse at top, #5a0010 0%, #1a0005 60%, #0a0a0a 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 36px 40px;
  color: var(--white);
  position: relative;
  isolation: isolate;
}

.pricing-hire::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800'%3E%3Cpath d='M150 200 Q300 50 450 200 T450 600 Q300 700 150 600 Z' fill='%23df062a' opacity='0.4'/%3E%3Cpath d='M200 300 Q300 200 400 300 Q500 400 400 500 Q300 600 200 500 Z' fill='%23df062a' opacity='0.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  z-index: -1;
}

.pricing-hire__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  align-self: flex-start;
}

.pricing-hire__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.pricing-hire__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-hire__title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-hire__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

/* ── CENTER: Title + toggle + sub + view all ── */
.pricing-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.pricing-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.pricing-title .line-black { color: var(--text); display: block; }
.pricing-title .line-red { color: var(--red); display: block; }

.pricing-toggle {
  display: inline-flex;
  background: var(--light);
  border-radius: 100px;
  padding: 4px;
  margin: 12px 0;
}

.pricing-toggle__btn {
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-50);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.pricing-toggle__btn.is-active {
  background: var(--black);
  color: var(--white);
}

.pricing-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-70);
  max-width: 360px;
}

.pricing-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.pricing-cta:hover {
  background: var(--black);
  transform: translateY(-2px);
}

/* ── RIGHT: Plan card (black) ── */
.pricing-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.pricing-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-card__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.pricing-card__badge {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.pricing-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 12px;
}

.pricing-card__amount {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.pricing-card__period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card__features-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pricing-card__features li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--red);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.pricing-card__cta {
  display: block;
  text-align: center;
  background: var(--white);
  color: var(--text);
  padding: 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.pricing-card__cta:hover {
  background: var(--red);
  color: var(--white);
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-hire { max-height: 480px; }
}

@media (max-width: 640px) {
  .pricing-section { padding: 60px var(--gutter); }
  .pricing-hire { padding: 40px 24px; aspect-ratio: 1 / 1.2; max-height: 400px; }
  .pricing-hire__title { font-size: clamp(28px, 8vw, 40px); }
}
