/* Pricing Page Specific Styles */

/* Pricing Category Sections */
.pricing-category-section {
  background: #f8f6ff;
  padding: 80px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

/* Children Section - Bottom Padding */
.pricing-category-section--children {
  padding: 140px 20px 140px 20px;
}

/* Adults Section */
.pricing-category-section--adults {
  background: #f2eaff;
  padding: 80px 20px 80px 20px;
}




.pricing-category-section:last-of-type {
  padding-bottom: 120px;
}

.pricing-category-container {
  max-width: 1200px;
  margin: 0 auto;
}

.category-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(91, 26, 110, 0.05);
  border: 1px solid rgba(91, 26, 110, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.category-badge-text {
  color: #6d1f60;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Icon removed - no longer needed */
/* .category-icon {
  width: 16px;
  height: 16px;
  color: #6d1f60;
  opacity: 0.7;
} */

.category-label {
  color: #6d1f60;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-title {
  color: #6d1f60;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.category-subtitle {
  color: #6a6a6a;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 16px 0 0 0;
  line-height: 1.6;
  max-width: 700px;
}

/* Children Section Header — Two-Column Layout */
.category-header--children {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 48px;
  margin-bottom: 80px;
}

.category-header--children .category-header__right {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.category-header--children.visible .category-header__right {
  opacity: 1;
  transform: translateY(0);
}

.category-header--children .category-social-proof {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.category-header--children.visible .category-social-proof {
  opacity: 1;
  transform: translateY(0);
}

.category-header__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.category-header--children .category-badge {
  margin-bottom: 4px;
}

.category-header--children .category-title {
  font-size: 3.2rem;
}

.category-header--children .category-subtitle {
  margin: 8px 0 0 0;
  max-width: 480px;
  font-size: 1.05rem;
}

/* Social Proof Bar */
.category-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.social-proof-avatars {
  display: flex;
}

.social-proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-proof-avatar:first-child {
  margin-left: 0;
}

.social-proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-proof-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d1457;
}

.social-proof-cta {
  font-size: 0.8rem;
  font-weight: 400;
  color: #6a6a6a;
}

/* Header Right — Image */
.category-header__right {
  flex: 0 0 auto;
}

.category-header__image-wrapper {
  position: relative;
  width: 430px;
  aspect-ratio: 4 / 3;
}

.category-header__image-wrapper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  background: linear-gradient(135deg, #d8b4fe 0%, #c084fc 100%);
  border-radius: 24px;
  z-index: 0;
}

.category-header__image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  z-index: 1;
}

/* Floating Popular Badge — kept in markup, hidden visually */
.category-header__floating-badge {
  display: none;
  position: absolute;
  bottom: -20px;
  right: -24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 18px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(91, 26, 110, 0.15);
  z-index: 2;
}

.category-header__floating-badge svg {
  color: #ffffff;
  flex-shrink: 0;
}

.floating-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.floating-badge__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6a6a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-badge__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d1457;
}

/* Adults Section Header — Image Left, Text Right */
.category-header--adults {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0px;
  margin-bottom: 80px;
}

.category-header--adults .category-header__left {
  flex: 1.8;
}

.category-header--adults .category-header__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.category-header--adults.visible .category-header__right {
  opacity: 1;
  transform: translateY(0);
}

.category-header--adults .category-header__left {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-header--adults.visible .category-header__left {
  opacity: 1;
  transform: translateY(0);
}

.category-header--adults .category-title {
  font-size: 3.2rem;
}

.category-header--adults .category-subtitle {
  margin: 4px 0 0 0;
  max-width: 480px;
  font-size: 1.05rem;
}

/* Adults Highlights (Індивідуальний підхід block) */
.adults-highlights {
  margin-top: 12px;
}

.adults-highlight {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adults-highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d1457;
}

.adults-highlight-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6a6a6a;
}

/* Filled Buttons — Children & Adults Sections */
.pricing-category-section--children .pricing-btn,
.pricing-category-section--adults .pricing-btn {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  border: none;
}

.pricing-category-section--children .pricing-btn:hover,
.pricing-category-section--adults .pricing-btn:hover {
  background: linear-gradient(135deg, #5a1850 0%, #6a2480 100%);
  color: #ffffff;
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 26, 110, 0.35);
}

/* Price Period (на місяць) — inside cards */
.pricing-card > .price-period {
  color: #6a6a6a;
  font-size: 0.78rem;
  font-weight: 400;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 2px;
}

/* Pricing Cards Row */
.pricing-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-category-section--adults .pricing-cards-row {
  gap: 24px;
}

.pricing-category-section--adults .pricing-card--individual {
  grid-column: 1 / -1;
  margin-top: 70px;
  margin-bottom: 0;
}


/* Enhanced Pricing Cards */
.pricing-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 24px 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(45, 20, 87, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #ede8f5;
  min-height: auto;
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card--individual {
  min-height: auto !important;
  height: auto !important;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 40px;
  text-align: left;
  align-items: start;
}

/* Individual Card Left Section */
.individual-card-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.individual-icon {
  width: 64px;
  height: 64px;
  background: rgba(109, 31, 96, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d1f60;
  margin-bottom: 0;
}

.individual-title {
  color: #2d1457;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.individual-description {
  color: #6a6a6a;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.individual-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.individual-price-amount {
  color: #6d1f60;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.individual-price-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.individual-price-currency {
  color: #6d1f60;
  font-size: 1.4rem;
  font-weight: 600;
}

.individual-price-period {
  color: #6a6a6a;
  font-size: 0.95rem;
  font-weight: 400;
}

.individual-buttons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.individual-btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.individual-btn--primary {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(109, 31, 96, 0.25);
}

.individual-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(109, 31, 96, 0.35);
}

.individual-btn--secondary {
  background: transparent;
  color: #6d1f60;
  border: 2px solid #e5e5e5;
}

.individual-btn--secondary:hover {
  border-color: #6d1f60;
  background: rgba(109, 31, 96, 0.05);
}

/* Temporarily hide Детальніше on the individual card (markup stays) */
.pricing-card--individual .individual-btn--secondary {
  display: none;
}

/* Individual Card Right Section */
.individual-card-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
  align-self: center;
}

.individual-feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  background: #f8f6ff;
  border: 1px solid #e8e4f0;
  border-radius: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.individual-feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45, 20, 87, 0.08);
  border-color: #d8b4fe;
}

