*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html,body{overflow-x:hidden;overflow-x:clip;}
[data-theme="dark"]{
--bg:#03060c;--surface:#080e1a;--surface2:#0d1526;
--border:rgba(66,153,225,0.1);--border-h:rgba(66,153,225,0.4);
--text:#edf2f7;--text2:#8aa4c2;--muted:#6b87a8;
--blue:#4299e1;--blue2:#2b6cb0;--blue-dim:rgba(66,153,225,0.07);
/* --blue is also a text accent on the dark page; a fill under white text uses --blue-fill (white on it: 5.2:1). */
--blue-fill:#2563eb;
--green:#48bb78;--green-dim:rgba(72,187,120,0.07);--red:#fc8181;
}
[data-theme="light"]{
--bg:#f0f5fb;--surface:#ffffff;--surface2:#e8f0f9;
--border:rgba(0,0,0,0.07);--border-h:rgba(49,130,206,0.4);
--text:#1a2332;--text2:#4a6280;--muted:#7a95b0;
--blue:#2b6cb0;--blue2:#1e4e8c;--blue-dim:rgba(43,108,176,0.06);
--blue-fill:#2b6cb0;
--green:#276749;--green-dim:rgba(39,103,73,0.06);--red:#c53030;
}
html{scroll-behavior:smooth;scroll-padding-top:60px;}
body{
background:var(--bg);
color:var(--text);
font-family:"Tajawal",sans-serif;
min-height:100vh;
visibility:hidden;
transition:background .3s,color .3s;
display:flex;
}
[data-theme="dark"] body{
background-image:radial-gradient(ellipse at 15% 0%,rgba(66,153,225,0.07) 0%,transparent 55%),
radial-gradient(ellipse at 85% 100%,rgba(66,153,225,0.05) 0%,transparent 55%),
linear-gradient(rgba(66,153,225,0.025) 1px,transparent 1px),
linear-gradient(90deg,rgba(66,153,225,0.025) 1px,transparent 1px);
background-size:100%,100%,56px 56px,56px 56px;
}
body.ready{visibility:visible;}
[lang="en"] body,[lang="sv"] body{font-family:"Inter",sans-serif;}
[lang="en"] h1,[lang="en"] h2,[lang="en"] h3,[lang="sv"] h1,[lang="sv"] h2,[lang="sv"] h3{font-family:"IBM Plex Mono",monospace;}

