.chat-proactive-close:hover{background:var(--surface2);color:var(--text);}

/* Typing dots animation */
.chat-proactive-typing {
  display:flex;align-items:center;gap:4px;
  padding:8px 12px;
  background:var(--surface2);
  border:1px solid var(--border);
  border-radius:14px 14px 14px 4px;
  width:fit-content;margin-bottom:10px;
}
.chat-proactive-typing span {
  width:6px;height:6px;border-radius:50%;background:var(--text2);
  animation:chatTypeDot 1.2s infinite;display:inline-block;
}
.chat-proactive-typing span:nth-child(2){animation-delay:.2s;}
.chat-proactive-typing span:nth-child(3){animation-delay:.4s;}
@keyframes chatTypeDot{0%,80%,100%{opacity:.2;transform:scale(1)}40%{opacity:1;transform:scale(1.3)}}

.chat-proactive-msg {
  font-size:14px;color:var(--text);line-height:1.6;
  background:var(--surface2);border:1px solid var(--border);
  border-radius:14px 14px 14px 4px;
  padding:10px 13px;margin-bottom:12px;
  display:none;
}
.chat-proactive-msg.show-msg{display:block;}

.chat-proactive-cta {
  width:100%;background:var(--blue-fill);color:#fff;border:none;
  padding:10px 16px;border-radius:11px;
  font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:700;
  cursor:pointer;transition:all .2s;
  display:none;
}
.chat-proactive-cta.show-btn{display:block;}
.chat-proactive-cta:hover{background:var(--blue2);transform:translateY(-1px);}

@media(max-width:640px){
  .chat-proactive{width:calc(100vw - 32px);inset-inline-start:16px;bottom:90px;}
}

