
:root{
  --bg-void: #05070c;
  --bg-deep: #080b13;
  --bg-panel: #0c0f1a;
  --bg-panel-2: #10141f;
  --bg-panel-3: #141826;
  --border-soft: rgba(140,160,255,0.10);
  --border-mid: rgba(140,160,255,0.18);
  --border-glow: rgba(124,92,255,0.4);
  --text-hi: #F3F5FA;
  --text-mid: #98A2BE;
  --text-low: #626C87;
  --accent-a: #7C5CFF;
  --accent-a2: #9C7BFF;
  --accent-b: #00D4C8;
  --accent-warn: #FF7A29;
  --ok: #2FE39A;
  --danger: #FF5C7A;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --grad-main: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  --grad-main-rev: linear-gradient(120deg, var(--accent-b), var(--accent-a));
  --shadow-glow: 0 0 40px rgba(124,92,255,0.25);
  --ease-out: cubic-bezier(.16,.8,.24,1);
}

*, *::before, *::after{ box-sizing: border-box; }
*{ margin:0; padding:0; }
html{ scroll-behavior:smooth; overflow-x:hidden; width:100%; max-width:100%; background:var(--bg-void); }
::selection{ background: var(--accent-a); color:#fff; }

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background: var(--bg-void); }
::-webkit-scrollbar-thumb{ background: linear-gradient(var(--accent-a),var(--accent-b)); border-radius:10px; }

body{
  background: var(--bg-void);
  color: var(--text-hi);
  font-family: 'Vazirmatn', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height:100vh;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 700px at 12% -10%, rgba(124,92,255,0.22), transparent 60%),
    radial-gradient(ellipse 900px 800px at 100% 15%, rgba(0,212,200,0.14), transparent 55%),
    radial-gradient(ellipse 800px 600px at 45% 105%, rgba(124,92,255,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: driftGlow 14s ease-in-out infinite alternate; will-change: auto;
}
@keyframes driftGlow{
  0%{ opacity: 0.75; }
  100%{ opacity: 0.85; }
}

.bg-grid{
  will-change: background-position;
  transform: translateZ(0);
  position: fixed;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140,160,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,255,0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
  animation: gridDrift 55s linear infinite; will-change: background-position;
}
@keyframes gridDrift{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 46px 46px, 46px 46px; }
}

.bg-orb{
  will-change: transform;
  transform: translateZ(0);
  position: fixed;
  border-radius: 50%;
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
.bg-orb-1{ width:420px; height:420px; background: var(--accent-a); top: -160px; left: -140px; animation: orbFloat1 16s ease-in-out infinite; }
.bg-orb-2{ width:320px; height:320px; background: var(--accent-b); top: 40%; right: -180px; animation: orbFloat2 20s ease-in-out infinite; }
.bg-orb-3{ width:320px; height:320px; background: var(--accent-a2); bottom: -160px; left: 30%; animation: orbFloat3 18s ease-in-out infinite; }
@keyframes orbFloat1{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(60px,80px); } }
@keyframes orbFloat2{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-70px,40px); } }
@keyframes orbFloat3{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(50px,-60px); } }

.particle{
  position:absolute;
  border-radius:50%;
  background: radial-gradient(circle, rgba(124,92,255,0.9), rgba(0,212,200,0.1));
  animation: floatParticle linear infinite;
  opacity:.5;
}
@keyframes floatParticle{
  0%{ transform: translateY(0) translateX(0); opacity:0; }
  10%{ opacity:.6; }
  90%{ opacity:.4; }
  100%{ transform: translateY(-120vh) translateX(30px); opacity:0; }
}

.cursor-glow{
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.10), transparent 70%);
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 1;
  transition: left .12s linear, top .12s linear;
}
@media (max-width: 900px){ .cursor-glow{ display:none; } }

.mono{ font-family: 'JetBrains Mono', monospace; }

.wrap{ width:100%; box-sizing:border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.reveal{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger.is-visible > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .23s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .41s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .50s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .bg-orb, body::before, .bg-grid, .particle, .cursor-glow{ animation: none !important; display:none !important; }
  * { will-change: auto !important; }
}

body:not(.page-ready) main{ opacity:0; }
body.page-ready main{ opacity:1; transition: opacity .5s ease; }

[data-fa], [data-en]{ display: inline; }
html[data-lang="en"] [data-fa]{ display: none !important; }
html[data-lang="en"] [data-en]{ display: inline !important; }
html:not([data-lang="en"]) [data-en]{ display: none !important; }
html:not([data-lang="en"]) [data-fa]{ display: inline !important; }
html[data-lang="en"] body{ font-family: 'Sora', 'Vazirmatn', sans-serif; }
html[data-lang="en"] [data-fa]{ display: none !important; }
html[data-lang="en"] .mono{ font-family: 'JetBrains Mono', monospace; }

header.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(5,7,12,0.7);
  border-bottom: 1px solid var(--border-soft);
  transition: background .3s ease, border-color .3s ease;
}

.scroll-progress{
  position: fixed;
  top: 0; left:0;
  height: 2px;
  width: 0%;
  background: var(--grad-main);
  z-index: 60;
  box-shadow: 0 0 10px var(--accent-a);
  transition: width .1s linear;
}

.nav-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(124,92,255,0.55);
  flex-shrink: 0;
  position: relative;
}
.brand-mark::after{
  content:"";
  position:absolute; inset:-4px;
  border-radius: 12px;
  background: var(--grad-main);
  opacity:.4;
  filter: blur(8px);
  z-index:-1;
  animation: markPulse 3s ease-in-out infinite;
}
@keyframes markPulse{ 0%,100%{ opacity:.25; } 50%{ opacity:.55; } }
.brand-mark svg{ width: 18px; height: 18px; }