/* SIDEBAR */
/* SIDEBAR — desktop: sticky visible, mobile: overlay */
.sidebar{
  width:260px;flex-shrink:0;background:var(--surface);
  border-inline-start:1px solid var(--border);
  height:100vh;position:sticky;top:0;
  display:flex;flex-direction:column;overflow-y:auto;z-index:50;
  transition:width .3s,opacity .3s;
}
[dir="ltr"] .sidebar{border-left:1px solid var(--border);border-right:none;}
/* Desktop collapsed state */
.sidebar.sb-collapsed{width:0;overflow:hidden;border:none;opacity:0;}
.sidebar-logo{padding:24px 20px 20px;border-bottom:1px solid var(--border);}
.logo-wrap{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:6px;}
.logo-svg{width:44px;height:44px;flex-shrink:0;}
.logo-text-wrap{display:flex;flex-direction:column;}
.logo-tagline{font-family:"IBM Plex Mono",monospace;font-size:9px;color:var(--muted);letter-spacing:2px;text-transform:uppercase;margin-top:3px;}
.sidebar-status{
padding:14px 20px;
border-bottom:1px solid var(--border);
display:flex;
align-items:center;
gap:8px;
font-family:"IBM Plex Mono",monospace;
font-size:11px;
color:var(--green);
}
.status-pulse{width:7px;height:7px;border-radius:50%;background:var(--green);animation:pulse 2s infinite;flex-shrink:0;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
.sidebar-section{padding:16px 20px;border-bottom:1px solid var(--border);}
.sidebar-section-title{
font-family:"IBM Plex Mono",monospace;
font-size:11px;
font-weight:700;
color:var(--text2);
letter-spacing:1.5px;
text-transform:uppercase;
margin-bottom:12px;
}
.sidebar-nav a{
display:flex;
align-items:center;
gap:10px;
color:var(--text);
text-decoration:none;
font-size:15px;
font-weight:600;
padding:10px 12px;
border-radius:9px;
transition:all .2s;
margin-bottom:4px;
}
.sidebar-nav a:hover{background:var(--blue-dim);color:var(--blue);}
.sidebar-nav a .nav-icon{
width:28px;
height:28px;
border-radius:7px;
background:var(--surface2);
border:1px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
flex-shrink:0;
}
.plan-mini{
display:flex;
justify-content:space-between;
align-items:center;
padding:8px 12px;
border-radius:9px;
margin-bottom:6px;
border:1px solid var(--border);
transition:all .2s;
cursor:pointer;
}
.plan-mini:hover{border-color:var(--blue);background:var(--blue-dim);}
.plan-mini-name{font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:700;color:var(--text);}
.plan-mini-price{font-family:"IBM Plex Mono",monospace;font-size:14px;font-weight:700;color:var(--blue);}
.plan-mini-specs{font-size:12px;color:var(--text2);margin-top:2px;}
.sidebar-contact a{display:flex;align-items:center;gap:8px;color:var(--text2);text-decoration:none;font-size:14px;padding:8px 0;transition:color .2s;}
.sidebar-contact a:hover{color:var(--blue);}
.sidebar-about{font-size:14px;color:var(--text2);line-height:1.8;}
.sidebar-about strong{color:var(--text);}
.sidebar-bottom{padding:16px 20px;margin-top:auto;border-top:1px solid var(--border);}
.theme-row{display:flex;align-items:center;justify-content:space-between;}
.theme-label{font-size:12px;color:var(--muted);}
.theme-toggle-btn{
width:34px;
height:34px;
border-radius:8px;
background:var(--surface2);
border:1px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
font-size:15px;
color:var(--ds-icon-on-control);
}
.cta-sidebar{
display:block;
width:100%;
background:var(--blue-fill);
color:#fff;
text-align:center;
padding:12px;
border-radius:10px;
font-size:15px;
font-weight:700;
text-decoration:none;
margin-bottom:10px;
transition:all .2s;
}
.cta-sidebar:hover{background:var(--blue2);}
.dash-sidebar-btn{
display:block;
width:100%;
border:1px solid var(--border);
color:var(--text2);
text-align:center;
padding:10px;
border-radius:10px;
font-family:"IBM Plex Mono",monospace;
font-size:12px;
text-decoration:none;
margin-bottom:10px;
transition:all .2s;
}
.dash-sidebar-btn:hover{border-color:var(--blue);color:var(--blue);}

/* MAIN */
/* clip, not hidden: overflow-x:hidden makes .main a vertical scroll container, and the
   20px reveal offset of the footer then captured wheel and touch scrolling (page stuck). */
.main{flex:1;min-width:0;overflow-x:hidden;overflow-x:clip;}

/* TOPBAR */
.topbar-bar{
position:sticky;
top:0;
z-index:99;
display:flex;
align-items:center;
justify-content:space-between;
padding:10px 24px;
background:rgba(3,6,12,.88);
border-bottom:1px solid var(--border);
backdrop-filter:blur(20px);
}
[data-theme="light"] .topbar-bar{background:rgba(240,245,251,.92);}
.topbar-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.topbar-right{display:flex;align-items:center;gap:8px;}
.topbar-lang{display:flex;background:var(--surface2);border:1px solid var(--border);border-radius:9px;overflow:hidden;}
.topbar-lang button{
background:transparent;
border:none;
color:var(--text2);
font-size:12px;
font-family:"IBM Plex Mono",monospace;
font-weight:700;
padding:8px 13px;
cursor:pointer;
transition:all .2s;
}
.topbar-lang button.active{background:var(--blue-fill);color:#fff;}
.topbar-icon-btn{
width:38px;
height:38px;
border-radius:9px;
background:var(--surface2);
border:1px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
font-size:17px;
color:var(--ds-icon-on-control);
}
.topbar-icon-btn:hover{border-color:var(--blue);}
.topbar-menu-btn{
width:38px;
height:38px;
border-radius:9px;
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.3);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
font-size:18px;
color:var(--blue);
}

/* HERO */
.hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px;text-align:center;}
.hero-badge{
display:inline-flex;
align-items:center;
gap:10px;
background:var(--green-dim);
border:1px solid rgba(72,187,120,.25);
color:var(--green);
font-size:16px;
font-weight:900;
padding:10px 24px;
border-radius:30px;
margin-bottom:32px;
}
.badge-dot{width:7px;height:7px;border-radius:50%;background:var(--green);animation:pulse 2s infinite;}
.hero-title{font-family:"Tajawal",sans-serif;font-size:clamp(34px,6vw,64px);font-weight:900;color:var(--text);line-height:1.15;margin-bottom:10px;}
[lang="en"] .hero-title,[lang="sv"] .hero-title{font-family:"IBM Plex Mono",monospace;font-size:clamp(26px,4.5vw,52px);letter-spacing:-1px;}
.hero-title .hl{color:var(--blue);}
.hero-title-sub{font-size:clamp(16px,2.2vw,22px);color:var(--text2);margin-bottom:20px;}
.hero-sub{font-size:16px;color:var(--text2);max-width:560px;margin:0 auto 40px;line-height:1.9;}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:56px;}
.btn-main{
background:var(--blue-fill);
color:#fff;
padding:14px 32px;
border-radius:12px;
font-weight:700;
font-size:16px;
font-family:"Tajawal",sans-serif;
text-decoration:none;
border:none;
cursor:pointer;
transition:all .25s;
display:inline-flex;
align-items:center;
gap:8px;
}
[lang="en"] .btn-main,[lang="sv"] .btn-main{font-family:"IBM Plex Mono",monospace;font-size:14px;}
.btn-main:hover{background:var(--blue2);transform:translateY(-2px);}
.btn-ghost{
color:var(--text2);
padding:14px 28px;
border-radius:12px;
font-size:16px;
text-decoration:none;
border:1px solid var(--border);
transition:all .2s;
display:inline-block;
}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue);}
.hero-stats{display:flex;gap:44px;justify-content:center;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:40px;width:100%;max-width:600px;}
.hstat-num{font-family:"IBM Plex Mono",monospace;font-size:30px;font-weight:700;color:var(--blue);margin-bottom:5px;}
.hstat-lbl{font-size:13px;color:var(--muted);}

