/* =============================================
   PRICING SECTION — UlapBiz
   Brand: #ff7704 · #161616 · #fafbfd
   Fonts: Fira Sans (display) · Inter (body)
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* UlapBiz Design System */
  --clr-primary: #ff7704;
  --clr-primary-light: #ff9933;
  --clr-primary-pale: #fff5eb;
  --clr-primary-dark: #e66000;
  --clr-black: #161616;
  --clr-white: #ffffff;
  --clr-bg: #fafbfd;
  --clr-ink-muted: #6b7280;
  --clr-border: rgba(22, 22, 22, 0.1);

  /* Typography */
  --ff-display: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-primary: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-content: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-alt: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-sub: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --fs-hero: 3rem;
  --fs-section: 2rem;
  --fs-content: 1rem;
  --fs-small: 0.875rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 4px 6px rgba(22, 22, 22, 0.07);
  --shadow-hover: 0 10px 24px rgba(22, 22, 22, 0.1);
  --shadow-feat: 0 20px 48px rgba(255, 119, 4, 0.25);
  --shadow-brand: 0 8px 16px rgba(255, 119, 4, 0.2);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing {
  padding: 5rem 2rem 8rem;
  background: var(--bg-light, #fafbfd);
  overflow: visible;
  font-family: var(--ff-body);
}

.pricing__container {
  max-width: 1140px;
  margin: 0 auto;
}

.pricing__track-wrapper {
  width: calc(100% + 150px + (100vw - 1140px) / 2 - 40px);
  padding-right: 40px;
}

/* ─── Section Header ──────────────────────────────────────────────────────── */

.pricing__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  padding-top: 1rem;
}

.pricing__title {
  font-family: var(--font-heading, "Fira Sans", sans-serif);
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--charcoal-black, #161616);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.pricing__subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 500px;
}


.pricing-toggle {
  display: inline-flex;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 999px;
  margin: 0 auto 3rem;
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: #fff;
  color: #161616;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.save-badge {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 119, 4, 0.1);
  color: #ff7704;
  font-size: 0.75rem;
}
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
}

/* Pricing Section */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.pr-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #ff7704;
}

.pr-card__top {
  margin-bottom: 1.5rem;
}

.pr-card__plan-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 119, 4, 0.1);
  color: #ff7704;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pr-card__plan-icon svg {
  width: 28px;
  height: 28px;
}

.pr-card__plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.pr-card__plan-desc {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.pr-card__price {
  margin: 1.5rem 0;
}

.pr-card__price .price {
  font-size: 2.75rem;
  font-weight: 800;
  color: #111827;
}

.pr-card__price .period {
  color: #6b7280;
  font-size: 1rem;
}

.pr-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pr-card__features li:first-child {
  font-weight: 700;
  color: #161616;
}

.pr-card__features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.pr-card__features li:last-child {
  border-bottom: none;
}

.pr-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  background: #ff7704;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pr-btn:hover {
  background: #e56b00;
}

.pr-card--featured {
  border: 1px solid #e5e7eb;
  transform: scale(1.03);
}

.pr-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff7704;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }

  .pr-card--featured {
    transform: none;
  }
}

/* Custom Plan Card */
.pr-custom {
  margin-top: 3rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.pr-custom:hover {
  border-color: #ff7704;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pr-custom__icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 18px;
  background: rgba(255, 119, 4, 0.1);
  color: #ff7704;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-custom__body {
  flex: 1;
}

.pr-custom__title {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

.pr-custom__desc {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.pr-custom__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 22px;
  border-radius: 12px;
  background: #ff7704;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.pr-custom__cta:hover {
  background: #e56b00;
}

.pr-custom__cta-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.pr-custom__cta:hover .pr-custom__cta-arrow {
  transform: translateX(4px);
}

/* Tablet */
@media (max-width: 992px) {
  .pr-custom {
    flex-direction: column;
    text-align: center;
  }

  .pr-custom__body {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pr-custom {
    padding: 1.5rem;
  }

  .pr-custom__title {
    font-size: 1.25rem;
  }

  .pr-custom__cta {
    width: 100%;
    justify-content: center;
  }

  .pr-custom__desc br {
    display: none;
  }
}