.individual-feature-icon {
  color: #6d1f60;
  flex-shrink: 0;
}

.individual-feature-pill span {
  color: #2d1457;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}


/* Featured card styling — same as others, only badge differentiates */
.pricing-card--featured {
  border: 1px solid #ede8f5;
}

.pricing-card--featured.visible {
  transform: translateY(0);
}

/* Card hover effects */
.pricing-card:hover {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(91, 26, 110, 0.2);
  border-color: transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card--featured:hover {
  transform: translateY(-5px);
}

.pricing-card:hover .pricing-plan-name,
.pricing-card:hover .pricing-plan-subtitle,
.pricing-card:hover .pricing-feature span,
.pricing-card:hover .price-currency,
.pricing-card:hover .price-amount,
.pricing-card:hover .price-period,
.pricing-card:hover .price-from {
  color: #ffffff;
  transition: color 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover .feature-icon {
  color: #ffffff;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover .pricing-btn {
  background: #ffffff;
  color: #6d1f60;
  border-color: #ffffff;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover .pricing-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #6d1f60;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual card hover: left column content white, button text dark for readability */
.pricing-card--individual:hover .individual-card-left {
  color: #ffffff;
}

.pricing-card--individual:hover .individual-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.pricing-card--individual:hover .individual-title,
.pricing-card--individual:hover .individual-description {
  color: #ffffff;
}

.pricing-card--individual:hover .individual-price-amount,
.pricing-card--individual:hover .individual-price-currency,
.pricing-card--individual:hover .individual-price-period {
  color: #ffffff;
}

.pricing-card--individual:hover .individual-btn {
  background: #ffffff;
  color: #6d1f60;
  border-color: #ffffff;
  transition: all 0.3s ease;
}

.pricing-card--individual:hover .individual-btn--secondary {
  border-color: #ffffff;
  background: #ffffff;
}

.pricing-card--individual:hover .individual-feature-pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card--individual:hover .individual-feature-pill span {
  color: #ffffff;
}

.pricing-card--individual:hover .individual-feature-icon {
  color: #ffffff;
}

/* Pricing Badge */
.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #6d1f60;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 1;
}

/* Card Header */
.pricing-card-header {
  margin-bottom: 20px;
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.pricing-plan-name {
  color: #6d1f60;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.pricing-plan-subtitle {
  color: #6a6a6a;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 8px 0 0 0;
  line-height: 1.5;
  max-width: 280px;
}

/* Pricing Display */
.pricing-price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px;
  flex-wrap: wrap;
  min-height: auto;
}

.price-from {
  color: #6a6a6a;
  font-size: 0.95rem;
  font-weight: 500;
}

.price-amount {
  color: #6d1f60;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.price-currency {
  color: #6a6a6a;
  font-size: 1rem;
  font-weight: 600;
}

.price-period {
  color: #6a6a6a;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Features List */
.pricing-features {
  margin-bottom: 12px;
  flex-grow: 1;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #6a6a6a;
  line-height: 1.5;
}

.pricing-feature:last-child {
  margin-bottom: 0;
}

.feature-icon {
  color: #ea2e84;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  transition: all 0.3s ease;
}

/* Pricing Button */
.pricing-btn {
  width: 100%;
  background: transparent;
  color: #6d1f60;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 20px;
  border: 2px solid #6d1f60;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: inherit;
  margin-top: auto;
}

.pricing-btn:hover {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 26, 110, 0.3);
}

/* Payment Terms Section */
.payment-terms-section {
  background: #f8f6ff;
  padding: 100px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.payment-terms-container {
  max-width: 1200px;
  margin: 0 auto;
}

.payment-terms-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-terms-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.payment-terms-header__left {
  flex: 1;
  max-width: 600px;
}

.payment-terms-header__right {
  flex-shrink: 0;
}

.payment-terms-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(109, 31, 96, 0.08);
  border: 1px solid rgba(109, 31, 96, 0.12);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.payment-terms-badge-text {
  color: #6d1f60;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-terms-count {
  color: #6d1f60;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payment-terms-title {
  color: #6d1f60;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.payment-terms-subtitle {
  color: #6a6a6a;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.payment-terms-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-terms-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Payment Terms Grid */
.payment-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.payment-term {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #ede8f5;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(40px);
}

.payment-terms-content.visible .payment-term {
  opacity: 1;
  transform: translateY(0);
}

.payment-term:nth-child(1) { transition-delay: 0.1s; }
.payment-term:nth-child(2) { transition-delay: 0.2s; }
.payment-term:nth-child(3) { transition-delay: 0.3s; }
.payment-term:nth-child(4) { transition-delay: 0.4s; }

.payment-term:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 20, 87, 0.1);
  border-color: transparent;
  cursor: pointer;
}

.payment-term:active {
  transform: translateY(-2px);
}

.payment-term-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-term-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.payment-term-corner-icon {
  color: #b0a0c0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.payment-term:hover .payment-term-number {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(109, 31, 96, 0.3);
}

.payment-term:hover .payment-term-corner-icon {
  opacity: 0.8;
  color: #6d1f60;
}

.payment-term-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-term-title {
  color: #2d1457;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.payment-term-description {
  color: #6a6a6a;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Downloads Section */
.downloads-section {
  margin-top: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.5s;
}

.payment-terms-content.visible .downloads-section {
  opacity: 1;
  transform: translateY(0);
}

.downloads-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.downloads-header__left {
  flex: 1;
}

.downloads-header__right {
  flex-shrink: 0;
}

.downloads-format-label {
  color: #6a6a6a;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.downloads-title {
  color: #2d1457;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.downloads-description {
  color: #6a6a6a;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.download-btn {
  background: #ffffff;
  border: 1px solid #ede8f5;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: left;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 20, 87, 0.1);
}

.download-btn:active {
  transform: translateY(-2px);
}

.download-btn-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-btn-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.download-btn:hover .download-btn-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(109, 31, 96, 0.3);
}

.download-btn-size {
  color: #6a6a6a;
  font-size: 0.8rem;
  font-weight: 500;
}

.download-btn-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.download-btn-title {
  color: #2d1457;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-btn-subtitle {
  color: #6a6a6a;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}

.download-btn-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ea2e84;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover .download-btn-link {
  gap: 10px;
}

/* Responsive Styles for Payment Terms */
@media (max-width: 1024px) {
  .payment-terms-title {
    font-size: 2.6rem;
  }
  
  .payment-term {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .payment-terms-section {
    padding: 80px 16px;
  }
  
  .payment-terms-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .payment-terms-title {
    font-size: 2.4rem;
  }
  
  .payment-terms-subtitle {
    font-size: 1rem;
  }
  
  .payment-terms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 60px;
  }
  
  .payment-term {
    padding: 28px 24px;
  }
  
  .downloads-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .download-btn {
    padding: 24px;
  }
  
  .download-btn-icon {
    width: 44px;
    height: 44px;
  }
  
  .downloads-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .payment-terms-section {
    padding: 60px 16px;
  }
  
  .payment-terms-header {
    margin-bottom: 32px;
  }
  
  .payment-terms-title {
    font-size: 2rem;
  }
  
  .payment-terms-subtitle {
    font-size: 0.95rem;
  }
  
  .payment-terms-grid {
    margin-bottom: 48px;
  }
  
  .payment-term {
    padding: 24px 20px;
    gap: 16px;
  }
  
  .payment-term-number {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }
  
  .payment-term-title {
    font-size: 1.1rem;
  }
  
  .payment-term-description {
    font-size: 0.88rem;
  }
  
  .download-btn {
    padding: 20px;
    gap: 16px;
  }
  
  .download-btn-icon {
    width: 40px;
    height: 40px;
  }
  
  .download-btn-title {
    font-size: 0.95rem;
  }
  
  .download-btn-subtitle {
    font-size: 0.8rem;
  }
  
  .downloads-title {
    font-size: 1.3rem;
  }
}

.download-soon-modal .enroll-modal__panel {
  max-width: 440px;
  text-align: center;
  padding: 44px 32px 28px;
}

.download-soon-modal .contact-form-title {
  margin: 0 28px 28px;
  font-size: 1.45rem;
  line-height: 1.35;
}

.download-soon-modal .form-submit-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .download-soon-modal {
    align-items: center;
  }

  .download-soon-modal .enroll-modal__panel {
    max-width: 100%;
    border-radius: 16px;
    transform: translateY(18px) scale(0.98);
  }

  .download-soon-modal.is-open .enroll-modal__panel {
    transform: translateY(0) scale(1);
  }
}

/* English Test Section */
.english-test-section {
  background: #f9f9fc;
  padding: 100px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.english-test-container {
  max-width: 1200px;
  margin: 0 auto;
}

.test-header {
  text-align: center;
  margin-bottom: 80px;
}

.test-pink-subtitle {
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-title {
  color: #6d1f60;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.test-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1000px;
}

.test-content {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(45, 20, 87, 0.08);
  overflow: hidden;
}

.test-content.showing-results .test-questions-section,
.test-content.showing-results .test-navigation {
  display: none;
}

.test-form {
  padding: 0;
}

/* Personal Info Section - Contact Form Style */
.test-info-section {
  background: #fff;
  padding: 48px;
  border-bottom: none;
}

.test-section-title {
  color: #5e2778;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  font-family: 'Poppins', sans-serif;
}

.test-section-subtitle {
  color: #6a6a6a;
  font-size: 1rem;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.test-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.test-form-group {
  display: flex;
  flex-direction: column;
}

.test-label {
  color: #2d1457;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.test-input,
.test-select {
  padding: 16px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  color: #2d1457;
  box-shadow: 0 2px 8px rgba(45, 20, 87, 0.04);
}

.test-input:focus,
.test-select:focus {
  outline: none;
  border-color: #ea2e84;
  box-shadow: 0 0 0 3px rgba(234, 46, 132, 0.1);
  transform: translateY(-1px);
}

.test-input:hover,
.test-select:hover {
  border-color: #d0d0d0;
}

.test-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 50px;
  appearance: none;
}

/* Form focus states - Contact Form Style */
.test-form-group.focused .test-label {
  color: #ea2e84;
  transform: translateY(-2px);
}

.test-form-group.filled .test-label {
  color: #5e2778;
  font-weight: 600;
}

/* Questions Section */
.test-questions-section {
  padding: 48px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.test-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f6ff;
  border-radius: 12px;
}

.test-progress-bar {
  flex: 1;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 20px;
}

.test-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea2e84, #ff6b9d);
  border-radius: 4px;
  width: 4%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-progress-text {
  color: #6d1f60;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.test-question {
  display: none;
  animation: questionFadeIn 0.4s ease-out;
}

.test-question.active {
  display: block;
}

@keyframes questionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-title {
  color: #2d1457;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.question-options {
  display: grid;
  gap: 12px;
}

.test-option {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #f8f6ff;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.test-option:hover {
  border-color: #ea2e84;
  background: rgba(234, 46, 132, 0.05);
}

.test-option.selected {
  border-color: #ea2e84;
  background: rgba(234, 46, 132, 0.1);
}

.test-radio {
  display: none;
}

.test-option-text {
  color: #2d1457;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 12px;
  line-height: 1.4;
}

.test-option::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.test-option.selected::before {
  border-color: #ea2e84;
  background: #ea2e84;
  box-shadow: inset 0 0 0 4px #fff;
}

/* Navigation Buttons - Contact Form Style */
.test-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px;
  background: #fff;
  border-top: none;
}

.test-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
  color: #6d1f60;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: none;
  box-shadow: 0 2px 8px rgba(45, 20, 87, 0.04);
}

.test-nav-btn:hover:not(:disabled) {
  border-color: #ea2e84;
  background: rgba(234, 46, 132, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 20, 87, 0.1);
}

.test-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.test-nav-submit {
  background: linear-gradient(135deg, #ea2e84, #ff6b9d);
  color: #ffffff;
  border: none;
  padding: 18px 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(234, 46, 132, 0.3);
  justify-content: center;
  gap: 12px;
}

.test-nav-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #d42a7a, #ff5a8b);
  color: #ffffff;
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 46, 132, 0.4);
}

.test-nav-submit:active {
  transform: translateY(0);
}

/* Results Section */
.test-results {
  padding: 48px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.results-content {
  max-width: 500px;
  margin: 0 auto;
}

.results-icon {
  width: 80px;
  height: 80px;
  background: #ea2e84;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin: 0 auto 24px auto;
  animation: resultsIconBounce 0.6s ease-out;
}

@keyframes resultsIconBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.results-title {
  color: #6d1f60;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 32px 0;
}

.results-score,
.results-level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 16px;
}

.score-label,
.level-label {
  color: #6a6a6a;
  font-size: 1rem;
  font-weight: 500;
}

.score-value,
.level-value {
  color: #ea2e84;
  font-size: 1.2rem;
  font-weight: 700;
}

.results-message {
  color: #6a6a6a;
  font-size: 1rem;
  line-height: 1.6;
  margin: 24px 0 32px 0;
}

.results-retry-btn {
  background: transparent;
  color: #6d1f60;
  border: 2px solid #6d1f60;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.results-retry-btn:hover {
  background: #6d1f60;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
  .test-section-title {
    font-size: 1.8rem;
  }
  
  .test-info-section,
  .test-questions-section,
  .test-navigation {
    padding: 40px;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .english-test-section {
    padding: 80px 16px;
  }
  
  .test-title {
    font-size: 2.5rem;
  }
  
  .test-pink-subtitle {
    font-size: 1rem;
  }
  
  .test-description {
    font-size: 1.1rem;
  }
  
  .test-section-title {
    font-size: 1.6rem;
  }
  
  .test-section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .test-info-section,
  .test-questions-section {
    padding: 40px 24px;
  }
  
  .test-navigation {
    padding: 32px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .test-progress {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .test-progress-bar {
    margin-right: 0;
  }
  
  .test-progress-text {
    text-align: center;
  }
  
  .question-title {
    font-size: 1.2rem;
  }
  
  .test-navigation {
    padding: 32px 24px;
    flex-direction: column;
    gap: 16px;
  }
  
  .test-nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .test-results {
    padding: 40px 24px;
  }
  
  .results-score,
  .results-level {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .english-test-section {
    padding: 80px 16px;
  }
  
  .test-title {
    font-size: 2.2rem;
  }
  
  .test-pink-subtitle {
    font-size: 0.95rem;
  }
  
  .test-info-section,
  .test-questions-section {
    padding: 32px 20px;
  }
  
  .test-option {
    padding: 12px 16px;
  }
  
  .test-option-text {
    font-size: 0.95rem;
  }
  
  .test-nav-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .results-title {
    font-size: 1.6rem;
  }
}

/* Test Notification */
.test-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(45, 20, 87, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  max-width: 350px;
  line-height: 1.4;
}

.test-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.test-notification--success {
  background: #10b981;
  color: #ffffff;
}

.test-notification--error {
  background: #ef4444;
  color: #ffffff;
}

.test-notification--info {
  background: #6d1f60;
  color: #ffffff;
}

@media (max-width: 480px) {
  .test-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 12px 16px;
    font-size: 0.85rem;
    transform: translateY(-100%);
  }
  
  .test-notification.show {
    transform: translateY(0);
  }
}

/* Exam Preparation Section */
.exam-prep-section {
  background: #ffffff;
  padding: 100px 20px;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.exam-prep-container {
  max-width: 1200px;
  margin: 0 auto;
}

.exam-prep-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.exam-prep-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.exam-prep-pink-subtitle {
  color: #ea2e84;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exam-prep-title {
  color: #6d1f60;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.exam-prep-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* Exam Buttons Grid */
.exam-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.exam-buttons-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.exam-btn {
  background: linear-gradient(135deg, #6d1f60 0%, #7b2d8e 100%);
  color: #ffffff;
  border: none;
  padding: 20px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(91, 26, 110, 0.25);
}

.exam-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 26, 110, 0.35);
  background: linear-gradient(135deg, #6a2280 0%, #8a3d9e 100%);
}

.exam-btn-text {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exam-btn-level {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Exam Prep Mobile Responsive */
@media (max-width: 768px) {
  .exam-prep-section {
    padding: 80px 16px;
  }
  
  .exam-prep-title {
    font-size: 2.5rem;
  }
  
  .exam-prep-pink-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .exam-prep-section {
    padding: 80px 16px;
  }
  
  .exam-prep-title {
    font-size: 2.2rem;
  }
  
  .exam-prep-pink-subtitle {
    font-size: 0.95rem;
  }
}

/* Individual Card Responsive Styles */
@media (max-width: 1024px) {
  .individual-title {
    font-size: 1.8rem;
  }
  
  .individual-price-amount {
    font-size: 3rem;
  }
  
  .individual-buttons {
    flex-direction: column;
  }
  
  .individual-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .individual-icon {
    width: 56px;
    height: 56px;
  }
  
  .individual-title {
    font-size: 1.6rem;
  }
  
  .individual-description {
    font-size: 1rem;
  }
  
  .individual-price-amount {
    font-size: 2.8rem;
  }
  
  .individual-buttons {
    flex-direction: row;
    gap: 12px;
  }
  
  .individual-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .individual-card-right {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .individual-feature-pill {
    padding: 16px 10px;
  }
  
  .individual-feature-pill span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .individual-icon {
    width: 48px;
    height: 48px;
  }
  
  .individual-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .individual-title {
    font-size: 1.5rem;
  }
  
  .individual-description {
    font-size: 0.95rem;
  }
  
  .individual-price-amount {
    font-size: 2.5rem;
  }
  
  .individual-price-currency {
    font-size: 1.2rem;
  }
  
  .individual-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .individual-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .individual-card-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .individual-feature-pill {
    padding: 14px 10px;
  }
  
  .individual-feature-icon {
    width: 20px;
    height: 20px;
  }
  
  .individual-feature-pill span {
    font-size: 0.78rem;
  }
}

/* PET Info Section */
.pet-info {
  background: rgba(234, 46, 132, 0.05);
  border-radius: 16px;
  padding: 40px;
  border-left: 4px solid #ea2e84;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pet-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.pet-info-title {
  color: #6d1f60;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.pet-info-description {
  color: #6a6a6a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Animation delays for staggered effects */
.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }

/* Responsive Design */

/* Tablet Layout */
@media (max-width: 1024px) {
  .category-header--children {
    gap: 32px;
  }
  
  .category-header--adults {
    gap: 32px;
  }
  
  .category-header__image-wrapper {
    width: 320px;
  }
  
  .category-header--children .category-title,
  .category-header--adults .category-title {
    font-size: 2.6rem;
  }
  
  .pricing-category-section {
    padding: 60px 20px;
  }
  
  .pricing-category-section--children {
    padding: 120px 20px 140px 20px;
  }
  
  .pricing-category-section--adults {
    padding: 80px 20px 80px 20px;
  }
  
  .pricing-category-section--adults .pricing-card--individual {
    grid-column: 1 / -1;
    gap: 32px;
    padding: 36px;
    margin-top: 80px;
  }
  
  .pricing-category-section--adults .pricing-cards-row {
    padding-bottom: 140px;
  }
  
  .category-title {
    font-size: 2.2rem;
  }
  
  .category-subtitle {
    font-size: 1rem;
    margin-top: 12px;
  }
  
  /* .category-icon {
    width: 14px;
    height: 14px;
  } */
  
  .pricing-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
  }
  
  .pricing-category-section--adults .pricing-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card {
    padding: 22px 20px;
    min-height: auto;
  }
  
  .pricing-card--individual {
    min-height: auto !important;
  }
  
  .pricing-plan-name {
    font-size: 1rem;
  }
  
  .pricing-plan-subtitle {
    font-size: 0.85rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .price-currency {
    font-size: 1rem;
  }
  
  .pricing-feature {
    font-size: 0.8rem;
  }
  
  .feature-icon {
    width: 14px;
    height: 14px;
  }
  
  .pricing-btn {
    font-size: 0.78rem;
    padding: 11px 18px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .category-header--children {
    flex-direction: column;
    text-align: left;
    gap: 32px;
  }
  
  .category-header--adults {
    flex-direction: column;
    text-align: left;
    gap: 32px;
  }
  
  .category-header--adults .category-header__right {
    align-items: flex-start;
  }
  
  .category-header--adults .category-subtitle {
    max-width: 100%;
  }
  
  .category-header__left {
    align-items: flex-start;
  }
  
  .category-header--children .category-subtitle {
    max-width: 100%;
  }
  
  .category-social-proof {
    justify-content: flex-start;
  }
  
  .social-proof-text {
    text-align: left;
  }
  
  .category-header__image-wrapper {
    /* Span the container like the pricing cards do. The 16px reserve is the
       decorative gradient's overhang, so its edge lands on the cards' edge. */
    width: min(100% - 16px, 400px);
    margin: 0;
  }
  
  .category-header__floating-badge {
    bottom: -12px;
    right: -8px;
    padding: 10px 16px;
  }
  
  .floating-badge__value {
    font-size: 0.9rem;
  }
  
  .pricing-category-section {
    padding: 60px 16px 100px 16px;
  }
  
  .pricing-category-section--children {
    padding: 110px 16px 60px 16px;
  }
  
  .pricing-category-section--adults {
    padding: 80px 16px 60px 16px;
  }
  
  .pricing-category-section--adults .pricing-card--individual {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
    margin-top: 0;
  }
  
  .category-title {
    font-size: 2.5rem;
  }
  
  .category-subtitle {
    font-size: 1rem;
    margin-top: 12px;
    max-width: 90%;
  }
  
  .category-header {
    margin-bottom: 50px;
  }
  
  /* .category-icon {
    width: 12px;
    height: 12px;
  } */
  
  .pricing-cards-row {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
  }
  
  .pricing-category-section--adults .pricing-cards-row {
    grid-template-columns: 1fr;
    max-width: 100%;
    /* Overrides the base 24px so both categories share the same spacing */
    gap: 40px;
    /* Clears the 140px reserved in the <=1024px block, which also matches here */
    padding-bottom: 0;
  }
  
  .pricing-card {
    padding: 24px;
    min-height: auto;
    /* Single column here, so equal-height stretching isn't needed. height: 100%
       would fight the auto-sized rows and make cards overflow into the gap. */
    height: auto;
  }
  
  .pricing-card--individual {
    min-height: auto !important;
  }
  
  .pricing-card-header {
    height: auto;
    min-height: auto;
  }
  
  .pricing-price {
    min-height: auto;
  }
  
  .pricing-plan-name {
    font-size: 1.05rem;
  }
  
  .pricing-plan-subtitle {
    font-size: 0.85rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .price-currency {
    font-size: 1rem;
  }
  
  .pricing-feature {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  .feature-icon {
    width: 15px;
    height: 15px;
  }
  
  .pricing-btn {
    font-size: 0.8rem;
    padding: 12px 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .category-header--children {
    gap: 24px;
  }
  
  .category-header--adults {
    gap: 24px;
  }
  
  .category-header__floating-badge {
    bottom: -10px;
    right: -4px;
    padding: 8px 14px;
    border-radius: 12px;
    gap: 8px;
  }
  
  .category-header__floating-badge svg {
    width: 16px;
    height: 16px;
  }
  
  .floating-badge__label {
    font-size: 0.6rem;
  }
  
  .floating-badge__value {
    font-size: 0.85rem;
  }
  
  .social-proof-avatar {
    width: 34px;
    height: 34px;
  }
  
  .social-proof-count {
    font-size: 0.85rem;
  }
  
  .social-proof-cta {
    font-size: 0.75rem;
  }
  
  .pricing-category-section {
    padding: 50px 16px 90px 16px;
  }
  
  .pricing-category-section--children {
    padding: 100px 16px 60px 16px;
  }
  
  .pricing-category-section--adults {
    padding: 70px 16px 60px 16px;
  }
  
  .pricing-category-section--adults .pricing-card--individual {
    grid-column: 1 / -1;
    padding: 28px 20px;
    gap: 28px;
    margin-top: 0;
  }
  
  .category-title {
    font-size: 2.2rem;
  }
  
  .category-subtitle {
    font-size: 0.95rem;
    margin-top: 10px;
    max-width: 95%;
  }
  
  .category-header {
    margin-bottom: 40px;
  }
  
  /* .category-icon {
    width: 10px;
    height: 10px;
  } */
  
  .pricing-cards-row {
    gap: 40px;
    max-width: 400px;
  }
  
  .pricing-card {
    padding: 20px;
    min-height: auto;
  }
  
  .pricing-card--individual {
    min-height: auto !important;
  }
  
  .pricing-card-header {
    height: auto;
    min-height: auto;
  }
  
  .pricing-price {
    min-height: auto;
  }
  
  .pricing-plan-name {
    font-size: 1rem;
  }
  
  .pricing-plan-subtitle {
    font-size: 0.85rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .price-currency {
    font-size: 1rem;
  }
  
  .pricing-feature {
    font-size: 0.82rem;
    margin-bottom: 7px;
  }
  
  .feature-icon {
    width: 14px;
    height: 14px;
  }
  
  .pricing-btn {
    font-size: 0.78rem;
    padding: 11px 14px;
  }
}

/* Display headings: Manrope ExtraBold (body stays Poppins) */
.category-title,
.payment-terms-title,
.exam-prep-title,
.test-title {
  font-family: 'Manrope', 'Poppins', system-ui, sans-serif;
  font-weight: 800;
}

/* Type scale (matches homepage tokens; price amounts and buttons stay as-is) */
.exam-prep-pink-subtitle,
.test-pink-subtitle,
.category-badge-text,
.category-label,
.payment-terms-badge-text,
.payment-terms-count,
.downloads-format-label {
  font-size: var(--text-eyebrow);
}

.category-title,
.category-header--children .category-title,
.category-header--adults .category-title,
.exam-prep-title,
.test-title,
.payment-terms-title {
  font-size: var(--text-section-title);
}

.category-subtitle,
.category-header--children .category-subtitle,
.category-header--adults .category-subtitle,
.exam-prep-description,
.test-description,
.payment-terms-subtitle,
.pet-info-description {
  font-size: var(--text-section-desc);
}

.pricing-plan-name,
.payment-term-title,
.downloads-title {
  font-size: var(--text-card-title);
}

.pricing-feature,
.pricing-plan-subtitle,
.individual-description,
.payment-term-description,
.downloads-description,
.adults-highlight-desc {
  font-size: var(--text-card-body);
}

.individual-title,
.pet-info-title {
  font-size: var(--text-panel-title);
}

@media (max-width: 768px) {
  .pricing-plan-name {
    line-height: 1.4;
  }

  .pricing-plan-subtitle,
  .pricing-feature {
    line-height: 1.6;
  }

  .pricing-feature {
    margin-bottom: 10px;
  }

  .pricing-features {
    margin-bottom: 24px;
  }
}
