:root {
  --bg: #070b16;
  --bg-soft: #0b1020;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #b6c2d2;
  --muted-2: #8ea0b8;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #7c3aed;
  --primary-2: #06b6d4;
  --accent: #f59e0b;
  --danger: #fb7185;
  --success: #34d399;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-h: 82px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(124, 58, 237, .25), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(6, 182, 212, .18), transparent 34%),
    linear-gradient(180deg, #070b16 0%, #090d19 48%, #050711 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, textarea { font: inherit; }

::selection { background: rgba(124, 58, 237, .45); }

.orb-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 14px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 22, .62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 20;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 22, .82);
  border-color: rgba(255, 255, 255, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 900;
  color: #fff;
  box-shadow: 0 12px 38px rgba(124, 58, 237, .34);
}

.brand-text { font-weight: 900; letter-spacing: -.04em; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.section-pad { padding: 92px 0; }

.hero {
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 36px;
  align-items: center;
  padding-top: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfefff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 22px rgba(6, 182, 212, .8);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: -.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -.03em;
}

p {
  color: var(--muted);
  line-height: 2;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(16px, 2vw, 20px);
  color: #d5deeb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 46px rgba(6, 182, 212, .22);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.stat-card,
.feature-card,
.pillar-card,
.future-card,
.timeline-item,
.hero-card,
.contact-panel,
.dark-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-value {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 950;
}

.stat-label {
  color: var(--muted-2);
  font-size: 13px;
}

.hero-card {
  padding: 16px;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
}

.profile-frame {
  position: relative;
  isolation: isolate;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  aspect-ratio: 4 / 5;
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.profile-glow {
  position: absolute;
  inset: auto 10% -10% 10%;
  height: 34%;
  z-index: -1;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  filter: blur(36px);
  opacity: .55;
}

.profile-card-body {
  padding: 20px 4px 4px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #c5ffe8;
  font-size: 13px;
  font-weight: 800;
}

.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px rgba(52, 211, 153, .8);
}

.profile-card-body h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.split-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: calc(var(--header-h) + 42px);
}

.feature-grid,
.pillars,
.future-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.pillar-card,
.future-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .3), rgba(6, 182, 212, .22));
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: 22px;
}

.dark-panel {
  padding: 54px;
  border-radius: var(--radius-xl);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.center .eyebrow { justify-content: center; }

.pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: timeline;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.timeline-index {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 950;
}

.timeline-meta {
  color: #bfefff;
  font-size: 13px;
  font-weight: 800;
}

.future-section { padding-top: 70px; }

.future-card.is-disabled {
  opacity: .86;
}

.module-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .35);
  font-size: 12px;
  font-weight: 900;
}

.progress-shell {
  height: 10px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: var(--progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 44px;
  color: var(--muted-2);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }

@media (max-width: 920px) {
  .site-shell { padding: 0 14px; }

  .site-header {
    top: 10px;
    height: 72px;
    border-radius: 24px;
  }

  .nav-toggle { display: inline-grid; place-items: center; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 11, 22, .92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a { text-align: center; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section-pad { padding: 70px 0; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .stats-grid,
  .feature-grid,
  .pillars,
  .future-grid,
  .split-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-copy { position: static; }

  .dark-panel { padding: 28px 18px; }

  .timeline-item { grid-template-columns: 1fr; }

  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(36px, 13vw, 56px); }

  .brand-text { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .stats-grid { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; }

  .hero-card { padding: 12px; }

  .section-heading.center { text-align: right; }

  .section-heading.center .eyebrow { justify-content: flex-start; }

  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .orb-canvas { display: none; }
}

/* === Production polish layer: public website visual upgrade === */

:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --panel: rgba(15, 23, 42, 0.68);
  --panel-strong: rgba(15, 23, 42, 0.86);
  --line: rgba(226, 232, 240, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --primary: #2563eb;
  --primary-2: #06b6d4;
  --accent: #f59e0b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(14, 165, 233, .22), transparent 32rem),
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, .26), transparent 34rem),
    radial-gradient(circle at 50% 92%, rgba(245, 158, 11, .09), transparent 30rem),
    linear-gradient(180deg, #050816 0%, #08111f 44%, #050816 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: .34;
}

.site-shell {
  isolation: isolate;
}

.site-header {
  background: rgba(5, 8, 22, .72);
  border-color: rgba(255, 255, 255, .18);
}

.site-header.is-scrolled {
  background: rgba(5, 8, 22, .9);
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
}

.brand-text {
  font-size: 15px;
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(6, 182, 212, .88));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 32px rgba(6, 182, 212, .18);
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10% auto auto 8%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .12);
  filter: blur(42px);
  pointer-events: none;
}

h1 {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 42%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

h2 {
  text-wrap: balance;
}

.hero-lead,
.section-heading p,
.section-copy p,
.contact-panel p {
  text-wrap: pretty;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(105%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: transform .55s ease;
}

.btn:hover::after {
  transform: translateX(-105%);
}

.btn.primary {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 38%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 20px 54px rgba(6, 182, 212, .28);
}

.stat-card,
.feature-card,
.pillar-card,
.future-card,
.timeline-item,
.hero-card,
.contact-panel,
.dark-panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045)),
    rgba(15, 23, 42, .58);
  border-color: rgba(226, 232, 240, .16);
}

.feature-card,
.pillar-card,
.future-card,
.timeline-item,
.stat-card {
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.feature-card:hover,
.pillar-card:hover,
.future-card:hover,
.timeline-item:hover,
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, .34);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055)),
    rgba(15, 23, 42, .7);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}

.hero-card {
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.05)),
    radial-gradient(circle at 30% 0%, rgba(6, 182, 212, .18), transparent 42%),
    rgba(15, 23, 42, .72);
}

.profile-frame {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.profile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,.46)),
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.2), transparent 22%);
  pointer-events: none;
}

.status-dot {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .22);
}

.card-icon {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 14px 28px rgba(6, 182, 212, .12);
}

.dark-panel {
  background:
    radial-gradient(circle at 80% 0%, rgba(6, 182, 212, .16), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(37, 99, 235, .16), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
}

.timeline-item {
  border-radius: 28px;
}

.timeline-index {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .86), rgba(6, 182, 212, .72));
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(6, 182, 212, .18);
}

.future-card.is-disabled {
  opacity: 1;
}

.module-badge {
  background: rgba(245, 158, 11, .14);
  color: #fde68a;
}

.progress-shell {
  background: rgba(255,255,255,.12);
}

.contact-panel {
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 158, 11, .14), transparent 28%),
    linear-gradient(135deg, rgba(37, 99, 235, .20), rgba(6, 182, 212, .10)),
    rgba(15, 23, 42, .74);
}

.contact-link {
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(125, 211, 252, .36);
}

@media (max-width: 920px) {
  .site-header {
    background: rgba(5, 8, 22, .86);
  }

  .site-nav {
    background: rgba(5, 8, 22, .96);
  }

  .hero {
    gap: 24px;
  }

  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 0 12px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    line-height: 1.12;
    letter-spacing: -.055em;
  }

  h2 {
    line-height: 1.2;
  }

  .feature-card,
  .pillar-card,
  .future-card,
  .timeline-item,
  .contact-panel,
  .dark-panel {
    border-radius: 22px;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .contact-link {
    width: 100%;
  }
}
