/* ============================================================
   VU-QC Pricing Page — Premium 6-Tier Model
   ============================================================ */

/* ---------- Hero ---------- */
.pricing-hero { padding-bottom: 56px; }
.pricing-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.pricing-hero-inner h1 { max-width: 18ch; margin: 0 auto; }
.pricing-hero-inner .lead { max-width: 62ch; margin: 14px auto 22px; }
.pricing-hero-inner .hero-actions { justify-content: center; }
.pricing-hero-note { margin-top: 18px; color: rgba(203,213,225,0.72); font-size: 12.5px; max-width: 56ch; margin-left: auto; margin-right: auto; line-height: 1.5; }
.pricing-positioning { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pricing-positioning span { display: inline-flex; align-items: center; gap: 6px; color: #93c5fd; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.pricing-positioning span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--blue)); flex-shrink: 0; }

/* ---------- Billing Toggle ---------- */
.billing-bar { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 18px 0 6px; }
.billing-toggle { display: inline-flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 3px; gap: 0; }
.billing-toggle button { border: 0; background: transparent; color: #94a3b8; border-radius: 999px; padding: 8px 16px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.2s ease; }
.billing-toggle button.active { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.28); }
.billing-save { font-size: 11.5px; color: var(--emerald); font-weight: 700; letter-spacing: 0.02em; }
.billing-note { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0 0; }

/* ---------- Model Overview ---------- */
.model-overview { padding: 48px 0 10px; }
.model-overview .section-head { margin-bottom: 22px; }
.model-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.model-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; transition: transform 0.2s ease, border-color 0.2s ease; }
.model-card:hover { transform: translateY(-2px); border-color: rgba(37,99,235,0.2); }
.model-card-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #eff6ff, #eef2ff); color: var(--blue); font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.model-card h4 { font-size: 14px; margin: 0 0 6px; color: var(--navy); }
.model-card p { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }

/* ---------- Pricing Tiers Grid ---------- */
.pricing-tiers-section { padding: 42px 0 56px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s ease, border-color 0.2s ease; position: relative; }
.tier-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.22); }

