:root{
  --bg:#07101d;
  --bg-2:#0b1526;
  --card:rgba(10,18,32,0.58);
  --card-strong:rgba(255,255,255,0.08);
  --card-border:rgba(255,255,255,0.14);
  --text:#ffffff;
  --muted:rgba(255,255,255,0.82);
  --muted-2:rgba(255,255,255,0.68);
  --cyan:#00d4ff;
  --violet:#7c3aed;
  --shadow:0 20px 60px rgba(0,0,0,0.42);
  --shadow-soft:0 12px 34px rgba(0,0,0,0.28);
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --transition:0.32s ease;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Vazirmatn', sans-serif;
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  background-color:#07101d;
  position:relative;
}

a{
  color:inherit;
}

.page-bg{
  position:fixed;
  inset:0;
  z-index:-3;
  background-image:url("/static/img/image2.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  transform:scale(1.02);
}

.page-overlay{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(180deg, rgba(4,10,20,0.74) 0%, rgba(6,12,24,0.82) 45%, rgba(5,10,20,0.90) 100%);
}

.bg-glow{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,212,255,0.08), transparent 18%),
    radial-gradient(circle at 85% 25%, rgba(124,58,237,0.10), transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(0,212,255,0.06), transparent 24%);
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  position:relative;
  z-index:2;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(7,16,29,0.58);
  border-bottom:1px solid rgba(255,255,255,0.10);
}

.topbar-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  min-width:0;
}

.brand-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#061319;
  background:linear-gradient(135deg,var(--cyan),#7ff4ff);
  box-shadow:
    0 0 0 1px rgba(24,223,255,.5),
    0 10px 30px rgba(24,223,255,.38),
    0 0 10px rgba(24,223,255,.55),
    0 0 24px rgba(24,223,255,.35),
    0 0 48px rgba(24,223,255,.2);
  flex-shrink:0;
  overflow:visible;
}

.brand-logo{
  padding:6px;
  position:relative;
}

.brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  transform-origin:center;
  animation:headerLogoPulse 4s ease-in-out infinite;
  will-change:transform;
}

@keyframes headerLogoPulse{
  0%,100%{
    transform:scale(1);
  }
  50%{
    transform:scale(2);
  }
}

.brand-copy{
  min-width:0;
}

.brand-copy strong{
  display:block;
  font-size:.95rem;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:900;
}

.brand-copy small{
  display:block;
  color:rgba(237,243,255,.68);
  font-size:.72rem;
  margin-top:3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (max-width: 768px){
  .brand-icon{
    width:40px;
    height:40px;
    border-radius:12px;
  }

  .brand-logo{
    padding:5px;
  }

  .brand-copy strong{
    font-size:.88rem;
  }

  .brand-copy small{
    font-size:.68rem;
  }
}

@media (max-width: 480px){
  .brand-icon{
    width:36px;
    height:36px;
    border-radius:11px;
  }

  .brand-logo{
    padding:4px;
  }

  .brand-copy strong{
    font-size:.82rem;
  }

  .brand-copy small{
    display:none;
  }
}



.top-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  text-decoration:none;
  border:none;
  outline:none;
  cursor:pointer;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
  transition:var(--transition);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow:0 12px 30px rgba(0,212,255,0.18);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(0,212,255,0.24);
}

.btn-ghost{
  color:#fff;
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.12);
}

.btn-ghost:hover{
  background:rgba(255,255,255,0.12);
  transform:translateY(-2px);
}

.glass{
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:var(--radius-xl);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
}

.hero{
  padding:72px 0 34px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:26px;
  align-items:stretch;
}

.hero-main{
  padding:34px;
  position:relative;
  overflow:hidden;
}

.hero-main::before{
  content:"";
  position:absolute;
  inset:auto -30px -40px auto;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(0,212,255,0.16), transparent 70%);
  pointer-events:none;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.10);
  color:#e6fbff;
  font-size:13px;
  font-weight:700;
  margin-bottom:18px;
}

.hero-title{
  margin:0 0 18px;
  font-size:clamp(30px, 4vw, 54px);
  line-height:1.3;
  font-weight:900;
  letter-spacing:-0.5px;
  text-shadow:0 0 24px rgba(0,212,255,0.14);
}

.hero-title .accent{
  background:linear-gradient(135deg, #ffffff, #8be9ff 45%, #c9b3ff 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-text{
  margin:0;
  color:var(--muted);
  line-height:2.1;
  font-size:16px;
}

.hero-side{
  padding:24px;
  display:grid;
  gap:16px;
}

.mini-card{
  padding:20px;
  border-radius:var(--radius-lg);
  background:var(--card-strong);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:var(--shadow-soft);
}

.mini-card h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:900;
}

.mini-card p{
  margin:0;
  color:var(--muted);
  line-height:2;
  font-size:14px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:26px;
}