nav.links{ display: flex; align-items: center; gap: 34px; }
nav.links a{
  color: var(--text-mid);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
nav.links a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height:2px; border-radius:2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease-out);
}
nav.links a:hover{ color: var(--text-hi); }
nav.links a:hover::after{ transform: scaleX(1); }

.nav-actions{ display:flex; align-items:center; gap:12px; }

.float-controls{
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 55;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn, .lang-btn{
  width: 46px; height:46px;
  border-radius: 50%;
  background: rgba(12,15,26,0.85);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(6px);
  color: var(--text-hi);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.float-btn:hover, .lang-btn:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 24px rgba(124,92,255,0.35); border-color: var(--border-glow); }
.lang-btn{ font-size:11px; font-weight:800; flex-direction:column; gap:1px; }
.lang-btn svg{ width:14px; height:14px; opacity:.75; }
.theme-btn .icon-moon{ display:none; }
html[data-theme="dark"] .theme-btn .icon-moon{ display:block; }
html[data-theme="dark"] .theme-btn .icon-sun{ display:none; }
.theme-btn svg{ width:20px; height:20px; }
.theme-label{ display:none; }

html[dir="rtl"] 

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration:none;
  cursor:pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .3s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
  position: relative;
  font-family: 'Sora', 'Vazirmatn', sans-serif;
}

.btn-primary{
  background: var(--grad-main);
  color:#04060b;
  box-shadow: 0 8px 30px -8px rgba(124,92,255,0.6);
}
.btn-primary:hover{ box-shadow: 0 10px 40px -6px rgba(124,92,255,0.85); transform: translateY(-2px); }
.btn-ghost{
  background: rgba(255,255,255,0.03);
  color: var(--text-hi);
  border-color: var(--border-mid);
}
.btn-ghost:hover{ border-color: var(--border-glow); background: rgba(124,92,255,0.08); transform: translateY(-2px); }
.btn-ghost-dark{ background: rgba(255,255,255,0.05); color:#fff; border-color: rgba(255,255,255,0.16); backdrop-filter: blur(6px); }
.btn-ghost-dark:hover{ background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-sm{ padding:9px 16px; font-size:13.5px; }
.btn-lg{ padding:15px 30px; font-size:15.5px; }
.btn-block{ width:100%; }

.hero{ position:relative; padding: 168px 0 100px; overflow:hidden; }
.hero-dark{ min-height: 92vh; display:flex; align-items:center; }
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media-img{ width:100%; height:100%; object-fit:cover; opacity:.7; filter: saturate(1.2) brightness(.95); transform: translateZ(0) scale(1.08); will-change:transform; }
.hero-media-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,12,0.2) 0%, rgba(5,7,12,0.6) 68%, var(--bg-void) 100%),
    radial-gradient(ellipse 900px 500px at 20% 20%, rgba(124,92,255,0.22), transparent 60%);
}
.hero-dark-inner{ position:relative; z-index:2; max-width: 760px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(124,92,255,0.1);
  border: 1px solid var(--border-glow);
  font-size: 13.5px; font-weight:700; color: var(--accent-a2);
  margin-bottom: 26px;
}
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.7); } }

.hero-title{
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.grad{
  background: var(--grad-main);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip:text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease-in-out infinite;
}
@keyframes gradShift{ 0%,100%{ background-position: 0% center; } 50%{ background-position: 100% center; } }

.hero-desc{ font-size: 17px; line-height:1.85; color: var(--text-mid); max-width: 600px; margin-bottom: 34px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 48px; }

.hero-stats-row{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.hstat{ display:flex; flex-direction:column; }
.hstat b{ font-family:'JetBrains Mono',monospace; font-size:26px; font-weight:700; color:var(--text-hi); }
.hstat span{ font-size:13px; color:var(--text-low); display:flex; gap:4px; }
.hstat-sep{ width:1px; height:32px; background: var(--border-mid); }

.hero-scroll-cue{
  position:absolute; bottom: 28px; left:50%; transform: translateX(-50%);
  width:26px; height:42px; border:2px solid var(--border-mid); border-radius:20px;
  z-index:2;
}
.hero-scroll-cue span{
  display:block; width:4px; height:8px; border-radius:2px; background: var(--accent-b);
  margin: 7px auto; animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{ 0%{ transform: translateY(0); opacity:1; } 70%{ opacity:0; } 100%{ transform: translateY(14px); opacity:0; } }

.section{ padding: 108px 0; position:relative; }
.section-media{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.section-media-img{ width:100%; height:100%; object-fit:cover; opacity:.45; }
.section-media-overlay{ position:absolute; inset:0; background: linear-gradient(180deg, var(--bg-void), rgba(5,7,12,0.4) 40%, var(--bg-void)); }
.section-media-overlay-strong{ background: linear-gradient(180deg, var(--bg-void) 0%, rgba(5,7,12,0.55) 50%, var(--bg-void) 100%); }

.section-head{ max-width: 640px; margin: 0 auto 56px; text-align:center; position:relative; z-index:2; }
.section-eyebrow{
  display:inline-block; font-size:13px; font-weight:800; letter-spacing:.06em;
  color: var(--accent-b); text-transform:uppercase; margin-bottom:14px;
  padding: 5px 14px; border:1px solid rgba(0,212,200,0.25); border-radius:100px;
  background: rgba(0,212,200,0.06);
}
.section-title{ font-size: clamp(26px,4vw,38px); font-weight:800; line-height:1.3; margin-bottom:14px; letter-spacing:-0.01em; }
.section-desc{ font-size:15.5px; color:var(--text-mid); line-height:1.8; }

.feat-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; position:relative; z-index:2; }
.feat-card{
  background: var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform .1s linear, border-color .3s ease, box-shadow .3s ease;
  overflow:hidden;
}
.feat-card::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(124,92,255,0.14), transparent 70%);
  opacity:0; transition: opacity .3s ease; pointer-events:none;
}
.feat-card:hover::before{ opacity:1; }
.feat-card:hover{ border-color: var(--border-glow); box-shadow: 0 20px 50px -20px rgba(124,92,255,0.4); }
.feat-icon{
  width:50px; height:50px; border-radius:14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(0,212,200,0.12));
  border: 1px solid var(--border-mid);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; color: var(--accent-a2);
}
.feat-icon svg{ width:24px; height:24px; }
.feat-card h3{ font-size:17.5px; font-weight:700; margin-bottom:10px; }
.feat-card p{ font-size:14px; line-height:1.85; color: var(--text-mid); }

