/* ============================================================
   pricing.css — PortfolixHub pricing page styles
   ============================================================ */

/* ── PAGE WRAPPER ── */
.page { padding-top: 0; }

/* ── PRICING HERO ── */
.pricing-hero {
  background: var(--black);
  padding: 80px var(--pad) 72px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.pricing-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.pricing-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.pricing-hero h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, .25);
}

.pricing-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

/* ── MAIN CONTENT ── */
.main-content {
  background: var(--white);
}

/* ── PRICING SECTION ── */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
}

.pricing-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 64px;
  max-width: 600px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 120px;
}

.pricing-card {
  border: 1.5px solid var(--g200);
  border-radius: 16px;
  padding: 40px 32px;
  background: var(--white);
  position: relative;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.pricing-card:hover {
  border-color: var(--black);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
  transform: translateY(-4px);
}

.pricing-card.highlighted {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--black);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pricing-card.highlighted .badge {
  background: var(--white);
  color: var(--black);
}

.price-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--g500);
  margin-bottom: 12px;
}

.pricing-card.highlighted .price-label {
  color: rgba(255, 255, 255, .65);
}

.price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
  color: var(--black);
}

.pricing-card.highlighted .price {
  color: var(--white);
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--g500);
  margin-left: 8px;
}

.pricing-card.highlighted .price span {
  color: rgba(255, 255, 255, .6);
}

.price-desc {
  font-size: 14px;
  color: var(--g500);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-card.highlighted .price-desc {
  color: rgba(255, 255, 255, .75);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  padding: 24px 0;
}

.pricing-card.highlighted .features-list {
  border-color: rgba(255, 255, 255, .1);
}

.features-list li {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.features-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--black);
  border-radius: 50%;
  margin-right: 10px;
}

.pricing-card.highlighted .features-list li {
  color: rgba(255, 255, 255, .8);
}

.pricing-card.highlighted .features-list li::before {
  background: var(--white);
}

.cta-link {
  display: inline-block;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  position: relative;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
}

.cta-link::after {
  content: ' \u2192';
  opacity: 0;
  margin-left: 0;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
}

.cta-link:hover::after {
  opacity: 1;
  margin-left: 8px;
}

.pricing-card.highlighted .cta-link {
  color: var(--white);
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px var(--pad);
}

.benefits-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 64px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-item {
  text-align: left;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1.5px solid var(--g200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--g600);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.benefit-item:hover .benefit-icon {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.benefit-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--black);
}

.benefit-item p {
  font-size: 14px;
  color: var(--g500);
  line-height: 1.6;
}

/* ── ADD-ONS SECTION ── */
.addons-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px var(--pad);
}

.addons-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 64px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.addon-item {
  padding: 24px;
  border-radius: 12px;
  border: 1.5px solid var(--g200);
  background: var(--g50);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.addon-item:hover {
  border-color: var(--black);
  background: var(--white);
  transform: translateY(-4px);
}

.addon-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.addon-price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 4px;
}

.addon-note {
  font-size: 12px;
  color: var(--g500);
  line-height: 1.5;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-section,
  .benefits-section,
  .addons-section {
    padding: 60px var(--pad);
  }
}

/* ── SECTION CONTENT ── */
.section-content {
  padding: 80px var(--pad);
  background: var(--white);
}

.section-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-content > .container > p {
  font-size: 16px;
  color: var(--g500);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 700px;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px;
  border: 1.5px solid var(--g200);
  border-radius: 16px;
  background: var(--g50);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  animation: slideUpReveal .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }
.feature-card:nth-child(7) { animation-delay: 0.35s; }
.feature-card:nth-child(8) { animation-delay: 0.4s; }

.feature-card:hover {
  border-color: var(--black);
  background: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--black);
}

.feature-card p {
  font-size: 14px;
  color: var(--g500);
  line-height: 1.6;
}

/* ── PRICING TABLE ── */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pricing-plan {
  border: 1.5px solid var(--g200);
  border-radius: 16px;
  padding: 40px 32px;
  background: var(--white);
  position: relative;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  animation: slideUpReveal .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
}

.pricing-plan:nth-child(1) { animation-delay: 0.1s; }
.pricing-plan:nth-child(2) { animation-delay: 0.2s; }
.pricing-plan:nth-child(3) { animation-delay: 0.3s; }

.pricing-plan:hover {
  border-color: var(--black);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
  transform: translateY(-8px);
}

.pricing-plan.featured {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.pricing-plan.featured .plan-price { color: var(--white); }
.pricing-plan.featured h3 { color: var(--white); }
.pricing-plan.featured ul li { color: rgba(255, 255, 255, .75); }

.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #16a34a;
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.plan-header { margin-bottom: 28px; }

.plan-header h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--black);
}

.pricing-plan.featured .plan-header h3 {
  color: var(--white);
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--black);
}

.pricing-plan.featured .plan-price {
  color: var(--white);
}

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--g500);
  margin-left: 4px;
}

.pricing-plan.featured .plan-price span {
  color: rgba(255, 255, 255, .6);
}

.plan-features {
  margin-bottom: 32px;
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  padding: 24px 0;
}

.pricing-plan.featured .plan-features {
  border-color: rgba(255, 255, 255, .1);
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  font-size: 14px;
  color: var(--g500);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: #16a34a;
}

.pricing-plan.featured .plan-features li {
  color: rgba(255, 255, 255, .75);
}

.pricing-plan .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ── ADDITIONAL SERVICES ── */
.additional-services {
  margin-top: 80px;
  padding: 48px;
  background: var(--g50);
  border-radius: 16px;
  border: 1px solid var(--g200);
}

.additional-services h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  text-align: center;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.service-item {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--g200);
  text-align: center;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.service-item:hover {
  border-color: var(--black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-4px);
}

.service-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}

.service-item p {
  font-size: 18px;
  font-weight: 700;
  color: #16a34a;
}

.service-item small {
  display: block;
  font-size: 12px;
  color: var(--g500);
  margin-top: 4px;
}

/* ── FACILITY DETAILS ── */
.facility-details {
  margin-top: 80px;
}

.facility-details h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  text-align: center;
}

.facility-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.spec-card {
  padding: 28px;
  border: 1.5px solid var(--g200);
  border-radius: 16px;
  background: var(--g50);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.spec-card:hover {
  border-color: var(--black);
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.spec-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  color: var(--black);
}

.spec-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-card li {
  font-size: 13.5px;
  color: var(--g600);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.spec-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 600;
}

/* ── PLAN NOTE ── */
.plan-note {
  font-size: 12px;
  color: var(--g500);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.plan-tagline {
  font-size: 13px;
  color: var(--g500);
  margin-bottom: 16px;
  font-style: italic;
}

/* ── ANIMATIONS ── */
@keyframes slideUpReveal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  animation: fadeIn .8s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .pricing-table {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px;
  }

  .additional-services {
    padding: 32px 24px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .section-content {
    padding: 60px var(--pad);
  }
}