/* Tier badges */
.tier-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.tier-badge.free { background: #d1fae5; color: #047857; }
.tier-badge.starter { background: #dbeafe; color: #1d4ed8; }
.tier-badge.popular { background: linear-gradient(135deg, #ede9fe, #dbeafe); color: #6d28d9; }
.tier-badge.field { background: #fef3c7; color: #a16207; }
.tier-badge.portfolio { background: #e0f2fe; color: #0369a1; }
.tier-badge.enterprise { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #e2e8f0; }

/* Featured tier */
.tier-card.featured { border-color: rgba(109,93,252,0.24); background: linear-gradient(180deg, #fff, #f8f7ff); box-shadow: 0 24px 64px rgba(109,93,252,0.12), var(--shadow); }
.tier-card.featured::before { content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blue), var(--violet)); }

/* Enterprise tier */
.tier-card.enterprise-card { background: linear-gradient(135deg, #0f172a, #1a2744); border-color: rgba(255,255,255,0.1); color: #e2e8f0; }
.tier-card.enterprise-card h3 { color: #fff; }
.tier-card.enterprise-card .price-line { color: #fff; }
.tier-card.enterprise-card .price-line small { color: #94a3b8; }
.tier-card.enterprise-card .tier-desc { color: #cbd5e1; }
.tier-card.enterprise-card .tier-list li { color: #cbd5e1; }
.tier-card.enterprise-card .tier-list li::before { background: linear-gradient(135deg, #34d399, #60a5fa); }
.tier-card.enterprise-card .tier-target { color: #94a3b8; }
.tier-card.enterprise-card .tier-value { color: #93c5fd; border-color: rgba(255,255,255,0.1); }
.tier-card.enterprise-card .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.tier-card.enterprise-card .btn.ghost:hover { background: rgba(255,255,255,0.12); }

/* Tier internals */
.tier-head { display: flex; flex-direction: column; gap: 4px; }
.tier-head h3 { font-size: 18px; margin: 0; color: var(--navy); }
.price-line { color: var(--navy); font-size: 28px; font-weight: 800; line-height: 1.15; }
.price-line small { font-size: 13px; color: var(--muted); font-weight: 500; }
.price-line .annual-price { font-size: 13px; color: var(--muted); font-weight: 500; display: block; margin-top: 2px; }
.tier-target { font-size: 11.5px; color: var(--muted); font-style: italic; line-height: 1.4; }
.tier-desc { font-size: 12.5px; color: var(--slate); line-height: 1.45; }
.tier-included-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: -4px; }
.tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.tier-list li { position: relative; padding-left: 16px; color: var(--slate); font-size: 12.5px; line-height: 1.4; }
.tier-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--blue)); }
.tier-not-included { margin-top: 4px; }
.tier-not-included-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.tier-not-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.tier-not-list li { position: relative; padding-left: 16px; color: #94a3b8; font-size: 12px; line-height: 1.4; }
.tier-not-list li::before { content: '—'; position: absolute; left: 0; top: 0; color: #cbd5e1; font-size: 11px; }
.tier-value { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--blue); font-weight: 600; font-style: italic; }
.tier-btn { width: 100%; justify-content: center; margin-top: auto; }
.tier-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: -4px; }
.dark-border { color: var(--slate); background: #fff; border: 1px solid var(--line-strong); }

/* ---------- Modular Strategy Note ---------- */
.modular-note { background: linear-gradient(135deg, #f0f9ff, #f5f3ff); border: 1px solid rgba(37,99,235,0.1); border-radius: 18px; padding: 22px 24px; margin-top: 32px; }
.modular-note h4 { font-size: 14px; color: var(--navy); margin: 0 0 8px; }
.modular-note p { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin: 0; }

/* ---------- Add-On Suites ---------- */
.addons-section { padding: 56px 0; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s ease; }
.addon-card:hover { transform: translateY(-3px); }
.addon-card h3 { font-size: 16px; margin: 0; color: var(--navy); }
.addon-subtitle { font-size: 12.5px; color: var(--muted); font-style: italic; }
.addon-price { font-size: 14px; font-weight: 700; color: var(--navy); }
.addon-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.addon-included { font-size: 11.5px; color: var(--emerald); font-weight: 600; }
.addon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.addon-list li { position: relative; padding-left: 15px; font-size: 12px; color: var(--slate); line-height: 1.4; }
.addon-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--blue)); }

/* Premium surety card */
.addon-card.surety-premium { background: linear-gradient(135deg, #0f172a, #1a2744); border-color: rgba(255,255,255,0.08); color: #e2e8f0; }
.addon-card.surety-premium h3 { color: #fff; }
.addon-card.surety-premium .addon-subtitle { color: #94a3b8; }
.addon-card.surety-premium .addon-price { color: #fff; }
.addon-card.surety-premium .addon-price small { color: #94a3b8; }
.addon-card.surety-premium .addon-included { color: #34d399; }
.addon-card.surety-premium .addon-list li { color: #cbd5e1; }
.addon-card.surety-premium .addon-list li::before { background: linear-gradient(135deg, #fbbf24, #34d399); }
.addon-card.surety-premium .btn { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.16); }

/* ---------- AI Credits Section ---------- */
.credits-section { padding: 56px 0; }
.credits-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.credits-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.credits-table th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; background: #f8fafc; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.credits-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--slate); }
.credits-table tbody tr:hover { background: #f8fbff; }
.credits-table td:last-child { font-weight: 600; color: var(--navy); }
.overage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
.overage-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.overage-card label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.overage-card strong { font-size: 18px; color: var(--navy); }
.overage-card small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- Optional Services ---------- */
.services-section { padding: 56px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; transition: transform 0.2s ease; }
.service-card:hover { transform: translateY(-2px); }
.service-card h4 { font-size: 14px; color: var(--navy); margin: 0 0 6px; }
.service-card .service-price { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }

/* ---------- Plan Comparison Table ---------- */
.comparison-section { padding: 56px 0; }
.comparison-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 860px; }
.comparison-table thead th { position: sticky; top: 0; z-index: 2; background: #f8fafc; padding: 12px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid var(--line); text-align: center; white-space: nowrap; }
.comparison-table thead th:first-child { text-align: left; min-width: 170px; }
.comparison-table thead th.popular-col { background: linear-gradient(180deg, #eff6ff, #f8fafc); color: var(--blue); }
.comparison-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: center; color: var(--slate); }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.comparison-table tbody tr:hover { background: #f8fbff; }
.comparison-table .check { color: var(--emerald); font-weight: 700; }
.comparison-table .dash { color: #cbd5e1; }
.comparison-table .addon-tag { display: inline-block; padding: 2px 6px; border-radius: 6px; background: #fef3c7; color: #a16207; font-size: 10px; font-weight: 700; }

/* ---------- ROI Section ---------- */
.roi-section { padding: 56px 0; }
.roi-impact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.roi-impact-card { background: linear-gradient(135deg, #fef3c7, #fffbeb); border: 1px solid rgba(245,158,11,0.18); border-radius: 18px; padding: 18px; text-align: center; }
.roi-impact-card h4 { font-size: 13px; color: var(--navy); margin: 0 0 6px; }
.roi-impact-card .impact-value { font-size: 22px; font-weight: 800; color: #b45309; margin-bottom: 4px; }
.roi-impact-card p { font-size: 11.5px; color: var(--muted); margin: 0; line-height: 1.4; }
.roi-message { text-align: center; max-width: 64ch; margin: 0 auto 28px; font-size: 13px; color: var(--slate); font-weight: 600; }
.roi-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.roi-form-card { position: sticky; top: 98px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.roi-form-card h3 { margin: 0 0 16px; font-size: 16px; }
.roi-form-card label { display: grid; gap: 6px; margin-bottom: 12px; color: var(--slate); font-size: 12.5px; }
.roi-form-card input[type="range"] { width: 100%; accent-color: var(--blue); }
.roi-form-card small { color: var(--muted); font-size: 11px; }
.roi-label-row { display: flex; justify-content: space-between; align-items: center; }
.roi-label-row span { font-weight: 700; color: var(--navy); font-size: 13px; }
.roi-results-panel { display: grid; gap: 16px; }
.roi-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roi-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.roi-stat label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 6px; }
.roi-stat strong { font-size: 22px; color: var(--navy); }
.roi-disclaimer { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; line-height: 1.5; }

/* ---------- Competitive Value ---------- */
.competitive-section { padding: 56px 0; }
.competitive-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.competitive-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 700px; }
.competitive-table thead th { background: #f8fafc; padding: 12px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid var(--line); text-align: left; }
.competitive-table thead th:last-child { color: var(--blue); }
.competitive-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--slate); vertical-align: top; }
.competitive-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.competitive-table td:last-child { color: var(--navy); font-weight: 500; }
.competitive-table tbody tr:hover { background: #f8fbff; }

/* ---------- FAQ ---------- */
.faq-section { padding: 56px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.open { border-color: rgba(37,99,235,0.2); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; cursor: pointer; border: 0; background: transparent; width: 100%; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--navy); gap: 12px; font-family: inherit; }
.faq-q:hover { background: #f8fbff; }
.faq-icon { width: 20px; height: 20px; border-radius: 6px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: #eff6ff; color: var(--blue); }
.faq-a { display: none; padding: 0 18px 16px; font-size: 12.5px; color: var(--slate); line-height: 1.55; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA Band ---------- */
.pricing-cta-band { padding: 48px 0; }
.pricing-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.compact-lead { max-width: 52ch; }
.cta-box-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: end; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .model-cards { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .overage-grid { grid-template-columns: repeat(3, 1fr); }
  .roi-layout { grid-template-columns: 1fr; }
  .roi-form-card { position: static; }
  .roi-impact-cards { grid-template-columns: repeat(3, 1fr); }
  .pricing-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .addons-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .model-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .overage-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-impact-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .roi-results-grid { grid-template-columns: 1fr; }
  .cta-box-group { justify-content: stretch; flex-direction: column; }
  .billing-bar { gap: 10px; }
}

@media (max-width: 840px) {
  .overage-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}