.infra-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; position:relative; z-index:2; }
.infra-item{ display:flex; gap:18px; margin-bottom: 30px; }
.infra-num{ font-family:'JetBrains Mono',monospace; font-size:14px; font-weight:700; color: var(--accent-b); border:1px solid var(--border-mid); border-radius:10px; width:42px; height:42px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.infra-item h4{ font-size:16.5px; font-weight:700; margin-bottom:6px; }
.infra-item p{ font-size:14px; color: var(--text-mid); line-height:1.8; }

.infra-panel{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.globe-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px; }
.node-card{
  background: var(--bg-panel-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding:16px;
  display:flex; flex-direction:column; gap:4px;
  transition: transform .3s var(--ease-out), border-color .3s ease;
}
.node-card:hover{ transform: translateY(-4px); border-color: var(--border-glow); }
.node-dot{ width:8px; height:8px; border-radius:50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); margin-bottom:4px; animation: dotPulse 2s ease-in-out infinite; }
.node-card b{ font-size:14px; font-weight:700; }
.node-card span{ font-family:'JetBrains Mono',monospace; font-size:11.5px; color: var(--text-low); }

.pricing-toggle{ display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:48px; position:relative; z-index:2; font-size:14.5px; color:var(--text-mid); font-weight:600; }
.pricing-toggle span.active{ color: var(--text-hi); }
.toggle-track{ width:52px; height:28px; border-radius:100px; background: var(--bg-panel-2); border:1px solid var(--border-mid); position:relative; cursor:pointer; }
.toggle-thumb{ width:22px; height:22px; border-radius:50%; background: var(--grad-main); position:absolute; top:2px; right:2px; transition: transform .3s var(--ease-out); }
.toggle-track.on .toggle-thumb{ transform: translateX(-24px); }
.save-badge{ font-size:12px; font-weight:800; color: var(--ok); background: rgba(47,227,154,0.1); border:1px solid rgba(47,227,154,0.3); padding:4px 10px; border-radius:100px; }

.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; position:relative; z-index:2; }
.price-card{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position:relative;
  transition: transform .1s linear, border-color .3s ease;
}
.price-card:hover{ border-color: var(--border-mid); }
.price-card.featured{
  border-color: var(--border-glow);
  background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--bg-panel) 40%);
  box-shadow: 0 30px 80px -24px rgba(124,92,255,0.45);
  transform: scale(1.03);
}
.price-badge{
  position:absolute; top:-13px; left:50%; transform: translateX(-50%);
  background: var(--grad-main); color:#04060b; font-size:12px; font-weight:800;
  padding: 5px 16px; border-radius:100px; white-space:nowrap;
}
.price-plan-name{ font-size:19px; font-weight:800; margin-bottom:6px; }
.price-plan-desc{ font-size:13.5px; color:var(--text-mid); margin-bottom:22px; }
.price-amount{ display:flex; align-items:baseline; gap:8px; margin-bottom:6px; }
.price-amount .num{ font-family:'JetBrains Mono',monospace; font-size:30px; font-weight:700; }
.price-amount .cur{ font-size:12.5px; color:var(--text-low); }
.price-per{ font-family:'JetBrains Mono',monospace; font-size:12.5px; color: var(--accent-b); margin-bottom:24px; }
.price-feats{ list-style:none; margin-bottom:26px; display:flex; flex-direction:column; gap:13px; }
.price-feats li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-mid); }
.price-feats li svg{ width:17px; height:17px; color: var(--ok); flex-shrink:0; }
.price-feats li.off{ color: var(--text-low); opacity:.5; text-decoration: line-through; }
.price-feats li.off svg{ color:var(--text-low); }

