/* ══ /pricing — API pricing page (values from the review reference) ═══════════════ */

.pricing-hero { position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  padding: 38px 42px 34px; margin: 10px 0 28px; border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(850px 360px at 90% -10%, rgba(34,211,238,.20), transparent 60%),
    radial-gradient(700px 360px at 8% 110%, rgba(46,107,255,.30), transparent 60%),
    linear-gradient(135deg, #091533 0%, #0C1C44 55%, #132C6B 100%);
  box-shadow: 0 24px 52px -18px rgba(10,23,56,.42); }
.pricing-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: center; }
.pricing-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px;
  border-radius: 999px; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.32);
  color: #7DD3FC; font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px; }
.pricing-hero h1 { font: 800 clamp(30px, 3.8vw, 44px)/1.12 var(--display, var(--sans));
  letter-spacing: -.03em; margin: 0 0 12px; color: #fff; }
.pricing-hero .lead { font-size: 16.5px; line-height: 1.64; color: rgba(226,232,240,.92);
  margin: 0; max-width: 66ch; }
.pricing-hero .lead a { color: #7DD3FC; font-weight: 600; text-decoration: underline; }
.pricing-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pstat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; padding: 15px 18px; backdrop-filter: blur(8px); }
.pstat-card .k { display: block; font: 700 10px var(--mono); text-transform: uppercase;
  letter-spacing: .08em; color: #93C5FD; margin-bottom: 6px; }
.pstat-card .v { display: block; font: 800 20px/1.15 var(--display, var(--sans)); color: #fff;
  letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstat-card .s { display: block; font-style: normal; font-size: 11.5px;
  color: rgba(226,232,240,.76); margin-top: 4px; }

/* white showcase shell around the three tiers */
.pricing-shell { position: relative; background: #fff; border: 1px solid #DCE5F5;
  border-radius: 24px; padding: 32px; margin-top: 24px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(11,18,32,.03), 0 18px 44px -12px rgba(11,18,32,.08),
              0 1px 0 rgba(255,255,255,.9) inset; }
.pricing-shell::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px;
  height: 3.5px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #0B8B63, #1F5BFF, #7C3AED); }
.tier-grid { align-items: stretch !important; }
.tier-grid > .card.feature { height: 100%; }

/* colour-coded 3D tier cards */
.card.feature { --acc: #1F5BFF; --acc-soft: #EBF1FF; --acc-border: #C7D7F7;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: 1.5px solid #D5E0F2; border-radius: 22px; padding: 26px 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 4px 0 -1px #DCE5F5,
              0 12px 28px -8px rgba(11,18,32,.07);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s cubic-bezier(.22,1,.36,1),
              border-color .22s ease, background .28s ease; }
.card.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3.5px;
  background: linear-gradient(90deg, var(--acc), #22D3EE, #0B8B63);
  transform: scaleX(.2); transform-origin: left center; opacity: .65;
  transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .25s ease; }
.card.feature:hover { transform: translateY(-8px); border-color: var(--acc);
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FF 100%);
  box-shadow: 0 1px 0 #fff inset, 0 6px 0 -1px color-mix(in srgb, var(--acc) 28%, #fff),
              0 24px 46px -12px color-mix(in srgb, var(--acc) 22%, transparent); }
.card.feature:hover::before { transform: scaleX(1); opacity: 1; }
.card.feature.tier-free { --acc: #0B8B63; --acc-soft: #E6F7F0; --acc-border: #A7F3D0; }
.card.feature.tier-starter { --acc: #1F5BFF; --acc-soft: #EBF1FF; --acc-border: #93C5FD;
  border-color: #93C5FD; background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 55%);
  box-shadow: 0 1px 0 #fff inset, 0 5px 0 -1px rgba(31,91,255,.22), 0 18px 38px -12px rgba(31,91,255,.18); }
.card.feature.tier-starter::before { transform: scaleX(1); opacity: 1; }
.card.feature.tier-pro { --acc: #7C3AED; --acc-soft: #F3E8FF; --acc-border: #C4B5FD; }
.card.feature h3 { font: 800 26px/1.2 var(--display, var(--sans)); letter-spacing: -.03em;
  margin: 0 0 14px; color: var(--ink, #0B1630); }
.card.feature p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--ink-2, #26334D); }
.card.feature p.xs.muted { margin-top: auto; padding-top: 12px; font-size: 13px;
  color: var(--muted); border-top: 1px dashed #E3EAF6; }
.card.feature .mono { background: #F1F5FD; border: 1px solid #D5E0F2; padding: 2px 7px;
  border-radius: 6px; font-size: 13px; color: #1B3B7A; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tagx { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: var(--acc-soft); border: 1px solid var(--acc-border); color: var(--acc);
  font: 800 10px var(--mono); letter-spacing: .07em; text-transform: uppercase;
  transition: all .18s ease; }
.card.feature:hover .tagx { background: var(--acc); border-color: var(--acc); color: #fff; transform: translateY(-1px); }
.tier-badge-sub { font: 700 10px var(--mono); color: #8B98B4; text-transform: uppercase; letter-spacing: .06em; }
.tier-starter .tier-badge-sub { background: linear-gradient(135deg, #F59E0B, #1F5BFF); color: #fff;
  padding: 5px 10px; border-radius: 999px; }
.tier-price-big { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px;
  margin-bottom: 16px; border-bottom: 1px dashed #D8E1F2; }
.tier-price-big .amount { font: 800 38px/1 var(--mono); color: var(--acc); letter-spacing: -.04em; }
.tier-price-big .cadence { font: 600 13.5px/1.3 var(--sans); color: var(--muted); }
.quota-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px;
  border-radius: 12px; background: var(--acc-soft); border: 1px solid var(--acc-border);
  color: var(--ink, #0B1630); font: 700 13px/1.2 var(--mono); margin-bottom: 14px; align-self: flex-start; }
.quota-pill::before { content: "⚡"; }
.tier-cta-wrap { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #E3EAF6; }
.tier-cta-wrap .btn { width: 100%; text-align: center; border-radius: 12px; padding: 12px 16px;
  background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 700; }
.tier-cta-wrap .btn.ghost { background: #fff; color: var(--acc); border-color: var(--acc-border); }

/* payment cards */
.wallet-box { background: #F4F7FF; border: 1.5px solid #D5E0F2; border-radius: 12px;
  padding: 12px 14px; font: 700 13px/1.4 var(--mono); color: var(--ink, #0B1630);
  word-break: break-all; margin: 10px 0 12px; }
.pay-steps-strip { margin-top: 18px; background: #fff; border: 1px solid #D8E2F3;
  border-radius: 18px; padding: 18px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 10px 24px -16px rgba(11,18,32,.3); }
.pay-steps-strip p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.pay-steps-strip b { color: var(--ink, #0B1630); }

/* ✓ / ✕ lists */
.spec-list { list-style: none !important; margin: 8px 0 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; gap: 10px; }
.spec-list li { position: relative; padding: 12px 14px 12px 42px; border-radius: 13px;
  background: #F8FAFF; border: 1px solid #E2E8F4; font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2, #26334D); }
.spec-list li::before { position: absolute; left: 13px; top: 14px; width: 20px; height: 20px;
  border-radius: 50%; font: 800 11px/20px var(--mono); text-align: center; }
.spec-list.included li::before { content: "✓"; background: #E6F7F0; color: #0B8B63; }
.spec-list.not-done li::before { content: "✕"; background: #FEF3C7; color: #B45309; }

/* navy CTA + endpoint pills */
.note.cta-navy { background: radial-gradient(600px circle at 90% 0%, rgba(34,211,238,.18), transparent 60%),
  linear-gradient(150deg, #091533, #132C6B); border-color: #1B2E66; color: #fff; }
.note.cta-navy b { color: #fff; }
.note.cta-navy div { color: #C6D4F5; }
.note.cta-navy a { color: #8FB4FF; }
.ep-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ep-label { font: 700 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #8B98B4; }
.ep-pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border-radius: 11px; background: #fff; border: 1px solid #D5E0F2; color: var(--ink-2, #26334D);
  font: 600 13px/1 var(--sans); text-decoration: none;
  box-shadow: 0 1px 2px rgba(11,18,32,.04); transition: all .16s ease; }
.ep-pill:hover { border-color: #1F5BFF; color: #1F5BFF; transform: translateY(-2px); }

@media (max-width: 980px) {
  .pricing-hero-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 700px) {
  .pricing-hero { padding: 24px 20px; border-radius: 18px; }
  .pstat-card .v { font-size: 17px; }
  .pricing-shell { padding: 18px 14px; border-radius: 18px; }
  .card.feature { padding: 20px 18px; }
  .tier-price-big .amount { font-size: 32px; }
  .pay-steps-strip { flex-direction: column; align-items: stretch; }
}
@media (prefers-color-scheme: dark) {
  .pricing-shell, .card.feature, .pay-steps-strip, .ep-pill { background: var(--card); border-color: var(--line-2); }
  .wallet-box, .spec-list li { background: #0E1836; border-color: var(--line-2); }
}

/* CTA banner: framed key + button */
.note.cta-navy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.note.cta-navy > span { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20); font-size: 20px; }
.note.cta-navy > div { flex: 1 1 320px; }
.note.cta-navy .cta-btn { flex: 0 0 auto; border-radius: 12px; padding: 12px 20px; font-weight: 700;
  background: #1F5BFF; border-color: #1F5BFF; color: #fff;
  box-shadow: 0 14px 26px -14px rgba(31,91,255,.9); }
.note.cta-navy .cta-btn:hover { background: #1B4FE0; }

/* payment buttons keep the brand gradient */
.pricing-shell ~ * .card.feature .btn,
#pay .card.feature .btn { border-radius: 11px; font-weight: 700; }
#pay .card.feature .btn:not(.ghost) {
  background: linear-gradient(135deg, #2E6BFF, #1F5BFF); border-color: #1F5BFF; color: #fff;
  box-shadow: 0 10px 22px -12px rgba(31,91,255,.7); }
#pay .card.feature .btn.ghost { background: #fff; color: #1F5BFF; border: 1px solid #C7D7F7; }/* ══════════ RapidAPI section — /pricing ══════════ */

.rapidapi-section { margin: 34px 0 0; }

.rapidapi-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #0B1220 0%, #12234A 52%, #0E2C5C 100%);
  border: 1px solid rgba(93, 145, 255, .28);
  box-shadow: 0 20px 60px rgba(9, 20, 45, .28);
}

.rapidapi-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 119, 255, .42), transparent 68%);
  top: -260px; right: -120px;
  pointer-events: none;
}

.rapidapi-body { position: relative; z-index: 2; padding: 30px 32px 28px; }

.rapidapi-top { display: flex; align-items: center; gap: 15px; }

.rapidapi-mark {
  display: inline-flex;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 22px rgba(31, 91, 255, .45));
}

.rapidapi-eyebrow {
  display: block;
  font: 600 10.5px/1 Inter, system-ui, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #7FB4FF;
  margin-bottom: 7px;
}

.rapidapi-h {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
}

.rapidapi-lead {
  margin: 17px 0 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: #B6CBE8;
  max-width: 660px;
}

/* ── شرائح الخطط ── */
.rapidapi-tiers { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

.rapidapi-tier {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(110, 168, 255, .20);
}

.rapidapi-tier b {
  font: 600 12px/1 Inter, system-ui, sans-serif;
  color: #9DB3CE;
  letter-spacing: .02em;
}

.rapidapi-tier span {
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.rapidapi-tier i {
  font: 500 11.5px/1 Inter, system-ui, sans-serif;
  color: #6B87A8;
  font-style: normal;
}

.rapidapi-tier.is-featured {
  background: rgba(34, 211, 238, .12);
  border-color: rgba(34, 211, 238, .38);
}
.rapidapi-tier.is-featured span { color: #7FE3F5; }

/* ── الأزرار ── */
.rapidapi-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.rapidapi-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(100deg, #3D77FF, #1F5BFF);
  color: #fff !important;
  border: 0;
  padding: 12px 22px;
  border-radius: 11px;
  font: 600 14px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(31, 91, 255, .38);
  transition: transform .16s ease, box-shadow .16s ease;
}
.rapidapi-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(31, 91, 255, .48);
}

.rapidapi-note {
  font: 400 12.5px/1.5 Inter, system-ui, sans-serif;
  color: #7C93B0;
  max-width: 340px;
}

/* ── الموبايل ── */
@media (max-width: 760px) {
  .rapidapi-body { padding: 24px 20px 22px; }
  .rapidapi-h { font-size: 22px; }
  .rapidapi-lead { font-size: 13.5px; }
  .rapidapi-tiers { gap: 8px; }
  .rapidapi-tier { padding: 8px 12px; flex: 1 1 100%; justify-content: space-between; }
  .rapidapi-tier i { margin-left: auto; }
  .rapidapi-actions { gap: 12px; }
  .rapidapi-btn { width: 100%; justify-content: center; }
  .rapidapi-note { max-width: none; }
}
