/* =========================================================
   FoundNex — Stylesheet  |  Build. Scale. Lead.
   ========================================================= */

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms!important; transition-duration:0.001ms!important; }
}

body{
  margin:0;
  background:#FFFFFF;
  color:#0B0E1A;
  font-family:'Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea{ font-family:inherit; }

.container{ max-width:1240px; margin:0 auto; padding:0 28px; width:100%; }

h1,h2,h3,h4{
  font-family:'Space Grotesk','Sora',system-ui,sans-serif;
  font-weight:800;
  letter-spacing:-0.02em;
  margin:0;
  color:#0B0E1A;
}

.grad-text{
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Inter',system-ui,sans-serif;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:#8A93A6;
  margin-bottom:18px;
}
.eyebrow::before{
  content:'';
  width:18px; height:2px;
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  border-radius:2px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:50px;
  font-weight:700;
  font-size:14.5px;
  font-family:'Inter',system-ui,sans-serif;
  border:1.5px solid transparent;
  white-space:nowrap;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
  will-change:transform;
  cursor:pointer;
  max-width:100%;
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }

.btn-primary{
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  color:#fff;
  box-shadow:0 8px 22px rgba(45,125,255,0.28);
}
.btn-primary:hover{ box-shadow:0 14px 30px rgba(45,125,255,0.38); }

.btn-outline{
  background:transparent;
  border:1.5px solid #D1D5DB;
  color:#0B0E1A;
}
.btn-outline:hover{ border-color:#2D7DFF; color:#2D7DFF; box-shadow:0 2px 10px rgba(45,125,255,0.08); }

.btn-ghost-grad{
  background:#fff;
  border:1.5px solid transparent;
  background-image:linear-gradient(#fff,#fff),linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  background-origin:border-box;
  background-clip:padding-box,border-box;
  color:#2D7DFF;
}

.btn-sm{ padding:10px 20px; font-size:13.5px; border-radius:50px; }

/* ---------- Navbar ---------- */
.navbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid transparent;
  transition:border-color .3s,box-shadow .3s;
  padding-top:env(safe-area-inset-top);
}
.navbar.scrolled{ border-bottom-color:#E5E7EB; box-shadow:0 4px 20px rgba(11,14,26,0.05); }
.navbar .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }

.brand{ display:flex; align-items:center; gap:10px; min-width:0; }
.brand-word{ font-family:'Space Grotesk','Sora',system-ui,sans-serif; font-weight:800; font-size:19px; letter-spacing:-0.01em; white-space:nowrap; }
.brand-word .nex{ background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{ font-size:14.5px; font-weight:600; color:#374151; position:relative; padding:6px 0; transition:color .2s; }
.nav-links a::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); transform:scaleX(0); transform-origin:left; transition:transform .25s; }
.nav-links a:hover{ color:#0B0E1A; }
.nav-links a:hover::after,.nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:#0B0E1A; }

.nav-right{ display:flex; align-items:center; gap:20px; flex:none; }
.nav-clock{ display:flex; align-items:center; gap:6px; font-size:13px; color:#8A93A6; font-weight:600; white-space:nowrap; }
.nav-clock .dot{ width:7px; height:7px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 3px rgba(34,197,94,0.18); animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.45; } }

.nav-toggle{ display:none; width:40px; height:40px; border-radius:50px; border:1.5px solid #E5E7EB; background:#fff; align-items:center; justify-content:center; flex-direction:column; gap:4px; flex:none; -webkit-tap-highlight-color:transparent; }
.nav-toggle span{ width:17px; height:2px; background:#0B0E1A; border-radius:2px; transition:.25s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-panel{ position:fixed; inset:76px 0 0 0; background:#fff; z-index:999; padding:30px 24px calc(30px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap:4px; transform:translateX(100%); transition:transform .33s ease; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.mobile-panel.open{ transform:translateX(0); }
.mobile-panel a{ font-size:20px; font-weight:700; padding:15px 4px; border-bottom:1px solid #E5E7EB; }
.mobile-panel .btn-spark{ margin-top:18px; align-self:stretch; justify-content:center; }

@media(max-width:920px){
  .nav-links,.nav-clock{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta-desktop{ display:none; }
}
@media(max-width:400px){
  .brand-word{ font-size:16px; }
  .navbar .container{ height:66px; padding:0 18px; }
  .mobile-panel{ inset:66px 0 0 0; }
}

/* ---------- Hero ---------- */
.hero{ padding:140px 0 64px; position:relative; overflow:hidden; }
.hero::before{ content:''; position:absolute; top:-180px; right:-220px; width:560px; height:560px; background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); opacity:.08; filter:blur(70px); border-radius:50%; z-index:0; }
.hero .container{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr 1fr; gap:60px; align-items:center; }
.hero-headline{ font-size:clamp(30px,4.2vw,50px); line-height:1.14; margin-bottom:22px; }
.hero-headline span{ display:block; }
.hero-sub{ font-size:clamp(15px,1.8vw,17px); line-height:1.65; color:#5B6472; max-width:520px; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-trust{ display:flex; gap:28px; flex-wrap:wrap; row-gap:14px; }
.hero-trust strong{ font-family:'Space Grotesk','Sora',system-ui,sans-serif; font-size:22px; display:block; }
.hero-trust span{ font-size:12.5px; color:#8A93A6; font-weight:600; }

.code-card{ background:#0B0E1A; border-radius:20px; padding:22px 22px 28px; box-shadow:0 24px 60px rgba(11,14,26,0.14); position:relative; transform:rotate(0.4deg); max-width:100%; }
.code-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; gap:10px; }
.dots{ display:flex; gap:7px; flex:none; }
.dots span{ width:11px; height:11px; border-radius:50%; }
.dots span:nth-child(1){ background:#FF5F57; }
.dots span:nth-child(2){ background:#FEBC2E; }
.dots span:nth-child(3){ background:#28C840; }
.handle-tag{ background:rgba(255,255,255,0.06); color:#9aa3b8; font-size:12px; padding:5px 12px; border-radius:999px; font-family:'JetBrains Mono',monospace; white-space:nowrap; }
.code-body{ font-family:'JetBrains Mono',monospace; font-size:clamp(11.5px,2.6vw,13.2px); line-height:1.85; color:#cdd3e0; white-space:pre; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.code-body .kw{ color:#7AA2FF; }
.code-body .fn{ color:#22D3EE; }
.code-body .str{ color:#9CDB7A; }

@media(max-width:980px){
  .hero .container{ grid-template-columns:1fr; gap:44px; }
  .hero{ padding-top:110px; padding-bottom:52px; }
}
@media(max-width:640px){
  .hero{ padding-top:96px; padding-bottom:44px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }
  .hero-trust{ gap:22px; }
  .code-card{ padding:18px 16px 22px; border-radius:16px; transform:none; }
}
@media(max-width:400px){
  .hero-trust{ justify-content:space-between; gap:12px; }
  .hero-trust > div{ flex:1 1 auto; min-width:0; }
  .hero-trust strong{ font-size:19px; }
}

/* ---------- Marquee ---------- */
.marquee-section{ border-top:1px solid #E5E7EB; border-bottom:1px solid #E5E7EB; padding:24px 0; background:#FAFAFA; overflow:hidden; }
.marquee-track{ display:flex; width:max-content; animation:scrollLeft 38s linear infinite; }
.marquee-section:hover .marquee-track{ animation-play-state:paused; }
.marquee-item{ display:flex; align-items:center; gap:10px; padding:0 28px; font-size:14px; font-weight:600; color:#374151; white-space:nowrap; }
.marquee-item .ic{ width:18px; height:18px; flex:none; }
.marquee-item .ic svg{ width:100%; height:100%; }
.marquee-dot{ color:#D1D5DB; padding:0 2px; }
@keyframes scrollLeft{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media(max-width:640px){
  .marquee-track{ animation-duration:26s; }
  .marquee-item{ padding:0 18px; font-size:13px; }
}

/* ============================================================
   SERVICES SECTION — Animated Cards
   ============================================================ */
.services-section{ padding:72px 0; background:#FAFAFA; }
.services-head{ text-align:center; margin-bottom:44px; }
.services-head h2{ font-size:clamp(28px,3.6vw,46px); margin-bottom:16px; }
.services-sub{ font-size:15.5px; color:#5B6472; line-height:1.65; max-width:560px; margin:0 auto; }

.services-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.service-card{
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:20px;
  padding:32px 24px;
  text-align:center;
  transition:transform .4s cubic-bezier(0.34,1.56,0.64,1),box-shadow .4s ease,border-color .3s ease;
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
.service-card::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  transform:scaleX(0);
  transition:transform .4s cubic-bezier(0.34,1.56,0.64,1);
}
.service-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 48px rgba(11,14,26,0.1);
  border-color:transparent;
}
.service-card:hover::before{
  transform:scaleX(1);
}

.service-icon{
  width:56px; height:56px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(30,42,120,0.08),rgba(34,211,238,0.08));
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px;
  transition:transform .3s ease,background .3s ease;
}
.service-card:hover .service-icon{
  transform:scale(1.1) rotate(-5deg);
  background:linear-gradient(135deg,rgba(30,42,120,0.12),rgba(34,211,238,0.12));
}
.service-icon svg{
  width:26px; height:26px;
  stroke:linear-gradient(115deg,#1E2A78,#2D7DFF);
  stroke:#2D7DFF;
}

.service-card h3{
  font-size:17px;
  margin-bottom:10px;
  color:#0B0E1A;
}
.service-card p{
  font-size:13.5px;
  line-height:1.65;
  color:#5B6472;
  margin:0;
}

@media(max-width:1180px){ .services-grid{ grid-template-columns:repeat(3, 1fr); } }
@media(max-width:760px){ .services-grid{ grid-template-columns:repeat(2, 1fr); gap:16px; } .services-section{ padding:56px 0; } }
@media(max-width:460px){
  .services-grid{ grid-template-columns:1fr; }
  .service-card{ padding:26px 20px; display:flex; flex-direction:column; align-items:center; }
  .service-card:hover{ transform:translateY(-4px); }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose{ padding:72px 0; background:#fff; }

.why-head{ text-align:center; margin-bottom:44px; }
.why-head h2{ font-size:clamp(28px,3.6vw,46px); margin-bottom:16px; }
.why-sub{ font-size:15.5px; color:#5B6472; line-height:1.65; max-width:520px; margin:0 auto; }

.why-flex{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
  margin-bottom:48px;
}
.why-flex-text h3{ font-size:clamp(22px,2.6vw,32px); line-height:1.25; margin-bottom:18px; }
.why-flex-text p.body{ font-size:15.5px; line-height:1.75; color:#5B6472; margin-bottom:26px; max-width:480px; }
.why-points{ display:flex; flex-direction:column; gap:14px; }
.why-points li{ display:flex; align-items:flex-start; gap:12px; font-size:14.5px; color:#374151; font-weight:600; }
.why-points li svg{ flex:none; width:20px; height:20px; stroke:#2D7DFF; margin-top:1px; }
.why-points li span{ font-weight:400; color:#5B6472; display:block; font-size:13.5px; margin-top:2px; }

.why-media{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 16px 40px rgba(11,14,26,0.1);
  background:#FAFAFA;
  min-height:300px;
  position:relative;
}
.why-media img{ width:100%; height:auto; object-fit:contain; display:block; }
.why-media-fallback{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#eef2f9,#f7f9fc); flex-direction:column; gap:10px; }
.why-media-fallback svg{ width:46px; height:46px; stroke:#1E2A78; opacity:.5; }
.why-media-fallback span{ font-size:12px; color:#8A93A6; font-weight:600; font-family:'JetBrains Mono',monospace; text-align:center; padding:0 20px; }

@media(max-width:980px){
  .why-choose{ padding:56px 0; }
  .why-flex{ grid-template-columns:1fr; gap:32px; }
  .why-media{ order:-1; min-height:220px; }
}
@media(max-width:480px){
  .why-media{ min-height:180px; border-radius:16px; }
}

/* Stats strip */
.why-stats{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  background:#FAFAFA;
  border:1px solid #E5E7EB;
  border-radius:16px;
  padding:32px 40px;
  flex-wrap:wrap;
}
.why-stat{ text-align:center; padding:0 36px; }
.why-stat strong{ font-family:'Space Grotesk','Sora',system-ui,sans-serif; font-size:28px; font-weight:800; display:block; background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.why-stat span{ font-size:12.5px; color:#8A93A6; font-weight:600; display:block; margin-top:4px; }
.why-stat-div{ width:1px; height:44px; background:#E5E7EB; }

@media(max-width:640px){
  .why-stats{ gap:10px 16px; padding:24px 20px; }
  .why-stat-div{ display:none; }
  .why-stat{ padding:8px 14px; flex:1 1 40%; }
  .why-stat strong{ font-size:22px; }
}

/* ============================================================
   CONNECT FORM SECTION
   ============================================================ */
.connect-section{ padding:72px 0; background:#fff; }
.connect-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.connect-text h2{
  font-size:clamp(26px,3.2vw,42px);
  line-height:1.16;
  margin-bottom:18px;
}
.connect-text p.body{
  font-size:15.5px;
  line-height:1.75;
  color:#5B6472;
  margin-bottom:20px;
  max-width:500px;
}
.connect-points{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:24px;
}
.connect-points span{
  display:inline-flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  font-weight:600;
  color:#374151;
}
.connect-points span svg{
  width:18px; height:18px;
  stroke:#2D7DFF;
  flex:none;
  margin-top:1px;
}

/* Form Card */
.connect-form-wrapper{
  display:flex;
  justify-content:flex-end;
  min-width:0;
}
.connect-form-card{
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:24px;
  padding:40px 36px;
  width:100%;
  max-width:460px;
  box-shadow:0 8px 32px rgba(11,14,26,0.06);
  transition:box-shadow .3s ease,transform .3s ease;
}
.connect-form-card:hover{
  box-shadow:0 16px 48px rgba(11,14,26,0.1);
  transform:translateY(-2px);
}
.connect-form-card h3{
  font-size:22px;
  margin-bottom:6px;
  color:#0B0E1A;
}
.form-sub{
  font-size:13.5px;
  color:#8A93A6;
  margin-bottom:24px;
}

.connect-form{ display:flex; flex-direction:column; gap:16px; }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group label{
  font-size:13px;
  font-weight:600;
  color:#374151;
}
.form-group input,
.form-group textarea{
  border:1.5px solid #E5E7EB;
  border-radius:12px;
  padding:12px 16px;
  font-size:16px;
  color:#0B0E1A;
  background:#FAFAFA;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
  resize:vertical;
  width:100%;
}
.form-group input:focus,
.form-group textarea:focus{
  border-color:#2D7DFF;
  background:#fff;
  box-shadow:0 0 0 3px rgba(45,125,255,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder{
  color:#9aa3b8;
}

.btn-form{
  width:100%;
  margin-top:8px;
}

@media(max-width:980px){
  .connect-section{ padding:56px 0; }
  .connect-grid{ grid-template-columns:1fr; gap:40px; }
  .connect-form-wrapper{ justify-content:stretch; }
  .connect-form-card{ max-width:100%; }
}
@media(max-width:480px){
  .connect-form-card{ padding:28px 22px; border-radius:18px; }
  .form-group input, .form-group textarea{ padding:11px 14px; }
}

/* ============================================================
   COMMUNITY SPLIT SECTION — Content Left, Image Right
   ============================================================ */
.community-split{ padding:72px 0; background:linear-gradient(180deg,#fff 0%,#FAFAFA 100%); }
.community-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.community-text h2{
  font-size:clamp(26px,3.2vw,42px);
  line-height:1.16;
  margin-bottom:18px;
}
.community-text p.body{
  font-size:15px;
  line-height:1.75;
  color:#5B6472;
  margin-bottom:14px;
  max-width:520px;
}
.community-text p.body strong{
  color:#0B0E1A;
}

.community-stats-inline{
  display:flex;
  gap:28px;
  margin:28px 0;
  flex-wrap:wrap;
  row-gap:16px;
}
.community-stats-inline div{ text-align:left; }
.community-stats-inline strong{
  font-family:'Space Grotesk','Sora',system-ui,sans-serif;
  font-size:24px;
  font-weight:800;
  display:block;
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.community-stats-inline span{
  font-size:12px;
  color:#8A93A6;
  font-weight:600;
  display:block;
  margin-top:2px;
}

.community-img{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(11,14,26,0.12);
  background:linear-gradient(135deg,#eef2f9,#f7f9fc);
  min-height:300px;
  position:relative;
}
.community-img img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}
.community-img-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
}
.community-img-fallback svg{ width:48px; height:48px; stroke:#1E2A78; opacity:.4; }
.community-img-fallback span{ font-size:12px; color:#8A93A6; font-weight:600; font-family:'JetBrains Mono',monospace; text-align:center; padding:0 20px; }

@media(max-width:980px){
  .community-split{ padding:56px 0; }
  .community-grid{ grid-template-columns:1fr; gap:36px; }
  .community-img{ order:-1; min-height:220px; }
}
@media(max-width:480px){
  .community-img{ min-height:180px; border-radius:16px; }
  .community-stats-inline{ gap:18px; }
  .btn-spark{ width:100%; }
}

/* ============================================================
   TESTIMONIALS — CAROUSEL
   ============================================================ */
.testimonials{ padding:72px 0; background:#fff; }
.testi-head{ text-align:center; margin-bottom:40px; }
.testi-head h2{ font-size:clamp(28px,3.4vw,44px); margin-bottom:14px; }
.testi-sub{ font-size:15.5px; color:#5B6472; max-width:500px; margin:0 auto; line-height:1.6; }

.testi-carousel{ position:relative; }
.testi-viewport{ overflow:hidden; }
.testi-track{
  display:flex;
  gap:22px;
  transition:transform .5s cubic-bezier(0.65,0,0.35,1);
  will-change:transform;
}

.testi-card{
  flex:0 0 calc((100% - 44px)/3);
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:18px;
  padding:30px 28px;
  transition:transform .3s,box-shadow .3s,border-color .3s;
  display:flex;
  flex-direction:column;
}
.testi-card:hover{ transform:translateY(-4px); box-shadow:0 14px 36px rgba(11,14,26,0.08); border-color:rgba(45,125,255,0.2); }

.testi-stars{ font-size:16px; color:#F59E0B; margin-bottom:14px; letter-spacing:2px; }

.testi-quote{ font-size:14.5px; line-height:1.72; color:#374151; margin:0 0 24px; flex:1; font-style:italic; }
.testi-quote::before{ content:'\201C'; font-size:28px; color:#E5E7EB; line-height:0; vertical-align:-12px; margin-right:2px; }

.testi-person{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.testi-avatar{
  width:42px; height:42px; border-radius:50%; flex:none;
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-family:'Space Grotesk','Sora',system-ui,sans-serif; font-size:14px;
}
.testi-person strong{ font-size:14px; display:block; color:#0B0E1A; }
.testi-person span{ font-size:12.5px; color:#8A93A6; display:block; }
.testi-verified{
  margin-left:auto;
  display:flex; align-items:center; gap:4px;
  font-size:11.5px; font-weight:600;
  color:#2D7DFF;
  background:rgba(45,125,255,0.07);
  padding:5px 10px; border-radius:999px;
}
.testi-verified svg{ width:14px; height:14px; stroke:#2D7DFF; }

/* Carousel nav controls */
.testi-controls{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:32px; }
.testi-arrow{
  width:46px; height:46px;
  border-radius:50%;
  border:1.5px solid #E5E7EB;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease;
  flex:none;
  -webkit-tap-highlight-color:transparent;
}
.testi-arrow svg{ width:18px; height:18px; stroke:#374151; transition:stroke .25s ease; }
.testi-arrow:hover{
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  border-color:transparent;
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 10px 24px rgba(45,125,255,0.3);
}
.testi-arrow:hover svg{ stroke:#fff; }
.testi-arrow:active{ transform:translateY(0) scale(0.98); }
.testi-arrow:disabled{ opacity:.35; cursor:default; pointer-events:none; }

.testi-dots{ display:flex; align-items:center; gap:7px; }
.testi-dots button{
  width:7px; height:7px; border-radius:50%;
  background:#E5E7EB; border:none; padding:0;
  transition:background .25s ease,width .25s ease;
}
.testi-dots button.active{ width:22px; border-radius:4px; background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); }

@media(max-width:960px){ .testimonials{ padding:56px 0; } .testi-card{ flex:0 0 calc((100% - 22px)/2); } }
@media(max-width:640px){
  .testi-card{ flex:0 0 100%; padding:24px 22px; }
  .testi-quote{ font-size:14px; }
  .testi-controls{ gap:12px; margin-top:24px; }
  .testi-arrow{ width:42px; height:42px; }
}

/* ---------- Footer ---------- */
footer{ background:#0B0E1A; color:#9aa3b8; padding:60px 0 28px; padding-bottom:calc(28px + env(safe-area-inset-bottom)); }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand-word{ font-family:'Space Grotesk','Sora',system-ui,sans-serif; font-weight:800; font-size:18px; color:#fff; }
.footer-brand-word .nex{ background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.footer-tag{ font-size:13px; letter-spacing:.08em; color:#6b7280; font-weight:600; text-transform:uppercase; }
.footer-col h5{ color:#fff; font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; font-family:'Inter',system-ui,sans-serif; font-weight:700; }
.footer-col a{ display:block; font-size:14.5px; color:#9aa3b8; margin-bottom:13px; transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-socials{ display:flex; gap:10px; margin-top:6px; flex-wrap:wrap; }
.footer-socials a{ width:38px; height:38px; border-radius:50px; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; transition:background .2s,transform .2s; }
.footer-socials a:hover{ background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); transform:translateY(-2px); }
.footer-socials svg{ width:17px; height:17px; stroke:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:13px; color:#6b7280; flex-wrap:wrap; gap:12px; }

@media(max-width:880px){ .footer-top{ grid-template-columns:1fr 1fr; gap:36px 28px; } }
@media(max-width:560px){
  footer{ padding-top:44px; }
  .footer-top{ grid-template-columns:1fr; gap:32px; padding-bottom:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:8px; }
}

/* ============================================================
   SPARK BUTTON — animated CTA
   ============================================================ */
.btn-spark{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border:none;
  border-radius:50px;
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%);
  color:#fff;
  font-family:'Inter',system-ui,sans-serif;
  font-weight:700;
  font-size:14.5px;
  white-space:nowrap;
  cursor:pointer;
  overflow:hidden;
  isolation:isolate;
  box-shadow:0 8px 22px rgba(45,125,255,0.28);
  transition:transform .25s ease,box-shadow .25s ease;
  -webkit-tap-highlight-color:transparent;
  max-width:100%;
}
.btn-spark.btn-sm{ padding:10px 20px; font-size:13.5px; border-radius:50px; }
.btn-spark:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(45,125,255,0.4); }
.btn-spark:active{ transform:translateY(0) scale(.98); }

.btn-spark .fold{
  position:absolute;
  top:0; right:0;
  width:0; height:0;
  border-style:solid;
  border-width:0 16px 16px 0;
  border-color:transparent rgba(255,255,255,0.16) transparent transparent;
  transition:border-width .25s ease;
  z-index:2;
}
.btn-spark:hover .fold{ border-width:0 22px 22px 0; }

.btn-spark .points_wrapper{
  position:absolute; inset:0;
  overflow:hidden;
  z-index:1;
  pointer-events:none;
}
.btn-spark .point{
  position:absolute;
  bottom:-6px;
  width:2px; height:2px;
  border-radius:50%;
  background:#fff;
  opacity:0;
}
.btn-spark:hover .point{ animation:spark-rise 1s ease-in-out infinite; }
.btn-spark .point:nth-child(1){ left:8%;  animation-delay:.05s; }
.btn-spark .point:nth-child(2){ left:18%; animation-delay:.4s; }
.btn-spark .point:nth-child(3){ left:28%; animation-delay:.15s; }
.btn-spark .point:nth-child(4){ left:38%; animation-delay:.6s; }
.btn-spark .point:nth-child(5){ left:48%; animation-delay:.25s; }
.btn-spark .point:nth-child(6){ left:58%; animation-delay:.5s; }
.btn-spark .point:nth-child(7){ left:68%; animation-delay:.1s; }
.btn-spark .point:nth-child(8){ left:78%; animation-delay:.35s; }
.btn-spark .point:nth-child(9){ left:88%; animation-delay:.55s; }
.btn-spark .point:nth-child(10){ left:95%; animation-delay:.2s; }

@keyframes spark-rise{
  0%{ transform:translateY(0) scale(0); opacity:0; }
  30%{ opacity:1; }
  100%{ transform:translateY(-26px) scale(1); opacity:0; }
}

.btn-spark .inner{
  position:relative;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:transform .25s ease;
}
.btn-spark:hover .inner{ transform:translateX(1px); }
.btn-spark .icon{ width:14px; height:14px; flex:none; transition:transform .3s ease; }
.btn-spark:hover .icon{ transform:translate(2px,-2px); }

/* ============================================================
   WHATSAPP ICON
   ============================================================ */
.wp_outer {
  position: fixed;
  bottom:calc(96px + env(safe-area-inset-bottom));
  right: 27px;
  z-index: 1099;
  transition: bottom 0.3s ease;
}

.wpicons {
  width: 50px;
  height: 50px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.4));
  transition: transform 0.2s ease;
}

.wpicons:hover {
  transform: scale(1.08);
}

/* BotPenguin Widget */
.botpenguin-right {
  bottom: calc(156px + env(safe-area-inset-bottom)) !important; 
  right: 27px !important;
  position: fixed !important;
  z-index: 1098 !important;
}

/* ============================================================
   CHAT WIDGET — LABEL SAME ON ALL SCREENS
   ============================================================ */
.chat-fab{
  position:fixed;
  bottom:calc(26px + env(safe-area-inset-bottom));
  right:calc(26px + env(safe-area-inset-right));
  width:60px; 
  height:60px;
  border-radius:50%;
  background:linear-gradient(135deg,#1E2A78 0%,#2D7DFF 60%,#22D3EE 100%);
  display:flex; 
  align-items:center; 
  justify-content:center;
  box-shadow:0 10px 28px rgba(45,125,255,0.38);
  z-index:1100;
  border:none;
  transition:transform .22s ease,box-shadow .22s ease;
  -webkit-tap-highlight-color:transparent;
}
.chat-fab:hover{ 
  transform:scale(1.06) translateY(-2px); 
  box-shadow:0 16px 36px rgba(45,125,255,0.46); 
}
.chat-fab svg{ 
  width:26px; 
  height:26px; 
  transition:transform .2s ease; 
}
.chat-fab.open svg{ 
  transform:rotate(45deg); 
}

/* CHAT LABEL - ALWAYS RIGHT SIDE, SAME POSITION */
.chat-label{
  position:fixed;
  bottom:calc(38px + env(safe-area-inset-bottom));
  right:calc(96px + env(safe-area-inset-right));
  z-index:1100;
  background:#0B0E1A; 
  color:#fff;
  border-radius:50px; 
  padding:10px 18px;
  font-size:12.5px; 
  font-weight:600; 
  white-space:nowrap;
  box-shadow:0 8px 24px rgba(11,14,26,0.25);
  pointer-events:none;
  max-width:min(240px, calc(100vw - 120px));
  overflow:hidden;
  text-overflow:ellipsis;
}

.chat-panel{
  position:fixed;
  bottom:calc(100px + env(safe-area-inset-bottom));
  right:26px;
  width:380px;
  max-width:calc(100vw - 52px);
  background:#fff;
  border-radius:24px;
  box-shadow:0 28px 64px rgba(11,14,26,0.16),0 0 0 1px rgba(11,14,26,0.06);
  z-index:1100;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 140px);
  transform:translateY(16px) scale(0.97);
  opacity:0;
  pointer-events:none;
  transition:transform .28s cubic-bezier(0.34,1.2,0.64,1),opacity .22s ease;
}
.chat-panel.open{ 
  transform:translateY(0) scale(1); 
  opacity:1; 
  pointer-events:auto; 
}

.chat-head{ 
  display:flex; 
  align-items:center; 
  gap:11px; 
  padding:16px 18px; 
  background:linear-gradient(135deg,#1E2A78 0%,#2D7DFF 60%,#22D3EE 100%); 
  flex:none; 
}
.chat-head-avatar{ 
  width:40px; 
  height:40px; 
  border-radius:50%; 
  background:rgba(255,255,255,0.2); 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  font-family:'Space Grotesk','Sora',system-ui,sans-serif; 
  font-weight:800; 
  font-size:13px; 
  color:#fff; 
  flex:none; 
}
.chat-head-info{ 
  flex:1; 
  min-width:0; 
}
.chat-head-info strong{ 
  font-family:'Space Grotesk','Sora',system-ui,sans-serif; 
  font-weight:700; 
  font-size:14.5px; 
  color:#fff; 
  display:block; 
}
.chat-head-info span{ 
  font-size:11px; 
  color:rgba(255,255,255,0.8); 
  font-family:'JetBrains Mono',monospace; 
  display:block; 
  margin-top:1px; 
}
.chat-close{ 
  width:34px; 
  height:34px; 
  flex:none; 
  background:rgba(255,255,255,0.15); 
  border-radius:50%; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  border:none; 
  transition:background .2s; 
  -webkit-tap-highlight-color:transparent; 
}
.chat-close:hover{ 
  background:rgba(255,255,255,0.3); 
}
.chat-close svg{ 
  width:14px; 
  height:14px; 
  stroke:#fff; 
}

.chat-thread{ 
  flex:1; 
  overflow-y:auto; 
  -webkit-overflow-scrolling:touch; 
  padding:16px; 
  display:flex; 
  flex-direction:column; 
  gap:10px; 
  background:#F7F8FA; 
  min-height:180px; 
  max-height:320px; 
  overscroll-behavior:contain; 
}
.chat-bubble{ 
  max-width:82%; 
  padding:12px 16px; 
  border-radius:18px; 
  font-size:13.5px; 
  line-height:1.55; 
  word-wrap:break-word; 
}
.chat-bubble.bot{ 
  align-self:flex-start; 
  background:#fff; 
  border:1px solid #E5E7EB; 
  color:#374151; 
  border-bottom-left-radius:4px; 
  box-shadow:0 2px 8px rgba(0,0,0,0.04); 
}
.chat-bubble.user{ 
  align-self:flex-end; 
  background:linear-gradient(115deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); 
  color:#fff; 
  border-bottom-right-radius:4px; 
  box-shadow:0 4px 12px rgba(45,125,255,0.25); 
}
.chat-typing{ 
  align-self:flex-start; 
  display:flex; 
  gap:4px; 
  padding:12px 16px; 
  background:#fff; 
  border:1px solid #E5E7EB; 
  border-radius:18px; 
  border-bottom-left-radius:4px; 
  box-shadow:0 2px 8px rgba(0,0,0,0.04); 
}
.chat-typing span{ 
  width:6px; 
  height:6px; 
  border-radius:50%; 
  background:#9aa3b8; 
  animation:chatDot .9s ease-in-out infinite; 
}
.chat-typing span:nth-child(2){ 
  animation-delay:.15s; 
}
.chat-typing span:nth-child(3){ 
  animation-delay:.3s; 
}
@keyframes chatDot{ 
  0%,60%,100%{ transform:translateY(0); } 
  30%{ transform:translateY(-4px); } 
}

.chat-input-row{ 
  flex:none; 
  display:flex; 
  align-items:center; 
  gap:8px; 
  padding:12px 14px; 
  padding-bottom:calc(12px + env(safe-area-inset-bottom)); 
  border-top:1px solid #E5E7EB; 
  background:#fff; 
}
.chat-input-row input{ 
  flex:1; 
  min-width:0; 
  border:1.5px solid #E5E7EB; 
  border-radius:50px; 
  padding:11px 16px; 
  font-size:16px; 
  color:#0B0E1A; 
  outline:none; 
  transition:border-color .2s,box-shadow .2s; 
}
.chat-input-row input:focus{ 
  border-color:#2D7DFF; 
  box-shadow:0 0 0 3px rgba(45,125,255,0.1); 
}
.chat-send-btn{ 
  flex:none; 
  width:40px; 
  height:40px; 
  border-radius:50%; 
  border:none; 
  background:linear-gradient(135deg,#1E2A78 0%,#2D7DFF 55%,#22D3EE 100%); 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  box-shadow:0 6px 16px rgba(45,125,255,0.32); 
  transition:transform .2s; 
  -webkit-tap-highlight-color:transparent; 
}
.chat-send-btn:hover{ 
  transform:scale(1.06); 
}
.chat-send-btn svg{ 
  width:16px; 
  height:16px; 
  stroke:#fff; 
}

.chat-quick-btns{ 
  flex:none; 
  display:flex; 
  flex-direction:column; 
  gap:7px; 
  padding:6px 14px 14px; 
  background:#fff; 
  border-top:1px solid #F3F4F6; 
}
.chat-quick-btn{ 
  background:#F7F8FA; 
  border:1.5px solid #E5E7EB; 
  border-radius:50px; 
  padding:10px 16px; 
  font-size:12.5px; 
  font-weight:600; 
  color:#374151; 
  text-align:left; 
  cursor:pointer; 
  transition:background .2s,border-color .2s,color .2s,transform .2s; 
  -webkit-tap-highlight-color:transparent; 
  white-space:normal; 
}
.chat-quick-btn:hover{ 
  background:linear-gradient(115deg,rgba(30,42,120,0.06),rgba(34,211,238,0.06)); 
  border-color:rgba(45,125,255,0.3); 
  color:#1E2A78; 
  transform:translateX(2px); 
}

/* ======== Tablet & Medium Screens (max-width: 768px) ======== */
@media(max-width:768px){
  .chat-fab{
    right:calc(20px + env(safe-area-inset-right));
    bottom:calc(20px + env(safe-area-inset-bottom));
    width:56px; 
    height:56px;
  }
  .chat-fab svg{ width:24px; height:24px; }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    right:calc(86px + env(safe-area-inset-right));
    bottom:calc(32px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 110px);
  }

  .chat-panel{
    right:20px;
    bottom:calc(86px + env(safe-area-inset-bottom));
    width:calc(100vw - 40px);
    max-width:380px;
  }

  .wp_outer{
    bottom:calc(86px + env(safe-area-inset-bottom));
    right:20px;
  }

  .botpenguin-right{
    bottom:calc(146px + env(safe-area-inset-bottom)) !important;
    right:20px !important;
  }
}

/* ======== Mobile Screens (max-width: 600px) ======== */
@media(max-width:600px){
  .chat-fab{
    right:calc(16px + env(safe-area-inset-right));
    bottom:calc(16px + env(safe-area-inset-bottom));
    width:54px;
    height:54px;
  }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    right:calc(80px + env(safe-area-inset-right));
    bottom:calc(28px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 100px);
  }

  .chat-panel{
    left:16px;
    right:16px;
    bottom:calc(80px + env(safe-area-inset-bottom));
    width:auto;
    max-width:none;
    border-radius:20px;
  }

  .wp_outer{
    bottom:calc(80px + env(safe-area-inset-bottom));
    right:16px;
  }

  .wpicons{
    width:48px;
    height:48px;
  }

  .botpenguin-right{
    bottom:calc(138px + env(safe-area-inset-bottom)) !important;
    right:16px !important;
  }
}

/* ======== Small Mobile (max-width: 480px) ======== */
@media(max-width:480px){
  .chat-panel{
    left:12px;
    right:12px;
    bottom:calc(76px + env(safe-area-inset-bottom));
    border-radius:18px;
  }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    right:calc(74px + env(safe-area-inset-right));
    bottom:calc(26px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 94px);
  }

  .chat-fab{
    right:calc(12px + env(safe-area-inset-right));
    bottom:calc(12px + env(safe-area-inset-bottom));
    width:52px;
    height:52px;
  }

  .wp_outer{
    bottom:calc(74px + env(safe-area-inset-bottom));
    right:12px;
  }

  .wpicons{
    width:46px;
    height:46px;
  }

  .botpenguin-right{
    bottom:calc(130px + env(safe-area-inset-bottom)) !important;
    right:12px !important;
  }

  .chat-quick-btn{
    font-size:12px;
    padding:9px 14px;
  }
}

/* ======== Ultra-Small Screens (max-width: 420px) ======== */
@media(max-width:420px){
  .chat-panel{
    left:0;
    right:0;
    bottom:0;
    width:100%;
    max-width:100%;
    border-radius:18px 18px 0 0;
    max-height:calc(100vh - 20px);
    height:min(560px, calc(100vh - 20px));
  }

  .chat-thread{
    max-height:none;
    flex:1 1 auto;
  }

  body.chat-lock{
    overflow:hidden;
  }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    right:calc(70px + env(safe-area-inset-right));
    bottom:calc(24px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 90px);
  }

  .wp_outer{
    bottom:calc(68px + env(safe-area-inset-bottom));
    right:10px;
  }

  .chat-fab{
    right:calc(10px + env(safe-area-inset-right));
    bottom:calc(10px + env(safe-area-inset-bottom));
  }

  .botpenguin-right{
    bottom:calc(124px + env(safe-area-inset-bottom)) !important;
    right:10px !important;
  }
}

/* ======== Extra Small (max-width: 380px) ======== */
@media(max-width:380px){
  .btn,
  .btn-spark{
    white-space:normal;
    text-align:center;
    line-height:1.35;
    padding:12px 18px;
    font-size:13px;
    width:100%;
  }
  .btn-spark .fold{ display:none; }
  .nav-cta-desktop{ display:none; }
  .mobile-panel .btn-spark{ width:100%; }

  .navbar .container{ height:60px; padding:0 14px; }
  .brand-word{ font-size:14.5px; }
  .nav-toggle{ width:36px; height:36px; }
  .mobile-panel{ inset:60px 0 0 0; padding:24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .mobile-panel a{ font-size:17px; padding:13px 4px; }

  .hero{ padding-top:84px; padding-bottom:36px; }
  .hero-headline{ font-size:clamp(21px,7.2vw,26px); margin-bottom:16px; }
  .hero-sub{ font-size:13.5px; margin-bottom:24px; }
  .hero-trust{ gap:10px; justify-content:space-between; }
  .hero-trust strong{ font-size:16px; }
  .hero-trust span{ font-size:10.5px; }
  .code-card{ padding:14px 12px 18px; border-radius:14px; }
  .code-body{ font-size:10.5px; }
  .handle-tag{ font-size:11px; padding:4px 10px; }

  .services-section, .why-choose, .connect-section, .community-split, .testimonials{ padding:40px 0; }
  .services-head h2, .why-head h2, .testi-head h2{ font-size:22px; }
  .services-sub, .why-sub, .testi-sub{ font-size:13.5px; }
  .service-card{ padding:22px 14px; }
  .why-flex-text h3{ font-size:20px; }
  .why-stats{ padding:16px 10px; gap:8px 10px; }
  .why-stat{ padding:6px 8px; flex:1 1 42%; }
  .why-stat strong{ font-size:18px; }
  .connect-form-card{ padding:22px 16px; border-radius:16px; }
  .connect-text h2, .community-text h2{ font-size:22px; }
  .community-stats-inline{ gap:12px; row-gap:12px; }
  .community-stats-inline strong{ font-size:18px; }
  .testi-card{ padding:20px 16px; }
  .testi-quote{ font-size:13.5px; }
  .marquee-item{ padding:0 14px; font-size:12px; }

  .wpicons{
    width:44px;
    height:44px;
  }

  .chat-fab{
    width:50px;
    height:50px;
  }

  .chat-fab svg{
    width:22px;
    height:22px;
  }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    font-size:11.5px;
    padding:8px 14px;
    right:calc(66px + env(safe-area-inset-right));
    bottom:calc(22px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 86px);
  }

  .chat-input-row{
    padding:10px 12px;
    gap:6px;
  }

  .chat-input-row input{
    padding:10px 14px;
    font-size:15px;
  }

  .chat-send-btn{
    width:36px;
    height:36px;
  }
}

/* ======== Tiny Screens (max-width: 320px) ======== */
@media(max-width:320px){
  .container{ padding:0 12px; }
  .hero-headline{ font-size:19px; }
  .hero-trust{ flex-wrap:wrap; }
  .why-stat{ flex:1 1 100%; }
  .community-stats-inline{ flex-direction:column; align-items:flex-start; }
  .service-card{ padding:18px 12px; }
  .testi-card{ padding:16px 12px; }
  .chat-panel{ border-radius:14px 14px 0 0; }
  
  .wpicons{
    width:42px;
    height:42px;
  }

  .chat-fab{
    width:48px;
    height:48px;
  }

  .wp_outer{
    right:8px;
  }

  .chat-fab{
    right:calc(8px + env(safe-area-inset-right));
  }

  /* LABEL STAYS RIGHT - NO CHANGE */
  .chat-label{
    font-size:11px;
    padding:7px 12px;
    right:calc(62px + env(safe-area-inset-right));
    bottom:calc(20px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 82px);
  }

  .botpenguin-right{
    right:8px !important;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease,transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media(max-width:640px){
  .reveal{ transform:translateY(16px); transition-duration:.5s; }
}

/* ---------- skip link ---------- */
.skip-link{ position:absolute; left:-999px; top:0; background:#0B0E1A; color:#fff; padding:10px 16px; border-radius:8px; z-index:2000; }
.skip-link:focus{ left:16px; top:16px; }
:focus-visible{ outline:2.5px solid #2D7DFF; outline-offset:2px; }

/* ---------- Global small-screen container tightening ---------- */
@media(max-width:640px){
  .container{ padding:0 20px; }
}
@media(max-width:380px){
  .container{ padding:0 16px; }
}

/* Prevent horizontal overflow on any element */
html, body{ max-width:100%; overflow-x:hidden; }
*{ min-width:0; }