.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; position:relative; z-index:2; }
.testi-card{
  background: var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .1s linear, border-color .3s ease;
}
.testi-card:hover{ border-color: var(--border-mid); }
.testi-stars{ color: var(--accent-warn); letter-spacing:2px; margin-bottom:16px; font-size:15px; }
.testi-text{ font-size:14.5px; line-height:1.9; color: var(--text-mid); margin-bottom:22px; }
.testi-user{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; color:#fff; flex-shrink:0; }
.testi-name{ font-size:14px; font-weight:700; }
.testi-role{ font-size:12.5px; color: var(--text-low); }

.cta-band{
  background: linear-gradient(120deg, rgba(124,92,255,0.14), rgba(0,212,200,0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  margin-bottom: 44px; position:relative; z-index:2;
}
.cta-band h3{ font-size:20px; font-weight:800; margin-bottom:8px; }
.cta-band p{ font-size:14.5px; color: var(--text-mid); }
.cta-band-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.support-mini{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; position:relative; z-index:2; }
.support-mini-card{
  background: var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding:22px;
  display:flex; gap:14px; align-items:flex-start;
  transition: transform .1s linear, border-color .3s ease;
}
.support-mini-card:hover{ border-color: var(--border-mid); }
.support-mini-card .ic{ width:42px; height:42px; border-radius:12px; background: rgba(124,92,255,0.12); border:1px solid var(--border-mid); display:flex; align-items:center; justify-content:center; color: var(--accent-a2); flex-shrink:0; }
.support-mini-card .ic svg{ width:20px; height:20px; }
.support-mini-card h5{ font-size:15px; font-weight:700; margin-bottom:6px; }
.support-mini-card p{ font-size:13px; color: var(--text-mid); line-height:1.75; }

.faq-list{ max-width: 760px; margin: 0 auto; display:flex; flex-direction:column; gap:14px; position:relative; z-index:2; }
.faq-item{ background: var(--bg-panel); border:1px solid var(--border-soft); border-radius: var(--radius-md); overflow:hidden; transition: border-color .3s ease; }
.faq-item.open{ border-color: var(--border-glow); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 20px 24px; font-size:15px; font-weight:700; cursor:pointer; }
.faq-q .chev{ width:18px; height:18px; flex-shrink:0; color: var(--text-low); transition: transform .3s var(--ease-out); }
.faq-item.open .faq-q .chev{ transform: rotate(180deg); color: var(--accent-b); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease-out); }
.faq-a p{ padding: 0 24px 22px; font-size:14px; line-height:1.85; color: var(--text-mid); }

.site-footer{ background: var(--bg-deep); border-top:1px solid var(--border-soft); padding: 64px 0 28px; position:relative; z-index:2; }
.footer-top{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap:36px; margin-bottom:48px; }
.footer-brand p{ font-size:13.5px; color: var(--text-mid); line-height:1.85; margin: 16px 0 20px; max-width: 320px; }
.trust-badges{ display:flex; gap:12px; }
.trust-badge{ width:44px; height:44px; border-radius:10px; background: var(--bg-panel); border:1px solid var(--border-soft); display:flex; align-items:center; justify-content:center; }
.footer-col h4{ font-size:14.5px; font-weight:700; margin-bottom:18px; }
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color: var(--text-mid); text-decoration:none; font-size:14px; transition: color .2s ease; }
.footer-col a:hover{ color: var(--accent-b); }
.support-links{ display:flex; flex-direction:column; gap:10px; }
.support-btn{ display:flex; align-items:center; gap:10px; color:var(--text-mid); text-decoration:none; font-size:13.5px; font-weight:600; padding:9px 12px; border-radius:10px; border:1px solid var(--border-soft); transition: border-color .2s ease, color .2s ease; }
.support-btn:hover{ border-color: var(--border-glow); color: var(--text-hi); }
.ic-telegram{ width:26px; height:26px; border-radius:50%; background:#229ED9; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:24px; border-top:1px solid var(--border-soft); flex-wrap:wrap; gap:14px; }
.footer-bottom p{ font-size:13px; color: var(--text-low); }
.footer-socials{ display:flex; gap:10px; }
.footer-socials a{ color: var(--text-mid); transition: color .2s ease; }
.footer-socials a:hover{ color: var(--accent-b); }

.auth-page{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding: 120px 20px 60px; position:relative; z-index:2; }
.auth-page-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  padding:18px 28px; display:flex; align-items:center; justify-content:space-between;
  background: rgba(5,7,12,0.75); backdrop-filter: blur(6px);
  border-bottom:1px solid var(--border-soft);
}
.auth-page-header .brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; color: var(--text-hi); text-decoration:none; }
.auth-back-link{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color: var(--text-mid); text-decoration:none; }
.auth-back-link:hover{ color: var(--accent-b); }

.auth-box{
  width: 100%; max-width: 440px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: 0 30px 90px -30px rgba(0,0,0,0.7), var(--shadow-glow);
  animation: authPageIn .6s var(--ease-out);
  position:relative;
  overflow:hidden;
}
.auth-box::before{
  content:"";
  position:absolute; top:-60%; left:-20%; width:140%; height:140%;
  background: radial-gradient(ellipse 400px 300px at 30% 0%, rgba(124,92,255,0.16), transparent 60%);
  pointer-events:none;
}
@keyframes authPageIn{ from{ opacity:0; transform: translateY(28px); } to{ opacity:1; transform: translateY(0); } }

