/* ============================================================
   ARCHETYPE A — "Fortress" (Bastion) — Pricing Page
   Content-only styles (shared styles loaded via style.css)
   ============================================================ */

/* === PRICING HERO === */
.prt-pricing-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 24px 60px;
  text-align: center;
  overflow: hidden;
}
.prt-pricing-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.prt-pricing-hero-heading {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prt-fade-up 0.8s ease both;
}
.prt-pricing-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
  animation: prt-fade-up 0.8s ease 0.15s both;
}

/* === PLAN CARDS (3-column) === */
.prt-pricing-plans {
  padding: 40px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.prt-pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.prt-pricing-plan {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: prt-fade-up 0.7s ease both;
}
.prt-pricing-plan:nth-child(1) { animation-delay: 0.1s; }
.prt-pricing-plan:nth-child(2) { animation-delay: 0.2s; }
.prt-pricing-plan:nth-child(3) { animation-delay: 0.3s; }
.prt-pricing-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.prt-pricing-plan-featured {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, rgba(109, 74, 255, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 40px rgba(109, 74, 255, 0.1);
}
.prt-pricing-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  white-space: nowrap;
}
.prt-pricing-plan-header {
  margin-bottom: 28px;
}
.prt-pricing-plan-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.prt-pricing-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.prt-pricing-price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.prt-pricing-price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.prt-pricing-plan-features {
  margin-bottom: 32px;
  text-align: left;
}
.prt-pricing-plan-feature {
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding-left: 28px;
  position: relative;
}
.prt-pricing-plan-feature:last-child {
  border-bottom: none;
}
.prt-pricing-plan-feature::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary-color);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prt-pricing-plan .prt-btn {
  width: 100%;
}
.prt-pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.prt-pricing-cta {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-surface);
}
.prt-pricing-cta-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.prt-pricing-cta-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
  animation: prt-fade-up 0.7s ease both;
}
.prt-pricing-cta-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  animation: prt-fade-up 0.7s ease 0.12s both;
}
.prt-pricing-cta .prt-btn {
  animation: prt-fade-up 0.7s ease 0.24s both;
}
.prt-pricing-cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  animation: prt-glow-pulse 7s ease-in-out infinite;
}

/* === CONTENT RESPONSIVE === */
@media (max-width: 768px) {
  .prt-pricing-hero {
    padding: calc(var(--nav-height) + 48px) 20px 40px;
  }
  .prt-pricing-hero-heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .prt-pricing-plans {
    padding: 24px 20px 64px;
  }
  .prt-pricing-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin: 0 auto;
  }
  .prt-pricing-plan {
    padding: 32px 24px;
  }
  .prt-pricing-price-amount {
    font-size: 2.2rem;
  }
  .prt-pricing-cta {
    padding: 64px 20px;
  }
  .prt-pricing-cta-glow {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .prt-pricing-hero-heading {
    font-size: 1.7rem;
  }
  .prt-pricing-hero-desc {
    font-size: 0.95rem;
  }
}
