/* Full-bleed section: robust escape for Blocksy containers */
html, body{overflow-x:hidden;}
.sps{
  /* Full-bleed without parent-width drift (Blocksy-safe) */
  position:relative;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:0;
  font-family:"Vazirmatn", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial !important;
  color:#0b1220;
  overflow-x:hidden;
}
.sps *{box-sizing:border-box}
.sps, .sps *{
  font-family:"Vazirmatn", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial !important;
}

.sps a{text-decoration:none}
.sps a:hover{text-decoration:none}

/* Stage */
.sps-stage{
  width:100%;
  min-height:100vh;
  padding:clamp(18px,2.6vw,34px);
  overflow:hidden;
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(99,102,241,0.26), transparent 55%),
    radial-gradient(900px 600px at 75% 10%, rgba(56,189,248,0.22), transparent 60%),
    radial-gradient(1000px 700px at 50% 90%, rgba(14,165,233,0.14), transparent 55%),
    linear-gradient(180deg, #060914 0%, #070b18 35%, #070b18 100%);
}
.sps-shell{
  max-width:1240px;
  margin:0 auto;
  color:rgba(255,255,255,0.90);
}

/* Topbar */
.sps-topbar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  position:sticky;
  top:12px;
  z-index:10;
}
@media (max-width: 980px){
  .sps-topbar{grid-template-columns: 1fr; position:relative; top:auto}
  .sps-nav{justify-content:flex-start}
  .sps-right{justify-content:flex-start}
}

.sps-left{display:flex;align-items:center;gap:10px}
.sps-brand{display:flex;align-items:center;gap:10px; color:rgba(255,255,255,0.92); font-weight:800; letter-spacing:.2px}
.sps-logo{height:40px;max-width:200px;object-fit:contain;display:block}
.sps-wordmark{font-size:18px}

.sps-nav{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.sps-nav a{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.74);
  font-size:13px;
  line-height:1;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.sps-nav a:hover{
  transform: translateY(-1px);
  background:rgba(255,255,255,0.06);
  border-color:rgba(56,189,248,0.35);
  color:rgba(255,255,255,0.92);
}
.sps-right{display:flex;justify-content:flex-end}
.sps-lang{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.86);
  font-weight:800;
  letter-spacing:.5px;
}
.sps-lang:hover{border-color:rgba(167,139,250,0.55); background:rgba(255,255,255,0.06)}

/* Hero */
.sps-hero{
  padding:clamp(22px,3vw,44px) 8px 8px;
}
.sps-kicker{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.78);
  font-size:12px;
}
.sps-title{
  margin:14px 0 6px;
  font-size:clamp(28px,3.8vw,54px);
  line-height:1.08;
  letter-spacing:-0.5px;
  color:rgba(255,255,255,0.96);
}
.sps-subtitle{
  margin:0;
  max-width:820px;
  color:rgba(255,255,255,0.70);
  font-size:15px;
  line-height:1.9;
}

/* Buttons */
.sps-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.sps-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.90);
  font-weight:800;font-size:13px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.sps-btn:hover{transform:translateY(-1px); background:rgba(255,255,255,0.06); border-color:rgba(56,189,248,0.45)}
.sps-btn-primary{
  border-color:rgba(56,189,248,0.45);
  background: linear-gradient(90deg, rgba(56,189,248,0.20), rgba(99,102,241,0.18));
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.sps-btn-primary:hover{box-shadow: 0 20px 60px rgba(0,0,0,0.34)}
.sps-btn-ghost{background:rgba(255,255,255,0.03)}

/* Cards / Grid */
.sps-grid{display:grid;gap:16px}
.sps-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sps-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:980px){.sps-grid-2,.sps-grid-3{grid-template-columns:1fr}}

.sps-card{
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  padding:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.30);
}
.sps-card-head{margin-bottom:12px}
.sps-card-title{font-size:16px;font-weight:900;color:rgba(255,255,255,0.94)}
.sps-card-sub{margin-top:6px;color:rgba(255,255,255,0.68);font-size:13px;line-height:1.9}