.stat{
  padding:20px;
  text-align:center;
}

.stat strong{
  display:block;
  font-size:28px;
  font-weight:900;
  color:#fff;
  margin-bottom:8px;
  text-shadow:0 0 18px rgba(0,212,255,0.18);
}

.stat span{
  color:var(--muted);
  font-size:14px;
}

.section{
  padding:26px 0;
}

.section-header{
  margin-bottom:20px;
  text-align:center;
}

.section-title{
  margin:0 0 10px;
  font-size:clamp(24px, 3vw, 38px);
  font-weight:900;
  text-shadow:0 0 18px rgba(0,212,255,0.10);
}

.section-desc{
  margin:0 auto;
  max-width:860px;
  color:var(--muted);
  line-height:2;
  font-size:15px;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.feature-card{
  padding:26px;
  position:relative;
  overflow:hidden;
  transition:var(--transition);
}

.feature-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,212,255,0.25);
  box-shadow:0 24px 60px rgba(0,0,0,0.40);
}

.feature-card::after{
  content:"";
  position:absolute;
  inset:auto -40px -40px auto;
  width:130px;
  height:130px;
  background:radial-gradient(circle, rgba(124,58,237,0.14), transparent 70%);
  pointer-events:none;
}

.feature-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  margin-bottom:16px;
  background:linear-gradient(135deg, rgba(0,212,255,0.20), rgba(124,58,237,0.20));
  color:#dffbff;
  font-weight:800;
  font-size:13px;
  border:1px solid rgba(255,255,255,0.08);
}

.feature-card h3{
  margin:0 0 14px;
  font-size:22px;
  font-weight:900;
  line-height:1.6;
}

.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:2.05;
  font-size:15px;
}

.split-section{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:22px;
  align-items:stretch;
}

.content-card,
.highlight-panel{
  padding:28px;
}

.content-card h3,
.highlight-panel h3{
  margin:0 0 14px;
  font-size:24px;
  font-weight:900;
}

.content-card p,
.highlight-panel p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:2.1;
  font-size:15px;
}

.highlight-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.highlight-panel::after{
  content:"";
  position:absolute;
  inset:auto auto -40px -20px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(124,58,237,0.18), transparent 68%);
  pointer-events:none;
}

.check-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}

.check-list li{
  position:relative;
  padding-right:28px;
  color:rgba(255,255,255,0.88);
  line-height:2;
  font-size:15px;
}

.check-list li::before{
  content:"✦";
  position:absolute;
  right:0;
  top:0;
  color:var(--cyan);
  text-shadow:0 0 14px rgba(0,212,255,0.28);
}

.addons{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.addon-card{
  padding:24px;
  transition:var(--transition);
}

.addon-card:hover{
  transform:translateY(-6px);
  border-color:rgba(124,58,237,0.28);
}

.addon-card h4{
  margin:0 0 12px;
  font-size:20px;
  font-weight:900;
  line-height:1.6;
}

.addon-card p{
  margin:0;
  color:var(--muted);
  line-height:2;
  font-size:15px;
}

.addon-wide{
  grid-column:1 / -1;
}

.summary{
  padding:34px;
  text-align:center;
}

.summary h2{
  margin:0 0 14px;
  font-size:clamp(26px, 3vw, 40px);
  font-weight:900;
}

.summary p{
  margin:0 auto;
  max-width:920px;
  color:var(--muted);
  line-height:2.15;
  font-size:16px;
}

.cta-row{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.footer-space{
  height:30px;
}

/* reveal animation */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

.delay-1{
  transition-delay:0.12s;
}

/* responsive */
@media (max-width: 1024px){
  .hero-grid,
  .split-section,
  .features-grid,
  .addons{
    grid-template-columns:1fr;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .addon-wide{
    grid-column:auto;
  }
}

@media (max-width: 768px){
  .container{
    width:min(100% - 20px, 1180px);
  }

  .topbar-inner{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .top-actions{
    width:100%;
  }

  .top-actions .btn{
    flex:1;
  }

  .hero{
    padding-top:36px;
  }

  .hero-main,
  .hero-side,
  .feature-card,
  .content-card,
  .highlight-panel,
  .addon-card,
  .summary{
    padding:22px;
  }

  .hero-title{
    font-size:30px;
  }

  .section-title{
    font-size:26px;
  }

  .brand-name{
    font-size:19px;
  }

  .brand-logo-wrap{
    width:48px;
    height:48px;
  }
}

@media (max-width: 480px){
  .btn{
    width:100%;
  }

  .hero-title{
    font-size:27px;
  }

  .hero-text,
  .summary p,
  .feature-card p,
  .content-card p,
  .highlight-panel p,
  .addon-card p{
    font-size:14px;
  }

  .stat strong{
    font-size:24px;
  }
}
