/* ==========================================================================
   PRICING PAGE STYLES — AIdetreabă
   Styles specific to preturi.html.
   ========================================================================== */

/* ---- HERO ---- */
.preturi-hero {
  padding: clamp(60px, 10vw, 100px) 0 clamp(48px, 8vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 55% 45% at 50% 40%, rgba(86,97,255,.1) 0%, transparent 60%),
    var(--color-bg);
}
.preturi-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}
.preturi-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- PRICING CARDS ---- */
.pricing-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--ts-med) var(--ease-out), box-shadow var(--ts-med) var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card--featured {
  border-color: rgba(86,97,255,.6);
  background: linear-gradient(160deg, rgba(86,97,255,.07) 0%, rgba(26,214,255,.04) 100%), var(--color-bg-surface);
  box-shadow: 0 0 0 1px rgba(86,97,255,.3), var(--shadow-brand);
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-brand);
  color: #05060f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  align-self: flex-start;
}
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.pricing-tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: var(--space-xl);
}
.pricing-price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.pricing-price-amount--gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.pricing-price-note {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  align-self: center;
}
.pricing-price--custom {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1;
}

.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
  margin-bottom: var(--space-2xl);
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pricing-feature svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-feature--muted {
  opacity: 0.6;
}
.pricing-feature--muted svg {
  color: #ff5a64;
}
.pricing-feature--muted span {
  color: var(--color-text-subtle);
}

.pricing-cta {
  margin-top: auto;
}

/* ---- GUARANTEE BLOCK ---- */
.guarantee-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.guarantee-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .guarantee-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }
  .guarantee-shield { margin: 0 auto; }
}
.guarantee-shield {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: rgba(32,227,178,.1);
  border: 1px solid rgba(32,227,178,.25);
  display: grid;
  place-items: center;
  color: var(--color-success);
  flex-shrink: 0;
}
.guarantee-shield svg { width: 36px; height: 36px; }
.guarantee-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.guarantee-text {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.guarantee-stat {
  text-align: center;
}
.guarantee-stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.guarantee-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
  max-width: 100px;
  line-height: 1.4;
}

/* ---- PRICING FAQ ---- */
.pricing-faq {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

/* ---- COST COMPARISON BAR ---- */
.cost-compare-bar {
  padding: var(--space-2xl) 0;
  background: rgba(255,255,255,.015);
  border-bottom: 1px solid var(--color-border);
}
.cost-compare-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.cost-compare-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-width: 200px;
}
.cost-compare-item--red {
  background: rgba(255,90,100,.05);
  border-color: rgba(255,90,100,.2);
}
.cost-compare-item--green {
  background: rgba(32,227,178,.05);
  border-color: rgba(32,227,178,.2);
}
.cost-compare-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}
.cost-compare-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 4px;
}
.cost-compare-item--green .cost-compare-value {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cost-compare-note {
  font-size: 0.78rem;
  color: var(--color-text-subtle);
}
.cost-compare-vs {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-subtle);
  opacity: 0.4;
}
.cost-compare-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: var(--space-lg);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ---- PRICE BLOCK (setup + monthly stacked) ---- */
.pricing-price-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.pricing-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.pricing-price-row--monthly {
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-border);
}
.pricing-price-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.pricing-price-badge--monthly {
  border-color: rgba(86,97,255,.3);
  color: var(--color-primary);
}
.pricing-price--small {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.pricing-price-amount--small {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

/* ---- MONTHLY MATH ROI NOTE ---- */
.pricing-monthly-math {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}
.pricing-monthly-math--featured {
  background: rgba(86,97,255,.07);
  border-color: rgba(86,97,255,.2);
  color: var(--color-text);
}
.pricing-monthly-math strong { color: var(--color-success); }

/* ---- TOKENS NOTE ---- */
.tokens-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(26,214,255,.04);
  border: 1px solid rgba(26,214,255,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}
.tokens-note-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.tokens-note-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.tokens-note-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