/* TRUST BAR */
.trust-bar{padding:16px 40px;background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.trust-inner{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;}
.tbadge{
display:inline-flex;
align-items:center;
gap:7px;
font-family:"IBM Plex Mono",monospace;
font-size:11px;
font-weight:700;
color:var(--muted);
background:var(--bg);
border:1px solid var(--border);
padding:7px 14px;
border-radius:8px;
white-space:nowrap;
}
.tbadge-g{color:var(--green);}

/* SECTIONS */
.section{padding:72px 40px;max-width:900px;margin:0 auto;width:100%;}
.section-label{
font-family:"IBM Plex Mono",monospace;
font-size:11px;
font-weight:700;
color:var(--blue);
letter-spacing:2.5px;
text-transform:uppercase;
margin-bottom:12px;
}
.section-title{font-family:"Tajawal",sans-serif;font-size:clamp(22px,3.5vw,36px);font-weight:900;color:var(--text);margin-bottom:12px;}
[lang="en"] .section-title,[lang="sv"] .section-title{font-family:"IBM Plex Mono",monospace;font-size:clamp(18px,2.5vw,28px);letter-spacing:-.5px;}
.section-sub{font-size:15px;color:var(--text2);max-width:520px;line-height:1.8;}

/* PLANS */
.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:40px;}
.plan{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px;transition:all .3s;position:relative;overflow:hidden;}
.plan::after{
content:"";
position:absolute;
top:0;
left:0;
right:0;
height:2px;
background:linear-gradient(90deg,var(--blue),rgba(66,153,225,0));
opacity:0;
transition:opacity .3s;
}
.plan:hover{border-color:var(--border-h);transform:translateY(-4px);box-shadow:0 16px 36px rgba(0,0,0,.12);}
.plan:hover::after{opacity:1;}
.plan.featured{border-color:rgba(66,153,225,.3);}
.plan.featured::after{opacity:1;}
.plan-chip{
display:inline-block;
font-family:"IBM Plex Mono",monospace;
font-size:10px;
font-weight:700;
letter-spacing:1.5px;
color:var(--blue);
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.2);
padding:4px 12px;
border-radius:30px;
margin-bottom:16px;
}
/* ── SAVINGS BADGE ── */
.savings-badge{
display:inline-flex;
align-items:center;
gap:5px;
background:rgba(72,187,120,.12);
border:1px solid rgba(72,187,120,.3);
color:var(--green);
font-family:'IBM Plex Mono',monospace;
font-size:10px;
font-weight:700;
padding:4px 10px;
border-radius:20px;
margin-bottom:10px;
}
.savings-pct{font-size:13px;font-weight:700;}
/* ── PLAN TAGS ── */
.plan-tag-new{
display:inline-block;
background:rgba(237,137,54,.1);
border:1px solid rgba(237,137,54,.25);
color:var(--orange);
font-family:'IBM Plex Mono',monospace;
font-size:9px;
font-weight:700;
padding:2px 7px;
border-radius:10px;
letter-spacing:1px;
margin-right:5px;
}
.plan-tag-hot{
display:inline-block;
background:rgba(252,129,129,.1);
border:1px solid rgba(252,129,129,.25);
color:var(--rd);
font-family:'IBM Plex Mono',monospace;
font-size:9px;
font-weight:700;
padding:2px 7px;
border-radius:10px;
letter-spacing:1px;
margin-right:5px;
}
.plan-tag-lim{
display:inline-block;
background:rgba(66,153,225,.1);
border:1px solid rgba(66,153,225,.25);
color:var(--blue);
font-family:'IBM Plex Mono',monospace;
font-size:9px;
font-weight:700;
padding:2px 7px;
border-radius:10px;
letter-spacing:1px;
}
/* ── NANO plan subtle gradient ── */
.plan.nano{border-color:rgba(72,187,120,.25);}
.plan.nano::after{background:linear-gradient(90deg,var(--green),rgba(72,187,120,0));opacity:1;}
/* ── BUSINESS plan gold ── */
.plan.business{border-color:rgba(246,224,94,.3);}
.plan.business::after{background:linear-gradient(90deg,#f6e05e,rgba(246,224,94,0));opacity:1;}
/* ── PRICE COMPARISON STRIP ── */
.market-compare{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px 24px;margin-top:32px;}
.mc-title{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:2px;margin-bottom:16px;}
.mc-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);flex-wrap:wrap;}
.mc-row:last-child{border-bottom:none;}
.mc-plan{font-size:13px;font-weight:700;color:var(--text);width:100px;flex-shrink:0;}
.mc-our{font-family:'IBM Plex Mono',monospace;font-size:16px;font-weight:700;color:var(--green);min-width:50px;}
.mc-vs{font-size:11px;color:var(--muted);flex:1;}
.mc-save{
font-family:'IBM Plex Mono',monospace;
font-size:11px;
font-weight:700;
color:var(--green);
background:rgba(72,187,120,.1);
border:1px solid rgba(72,187,120,.25);
padding:2px 8px;
border-radius:10px;
white-space:nowrap;
}
.mc-bar-wrap{width:120px;flex-shrink:0;}
.mc-bar-bg{background:var(--surface2);border-radius:4px;height:6px;overflow:hidden;}
.mc-bar-us{height:100%;border-radius:4px;background:var(--green);}
.mc-bar-mkt{height:100%;border-radius:4px;background:rgba(252,129,129,.5);margin-top:3px;}
.plan-name{font-family:"IBM Plex Mono",monospace;font-size:18px;font-weight:700;color:var(--text);margin-bottom:4px;}
.plan-desc{font-size:13px;color:var(--text2);margin-bottom:20px;line-height:1.6;}
.plan-price-wrap{display:flex;align-items:baseline;gap:4px;margin-bottom:20px;}
.plan-price{font-family:"IBM Plex Mono",monospace;font-size:40px;font-weight:700;color:var(--blue);line-height:1;}
.plan-period{font-size:14px;color:var(--muted);}
.plan-divider{height:1px;background:var(--border);margin-bottom:18px;}
.plan-specs{display:flex;flex-direction:column;gap:10px;margin-bottom:22px;}
.spec{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text2);font-weight:500;padding:4px 0;}
.plan-btn{
width:100%;
padding:12px;
border-radius:10px;
font-family:"Tajawal",sans-serif;
font-size:15px;
font-weight:700;
cursor:pointer;
transition:all .2s;
border:none;
}
[lang="en"] .plan-btn,[lang="sv"] .plan-btn{font-family:"IBM Plex Mono",monospace;font-size:13px;}
.plan-btn.primary{background:var(--blue-fill);color:#fff;}
.plan-btn.primary:hover{background:var(--blue2);}
.plan-btn.outline{background:var(--surface2);color:var(--blue);border:1.5px solid var(--blue);}
.plan-btn.outline:hover{background:var(--blue-fill);color:#fff;}

/* ARAB / ME BLOCK */
.me-block{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:72px 40px;}
.me-inner{max-width:900px;margin:0 auto;}
.me-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
.me-title{font-family:"Tajawal",sans-serif;font-size:clamp(22px,3.5vw,36px);font-weight:900;color:var(--text);margin-bottom:14px;line-height:1.3;}
[lang="en"] .me-title,[lang="sv"] .me-title{font-family:"IBM Plex Mono",monospace;font-size:clamp(16px,2.5vw,26px);letter-spacing:-.5px;}
.me-title .hl{color:var(--blue);}
.me-text{font-size:15px;color:var(--text2);line-height:1.9;margin-bottom:14px;}
.me-regions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;}
.me-region{font-size:13px;background:var(--blue-dim);border:1px solid rgba(66,153,225,.15);color:var(--text2);padding:7px 14px;border-radius:30px;}
.me-box{background:var(--blue-dim);border:1px solid rgba(66,153,225,.15);border-radius:18px;padding:28px;}
.me-box-title{font-size:18px;font-weight:700;color:var(--blue);margin-bottom:18px;}
[lang="en"] .me-box-title,[lang="sv"] .me-box-title{font-family:"IBM Plex Mono",monospace;font-size:15px;}
.me-item{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;font-size:14px;color:var(--text2);line-height:1.7;}
.me-check{color:var(--green);flex-shrink:0;margin-top:2px;}

/* FEATURES */
.feat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:40px;}
.feat-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:22px;transition:all .3s;}
.feat-card:hover{border-color:var(--border-h);transform:translateY(-3px);}
.feat-icon-wrap{
width:44px;
height:44px;
border-radius:12px;
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.15);
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
margin-bottom:14px;
}
.feat-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:7px;}
[lang="en"] .feat-title,[lang="sv"] .feat-title{font-family:"IBM Plex Mono",monospace;font-size:13px;}
.feat-text{font-size:13px;color:var(--text2);line-height:1.8;}

