/* Capzo Pricing Page v2 — Sleek, Modern, Glassmorphism, Responsive */

.pricing-page-v2 {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
}

/* Ambient Background Orbs */
.pricing-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pricing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
}

.pricing-orb--1 {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: radial-gradient(circle, #5eead4 0%, #0d9488 70%);
  top: -100px;
  right: -80px;
}

.pricing-orb--2 {
  width: min(550px, 85vw);
  height: min(550px, 85vw);
  background: radial-gradient(circle, #6366f1 0%, #3b82f6 70%);
  top: 25%;
  left: -120px;
  opacity: 0.14;
}

.pricing-orb--3 {
  width: min(450px, 75vw);
  height: min(450px, 75vw);
  background: radial-gradient(circle, #10b981 0%, #059669 70%);
  bottom: 5%;
  right: 15%;
  opacity: 0.12;
}

.pricing-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero Section */
.pricing-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(1.5rem, 3.2vw, 2.5rem);
}

.pricing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: #5eead4;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 20px -5px rgba(94, 234, 212, 0.2);
}

.pricing-badge-pill svg {
  color: #5eead4;
  flex-shrink: 0;
}

.pricing-title {
  margin: 0 0 0.95rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: #fff;
}

.pricing-title-gradient {
  background: linear-gradient(135deg, #fff 20%, #5eead4 65%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-lead {
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  color: var(--text-muted, #94a3b8);
  line-height: 1.85;
  margin: 0 auto 1.5rem;
  max-width: 680px;
}

/* Free Gift Banner */
.pricing-gift-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  margin: 0 auto 2.5rem;
  max-width: 620px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.12) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 12px 30px -10px rgba(94, 234, 212, 0.25);
  text-align: right;
  backdrop-filter: blur(12px);
}

.pricing-gift-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.14);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: #5eead4;
  flex-shrink: 0;
}

.pricing-gift-text {
  font-size: 0.94rem;
  color: #f1f5f9;
  line-height: 1.6;
}

.pricing-gift-text strong {
  color: #5eead4;
}

.pricing-gift-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #fde047;
  font-weight: 700;
  line-height: 1.5;
}

.pricing-gift-tip svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Billing Period Toggle Tabs */
.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.pricing-period-tabs-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.pricing-period-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.pricing-period-btn:hover {
  color: #fff;
}

.pricing-period-btn.is-active {
  color: #03201e;
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  box-shadow: 0 4px 18px rgba(94, 234, 212, 0.45);
}

.period-badge-chip {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pricing-period-btn.is-active .period-badge-chip {
  background: rgba(3, 32, 30, 0.2);
  color: #03201e;
  border-color: rgba(3, 32, 30, 0.3);
}

/* Cards Grid */
.pricing-cards-container {
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.pricing-panel-v2.hidden {
  display: none !important;
}

.pricing-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Card Styling */
.plan-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.65), 0 0 25px -8px rgba(94, 234, 212, 0.25);
}

/* Featured / Popular Card */
.plan-card-v2.is-featured {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.07) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid rgba(94, 234, 212, 0.5);
  box-shadow: 0 20px 50px -15px rgba(20, 184, 166, 0.3), 0 0 30px -5px rgba(94, 234, 212, 0.25);
  transform: translateY(-4px);
}

.plan-card-v2.is-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -15px rgba(20, 184, 166, 0.4), 0 0 40px -5px rgba(94, 234, 212, 0.35);
}

.plan-featured-ribbon {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  color: #03201e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4);
  white-space: nowrap;
}

/* Card Header */
.plan-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.plan-persona-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-card-v2.is-featured .plan-persona-tag {
  background: rgba(94, 234, 212, 0.15);
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.3);
}

.plan-volume-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.plan-minutes-hero {
  margin-bottom: 0.5rem;
}

.plan-minutes-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-minutes-unit {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-right: 0.35rem;
}

.plan-reels-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.plan-reels-count svg {
  flex-shrink: 0;
}

/* Card Price Section */
.plan-price-block {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.4rem;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.plan-price-toman {
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.plan-price-duration {
  font-size: 0.82rem;
  color: #94a3b8;
}

.plan-effective-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  font-size: 0.82rem;
}

.plan-rate-tag {
  color: #5eead4;
  font-weight: 700;
}

.plan-discount-pill {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-weight: 800;
  font-size: 0.72rem;
}

.plan-base-rate-strikethrough {
  text-decoration: line-through;
  color: #64748b;
  font-size: 0.78rem;
}

.plan-monthly-equivalent {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Features List inside Card */
.plan-features-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.plan-feature-li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.plan-feature-li svg {
  color: #5eead4;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Card CTA Button */
.plan-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  min-height: 38px;
  padding: 0.5rem 1.05rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.plan-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}

.plan-card-v2.is-featured .plan-cta-btn {
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  color: #03201e;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(20, 184, 166, 0.5);
}

.plan-card-v2.is-featured .plan-cta-btn:hover {
  box-shadow: 0 12px 30px -2px rgba(20, 184, 166, 0.65);
  transform: translateY(-2px) scale(1.01);
}

/* Interactive Calculator Section */
.pricing-calculator-box {
  margin: clamp(3rem, 5vw, 4.5rem) auto;
  max-width: 860px;
  padding: clamp(1.8rem, 3.5vw, 2.75rem);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(94, 234, 212, 0.05) 50%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(94, 234, 212, 0.25);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.calc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.calc-header h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #fff;
}

.calc-header p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.calc-slider-wrap {
  margin-bottom: 2rem;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.calc-slider-label span {
  color: #94a3b8;
  font-size: 0.92rem;
}

.calc-slider-value {
  color: #5eead4;
  font-size: 1.35rem;
  font-weight: 900;
}

.calc-range-input {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  accent-color: #5eead4;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 15px rgba(94, 234, 212, 0.8);
  cursor: pointer;
  border: 2px solid #03201e;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.calc-result-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.calc-result-card.highlight {
  background: rgba(94, 234, 212, 0.08);
  border-color: rgba(94, 234, 212, 0.3);
}

.calc-res-title {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.calc-res-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.calc-res-val.cyan {
  color: #5eead4;
}

.calc-res-val.green {
  color: #4ade80;
}

/* Feature Matrix Table */
.pricing-matrix-wrap {
  margin: clamp(3rem, 5vw, 5rem) 0;
}

.matrix-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.matrix-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #fff;
}

.matrix-header p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.pricing-table-overflow {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
}

.pricing-table-v2 {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 640px;
}

.pricing-table-v2 th,
.pricing-table-v2 td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.pricing-table-v2 thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-weight: 800;
}

.pricing-table-v2 thead th.col-capzo {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.08);
}

.pricing-table-v2 tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.pricing-table-v2 td.col-capzo {
  background: rgba(94, 234, 212, 0.03);
  font-weight: 700;
  color: #e2e8f0;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #5eead4;
  font-weight: 700;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #ef4444;
  font-weight: 600;
}

.badge-check svg,
.badge-cross svg {
  flex-shrink: 0;
}

/* Trust Badges Grid */
.pricing-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: clamp(2.5rem, 4vw, 4rem) 0;
}

