/* ============================================================
   FUNDORA SOLUTIONS — PRICING PAGE STYLES
   Role: Page-specific styles for pricing.html
   ============================================================ */

/* ─── LABEL CHIP ─── */
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: var(--s-5);
}
.label-chip::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--c-green);
  opacity: .6;
}

/* ─── HERO ─── */
.pricing-hero {
  padding: calc(var(--nav-h) + 40px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(76,185,68,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Override bg-grid for pricing page — dot pattern */
.pricing-hero .bg-grid {
  background-image: radial-gradient(circle, rgba(76,185,68,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  opacity: 1;
}

.pricing-hero__eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-6);
}
.pricing-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--c-text);
  margin-bottom: var(--s-6);
}
.pricing-hero h1 em {
  font-style: normal;
  color: var(--c-green);
}
.pricing-hero__sub {
  font-size: var(--t-md);
  color: var(--c-text-2);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.pricing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  color: var(--c-text-2);
  background: rgba(76,185,68,.04);
}
.pricing-hero__badge strong { color: var(--c-green); }

/* ─── COMPARISON BAR ─── */
.compare-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: var(--s-8) 0;
  margin-bottom: var(--s-20);
}
.compare-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-12);
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.compare-item { text-align: center; }
.compare-item__val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  display: block;
}
.compare-item__label {
  font-size: var(--t-xs);
  color: var(--c-text-2);
  margin-top: 4px;
}
.compare-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.07);
}
@media (max-width: 560px) { .compare-sep { display: none; } }

/* ─── PRICING GRID ─── */
.pricing-section { padding: 0 0 100px; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .tier-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

/* ─── TIER CARD ─── */
.tier {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  background: var(--c-bg-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  position: relative;
  transition: border-color .25s, transform .25s;
}
.tier:hover {
  border-color: rgba(76,185,68,.3);
  transform: translateY(-3px);
}
.tier--featured {
  background: var(--c-bg-1);
  border-color: var(--c-green);
  border-width: 1.5px;
  padding-top: 52px;
}
.tier--featured:hover {
  border-color: var(--c-green);
  transform: translateY(-4px);
}

.tier__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-green);
  color: var(--c-bg);
  font-family: var(--font-head);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  white-space: nowrap;
}

.tier__maturity {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 6px;
}
.tier__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.tier__desc {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.6;
  margin-top: 2px;
}

.tier__price-block {
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: var(--s-5) 0;
}
.tier__price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tier__currency {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-text-2);
  align-self: flex-start;
  margin-top: 8px;
}
.tier__price {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -.03em;
}
.tier--featured .tier__price { color: var(--c-green); }
.tier__period {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  margin-left: 2px;
}
.tier__layers {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: var(--c-text-2);
}
.tier__layers strong { color: var(--c-green); }

/* ─── FEATURE LIST ─── */
.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.5;
}
.tier__features li .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.tier--featured .tier__features li { color: #c8deda; }
.tier--featured .tier__features li .check { background: rgba(76,185,68,.2); }

.check svg {
  width: 9px;
  height: 9px;
  stroke: var(--c-green);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tier__features li strong {
  color: var(--c-text);
  font-weight: 500;
}

/* ─── CTA BUTTON ─── */
.tier__cta { margin-top: auto; }
.btn--tier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn--tier-ghost {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text);
}
.btn--tier-ghost:hover {
  border-color: rgba(76,185,68,.5);
  background: var(--c-green-dim);
  color: var(--c-text);
}
.btn--tier-primary {
  background: var(--c-green);
  color: var(--c-bg);
}
.btn--tier-primary:hover {
  background: #5fd656;
  transform: translateY(-1px);
}

/* ─── NO CONTRACT STRIP ─── */
.no-contract {
  text-align: center;
  margin-top: 28px;
  font-size: var(--t-sm);
  color: var(--c-text-3);
}
.no-contract strong { color: var(--c-text-2); }

/* ─── EVERYTHING INCLUDED ─── */
.included-section {
  padding: var(--s-20) 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.included-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--s-3);
  letter-spacing: -.02em;
}
.included-section .section-sub {
  font-size: var(--t-base);
  color: var(--c-text-2);
  max-width: 52ch;
  margin-bottom: 52px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.included-card {
  background: var(--c-bg-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: border-color .2s;
}
.included-card:hover { border-color: var(--c-border); }
.included-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.included-card__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-green);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.included-card h3 {
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}
.included-card p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.6;
}

/* ─── GUARANTEE ─── */
.guarantee-section { padding: var(--s-20) 0; }
.guarantee-card {
  background: var(--c-bg-1);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 640px) {
  .guarantee-card { grid-template-columns: 1fr; padding: 36px 28px; }
}
.guarantee-card__shield {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee-card__shield svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-green);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guarantee-card__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: var(--s-3);
}
.guarantee-card h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-bottom: var(--s-4);
}
.guarantee-card p {
  font-size: var(--t-base);
  color: var(--c-text-2);
  line-height: 1.75;
}
.guarantee-card p strong { color: var(--c-text); font-weight: 500; }

/* ─── FAQ ─── */
.faq-section {
  padding: var(--s-20) 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.faq-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--s-12);
  letter-spacing: -.02em;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 48px;
}
.faq-item h3 {
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--s-3);
}
.faq-item p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ─── FINAL CTA (pricing-specific overrides) ─── */
.pricing-section + .no-contract + .included-section,
.cta-block {
  border-top: 1px solid rgba(255,255,255,.07);
}

.btn--cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--c-green);
  color: var(--c-bg);
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 700;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all .2s;
}
.btn--cta-primary:hover { background: #5fd656; transform: translateY(-2px); }

.btn--cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 600;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all .2s;
}
.btn--cta-ghost:hover { border-color: rgba(76,185,68,.4); color: var(--c-text); }