/* STEPS */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:40px;}
.step{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:26px 22px;text-align:center;}
.step-num{font-family:"IBM Plex Mono",monospace;font-size:38px;font-weight:700;color:var(--border-h);margin-bottom:14px;}
.step-title{font-size:16px;font-weight:700;color:var(--text);margin-bottom:8px;}
[lang="en"] .step-title,[lang="sv"] .step-title{font-family:"IBM Plex Mono",monospace;font-size:14px;}
.step-text{font-size:13px;color:var(--text2);line-height:1.8;}

/* FAQ */
.faq-grid{display:flex;flex-direction:column;gap:8px;margin-top:40px;}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;}
.faq-q{
width:100%;
text-align:right;
background:transparent;
border:none;
padding:18px 22px;
font-family:"Tajawal",sans-serif;
font-size:15px;
font-weight:700;
color:var(--text);
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:center;
gap:14px;
transition:color .2s;
}
[lang="en"] .faq-q,[lang="sv"] .faq-q{font-family:"Inter",sans-serif;text-align:left;}
.faq-q:hover{color:var(--blue);}
.faq-chevron{font-size:10px;color:var(--muted);transition:transform .2s;flex-shrink:0;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a-inner{padding:0 22px 18px;font-size:14px;color:var(--text2);line-height:1.9;}
.faq-item.open .faq-a{max-height:300px;}
.faq-item.open .faq-chevron{transform:rotate(180deg);}

/* FOOTER */
footer{background:var(--surface);border-top:1px solid var(--border);padding:48px 40px 32px;}
.footer-inner{max-width:900px;margin:0 auto;}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:36px;}
.footer-brand-text{font-size:13px;color:var(--text2);line-height:1.8;}
.footer-col-title{font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:700;color:var(--text);letter-spacing:1px;margin-bottom:16px;}
.footer-col a{display:block;color:var(--text2);text-decoration:none;font-size:14px;margin-bottom:11px;transition:color .2s;}
.footer-col a:hover{color:var(--blue);}
.footer-bottom{border-top:1px solid var(--border);padding-top:22px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;}
.footer-copy{font-size:14px;font-weight:600;color:var(--text2);font-family:"IBM Plex Mono",monospace;}

/* MODAL */
.overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.8);
z-index:300;
display:flex;
align-items:center;
justify-content:center;
padding:20px;
opacity:0;
pointer-events:none;
transition:opacity .2s;
backdrop-filter:blur(6px);
}
.overlay.open{opacity:1;pointer-events:all;}
.modal{
background:var(--surface);
border:1px solid var(--border);
border-radius:22px;
padding:32px;
width:100%;
max-width:460px;
position:relative;
transform:translateY(28px);
transition:transform .3s;
max-height:90vh;
overflow-y:auto;
}
.overlay.open .modal{transform:translateY(0);}
.modal-x{
position:absolute;
top:16px;
inset-inline-end:16px;
background:var(--surface2);
border:1px solid var(--border);
width:32px;
height:32px;
border-radius:8px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
color:var(--text2);
font-size:15px;
}
.modal-title{font-family:"Tajawal",sans-serif;font-size:20px;font-weight:700;color:var(--text);margin-bottom:18px;}
[lang="en"] .modal-title,[lang="sv"] .modal-title{font-family:"IBM Plex Mono",monospace;font-size:17px;}
.modal-plan-info{
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.15);
border-radius:10px;
padding:12px 16px;
margin-bottom:20px;
display:flex;
justify-content:space-between;
align-items:center;
}
.mpi-name{font-family:"IBM Plex Mono",monospace;font-size:14px;font-weight:700;color:var(--text);}
.mpi-price{font-family:"IBM Plex Mono",monospace;font-size:18px;font-weight:700;color:var(--blue);}
.form-row{margin-bottom:14px;}
.form-lbl{font-size:13px;color:var(--text2);margin-bottom:6px;display:block;font-weight:500;}
.form-inp{
width:100%;
background:var(--surface2);
border:1px solid var(--border);
color:var(--text);
padding:12px 14px;
border-radius:10px;
font-size:14px;
font-family:"Tajawal",sans-serif;
outline:none;
transition:border-color .2s;
}
[lang="en"] .form-inp,[lang="sv"] .form-inp{font-family:"Inter",sans-serif;}
.form-inp:focus{border-color:var(--blue);}
.form-inp::placeholder{color:var(--muted);}
.modal-submit{
width:100%;
background:var(--blue-fill);
color:#fff;
border:none;
padding:13px;
border-radius:11px;
font-family:"Tajawal",sans-serif;
font-size:16px;
font-weight:700;
cursor:pointer;
transition:all .2s;
margin-top:8px;
}
[lang="en"] .modal-submit,[lang="sv"] .modal-submit{font-family:"IBM Plex Mono",monospace;font-size:14px;}
.modal-submit:hover{background:var(--blue2);}
.modal-submit:disabled{opacity:.6;cursor:not-allowed;}
.modal-secure{font-size:11px;color:var(--muted);text-align:center;margin-top:11px;font-family:"IBM Plex Mono",monospace;}
.modal-note{font-size:12px;color:var(--muted);text-align:center;margin-top:9px;line-height:1.7;}

