/* =========================================================================
   ONE BOOST — cards.css
   Every card type: stat strip, feature, step, safety item, VirusTotal, price.
   ========================================================================= */

/* Stat cards (numbers strip) */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: border-color .2s, transform .2s var(--ease); }
.stat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.stat b { display: block; direction: ltr; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--text); line-height: 1; }
.stat b em { color: var(--red-ink); font-style: normal; }
.stat b .count { font: inherit; }
.stat > span { display: block; color: var(--text-2); font-size: 14px; margin-top: 10px; }

/* Feature cards */
.feature-card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .28s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(140deg, var(--red), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .28s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--red) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
  transition: transform .22s var(--ease), background .22s;
}
.feature-card:hover .feature-ico { transform: translateY(-2px) scale(1.06); background: color-mix(in srgb, var(--red) 24%, transparent); }
.feature-ico svg { width: 26px; height: 26px; color: var(--red-ink); }
.feature-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 9px; }
html[lang="ar"] .feature-card h3 { font-family: var(--font-ar); }
.feature-card p { color: var(--text-2); font-size: 15px; }

/* Steps */
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s var(--ease), border-color .2s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, var(--red-bright), var(--red)); margin-bottom: 16px; box-shadow: 0 8px 20px -6px var(--glow); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
html[lang="ar"] .step h3 { font-family: var(--font-ar); }
.step p { color: var(--text-2); font-size: 15px; }

/* Safety items */
.safety-item { display: flex; gap: 15px; align-items: flex-start; }
.safety-item .ck { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red-ink); }
.safety-item .ck svg { width: 17px; height: 17px; }
.safety-item h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 3px; font-family: var(--font-display); }
html[lang="ar"] .safety-item h4 { font-family: var(--font-ar); }
.safety-item p { color: var(--text-2); font-size: 14.5px; }

/* VirusTotal card */
.vt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.vt-score { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--text); line-height: 1; direction: ltr; }
.vt-score em { color: #33d17a; font-style: normal; }
.vt-card .vt-label { color: var(--text-2); font-size: 15px; margin-top: 10px; }
.vt-bar { height: 8px; border-radius: 999px; background: var(--surface-3); margin: 22px 0 12px; overflow: hidden; }
.vt-bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2ea043, #33d17a); border-radius: 999px; transition: width 1.2s var(--ease); }
.vt-card.in .vt-bar > span { width: 97%; }
.vt-note { color: var(--text-3); font-size: 12.5px; }

/* Pricing cards */
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .2s var(--ease), border-color .2s; }
.price-card:not(.featured):hover { transform: translateY(-4px); border-color: var(--line-2); }
.price-card.featured { border-color: var(--red); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 24px 60px -24px var(--glow); }
.price-tag { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--red-bright), var(--red)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 1px; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
html[dir="rtl"] .price-tag { transform: translateX(50%); }
.price-card .plan { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-2); margin-bottom: 14px; }
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.price-card .amount span { font-size: 16px; color: var(--text-3); font-weight: 600; }
.price-card .amount.ph { font-size: 30px; color: var(--red-ink); }
/* struck-through "old" price for a launch offer — set from the panel */
.price-card .price-old { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; opacity: .8; margin-bottom: 3px; }
.price-card .price-old[hidden] { display: none !important; }
/* launch-offer badge under the pricing heading — set from the panel */
.offer-badge { display: inline-block; margin-top: 16px; padding: 9px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .3px; color: #fff; background: linear-gradient(180deg, var(--red-bright), var(--red)); box-shadow: 0 12px 32px -12px var(--glow); }
.offer-badge[hidden] { display: none !important; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.price-card li svg { width: 18px; height: 18px; color: var(--red-ink); flex: none; margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