/* ══ PROACTIVE BUBBLE ══ */
.chat-proactive{
position:fixed;
bottom:98px;
inset-inline-start:18px;
z-index:9985;
width:296px;
background:var(--surface);
border:1px solid rgba(66,153,225,.35);
border-radius:20px;
box-shadow:0 8px 40px rgba(0,0,0,.25),0 0 0 1px rgba(66,153,225,.1);
padding:14px 15px;
transform:translateY(22px) scale(.94);
opacity:0;
pointer-events:none;
transition:transform .42s cubic-bezier(.34,1.56,.64,1),opacity .3s;
}
.chat-proactive.cp-show{transform:translateY(0) scale(1);opacity:1;pointer-events:all;}
.cp-head{display:flex;align-items:center;gap:9px;margin-bottom:10px;}
.cp-ava{
width:40px;
height:40px;
border-radius:50%;
flex-shrink:0;
background:linear-gradient(135deg,#1a3a5c 0%,#2b6cb0 100%);
display:flex;
align-items:center;
justify-content:center;
font-size:19px;
position:relative;
box-shadow:0 2px 10px rgba(66,153,225,.3);
}
.cp-dot{
position:absolute;
bottom:1px;
right:1px;
width:10px;
height:10px;
border-radius:50%;
background:#48bb78;
border:2px solid var(--surface);
animation:pulse 2s infinite;
}
.cp-name{font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:700;color:var(--text);line-height:1.2;}
.cp-status{font-size:11px;color:#48bb78;font-family:"IBM Plex Mono",monospace;font-weight:600;}
.cp-close{
margin-inline-start:auto;
background:none;
border:none;
color:var(--muted);
cursor:pointer;
font-size:14px;
width:24px;
height:24px;
border-radius:6px;
display:flex;
align-items:center;
justify-content:center;
transition:.15s;
flex-shrink:0;
}
.cp-close:hover{background:var(--surface2);color:var(--text);}
.cp-typing{
display:flex;
align-items:center;
gap:4px;
padding:8px 12px;
background:var(--surface2);
border:1px solid var(--border);
border-radius:13px 13px 13px 3px;
width:fit-content;
margin-bottom:9px;
}
.cp-typing span{width:6px;height:6px;border-radius:50%;background:var(--text2);animation:cpDot 1.2s infinite;display:inline-block;}
.cp-typing span:nth-child(2){animation-delay:.22s;}
.cp-typing span:nth-child(3){animation-delay:.44s;}
@keyframes cpDot{0%,80%,100%{opacity:.2;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.cp-msg{
font-size:13.5px;
color:var(--text);
line-height:1.6;
background:var(--surface2);
border:1px solid var(--border);
border-radius:13px 13px 13px 3px;
padding:9px 12px;
margin-bottom:10px;
display:none;
animation:cpFadeIn .3s ease;
}
.cp-msg.cp-visible{display:block;}
@keyframes cpFadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.cp-cta{
width:100%;
background:var(--blue-fill);
color:#fff;
border:none;
padding:9px 14px;
border-radius:10px;
font-family:"IBM Plex Mono",monospace;
font-size:12.5px;
font-weight:700;
cursor:pointer;
transition:.2s;
display:none;
}
.cp-cta.cp-visible{display:block;}
.cp-cta:hover{background:var(--blue2);transform:translateY(-1px);}
/* ══ CHAT LANG PICKER ══ */
/* IT4Y_LANGPICK_REVERT_2026_07_04 - restored horizontal pill row (wrap-safe, no clip) */
.chat-lang-pick{
display:flex;
gap:7px;
padding:10px 14px;
flex-wrap:wrap;
align-items:stretch;
border-top:1px solid var(--border);
flex-shrink:0;
animation:cpFadeIn .3s ease;
}
.clp-btn{
display:flex;
align-items:center;
justify-content:center;
gap:4px;
flex:1 1 0%;
min-width:80px;
min-height:40px;
background:var(--surface2);
border:1px solid var(--border);
color:var(--text);
font-family:"IBM Plex Mono",monospace;
font-size:13px;
font-weight:700;
padding:9px 8px;
border-radius:12px;
cursor:pointer;
text-align:center;
white-space:normal;
line-height:1.2;
transition:.18s;
}
.clp-btn:hover,.clp-btn:focus-visible{background:var(--blue-fill);color:#fff;border-color:var(--blue);}
.clp-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.35);}


@media(max-width:640px){.chat-proactive{width:calc(100vw - 30px);inset-inline-start:15px;bottom:88px;}}

/* ══ FACEBOOK / SOCIAL LINKS ══ */
.social-row {
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px;
}
.social-link {
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 15px;border-radius:11px;font-size:13px;font-weight:700;
  font-family:"IBM Plex Mono",monospace;text-decoration:none;
  transition:all .22s cubic-bezier(.4,0,.2,1);border:1.5px solid transparent;
  white-space:nowrap;
}
.social-link.fb {
  background:#1877f2;color:#fff;border-color:#1877f2;
}
.social-link.fb:hover {
  background:#1462cc;border-color:#1462cc;
  transform:translateY(-2px);box-shadow:0 6px 20px rgba(24,119,242,.4);
}
.social-link.fb svg { width:17px;height:17px;fill:#fff;flex-shrink:0; }
.social-link.email {
  background:transparent;color:var(--text2);border-color:var(--border);
}
.social-link.email:hover {
  border-color:var(--blue);color:var(--blue);transform:translateY(-2px);
}

/* Sidebar Facebook mini-link */
.sb-fb-link {
  display:flex;align-items:center;gap:8px;
  color:var(--text2);font-size:13px;text-decoration:none;
  padding:7px 0;border-bottom:1px solid var(--border);
  transition:.18s;
}
.sb-fb-link:hover { color:#1877f2; }
.sb-fb-link svg { width:15px;height:15px;fill:#1877f2;flex-shrink:0; }

/* Footer social icons row */
.footer-social {
  display:flex;gap:10px;margin-top:14px;
}
.footer-social-btn {
  width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;border:1.5px solid var(--border);
  color:var(--text2);background:var(--surface2);
  transition:all .2s;
}
.footer-social-btn svg { width:18px;height:18px;fill:currentColor; }
.footer-social-btn.fb-icon:hover {
  background:#1877f2;border-color:#1877f2;color:#fff;
  transform:translateY(-2px);box-shadow:0 5px 18px rgba(24,119,242,.4);
}
.footer-social-btn.email-icon:hover {
  background:var(--blue-fill);border-color:var(--blue);color:#fff;
  transform:translateY(-2px);
}

/* ══ GOOGLE MERCHANT BADGE ══ */
.gcr-badge-wrap {
  display:flex;align-items:center;justify-content:center;
  padding:10px 0 4px;
}

/* SCROLL REVEAL */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ════════
   MOBILE SIDEBAR — robust cross-browser fix
════════ */
@media(max-width:900px){
  body{display:block!important;}
  .main{display:block!important;width:100%!important;}

  /* RTL (Arabic) — sidebar slides from RIGHT */
  .sidebar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:82vw!important;
    max-width:300px!important;
    height:100vh!important;
    z-index:9999!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    transform:translateX(100%)!important;
    transition:transform .3s ease!important;
    box-shadow:-6px 0 32px rgba(0,0,0,.5)!important;
    border:none!important;
    border-left:1px solid var(--border)!important;
  }
  /* LTR (EN/SV) — sidebar slides from LEFT */
  [dir="ltr"] .sidebar{
    right:auto!important;
    left:0!important;
    transform:translateX(-100%)!important;
    border-left:none!important;
    border-right:1px solid var(--border)!important;
    box-shadow:6px 0 32px rgba(0,0,0,.5)!important;
  }
  /* Open state — same for both directions */
  .sidebar.sb-open{
    transform:translateX(0)!important;
  }
  /* Backdrop */
  .sb-backdrop{
    display:none;
    position:fixed;
    top:0;left:0;right:0;bottom:0;
    background:rgba(0,0,0,.65);
    z-index:9998;
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
  }
  .sb-backdrop.show{display:block!important;}

  /* Sections */
  .section{padding:52px 24px!important;}
  .me-block{padding:52px 24px!important;}
  footer{padding:40px 24px 28px!important;}
  .hero{padding:72px 24px 52px!important;min-height:auto!important;}
  .trust-bar{padding:14px 0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;}
  .trust-inner{flex-wrap:nowrap!important;gap:6px!important;padding:0 16px;min-width:max-content;}

  /* Grids on tablet */
  .plans-grid{grid-template-columns:repeat(2,1fr)!important;gap:14px!important;}
  .feat-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px!important;}
  .steps-grid{grid-template-columns:repeat(3,1fr)!important;gap:10px!important;}
  .me-grid{grid-template-columns:1fr!important;gap:24px!important;}
  .footer-top{grid-template-columns:1fr 1fr!important;gap:24px!important;}
}

/* PHONE ≤640px */
@media(max-width:640px){
  .plans-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .feat-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;}
  .steps-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .hero{padding:60px 18px 40px!important;}
  .hero-stats{gap:16px!important;padding-top:24px!important;}
  .hstat-num{font-size:26px!important;}
  .hero-cta{flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;}
  .btn-main,.btn-ghost{text-align:center!important;width:100%!important;}
  .section{padding:40px 16px!important;}
  .me-block{padding:40px 16px!important;}
  .plan{padding:22px 18px!important;}
  .plan-price{font-size:36px!important;}
  .feat-card{padding:18px 14px!important;}
  .me-box{padding:20px 16px!important;}
  .footer-top{grid-template-columns:1fr!important;gap:20px!important;}
  footer{padding:32px 16px 24px!important;}
  .footer-bottom{flex-direction:column!important;align-items:flex-start!important;}
  .faq-q{font-size:14px!important;padding:14px 16px!important;}
  .faq-a-inner{padding:0 16px 14px!important;}
  .modal{padding:22px 16px!important;border-radius:14px!important;max-width:calc(100vw - 16px)!important;}
  .overlay{padding:8px!important;align-items:flex-end!important;}
}

/* VERY SMALL ≤400px */
@media(max-width:400px){
  .feat-grid{grid-template-columns:1fr!important;}
  .plans-grid{grid-template-columns:1fr!important;}
  .hero-stats{justify-content:center!important;}
  .hstat{text-align:center!important;min-width:calc(50% - 12px)!important;}
  .section{padding:32px 14px!important;}
  .plan{padding:18px 14px!important;}
  .trust-inner{gap:5px!important;}
}

/* ════════ IT4Y_SAAS_POLISH_v1 — homepage UX/UI polish ════════ */
/* 1) Defensive overflow guard — no horizontal scroll, ever */
html,body{overflow-x:hidden;overflow-x:clip;max-width:100vw}
*,*::before,*::after{box-sizing:border-box}
img,svg,iframe,video{max-width:100%;height:auto}

/* 2) Plan cards — equal height, balanced layout */
.plans-grid{align-items:stretch}
.plan{display:flex;flex-direction:column;min-height:100%}
.plan .plan-specs{flex:1 0 auto;margin-bottom:18px}
.plan-btn{margin-top:auto}
/* Tighter spec spacing so cards read more compactly */
.plan-specs{gap:8px !important}
.spec.it4-feat{padding:5px 9px !important;font-size:11px !important;line-height:1.4}
/* Remove duplicate descenders */
.plan-desc{min-height:36px;font-size:13px;line-height:1.45;color:var(--text2)}

/* 3) Section spacing — premium SaaS rhythm */
.section{padding:64px 24px}
@media(max-width:900px){.section{padding:48px 20px}}
@media(max-width:600px){.section{padding:40px 16px}}
@media(max-width:400px){.section{padding:36px 14px}}

/* 4) Section titles — clearer hierarchy */
.section-title{font-size:clamp(22px,3.8vw,36px);line-height:1.15;letter-spacing:-0.02em;margin-bottom:8px}
.section-sub{font-size:clamp(13px,1.6vw,16px);line-height:1.55;color:var(--text2);max-width:680px;margin-left:auto;margin-right:auto}
.section-label{font-size:11px;letter-spacing:1.2px;font-weight:700;text-transform:uppercase}

/* 5) Tighter plan card grid on desktop — ensures 4-up max for readability */
@media(min-width:1100px){
  .plans-grid{grid-template-columns:repeat(4,1fr) !important;max-width:1200px;margin-left:auto;margin-right:auto;gap:16px}
}
@media(min-width:1400px){
  .plans-grid{max-width:1280px}
}
/* Tablet: 2-up */
@media(min-width:641px) and (max-width:1099px){
  .plans-grid{grid-template-columns:repeat(2,1fr) !important;gap:14px;max-width:760px;margin-left:auto;margin-right:auto}
}
/* Phone: 1-up, full-bleed-ish padding */
@media(max-width:640px){
  .plans-grid{grid-template-columns:1fr !important;gap:12px;padding:0 4px}
  .plan{padding:20px 18px !important;border-radius:14px !important}
  .plan-name{font-size:17px !important}
  .plan-price{font-size:32px !important}
  .plan-btn{padding:12px !important;font-size:14px !important;min-height:44px}
}

/* 6) Hero — better mobile spacing */
@media(max-width:640px){
  .hero-title{font-size:clamp(26px,7vw,40px) !important;line-height:1.15 !important}
  .hero-sub{font-size:14px !important;line-height:1.55 !important;padding:0 6px}
  .hero-stats{gap:14px !important}
  .hstat{flex:1 1 calc(50% - 8px) !important;min-width:0}
}

/* 7) Touch targets ≥44px on phones (WCAG / Apple HIG) */
@media(max-width:768px){
  .plan-btn,.btn-main,.btn-ghost,a.btn,button.btn,.faq-q,.cta-primary,.cta-secondary{min-height:44px}
  input,select,textarea{font-size:16px;min-height:44px}
}

/* 8) Trust bar / stats — no overflow on small screens */
@media(max-width:480px){
  .trust-inner{gap:5px !important;font-size:11px !important}
  .hero-cta{width:100% !important}
}

/* 9) Card hover — subtle premium lift */
@media(hover:hover){
  .plan:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.08);border-color:rgba(14,165,233,.35);transition:all .2s ease}
}
.plan{transition:all .2s ease}

/* 10) Keep Windows-specific badges (different rgba — 59,130,246 + 66,153,225 with .10 opacity) */
.plan-specs > .spec[data-sty*="background:rgba(59,130,246"],
.plan-specs > .spec[data-sty*="background:rgba(72,187,120,.10)"]{display:flex !important}

/* 11) Defensive: card content must stay within card */
.plan *{min-width:0;word-wrap:break-word}

/* ════════ IT4Y_COMPACT_v1 — homepage compaction pass ════════
   Reduces excessive vertical whitespace, tightens cards, balances rhythm.
   Lives at the END of the head <style> blocks so it overrides earlier rules. */

/* 1) Hero — kill the full-viewport-height empty zone */
.hero{min-height:auto !important;padding:64px 32px 48px !important}
.hero-stats{padding-top:18px !important;gap:18px !important}
.hero-cta{margin-top:18px !important}

/* 2) Section rhythm — tighter, but with comfortable breathing room */
.section{padding:48px 32px !important;max-width:1140px}
.me-block{padding:48px 32px !important}

/* 3) Section headers — less stacked space */
.section-label{margin-bottom:8px !important}
.section-title{margin:0 0 6px !important;font-size:clamp(22px,3.4vw,32px) !important}
.section-sub{margin:0 auto 24px !important;max-width:660px}

/* 4) Grids — start closer to their section title */
.plans-grid{margin-top:24px !important;gap:14px !important}
.feat-grid{margin-top:20px !important;gap:12px !important}
.steps-grid{margin-top:20px !important;gap:12px !important}

/* 5) Cards — compact padding */
.plan{padding:22px 22px !important}
.feat-card{padding:18px 16px !important}
.step{padding:20px 16px !important}
.svc-card,.svc-block{padding:20px 18px !important}
.review-card{padding:20px 18px !important}
.me-box{padding:20px !important}
.cmp-card,.cmp-row{padding:14px 18px !important}

/* 6) Plan card — interior spacing tightened */
.plan-name{margin-bottom:2px !important;font-size:17px !important}
.plan-desc{font-size:12.5px !important;line-height:1.4 !important;min-height:34px !important;margin-bottom:8px !important}
.plan-price-wrap{margin:6px 0 12px !important}
.plan-price{font-size:34px !important;line-height:1 !important}
.plan-divider{margin:10px 0 !important}
.plan-specs{gap:7px !important;margin-bottom:14px !important}
.plan-specs .spec{padding:5px 10px !important;font-size:12.5px}
.spec.it4-feat{padding:4px 9px !important;font-size:11px !important}
.plan-btn{padding:11px !important;font-size:14px !important}

/* 7) Trust bar / hero stats — single tight row, no big vertical gap */
.trust-bar{padding:10px 0 !important}
.hstat-num{font-size:24px !important}
.hstat-label{font-size:11px !important;letter-spacing:.6px}

/* 8) FAQ — compact accordion */
.faq-q{padding:14px 18px !important;font-size:14px !important}
.faq-a-inner{padding:0 18px 14px !important}

/* 9) Locations / windows-vps — tighter intra-section padding */
#locations .section,#windows-vps,#windows-vps .section{padding-top:36px !important}

/* 10) Custom-VPS callout block (the gradient banner) — less air */
.cust-vps-block{padding:24px 24px !important;margin-top:18px !important}
.cust-vps-block h3{font-size:18px !important;margin:0 0 6px !important}

/* 11) Reduce spacing between sections that share a visual rhythm */
.section + .section,.section + .me-block,.me-block + .section{padding-top:40px !important}

/* 12) Footer breathes less */
footer{padding:36px 24px 18px !important}

/* ── Tablet (≤900px) ── */
@media(max-width:900px){
  .hero{padding:52px 24px 36px !important}
  .section,.me-block{padding:36px 24px !important}
  .section + .section,.section + .me-block,.me-block + .section{padding-top:30px !important}
  .plan-price{font-size:32px !important}
  .plan{padding:20px 18px !important}
  .feat-card,.step{padding:16px 14px !important}
}

/* ── Phone (≤640px) ── */
@media(max-width:640px){
  .hero{padding:44px 20px 28px !important;min-height:auto !important}
  .hero-stats{gap:12px !important;padding-top:14px !important}
  .section,.me-block{padding:32px 18px !important}
  .section + .section,.section + .me-block,.me-block + .section{padding-top:24px !important}
  .plans-grid,.feat-grid,.steps-grid{margin-top:18px !important;gap:10px !important}
  .plan{padding:18px 16px !important;border-radius:12px !important}
  .plan-price{font-size:28px !important}
  .plan-name{font-size:16px !important}
  .plan-desc{font-size:12px !important;min-height:30px !important}
  .feat-card,.step{padding:14px 12px !important}
  .me-box{padding:16px !important}
  .review-card{padding:16px !important}
  .faq-q{padding:12px 14px !important;font-size:13.5px !important}
  .faq-a-inner{padding:0 14px 12px !important}
  .cust-vps-block{padding:18px !important}
  footer{padding:24px 16px 14px !important}
}

/* ── XS (≤400px) ── */
@media(max-width:400px){
  .hero{padding:36px 14px 24px !important}
  .section,.me-block{padding:26px 14px !important}
  .plan{padding:16px 14px !important}
  .feat-card,.step{padding:12px 10px !important}
  .section-title{font-size:20px !important}
  .section-sub{font-size:13px !important}
}

/* ── Defensive: kill any last `min-height:100vh` we may have missed ── */
[class^="hero"],[class*=" hero"]{min-height:auto !important}

/* ════════ IT4Y_CARD_CLIP_FIX_v1 — make sure no card content is clipped ════════
   Wins because it's last in the cascade. */

/* 1) The single biggest issue: .plan had overflow:hidden which CLIPPED the
   floating "FREE for First 5" badge sitting above the Nano card (top:-12px).
   Set visible so floating elements render fully. Border-radius still works. */
.plan{overflow:visible !important}

/* 2) Cards with floating badges need extra top space so the badge clears the
   tag chips (NEW + cheapest) underneath. Apply selectively to cards that have
   the launch promo. */
.plan.nano-launch{padding-top:30px !important;margin-top:14px !important}

/* 3) Drop min-height on .plan-desc — for short Arabic descriptions ("موفر")
   the empty min-height row creates a visible gap above the price.
   Keep a small min-height so plans without desc still align. */
.plan-desc{min-height:auto !important;line-height:1.45;font-size:12.5px}
@media(min-width:641px){
  /* On grids with multiple cards on one row, line up descs at 2-line height. */
  .plan-desc{min-height:32px !important}
}

/* 4) Long Arabic compound words wrap cleanly inside narrow cards. */
.plan,.plan *{word-wrap:break-word;overflow-wrap:break-word;min-width:0}
.plan-name,.plan-desc,.plan-specs .spec,.plan-btn{white-space:normal !important}

/* 5) Don't force min-height:100% — let card height match its content; the
   parent grid keeps row height even via align-items:stretch. min-height:100%
   inside flex column was causing cards to overshoot when content was short. */
.plan{min-height:auto !important}

/* 6) Mobile: stop stretching cards to match the tallest in column-stack mode.
   Each plan card sizes to its own content for cleaner reading. */
@media(max-width:640px){
  .plans-grid{align-items:start !important}
  .plan{min-height:auto !important}
  /* Floating badge nudged up a hair so the launch promo doesn't crowd "NEW" tag */
  .plan.nano-launch{padding-top:34px !important}
}

/* 7) Featured plan chip (المُحدد most-popular ribbon) — ensure it stays visible
   when overflow:visible enables it to render. It currently renders inside but
   we make sure margin doesn't push it off. */
.plan-chip{margin-top:0 !important;margin-bottom:12px !important}

/* 8) Featured plan border — keep the highlighted lift; don't let new
   overflow:visible cause shadow doubles. */
.plan.featured{box-shadow:0 8px 24px rgba(66,153,225,0.18) !important;z-index:1}

/* 9) Buttons inside cards never wrap in odd ways */
.plan-btn{white-space:normal !important;padding:11px 8px !important;line-height:1.3}
.plan-btn span{display:inline}

/* 10) The Nano launch progress bar must always be visible — prevent any
   ancestor overflow rule from clipping it. */
.plan.nano-launch [id^="nanoProgressBar"],.plan.nano-launch>div{overflow:visible}

/* ════════ IT4Y_FEATURED_RIBBON_v1 — featured card visual upgrade ════════
   VPS Basic / VPS Standard etc. (.plan.featured): convert the inline chip into
   a floating pill ribbon above the card, mirroring Nano's promoted look. */

/* 1) The featured plan card itself — make it stand out a bit */
.plan.featured{
  border-color:rgba(66,153,225,.55) !important;
  box-shadow:0 0 24px rgba(66,153,225,.20) !important;
  margin-top:14px !important;
  padding-top:30px !important;
  position:relative;
}

/* 2) Convert the .plan-chip (FIRST child of .featured) into a floating ribbon
   above the card. Anchored top-center, exactly like Nano's "FREE for First 5". */
.plan.featured > .plan-chip:first-child,
.plan.featured > .plan-chip{
  position:absolute !important;
  top:-12px !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  margin:0 !important;
  background:linear-gradient(90deg,#2563eb,#0ea5e9) !important;
  color:#fff !important;
  border:0 !important;
  padding:6px 16px !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:1.4px !important;
  border-radius:20px !important;
  box-shadow:0 4px 14px rgba(37,99,235,.42) !important;
  white-space:nowrap !important;
  z-index:3 !important;
  font-family:'IBM Plex Mono',monospace !important;
}

/* 3) RTL: same horizontal centering, just no flip */
body.it4-rtl .plan.featured > .plan-chip,
[dir="rtl"] .plan.featured > .plan-chip{
  left:50% !important;
  right:auto !important;
}

/* 4) Now that the chip is OUT of the flow, the first content element (name)
   no longer has the chip's old margin-bottom pushing it.  Featured cards line
   up vertically with sibling cards across the row. */
.plan.featured > .plan-name{margin-top:0 !important}

/* 5) Subtle hover lift only on desktop (keeps interaction feeling premium) */
@media (hover:hover){
  .plan.featured:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(66,153,225,.28) !important}
}

/* 6) Mobile: ribbon stays floating (it pulls content down 14px which is fine
   and creates a nice signature for the most-popular card on phones) */
@media(max-width:640px){
  .plan.featured{padding-top:34px !important;margin-top:14px !important}
  .plan.featured > .plan-chip{font-size:10.5px !important;padding:5px 14px !important}
}

/* 7) Defensive: kill the gradient ::after bar on featured (it conflicts with
   the new ribbon visually).  Original `.plan::after` was a 2px gradient line
   at top — redundant once we have the floating ribbon. */
.plan.featured::after{display:none !important}

/* 8) For non-featured plans — safety: ensure .plan-chip (if any) renders fine */
.plan:not(.featured) > .plan-chip{position:static !important;transform:none !important;left:auto !important;right:auto !important}