/* SCROLLBAR */
::-webkit-scrollbar{width:5px;}
::-webkit-scrollbar-track{background:var(--bg);}
::-webkit-scrollbar-thumb{background:var(--muted);border-radius:3px;}
::-webkit-scrollbar-thumb:hover{background:var(--blue);}
*{-webkit-tap-highlight-color:transparent;}
::selection{background:rgba(66,153,225,.25);color:var(--text);}
a,button{transition:all .2s ease;}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px;}

/* LOCATION SECTION */
.loc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-top:32px;}
.loc-card{background:var(--surface);border:2px solid var(--border);border-radius:12px;padding:16px 12px;text-align:center;transition:all .25s;}
.loc-card:hover{border-color:var(--blue);background:var(--blue-dim);}
.loc-card.recommended{border-color:rgba(66,153,225,.5);background:var(--blue-dim);}
.loc-flag{font-size:32px;margin-bottom:8px;line-height:1;}
.loc-name{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:700;color:var(--text);margin-bottom:3px;}
.loc-sub{font-size:11px;color:var(--muted);}
.loc-badge{
display:inline-block;
font-family:'IBM Plex Mono',monospace;
font-size:9px;
font-weight:700;
color:var(--blue);
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.3);
padding:2px 8px;
border-radius:20px;
margin-top:6px;
}
@media(max-width:640px){.loc-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;}}
@media(max-width:400px){.loc-grid{grid-template-columns:repeat(3,1fr);gap:7px;}.loc-card{padding:12px 8px;}.loc-flag{font-size:26px;}}
/* ── BILLING TOGGLE ── */
.billing-toggle{display:flex;align-items:center;justify-content:center;gap:14px;margin:28px 0 0;flex-wrap:wrap;}
.btog-opt{font-size:14px;font-weight:700;color:var(--muted);transition:color .2s;cursor:pointer;}
.btog-opt.on{color:var(--text);}
.btog-sw{width:52px;height:28px;background:var(--blue-fill);border-radius:14px;position:relative;cursor:pointer;transition:background .2s;flex-shrink:0;}
.btog-pill{display:flex;background:var(--surface2);border:1.5px solid var(--border);border-radius:16px;padding:6px;gap:5px;}
.btog-btn{
font-family:'IBM Plex Mono',monospace;
cursor:pointer;
transition:all .22s;
background:transparent;
border:none;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:10px 22px;
border-radius:11px;
min-width:88px;
}
.btog-btn.on{background:var(--blue-fill);box-shadow:0 3px 14px rgba(66,153,225,.4);}
.btog-btn:not(.on):hover{background:var(--blue-dim);}
.btog-btn-label{font-size:13px;font-weight:700;color:var(--muted);line-height:1;transition:color .2s;}
.btog-btn.on .btog-btn-label{color:#fff;}
.btog-discount{
display:block;
font-size:15px;
font-weight:900;
color:#e53e3e;
line-height:1;
margin-top:5px;
letter-spacing:.4px;
font-family:'IBM Plex Mono',monospace;
}
.btog-btn.on .btog-discount{color:#ffcdd2;}
.btog-savings-banner{
display:none;
align-items:center;
gap:7px;
background:rgba(72,187,120,.1);
border:1px solid rgba(72,187,120,.25);
border-radius:20px;
padding:6px 14px;
font-family:'IBM Plex Mono',monospace;
font-size:12px;
font-weight:700;
color:var(--green);
}
.btog-savings-banner.show{display:flex;}
.btog-sw::after{content:'';position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .22s;}
[dir=rtl] .btog-sw::after{left:auto;right:4px;}
.btog-sw.year::after{transform:translateX(24px);}
[dir=rtl] .btog-sw.year::after{transform:translateX(-24px);}
.save-badge{
background:linear-gradient(135deg,#48bb78,#38a169);
color:#fff;
font-family:'IBM Plex Mono',monospace;
font-size:10px;
font-weight:700;
padding:3px 10px;
border-radius:20px;
letter-spacing:.5px;
}
.plan-orig-price{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--muted);text-decoration:line-through;margin-right:6px;}
/* ── TESTIMONIALS ── */
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:36px;}
.testi-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;position:relative;transition:all .3s;}
.testi-card:hover{border-color:var(--border-h);transform:translateY(-3px);}
.testi-card::before{
content:'"';
position:absolute;
top:14px;
right:20px;
font-size:52px;
color:var(--blue);
opacity:.15;
font-family:'IBM Plex Mono',monospace;
line-height:1;
}
[dir=ltr] .testi-card::before{right:auto;left:20px;}
.testi-stars{color:#f6c90e;font-size:14px;margin-bottom:12px;letter-spacing:2px;}
.testi-text{font-size:14px;color:var(--text2);line-height:1.9;margin-bottom:16px;}
.testi-author{display:flex;align-items:center;gap:10px;}
.testi-avatar{
width:38px;
height:38px;
border-radius:50%;
background:var(--blue-dim);
border:2px solid rgba(66,153,225,.25);
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
flex-shrink:0;
}
.testi-name{font-size:14px;font-weight:700;color:var(--text);}
.testi-loc{font-size:11px;color:var(--muted);font-family:'IBM Plex Mono',monospace;margin-top:2px;}
.rating-bar{
display:flex;
align-items:center;
gap:14px;
background:var(--surface2);
border:1px solid var(--border);
border-radius:12px;
padding:14px 20px;
margin-top:32px;
flex-wrap:wrap;
}
.rating-big{font-family:'IBM Plex Mono',monospace;font-size:42px;font-weight:700;color:var(--blue);line-height:1;}
.rating-stars-big{color:#f6c90e;font-size:22px;letter-spacing:3px;}
.rating-label{font-size:12px;color:var(--muted);margin-top:4px;}
/* ── GUARANTEE BADGE ── */
.guarantee-row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:36px;}
.g-badge{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 18px;}
.g-badge-ico{font-size:22px;flex-shrink:0;}
.g-badge-txt{font-size:13px;font-weight:700;color:var(--text);}
.g-badge-sub{font-size:11px;color:var(--muted);margin-top:2px;}
/* ── COMPARISON TABLE ── */
.cmp-table{width:100%;border-collapse:collapse;margin-top:32px;border-radius:14px;overflow:hidden;border:1px solid var(--border);}
.cmp-table th{
background:var(--surface2);
padding:14px 18px;
font-family:'IBM Plex Mono',monospace;
font-size:12px;
font-weight:700;
color:var(--text2);
text-align:center;
border-bottom:1px solid var(--border);
}
.cmp-table th:first-child{text-align:start;}
.cmp-table th.hl{background:var(--blue-dim);color:var(--blue);}
.cmp-table td{padding:13px 18px;font-size:14px;color:var(--text2);border-bottom:1px solid var(--border);text-align:center;background:var(--surface);}
.cmp-table td:first-child{text-align:start;font-weight:600;color:var(--text);}
.cmp-table tbody th{padding:13px 18px;font-size:14px;text-align:start;font-weight:600;color:var(--text);background:var(--surface);
  border-bottom:1px solid var(--border);text-transform:none;letter-spacing:normal;}
.cmp-table tr:last-child th{border-bottom:none;}
.cmp-table td.hl{background:var(--blue-dim);color:var(--blue);font-weight:700;}
.cmp-table tr:last-child td{border-bottom:none;}
.cmp-yes{color:#48bb78;font-size:16px;}
.cmp-no{color:#fc8181;font-size:16px;}
/* ── RATING WIDGET ── */
.chat-rating-widget{padding:14px;text-align:center;animation:fadeIn .4s ease;}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.chat-end-msg{
background:linear-gradient(135deg,rgba(72,187,120,.12),rgba(66,153,225,.08));
border:1px solid rgba(72,187,120,.25);
border-radius:12px;
padding:12px 14px;
font-size:13px;
color:var(--text);
line-height:1.7;
margin:8px 0 12px;
text-align:center;
}
.chat-rate-label{font-size:13px;color:var(--text2);margin-bottom:12px;}
.stars-row{display:flex;justify-content:center;gap:8px;margin-bottom:14px;}
.star-btn{
font-size:30px;
cursor:pointer;
transition:transform .15s,filter .15s;
background:none;
border:none;
padding:0;
line-height:1;
filter:grayscale(1)opacity(.4);
}
.star-btn:hover,.star-btn.active{filter:grayscale(0);transform:scale(1.2);}
.chat-comment-inp{
width:100%;
background:var(--surface2);
border:1px solid var(--border);
color:var(--text);
padding:8px 12px;
border-radius:9px;
font-family:'Tajawal',sans-serif;
font-size:13px;
outline:none;
transition:.2s;
resize:none;
margin-bottom:10px;
}
.chat-comment-inp:focus{border-color:var(--blue);}
.chat-submit-rating{
background:var(--blue-fill);
color:#fff;
border:none;
padding:10px 24px;
border-radius:9px;
font-family:'IBM Plex Mono',monospace;
font-size:13px;
font-weight:700;
cursor:pointer;
transition:.2s;
width:100%;
}
.chat-submit-rating:hover{background:var(--blue2);}
.chat-submit-rating:disabled{opacity:.5;cursor:not-allowed;}
.chat-ty{text-align:center;padding:14px;}
.chat-ty-stars{font-size:28px;margin-bottom:8px;}
.chat-ty-text{font-size:14px;color:var(--text);font-weight:700;}
.chat-ty-sub{font-size:12px;color:var(--muted);margin-top:4px;}
/* ── READ RECEIPTS ── */
.msg-ticks{font-size:11px;margin-top:2px;font-family:'IBM Plex Mono',monospace;transition:color .3s;}
.ticks-sent{color:rgba(255,255,255,.5);}
.ticks-read{color:#4fc3f7;}
/* Seen indicator under admin messages */
.msg-seen-by-you{font-size:10px;color:rgba(255,255,255,.5);margin-top:2px;font-family:'IBM Plex Mono',monospace;display:flex;align-items:center;gap:3px;}
/* Notification badge */
@keyframes chatbounce{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
.chat-btn.has-new{animation:chatbounce .5s ease;}
/* ── LIVE CHAT WIDGET ── */
.chat-btn{
position:fixed;
bottom:28px;
inset-inline-start:28px;
z-index:999;
width:58px;
height:58px;
border-radius:50%;
background:var(--blue-fill);
border:none;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 6px 24px rgba(66,153,225,.45);
transition:all .25s;
}
.chat-btn:hover{background:var(--blue2);transform:scale(1.1);}
.chat-btn svg{width:26px;height:26px;fill:#fff;}
.chat-pulse{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#48bb78;border:2px solid var(--surface);}
.chat-pulse::after{content:'';position:absolute;inset:-3px;border-radius:50%;background:rgba(72,187,120,.4);animation:chatpulse 2s infinite;}
@keyframes chatpulse{0%{transform:scale(1);opacity:.6}70%{transform:scale(1.8);opacity:0}100%{opacity:0}}
.chat-unread{
position:absolute;
top:-2px;
right:-2px;
width:18px;
height:18px;
border-radius:50%;
background:#f85149;
color:#fff;
font-family:'IBM Plex Mono',monospace;
font-size:10px;
font-weight:700;
display:none;
align-items:center;
justify-content:center;
border:2px solid var(--surface);
}
.chat-modal{
position:fixed;
bottom:100px;
inset-inline-start:24px;
z-index:998;
width:340px;
background:var(--surface);
border:1px solid var(--border);
border-radius:20px;
box-shadow:0 20px 60px rgba(0,0,0,.28);
transform:scale(.9) translateY(20px);
opacity:0;
pointer-events:none;
transition:all .25s;
overflow:hidden;
display:flex;
flex-direction:column;
max-height:520px;
}
.chat-modal.open{transform:scale(1) translateY(0);opacity:1;pointer-events:all;}
.chat-modal-hd{background:var(--blue-fill);padding:14px 16px;display:flex;align-items:center;gap:10px;flex-shrink:0;}
.chat-modal-ava{
width:40px;
height:40px;
border-radius:50%;
background:rgba(255,255,255,.2);
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
flex-shrink:0;
position:relative;
}
.chat-online-dot{position:absolute;bottom:1px;right:1px;width:10px;height:10px;border-radius:50%;background:#48bb78;border:2px solid var(--blue);}
.chat-modal-info{flex:1;}
.chat-modal-name{font-size:14px;font-weight:700;color:#fff;}
.chat-modal-status{font-size:11px;color:rgba(255,255,255,.85);margin-top:2px;}
.chat-modal-x{
background:rgba(255,255,255,.15);
border:none;
color:#fff;
width:28px;
height:28px;
border-radius:8px;
cursor:pointer;
font-size:14px;
display:flex;
align-items:center;
justify-content:center;
transition:.15s;
}
.chat-modal-x:hover{background:rgba(255,255,255,.3);}
.chat-modal-min:hover{background:rgba(255,255,255,.3);}
.chat-modal.minimized .chat-msgs,
.chat-modal.minimized .chat-input-area,
.chat-modal.minimized .chat-rating-widget{display:none !important;}
.chat-modal.minimized{height:52px !important;min-height:52px !important;}
/* Chat messages area */
.chat-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:0;max-height:300px;-webkit-overflow-scrolling:touch;}
.chat-msgs::-webkit-scrollbar{width:4px;}
.chat-msgs::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px;}
.chat-msg{display:flex;flex-direction:column;max-width:82%;}
.chat-msg.user{align-self:flex-end;align-items:flex-end;}
.chat-msg.admin{align-self:flex-start;align-items:flex-start;}
.chat-msg-bubble{padding:9px 13px;border-radius:14px;font-size:13px;line-height:1.6;unicode-bidi:plaintext;text-align:start;}
/* IT4-WIDGET-E6-BIDI-V1 */
.chat-msg-bubble, #chat-inp, #chat-input, .chat-modal-form textarea, .chat-modal-form input[type=text] { unicode-bidi: plaintext; text-align: start; }
.chat-msg.user .chat-msg-bubble{background:var(--blue-fill);color:#fff;border-radius:14px 14px 4px 14px;}
.chat-msg.admin .chat-msg-bubble{background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:14px 14px 14px 4px;}
.chat-msg-time{font-size:10px;color:var(--muted);font-family:'IBM Plex Mono',monospace;margin-top:3px;}
.chat-typing{
display:none;
align-self:flex-start;
padding:9px 13px;
background:var(--surface2);
border:1px solid var(--border);
border-radius:14px;
font-size:12px;
color:var(--muted);
}
.chat-typing span{animation:blink 1.2s infinite;display:inline-block;}
.chat-typing span:nth-child(2){animation-delay:.2s;}
.chat-typing span:nth-child(3){animation-delay:.4s;}
@keyframes blink{0%,80%,100%{opacity:.2}40%{opacity:1}}
/* Topic chips */
.chat-chips{padding:10px 14px;display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--border);flex-shrink:0;}
.chat-chip{
background:var(--blue-dim);
border:1px solid rgba(66,153,225,.25);
color:var(--blue);
font-size:12px;
font-weight:700;
padding:7px 13px;
border-radius:20px;
cursor:pointer;
transition:all .18s;
font-family:'Tajawal',sans-serif;
white-space:nowrap;
}
.chat-chip:hover,.chat-chip:active{background:var(--blue-fill);color:#fff;}
/* Input area */
.chat-input-area{padding:10px 12px;border-top:1px solid var(--border);display:flex;gap:8px;flex-shrink:0;background:var(--surface);}
.chat-input{
flex:1;
background:var(--surface2);
border:1px solid var(--border);
color:var(--text);
padding:9px 12px;
border-radius:10px;
font-size:14px;
font-family:'Tajawal',sans-serif;
outline:none;
transition:border-color .2s;
resize:none;
max-height:80px;
}
.chat-input:focus{border-color:var(--blue);}
.chat-send-btn{
background:var(--blue-fill);
color:#fff;
border:none;
width:38px;
height:38px;
border-radius:10px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
transition:.18s;
flex-shrink:0;
align-self:flex-end;
}
.chat-send-btn:hover{background:var(--blue2);}
.chat-send-btn:disabled{opacity:.5;cursor:not-allowed;}
/* Mobile */
@media(max-width:640px){
  .chat-modal{width:calc(100vw - 20px);inset-inline-start:10px;bottom:85px;max-height:80vh;}
  .chat-btn{bottom:20px;inset-inline-start:16px;width:52px;height:52px;}
}
/* ── STATUS BAR ── *//* ── STATUS BAR ── */
.status-bar{
background:var(--surface);
border:1px solid var(--border);
border-radius:12px;
padding:12px 18px;
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
justify-content:center;
margin-bottom:24px;
}
.status-dot-live{width:8px;height:8px;border-radius:50%;background:#48bb78;flex-shrink:0;animation:pulse 2s infinite;}
.status-text{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:700;color:var(--text);}
.status-detail{font-size:11px;color:var(--muted);font-family:'IBM Plex Mono',monospace;}
/* ── MOBILE CHAT ── */
@media(max-width:640px){
  .chat-modal{width:calc(100vw - 40px);bottom:95px;}
  .chat-btn{width:52px;height:52px;bottom:20px;inset-inline-start:20px;}
  .cmp-table{font-size:12px;}
  .cmp-table th,.cmp-table td{padding:10px 10px;}
  .testi-grid{grid-template-columns:1fr;}
  .guarantee-row{gap:8px;}
}

/* ── IT4Y_WIDGET_MOBILE_FIT_2026_07_03 ── phone-fit chat window: symmetric 8px gutters,
   height capped to the real viewport, no forced empty bulk, and the JS-injected
   new-chat buttons (#new-chat-btn / #lc-newchat-esc) break onto their own full-width
   row instead of crushing the input+send line. Mobile-only; no behavior change;
   .chat-modal height intentionally NOT set (minimize handler owns inline height). */
@media(max-width:640px){
  .chat-modal{width:calc(100vw - 16px);inset-inline-start:8px;bottom:76px;
              max-height:min(72vh, calc(100dvh - 132px));}
  .chat-modal-hd{padding:10px 12px;gap:8px;}
  .chat-modal-ava{width:34px;height:34px;font-size:17px;}
  .chat-msgs{min-height:0;max-height:none;padding:10px 12px;}
  .chat-input-area{flex-wrap:wrap;padding:8px 10px;gap:6px;}
  .chat-input{font-size:16px;} /* iOS focus-zoom floor */
  #chat-input-area > #new-chat-btn,
  #chat-input-area > #lc-newchat-esc{flex:0 0 100%;margin-top:2px !important;}
  .chat-proactive{width:calc(100vw - 16px);inset-inline-start:8px;bottom:80px;}
}

/* ── IT4Y_CHAT_MIN_BAR_V1_2026_07_03 ── minimized chat = one clean 52px pill bar (all viewports).
   The 52px height is enforced elsewhere (JS inline + .minimized rule); this block makes
   the CONTENT fit it: single-row compact header, ellipsized name, no status line, no
   End-Chat button (inline display needs !important), no typing/chips/picker bleed-through.
   Restore (\25A1) and close stay; whole bar is tappable to restore (companion script). */
.chat-modal.minimized .chat-modal-hd{flex:1 1 auto;min-height:0;height:auto;
  padding:0 10px;gap:8px;align-items:center;flex-wrap:nowrap;cursor:pointer;}
.chat-modal.minimized .chat-modal-ava{width:30px;height:30px;font-size:15px;}
.chat-modal.minimized .chat-modal-info{min-width:0;flex:1 1 auto;}
.chat-modal.minimized .chat-modal-name{white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;font-size:13.5px;line-height:1.2;}
.chat-modal.minimized .chat-modal-status{display:none;}
.chat-modal.minimized #chat-end-btn{display:none !important;}
.chat-modal.minimized .chat-typing,
.chat-modal.minimized .chat-chips,
.chat-modal.minimized .chat-lang-pick,
.chat-modal.minimized #rating-widget,
.chat-modal.minimized #new-chat-btn,
.chat-modal.minimized #lc-newchat-esc{display:none !important;}

/* ══ PROACTIVE CHAT BUBBLE ══ */
.chat-proactive {
  position:fixed;
  bottom:98px;
  inset-inline-start:18px;
  z-index:9985;
  width:300px;
  background:var(--surface);
  border:1px solid var(--border-h);
  border-radius:20px;
  box-shadow:0 8px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(66,153,225,.12);
  padding:16px;
  transform:translateY(20px) scale(.95);
  opacity:0;
  pointer-events:none;
  transition:transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.chat-proactive.show {
  transform:translateY(0) scale(1);
  opacity:1;
  pointer-events:all;
}
.chat-proactive-hd {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.chat-proactive-ava {
  width:42px;height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,#1a3a5c,#2b6cb0);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;flex-shrink:0;position:relative;
  box-shadow:0 2px 12px rgba(66,153,225,.35);
}
.chat-proactive-dot {
  position:absolute;bottom:1px;right:1px;
  width:11px;height:11px;border-radius:50%;
  background:#48bb78;border:2px solid var(--surface);
  animation:pulse 2s infinite;
}
.chat-proactive-name {
  font-family:"IBM Plex Mono",monospace;
  font-size:13px;font-weight:700;color:var(--text);
  line-height:1.2;
}
.chat-proactive-status {
  font-size:11px;color:#48bb78;
  font-family:"IBM Plex Mono",monospace;
  font-weight:600;
}
.chat-proactive-close {
  margin-inline-start:auto;
  background:none;border:none;
  color:var(--muted);cursor:pointer;
  font-size:15px;width:26px;height:26px;
  border-radius:7px;display:flex;align-items:center;justify-content:center;
  transition:.15s;flex-shrink:0;
}
