:root {
  --bg: #06111f;
  --bg-2: #081a2d;
  --card: rgba(255,255,255,0.08);
  --card-strong: rgba(255,255,255,0.11);
  --line: rgba(255,255,255,0.1);
  --text: #ecf7ff;
  --muted: #9eb3c8;
  --primary: #35e0d0;
  --primary-2: #71a7ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(53,224,208,0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(113,167,255,0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 56px 0; position: relative; }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 0; }
.eyebrow { color: var(--primary); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }

.bg-orb {
  position: fixed; border-radius: 999px; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .5;
}
.orb-1 { width: 260px; height: 260px; background: rgba(53,224,208,.15); top: 8%; right: 3%; }
.orb-2 { width: 320px; height: 320px; background: rgba(113,167,255,.16); left: -60px; bottom: 10%; }
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 12, 22, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(53,224,208,.18), rgba(113,167,255,.2));
  border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-weight: 900;
  box-shadow: 0 0 30px rgba(53,224,208,.18);
}
.brand-name { font-size: 18px; font-weight: 900; }
.brand-sub { font-size: 12px; color: var(--muted); }
.nav-links { display: flex; gap: 24px; color: var(--muted); }
.nav-links a:hover { color: white; }

.glass, .glass-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}
.glass { backdrop-filter: blur(18px); }
.glass-soft { backdrop-filter: blur(12px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800;
  transition: .22s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7fe8ff);
  color: #041018; box-shadow: 0 10px 35px rgba(53,224,208,.28);
}
.btn-secondary, .btn-ghost {
  background: rgba(255,255,255,.05); color: white; border-color: rgba(255,255,255,.12);
}
.btn-large { min-height: 56px; padding: 0 28px; }

.hero { padding-top: 46px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center;
}
.hero-copy h1 {
  margin: 12px 0 18px; line-height: 1.08; font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.03em;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #d7fafd, #67ffeb 42%, #8bbcff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p {
  max-width: 680px; font-size: 18px; line-height: 1.95; color: var(--muted); margin: 0 0 24px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px;
}
.stat { border-radius: 20px; padding: 16px; }
.stat strong { display: block; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; }
.device-shell {
  border-radius: 28px; padding: 18px; position: relative; overflow: hidden;
}
.device-shell::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(53,224,208,.35), transparent 25%, transparent 75%, rgba(113,167,255,.28));
  border-radius: 28px; pointer-events: none; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.device-topbar { display: flex; gap: 8px; margin-bottom: 14px; }
.device-topbar span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.28); }
.dashboard { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.side-panel { border-radius: 20px; padding: 14px; }
.panel-title { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.side-item {
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px; margin-bottom: 10px;
  color: #cbd7e3; background: rgba(255,255,255,.03);
}
.side-item.active {
  background: linear-gradient(135deg, rgba(53,224,208,.14), rgba(113,167,255,.14)); color: white;
}
.panel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.metric-card, .workspace-card, .value-card, .info-card, .module-card, .enterprise-box, .final-box, .faq-item {
  border-radius: 22px;
}
.metric-card { padding: 16px; }
.metric-card small, .workspace-head small { color: var(--muted); }
.metric-card strong { display: block; font-size: 28px; margin: 6px 0; }
.metric-card em { color: var(--primary); font-style: normal; }
.workspace-card { padding: 18px; }
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.workspace-head h3 { margin: 6px 0 0; font-size: 24px; }
.live-pill {
  padding: 8px 12px; border-radius: 999px; background: rgba(53,224,208,.12); color: var(--primary);
  border: 1px solid rgba(53,224,208,.28); font-weight: 800; font-size: 12px;
}
.chart-area {
  height: 220px; position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.06);
}
.chart-area::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.chart-line {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(53,224,208,.2) 100%);
  clip-path: polygon(0 86%, 10% 80%, 20% 82%, 32% 61%, 45% 64%, 57% 44%, 68% 52%, 79% 28%, 90% 35%, 100% 12%, 100% 100%, 0 100%);
}
.chart-glow {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(127,232,255,.14) 40%, rgba(53,224,208,.22) 60%, transparent 100%);
  transform: translateX(-100%);
  animation: scan 5.6s linear infinite;
}
.feature-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.feature-chips span {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: #d8e6f3; font-size: 14px;
}

.value-grid, .cards-grid, .module-grid {
  display: grid; gap: 16px;
}
.value-grid { grid-template-columns: repeat(3, 1fr); }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.module-grid { grid-template-columns: repeat(4, 1fr); }
.value-card, .info-card, .module-card { padding: 22px; }
.value-card h3, .info-card h3 { margin-top: 0; margin-bottom: 10px; }
.value-card p, .info-card p, .module-card span, .enterprise-box p { color: var(--muted); line-height: 1.9; }
.module-card strong { display: block; margin-bottom: 10px; font-size: 20px; }
.enterprise-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: 28px;
}
.enterprise-list { margin: 0; padding: 0 18px 0 0; }
.enterprise-list li { margin-bottom: 14px; color: #d7e4ef; }
.faq-list { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq-item { padding: 18px 20px; }
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { color: var(--muted); line-height: 1.9; margin-bottom: 0; }
.final-box { text-align: center; padding: 32px; }
.final-box p { color: var(--muted); }

.floating-cta, .trust-badge {
  position: fixed; z-index: 30; border-radius: 999px; backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow);
}
.floating-cta {
  left: 20px; bottom: 20px; min-height: 54px; padding: 0 20px;
  display: inline-flex; align-items: center; background: linear-gradient(135deg, var(--primary), #87eaff); color: #051118; font-weight: 900;
}
.trust-badge {
  right: 20px; bottom: 20px; min-height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 10px;
  background: rgba(7, 20, 34, .72); color: white;
}
.trust-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 18px var(--primary); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.pulse { animation: pulse 2.8s ease-in-out infinite; }

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 rgba(53,224,208,0); }
  50% { box-shadow: 0 0 32px rgba(53,224,208,.14); }
}
@keyframes scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@media (max-width: 1100px) {
  .hero-grid, .enterprise-box, .dashboard { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .side-panel { order: 2; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .header-inner { min-height: 72px; }
  .hero-copy p { font-size: 16px; }
  .mini-stats, .panel-row, .cards-grid, .module-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .floating-cta, .trust-badge { transform: scale(.94); }
  .trust-badge { right: 12px; bottom: 82px; }
  .floating-cta { left: 12px; bottom: 14px; }
}