.auth-tabs{ display:flex; gap:6px; background: var(--bg-panel-2); border-radius:12px; padding:5px; margin-bottom:28px; position:relative; z-index:2; }
.auth-tab{ flex:1; padding:11px; border:none; background:transparent; color:var(--text-mid); font-weight:700; font-size:14.5px; border-radius:9px; cursor:pointer; transition: color .25s ease, background .25s ease; font-family:'Vazirmatn',sans-serif; }
.auth-tab.active{ background: var(--grad-main); color:#04060b; }

.auth-panels{ position:relative; z-index:2; }
.auth-panel{ display:none; flex-direction:column; gap:16px; }
.auth-panel.active{ display:flex; animation: panelIn .4s var(--ease-out); }
@keyframes panelIn{ from{ opacity:0; transform: translateY(10px); } to{ opacity:1; transform: translateY(0); } }

.auth-title{ font-size:22px; font-weight:800; margin-bottom:4px; }
.auth-sub{ font-size:13.5px; color: var(--text-mid); margin-bottom:6px; }
.auth-field{ display:flex; flex-direction:column; gap:7px; }
.auth-label{ font-size:13px; font-weight:600; color: var(--text-mid); }
.auth-input{
  background: var(--bg-panel-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-hi);
  font-size: 14.5px;
  font-family:'Vazirmatn',sans-serif;
  transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%;
}
.auth-input:focus{ outline:none; border-color: var(--accent-a); box-shadow: 0 0 0 3px rgba(124,92,255,0.18); }
.auth-input::placeholder{ color: var(--text-low); }
.auth-pass-wrap{ position:relative; }
.auth-eye{ position:absolute; left:12px; top:50%; transform: translateY(-50%); background:none; border:none; color: var(--text-low); cursor:pointer; padding:4px; }
html[dir="rtl"] .auth-eye{ left:auto; right:12px; }
.auth-eye svg{ width:18px; height:18px; }
.auth-eye.showing{ color: var(--accent-b); }
.auth-name-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.auth-phone-wrap{ display:flex; align-items:center; gap:8px; }
.auth-phone-prefix{ background: var(--bg-panel-2); border:1px solid var(--border-mid); border-radius:var(--radius-sm); padding:12px 12px; font-size:14px; color:var(--text-mid); font-family:'JetBrains Mono',monospace; }
.auth-phone-input{ flex:1; }

.auth-row-between{ display:flex; align-items:center; justify-content:space-between; font-size:13px; flex-wrap:wrap; gap:8px; }
.auth-check{ display:flex; align-items:center; gap:8px; color: var(--text-mid); cursor:pointer; }
.auth-check input{ accent-color: var(--accent-a); width:16px; height:16px; }
.auth-link-sm{ color: var(--accent-b); text-decoration:none; font-weight:600; }
.auth-link-sm:hover{ text-decoration:underline; }
.auth-terms-check{ font-size:12.5px; align-items:flex-start; }
.auth-terms-check a{ color: var(--accent-b); text-decoration:none; }

.auth-submit{ margin-top:6px; }
.auth-switch{ text-align:center; font-size:13.5px; color: var(--text-mid); }
.auth-switch-link{ color: var(--accent-b); font-weight:700; text-decoration:none; margin-inline-start:4px; }
.auth-switch-link:hover{ text-decoration:underline; }

.auth-otp-target{ color: var(--accent-b); direction: ltr; display:inline-block; }
.auth-otp-inputs{ display:flex; gap:10px; justify-content:center; margin: 8px 0 6px; direction:ltr; }
.auth-otp-box{
  width:52px; height:58px; text-align:center; font-size:22px; font-weight:700;
  background: var(--bg-panel-2); border:1px solid var(--border-mid); border-radius: var(--radius-sm);
  color: var(--text-hi); font-family:'JetBrains Mono',monospace;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.auth-otp-box:focus{ outline:none; border-color: var(--accent-a); box-shadow: 0 0 0 3px rgba(124,92,255,0.18); }
.auth-otp-timer{ font-family:'JetBrains Mono',monospace; color: var(--text-low); }

.rules-wrap{ max-width: 780px; margin: 0 auto; padding: 120px 24px 90px; position:relative; z-index:2; }
.rules-back{ display:inline-flex; align-items:center; gap:8px; margin-bottom:30px; color: var(--text-mid); text-decoration:none; font-size:14.5px; font-weight:600; transition: color .2s ease; }
.rules-back:hover{ color: var(--accent-b); }
.rules-title{ font-size: clamp(28px,5vw,42px); font-weight:800; margin-bottom:12px; }
.rules-updated{ color: var(--text-low); font-size:13.5px; margin-bottom:44px; }
.rules-block{
  background: var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 26px;
  margin-bottom: 16px;
  transition: border-color .3s ease, transform .3s ease;
}
.rules-block:hover{ border-color: var(--border-mid); transform: translateX(-2px); }
html[dir="rtl"] .rules-block:hover{ transform: translateX(2px); }
.rules-block h2{ font-size:18px; font-weight:700; margin-bottom:10px; color: var(--accent-b); }
.rules-block p{ color: var(--text-mid); font-size:15px; line-height:1.95; }

html[data-theme="light"]{
  --bg-void: #F0F2FA;
  --bg-deep: #E8EAF4;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F4F5FB;
  --bg-panel-3: #ECEEF8;
  --border-soft: rgba(100,80,220,0.10);
  --border-mid: rgba(100,80,220,0.18);
  --border-glow: rgba(124,92,255,0.35);
  --text-hi: #0F1120;
  --text-mid: #4A5070;
  --text-low: #8890AA;
  --shadow-glow: 0 0 40px rgba(124,92,255,0.15);
}
html[data-theme="light"] body{
  background: var(--bg-void);
  color: var(--text-hi);
}
html[data-theme="light"] body::before{
  background:
    radial-gradient(ellipse 1000px 700px at 12% -10%, rgba(124,92,255,0.10), transparent 60%),
    radial-gradient(ellipse 900px 800px at 100% 15%, rgba(0,212,200,0.07), transparent 55%),
    radial-gradient(ellipse 800px 600px at 45% 105%, rgba(124,92,255,0.06), transparent 60%);
}
html[data-theme="light"] .bg-grid{
  background-image:
    linear-gradient(rgba(100,80,220,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,80,220,0.06) 1px, transparent 1px);
  opacity: 0.7;
}
html[data-theme="light"] header.nav,
html[data-theme="light"] .auth-page-header{
  background: rgba(240,242,250,0.85);
  border-bottom-color: var(--border-soft);
}
html[data-theme="light"] .drawer{
  background: #FFFFFF;
  border-left-color: var(--border-mid);
}
html[data-theme="light"] .drawer-overlay{
  background: rgba(15,17,32,0.4);
}
html[data-theme="light"] ::-webkit-scrollbar-track{ background: var(--bg-deep); }
html[data-theme="light"] .auth-box{
  box-shadow: 0 20px 60px -20px rgba(124,92,255,0.18), 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .auth-tab{ color: var(--text-mid); }
html[data-theme="light"] .auth-tab.active{ color: #fff; }
html[data-theme="light"] .btn-ghost{
  background: rgba(0,0,0,0.03);
  color: var(--text-hi);
}
html[data-theme="light"] .float-btn,
html[data-theme="light"] .lang-btn{
  background: rgba(255,255,255,0.9);
}
html[data-theme="light"] .site-footer{
  background: #E4E6F2;
}
html[data-theme="light"] .price-card,
html[data-theme="light"] .feat-card,
html[data-theme="light"] .testi-card,
html[data-theme="light"] .support-mini-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .rules-block{
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(100,80,220,0.06);
}
html[data-theme="light"] .price-card.featured{
  background: linear-gradient(180deg, rgba(124,92,255,0.06), #fff 40%);
  box-shadow: 0 20px 60px -16px rgba(124,92,255,0.28);
}

.theme-btn{ display:flex !important; }
.theme-btn .icon-sun{ display:block; }
.theme-btn .icon-moon{ display:none; }
html[data-theme="light"] .theme-btn .icon-sun{ display:none; }
html[data-theme="light"] .theme-btn .icon-moon{ display:block; }

.auth-social-divider{
  display:flex; align-items:center; gap:12px;
  color: var(--text-low); font-size:12.5px; font-weight:600;
  margin: 4px 0;
}
.auth-social-divider::before,
.auth-social-divider::after{
  content:""; flex:1; height:1px; background: var(--border-soft);
}
.auth-social-btns{
  display:flex; flex-direction:column; gap:10px;
}
.auth-social-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  background: var(--bg-panel-2);
  color: var(--text-hi);
  font-size: 14px; font-weight: 600;
  cursor:pointer; text-decoration:none;
  transition: border-color .25s ease, background .25s ease, transform .2s ease, box-shadow .25s ease;
  font-family: 'Vazirmatn', sans-serif;
  width: 100%;
}
.auth-social-btn:hover{
  border-color: var(--border-glow);
  background: var(--bg-panel-3);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,92,255,0.12);
}
.auth-social-btn svg{ flex-shrink:0; }
html[data-lang="en"] .auth-social-btn{ font-family:'Sora','Vazirmatn',sans-serif; }

@media (max-width: 980px){
  .feat-grid, .pricing-grid, .testi-grid, .support-mini{ grid-template-columns: repeat(2,1fr); }
  .infra-wrap{ grid-template-columns:1fr; gap:40px; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  nav.links{ display:none; }
  .price-card.featured{ transform:none; }
}
@media (max-width: 640px){
  .feat-grid, .pricing-grid, .testi-grid, .support-mini, .footer-top{ grid-template-columns: 1fr; }
  .hero{ padding: 140px 0 70px; }
  .auth-name-row{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  .float-controls{ bottom:16px; left:16px; }
}

@media (max-width: 900px){
  .bg-orb{ display:none; }
  .particle{ display:none; }
  body::before{ animation:none; }
  .bg-grid{ animation:none; opacity:.5; }
  .cursor-glow{ display:none; }
}

html[dir="rtl"] 

.burger{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--border-mid);
  background: rgba(255,255,255,0.03); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:5px; cursor:pointer; flex-shrink:0;
}
.burger span{ width:18px; height:2px; background:var(--text-hi); border-radius:2px; }

.drawer-overlay{
  position: fixed; inset:0; background: rgba(3,4,8,0.75);
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 150;
}
.drawer-overlay.open{ opacity:1; visibility:visible; pointer-events:auto; }

.drawer{
  position: fixed; top:0; right:0; height:100%; width: 100%; max-width: 380px;
  background: #0b0e18;
  border-left: 1px solid var(--border-mid);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  display:flex; flex-direction:column;
  padding: 20px 24px 28px;
  overflow-y: auto;
}
html[dir="rtl"] .drawer{ right:0; left:auto; border-left:1px solid var(--border-mid); border-right:none; transform: translateX(100%); }
html[dir="rtl"] .drawer:not(.open){ transform: translateX(100%); }
.drawer.open{ transform: translateX(0) !important; }

.drawer-top{ display:flex; align-items:center; justify-content:space-between; padding-bottom:22px; margin-bottom:10px; }
.drawer-top .brand{ font-size:19px; }
.drawer-close{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--border-mid);
  background:transparent; color:var(--text-hi); display:flex; align-items:center;
  justify-content:center; cursor:pointer; flex-shrink:0;
}

.drawer-links{ display:flex; flex-direction:column; }
.drawer-links a{
  color:var(--text-hi); text-decoration:none; font-size:16px; font-weight:600;
  padding:18px 4px; border-bottom: 1px solid var(--border-soft);
  transition: color .2s ease, padding-right .2s ease;
}
html[dir="rtl"] .drawer-links a:hover{ padding-right:8px; }
html[dir="ltr"] .drawer-links a:hover{ padding-left:8px; }
.drawer-links a:hover{ color: var(--accent-b); }

.drawer-bottom{ margin-top:auto; padding-top:22px; display:flex; flex-direction:column; gap:12px; }

body.drawer-locked{ overflow:hidden; }

.hero-title{ font-size: clamp(34px, 7vw, 68px); }
.hero-desc{ font-size: clamp(14.5px, 2vw, 17px); }
.hero-cta{ gap: 12px; }
@media (max-width: 480px){
  .hero{ padding: 128px 0 56px; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-cta .btn{ width: 100%; }
  .hero-stats-row{ gap: 14px; }
  .hstat b{ font-size: 21px; }
  .eyebrow{ font-size: 12px; padding: 6px 12px; }
}

.feat-card, .price-card, .testi-card, .support-mini-card, .node-card, .infra-panel, .auth-box, .rules-block{
  position: relative;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%);
}
.feat-card::after, .support-mini-card::after{
  content:"";
  position:absolute; inset:0; border-radius:inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(124,92,255,0.0), rgba(124,92,255,0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none; transition: background .3s ease;
}
.feat-card:hover::after, .support-mini-card:hover::after{
  background: linear-gradient(135deg, rgba(124,92,255,0.5), rgba(0,212,200,0.3));
}

@media (max-width: 640px){
  .section{ padding: 76px 0; }
  .section-head{ margin-bottom: 40px; }
  .section-title{ font-size: clamp(23px, 6vw, 30px); }
  .cta-band{ padding: 26px 22px; }
  .cta-band-actions{ width:100%; }
  .cta-band-actions .btn{ flex:1; }
  .faq-q{ padding: 17px 18px; font-size: 14.5px; }
  .rules-wrap{ padding: 100px 18px 60px; }
}

@media (max-width: 480px){
  .nav-inner{ padding: 13px 16px; }
  .brand{ font-size: 17px; }
  .brand-mark{ width:30px; height:30px; }
  .nav-actions{ gap:8px; }
}

@media (max-width: 980px){
  .price-card.featured{ order:-1; }
}

html[data-theme="light"] .hero-media-overlay{
  background:
    linear-gradient(180deg, rgba(8,11,19,0.45) 0%, rgba(8,11,19,0.75) 55%, #05070c 100%),
    radial-gradient(ellipse 900px 500px at 20% 20%, rgba(124,92,255,0.12), transparent 60%);
}
html[data-theme="light"] .hero-media-img{ filter: saturate(1) brightness(0.68); }
html[data-theme="light"] .hero-title, html[data-theme="light"] .hero-desc{ text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
html[data-theme="light"] .hero-title{ color: #FFFFFF; text-shadow: 0 2px 20px rgba(0,0,0,0.55); }
html[data-theme="light"] .hero-desc{ color: rgba(255,255,255,0.88); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
html[data-theme="light"] .eyebrow{ background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color:#fff; }
html[data-theme="light"] .eyebrow .dot{ background: var(--ok); box-shadow: 0 0 10px var(--ok); }
html[data-theme="light"] .hero-stats-row .hstat b,
html[data-theme="light"] .hero-stats-row .hstat span{ color:#fff; text-shadow:0 1px 6px rgba(0,0,0,0.4); }
html[data-theme="light"] .hero-stats-row{ border-top-color: rgba(255,255,255,0.2); }

html[data-theme="light"] .infra-panel{
  background: rgba(255,255,255,0.92);
  border-color: var(--border-mid);
  backdrop-filter: blur(7px);
}
html[data-theme="light"] .node-card{
  background: rgba(255,255,255,0.88);
  border-color: var(--border-mid);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .node-card b{ color: var(--text-hi); }

html[data-theme="light"] .section-label,
html[data-theme="light"] .section-title,
html[data-theme="light"] .section-sub{ color: var(--text-hi); }

html[data-theme="light"] .btn-ghost-dark{
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
html[data-theme="light"] .btn-ghost-dark:hover{
  background: rgba(255,255,255,0.25);
}

html[data-theme="light"] .section.has-bg-image .section-title,
html[data-theme="light"] .section.has-bg-image .section-sub,
html[data-theme="light"] .section.has-bg-image .section-label{ color:#fff; }

html[data-theme="light"] nav.links a{ color: var(--text-mid); }
html[data-theme="light"] nav.links a:hover{ color: var(--text-hi); }
html[data-theme="light"] .brand{ color: var(--text-hi); }
html[data-theme="light"] .burger span{ background: var(--text-hi); }
html[data-theme="light"] header.nav{ box-shadow: 0 1px 12px rgba(100,80,220,0.08); }

html[data-theme="light"] .site-footer{ background: #E2E4F0; border-top-color: var(--border-soft); }
html[data-theme="light"] .footer-col a:hover{ color: var(--accent-a); }
html[data-theme="light"] .support-btn{ background: #fff; }

html[data-theme="light"] .section[style*="background-image"],
html[data-theme="light"] .infra-section{
  background-attachment: fixed !important;
}
html[data-theme="light"] .infra-section::before{
  background: linear-gradient(180deg, rgba(8,11,19,0.5), rgba(8,11,19,0.8)) !important;
}
html[data-theme="light"] .section-dark-bg .section-title,
html[data-theme="light"] .section-dark-bg .section-sub{
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
html[data-theme="light"] .section[style*="background-image"]::before,
html[data-theme="light"] .infra-section::before,
html[data-theme="light"] .features-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,11,19,0.5), rgba(8,11,19,0.75)) !important;
  pointer-events: none;
  z-index: 1;
}

html[data-theme="light"] .section[style*="background-image"] > *,
html[data-theme="light"] .infra-section > *,
html[data-theme="light"] .features-section > *{
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .section[style*="background-image"] .section-title,
html[data-theme="light"] .section[style*="background-image"] .section-sub,
html[data-theme="light"] .section[style*="background-image"] .section-label,
html[data-theme="light"] .section[style*="background-image"] h2,
html[data-theme="light"] .section[style*="background-image"] h3,
html[data-theme="light"] .section[style*="background-image"] p{
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

html[data-theme="light"] .section[style*="background-image"] .btn-ghost-dark{
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}

html[data-theme="light"] .section[style*="background-image"] .node-card,
html[data-theme="light"] .section[style*="background-image"] .feat-card{
  background: rgba(12,15,26,0.85) !important;
  border-color: rgba(124,92,255,0.2) !important;
  backdrop-filter: blur(10px);
}

html[data-lang="en"] .support-mini-card h5,
html[data-lang="en"] .support-mini-card p,
html[data-lang="en"] [data-en]{
  display: inline !important;
  font-family: 'Sora', sans-serif;
}
html[data-lang="en"] [data-fa]{
  display: none !important;
}
html[data-lang="en"] .support-mini-card{
  text-align: left;
}
html[data-lang="en"] a[data-switch]{
  font-family: 'Sora', sans-serif;
}

html[data-theme="light"] .hero-media-overlay,
html[data-theme="light"] .section[style*="background-image"]::before,
html[data-theme="light"] [class*="infra"]::before,
html[data-theme="light"] [class*="features"]::before{
  background: linear-gradient(180deg, rgba(5,7,12,0.6) 0%, rgba(5,7,12,0.85) 60%, #05070c 100%) !important;
  backdrop-filter: brightness(0.65);
}

html[data-theme="light"] .hero-media-img{
  filter: saturate(0.9) brightness(0.6) !important;
  opacity: 0.9;
}

html[data-theme="light"] .section[style*="background-image"]{
  background-attachment: fixed !important;
  background-size: cover !important;
}

html[data-theme="light"] .section[style*="background-image"]::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,12,0.5), rgba(5,7,12,0.8));
  z-index: 0;
}

html[data-theme="light"] .section[style*="background-image"] > *{
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .section[style*="background-image"] .section-title,
html[data-theme="light"] .section[style*="background-image"] .section-sub,
html[data-theme="light"] .section[style*="background-image"] h2,
html[data-theme="light"] .section[style*="background-image"] h3,
html[data-theme="light"] .section[style*="background-image"] p,
html[data-theme="light"] .section[style*="background-image"] span{
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.6);
  font-weight: 600;
}

html[data-theme="light"] .section[style*="background-image"] .btn-primary{
  background: var(--grad-main) !important;
  color: #04060b !important;
  box-shadow: 0 8px 30px -8px rgba(124,92,255,0.6) !important;
}
html[data-theme="light"] .section[style*="background-image"] .btn-primary:hover{
  box-shadow: 0 10px 40px -6px rgba(124,92,255,0.85) !important;
}

html[data-theme="light"] .section[style*="background-image"] .btn-ghost-dark{
  background: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

html[data-theme="light"] .section[style*="background-image"] .btn-ghost-dark:hover{
  background: rgba(0,0,0,0.5) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

html[data-theme="light"] .section[style*="background-image"] .node-card,
html[data-theme="light"] .section[style*="background-image"] .feat-card{
  background: rgba(12,15,26,0.9) !important;
  border: 1px solid rgba(124,92,255,0.15) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

html[data-lang="en"] [data-en],
html[data-lang="en"] a{
  font-family: 'Sora', sans-serif !important;
}

html[data-lang="en"] .mono{ font-family: 'JetBrains Mono', monospace !important; }

html[data-lang="en"] .btn span[data-fa]{ display: none !important; }

html[data-lang="en"] .btn-primary:hover{
  box-shadow: 0 10px 40px -6px rgba(124,92,255,0.85) !important;
  transform: translateY(-2px);
}

html[data-lang="en"] a.btn,
html[data-lang="en"] .btn{
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 22px !important;
}
html[data-lang="en"] a.btn.btn-lg,
html[data-lang="en"] .btn.btn-lg{
  padding: 16px 32px !important;
}
html[data-lang="en"] a.btn.btn-sm,
html[data-lang="en"] .btn.btn-sm{
  padding: 8px 16px !important;
}
html[data-lang="en"] a.btn.btn-block,
html[data-lang="en"] .btn.btn-block{
  width: 100% !important;
  display: flex !important;
}
html[data-lang="en"] .btn-primary{
  background: var(--grad-main) !important;
  color: #04060b !important;
  box-shadow: 0 8px 30px -8px rgba(124,92,255,0.6) !important;
}
html[data-lang="en"] .btn-ghost{
  background: rgba(255,255,255,0.03) !important;
  color: var(--text-hi) !important;
  border-color: var(--border-mid) !important;
}
html[data-lang="en"] .btn-ghost-dark{
  background: rgba(255,255,255,0.05) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.16) !important;
}

html[data-lang="en"] a.btn,
html[data-lang="en"] .btn{
  border-radius: var(--radius-sm) !important;
  border: 1px solid transparent !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  gap: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
html[data-lang="en"] .btn-ghost,
html[data-lang="en"] .btn-ghost-dark{
  border-color: var(--border-mid) !important;
}