.sps-list{margin:0;padding:0 18px;color:rgba(255,255,255,0.76);line-height:2;font-size:13px}
.sps-rich{color:rgba(255,255,255,0.74);font-size:14px;line-height:2}
.sps-rich strong{color:rgba(255,255,255,0.96)}
.sps-rich-card{margin-top:16px}

/* KV */
.sps-kv-wrap{display:grid;gap:12px}
.sps-kv{
  display:flex;align-items:center;justify-content:space-between;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:16px;padding:12px;
  background:rgba(255,255,255,0.03)
}
.sps-kv span{color:rgba(255,255,255,0.68);font-size:12px}
.sps-kv strong{font-size:13px}
.sps-kv a{color:rgba(255,255,255,0.92); text-decoration:underline}

/* Sections */
.sps-section{margin-top:18px}
.sps-section-head h2{margin:0;font-size:18px;color:rgba(255,255,255,0.95)}
.sps-section-head p{margin:6px 0 0;color:rgba(255,255,255,0.66);font-size:13px;line-height:1.9}

/* Trusted */
.sps-trusted{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:12px
}
@media (max-width:980px){.sps-trusted{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sps-trusted-item{
  border:1px solid rgba(255,255,255,0.12);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,0.03);
  display:flex;align-items:center;justify-content:center;
}
.sps-trusted-item img{max-width:100%;height:34px;object-fit:contain;filter:grayscale(100%);opacity:.92}

/* Pricing */
.sps-price-card{padding:18px}
.sps-price-top{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.sps-pill{
  display:inline-flex;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.78);
  font-weight:900;
  font-size:12px;
}
.sps-price{font-size:22px;font-weight:900;color:rgba(255,255,255,0.96)}
.sps-price-sub{color:rgba(255,255,255,0.66);font-size:13px}
.sps-highlight{
  border-color:rgba(56,189,248,0.34);
  background: linear-gradient(180deg, rgba(56,189,248,0.10), rgba(99,102,241,0.08));
}

/* eNamad */
.sps-enamad .sps-enamad-body{padding-top:8px}
.sps-enamad .sps-enamad-body img,
.sps-enamad .sps-enamad-body iframe{max-width:100%;height:auto;border-radius:14px}

/* Footer */
.sps-footer{margin-top:26px;padding:14px 6px 6px}
.sps-footer-inner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.70);
}
@media (max-width:980px){.sps-footer-inner{flex-direction:column;align-items:flex-start}}
.sps-foot-title{font-weight:900;color:rgba(255,255,255,0.92)}
.sps-foot-sub{font-size:12px;line-height:1.9}


/* Mobile compact header */
@media (max-width: 640px){
  /* Use flex on mobile to guarantee control row stays ABOVE expanded menu */
  .sps-topbar{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 12px;
  }
  .sps-left{order:1; flex:1 1 auto}
  .sps-right{order:2; flex:0 0 auto; gap:10px; display:flex; justify-content:flex-end}
  .sps-brand{gap:8px}
  .sps-logo{height:34px;max-width:160px}
  .sps-wordmark{font-size:16px}
  .sps-nav{
    display:none;
    order:3;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    justify-content:flex-start;
    padding:12px;
    margin-top:10px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.03);
  }
  .sps-topbar.sps-nav-open .sps-nav{display:flex}
  .sps-nav a{display:flex; font-size:13px; padding:12px 12px; justify-content:space-between}

  /* Place language + menu as the first controls (left-to-right) */
  .sps-right{flex-direction:row}
  .sps-lang{order:1}
  .sps-menu{order:2}
  .sps-menu{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:40px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(255,255,255,0.03);
    color:rgba(255,255,255,0.90);
    font-weight:900;
    cursor:pointer;
  }
  .sps-menu:hover{border-color:rgba(56,189,248,0.45); background:rgba(255,255,255,0.06)}
}
@media (min-width: 641px){
  .sps-menu{display:none}
}