.trust-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.25);
}

.trust-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  display: grid;
  place-items: center;
  color: #5eead4;
}

.trust-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* FAQ Section */
.pricing-faq-wrap {
  margin: clamp(3rem, 5vw, 5rem) 0;
}

.pricing-faq-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.pricing-faq-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #fff;
}

.pricing-faq-header p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.pricing-faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-faq-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.pricing-faq-card[open] {
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pricing-faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.pricing-faq-card[open] .faq-chevron {
  transform: rotate(180deg);
  color: #5eead4;
}

.pricing-faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.8;
  margin: 0;
}

/* Bottom CTA Banner */
.pricing-bottom-cta {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  background: radial-gradient(circle at 10% 20%, rgba(94, 234, 212, 0.15) 0%, rgba(99, 102, 241, 0.1) 40%, rgba(10, 12, 16, 0.9) 100%);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-bottom-cta h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.85rem;
}

.pricing-bottom-cta p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.pricing-bottom-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-cta-glow {
  padding: 0.5rem 1.15rem;
  min-height: 38px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  color: #03201e;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.45);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-cta-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.6);
}

.btn-cta-secondary {
  padding: 0.5rem 1.15rem;
  min-height: 38px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}

/* SEO Cross Links */
.pricing-seo-links {
  margin-top: 3.5rem;
  text-align: center;
}

.pricing-seo-links h4 {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.seo-pills-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.seo-pill-link {
  font-size: 0.84rem;
  color: #94a3b8;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.seo-pill-link:hover {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.3);
}

/* Responsiveness */
@media (max-width: 768px) {
  .pricing-grid-v2 {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .pricing-period-tabs-v2 {
    width: 100%;
    justify-content: center;
  }
  .pricing-period-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.86rem;
  }
  .plan-card-v2 {
    padding: 1.6rem 1.3rem;
  }
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Personalized User Status Banner & Smart Calculator Recommender —— */
.pricing-user-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
  max-width: 960px;
  margin: 0 auto 1.65rem;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(15, 23, 42, 0.72));
  backdrop-filter: blur(12px);
}

.pricing-user-status-bar.is-warn {
  border-color: rgba(245, 158, 11, 0.36);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), rgba(15, 23, 42, 0.75));
}

.pricing-user-status-main {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 1 1 300px;
}

.pricing-user-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 850;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.pricing-user-copy {
  min-width: 0;
}

.pricing-user-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.pricing-user-title-row strong {
  color: #f8fafc;
  font-size: 0.96rem;
}

.pricing-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.pricing-status-pill.is-ok {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
}

.pricing-status-pill.is-warn {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.pricing-status-pill.is-info {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.pricing-user-meta {
  margin: 0.25rem 0 0;
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.pricing-user-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-presets-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.calc-preset-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  text-align: right;
  cursor: pointer;
  transition: all 0.18s ease;
}

.calc-preset-chip strong {
  font-size: 0.88rem;
  font-weight: 800;
}

.calc-preset-chip small {
  font-size: 0.72rem;
  color: #94a3b8;
}

.calc-preset-chip:hover {
  border-color: rgba(94, 234, 212, 0.35);
}

.calc-preset-chip.is-active {
  border-color: rgba(94, 234, 212, 0.65);
  background: rgba(20, 184, 166, 0.14);
}

.calc-preset-chip.is-active strong {
  color: #5eead4;
}

.calc-period-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.calc-period-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.calc-period-pill small {
  padding: 0.06rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(94, 234, 212, 0.15);
  color: #5eead4;
}

.calc-period-pill.is-active {
  background: rgba(94, 234, 212, 0.16);
  border-color: rgba(94, 234, 212, 0.55);
  color: #fff;
}

.calc-recommended-plan {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(56, 189, 248, 0.06));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
}

.calc-rec-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calc-rec-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  color: #5eead4;
}

.calc-rec-copy strong {
  font-size: 1.08rem;
  font-weight: 900;
  color: #fff;
}

.calc-rec-copy small {
  font-size: 0.8rem;
  color: #94a3b8;
}

.calc-rec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.calc-rec-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #f8fafc;
}

@media (max-width: 768px) {
  .calc-presets-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-user-status-bar,
  .calc-recommended-plan {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-user-status-actions,
  .calc-rec-actions {
    justify-content: space-between;
  }

  .calc-rec-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
