:root {
  color-scheme: dark;
  --bg: #061014;
  --bg-soft: #0a171d;
  --text: #eef7f6;
  --muted: #9eb4b3;
  --line: rgba(203, 244, 237, 0.14);
  --panel: rgba(10, 28, 34, 0.72);
  --panel-solid: #0d1f26;
  --green: #2ee6a6;
  --cyan: #42d9ff;
  --blue: #6087ff;
  --amber: #f4c76b;
  --rose: #ff6c8f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f8fbfa;
  color: var(--text);
}

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

.site-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 28px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(221, 250, 246, 0.14);
  border-radius: 8px;
  background: rgba(5, 16, 20, 0.72);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-block;
  background:
    linear-gradient(135deg, rgba(46, 230, 166, 0.92), rgba(66, 217, 255, 0.74)),
    #0b2027;
  box-shadow: 0 0 26px rgba(46, 230, 166, 0.28);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(2, 26, 29, 0.66);
  border-radius: 6px;
}

.brand-mark::after {
  inset: 14px 8px 8px 14px;
  background: rgba(2, 26, 29, 0.52);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(238, 247, 246, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  background: rgba(46, 230, 166, 0.12);
  border: 1px solid rgba(46, 230, 166, 0.32);
  color: #d9fff2;
}

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

.section-band,
.content-section {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 38px);
  padding: 134px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 15% 0%, rgba(66, 217, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(46, 230, 166, 0.14), transparent 32rem),
    linear-gradient(180deg, #051014 0%, #071316 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  direction: ltr;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7.2vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: #c9dbd9;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
}

.btn-primary {
  color: #061014;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 42px rgba(46, 230, 166, 0.22);
}

.btn-secondary {
  color: #eafff9;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(224, 251, 247, 0.16);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  direction: ltr;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(224, 251, 247, 0.13);
  border-radius: 8px;
  color: rgba(238, 247, 246, 0.72);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 1;
  height: min(620px, 72vh);
  min-height: 430px;
  border: 1px solid rgba(224, 251, 247, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 25, 30, 0.82), rgba(10, 30, 37, 0.46)),
    rgba(8, 23, 28, 0.64);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(232, 252, 248, 0.15);
  border-radius: 8px;
  background: rgba(7, 21, 26, 0.7);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.dashboard-card {
  top: 12%;
  right: 8%;
  width: min(340px, 68%);
  padding: 18px;
  animation: floatY 7s ease-in-out infinite;
}

.card-head,
.product-top,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-head span,
.mini-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.card-head strong {
  direction: ltr;
  color: var(--green);
  font-size: 2rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 17px 0;
}

.metric-grid span {
  height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.metric-grid span:nth-child(2),
.metric-grid span:nth-child(5) {
  background: linear-gradient(180deg, rgba(46, 230, 166, 0.24), rgba(66, 217, 255, 0.08));
}

.trend-line {
  height: 54px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.trend-line i {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(66, 217, 255, 0.12));
}

.trend-line i:nth-child(1) { height: 42%; }
.trend-line i:nth-child(2) { height: 66%; }
.trend-line i:nth-child(3) { height: 52%; }
.trend-line i:nth-child(4) { height: 82%; }
.trend-line i:nth-child(5) { height: 72%; }

.ai-card {
  left: 7%;
  top: 39%;
  width: min(245px, 48%);
  padding: 16px;
  animation: floatY 8s ease-in-out 1.2s infinite;
}

.ai-card p {
  margin: 8px 0 16px;
  color: #f4fffd;
  line-height: 1.8;
  font-weight: 700;
}

.ai-pulse {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--green), var(--cyan), var(--blue), var(--green));
  background-size: 220% 100%;
  animation: pulseBar 2.8s linear infinite;
}

.workflow-card {
  right: 15%;
  bottom: 10%;
  width: min(300px, 62%);
  padding: 16px;
  animation: floatY 7.5s ease-in-out 0.4s infinite;
}

.status-row {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.status-row b {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 15px rgba(46, 230, 166, 0.66);
}

.status-row span {
  flex: 1;
  direction: ltr;
  text-align: left;
  color: #eef7f6;
  font-weight: 800;
}

.status-row em {
  direction: ltr;
  color: var(--cyan);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
}

.content-section {
  padding: 76px 0;
}

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

.section-heading h2,
.solution-panel h2,
.why-copy h2,
.cta-panel h2 {
  margin-bottom: 0;
  color: #081417;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.wide-heading {
  max-width: 850px;
}

.wide-heading p:last-child {
  margin: 16px 0 0;
  color: #506365;
  font-size: 1.06rem;
  line-height: 2;
}

.pain-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain-card,
.product-card,
.steps article {
  position: relative;
  min-height: 218px;
  padding: 22px;
  border: 1px solid rgba(10, 36, 40, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 58px rgba(11, 31, 35, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.pain-card:hover,
.product-card:hover,
.steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 185, 143, 0.32);
  box-shadow: 0 24px 70px rgba(11, 31, 35, 0.12);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #07311f;
  background: linear-gradient(135deg, rgba(46, 230, 166, 0.32), rgba(66, 217, 255, 0.22));
  font-weight: 900;
  direction: ltr;
}

.pain-card h3,
.product-card h3,
.steps h3 {
  margin-bottom: 10px;
  color: #0a171d;
  font-size: 1.14rem;
  line-height: 1.55;
}

.pain-card p,
.product-card p,
.steps p {
  margin-bottom: 0;
  color: #506365;
  line-height: 1.9;
}

.solution-section {
  padding-top: 40px;
}

.solution-panel,
.why-section,
.cta-panel {
  border-radius: 8px;
  border: 1px solid rgba(224, 251, 247, 0.16);
  box-shadow: var(--shadow);
}

.solution-panel {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 14% 20%, rgba(46, 230, 166, 0.17), transparent 24rem),
    linear-gradient(135deg, #07161b, #0f2630);
}

.solution-panel h2,
.why-section h2,
.cta-panel h2 {
  color: #eef7f6;
}

.solution-panel p:last-child {
  margin: 0;
  color: #c8dbd8;
  font-size: 1.07rem;
  line-height: 2.1;
}

.product-card {
  overflow: hidden;
}

.featured-card {
  background:
    linear-gradient(145deg, rgba(8, 24, 29, 0.94), rgba(12, 39, 45, 0.86)),
    #0a171d;
}

.featured-card h3,
.featured-card p {
  color: #eef7f6;
}

.featured-card p {
  color: #bdd1ce;
}

.product-top {
  margin-bottom: 28px;
}

.product-top a {
  direction: ltr;
  color: #5b6e70;
  font-size: 0.78rem;
  font-weight: 800;
}

.featured-card .product-top a {
  color: var(--green);
}

.product-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-block;
}

.audit { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.money { background: linear-gradient(135deg, var(--amber), #45d7b8); }
.komento { background: linear-gradient(135deg, var(--rose), var(--blue)); }
.future { background: linear-gradient(135deg, #111d23, #69e7cc); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  min-height: 238px;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  direction: ltr;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 900;
}

.why-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 80% 50%, rgba(66, 217, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, #09171c, #10252c);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(224, 251, 247, 0.12);
  border-radius: 8px;
  color: #dcebea;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.benefit-list span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(46, 230, 166, 0.65);
}

.cta-section {
  padding-bottom: 98px;
}

.cta-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(30px, 5vw, 62px);
  background:
    linear-gradient(rgba(7, 20, 24, 0.72), rgba(7, 20, 24, 0.72)),
    radial-gradient(circle at center, rgba(46, 230, 166, 0.22), transparent 24rem),
    linear-gradient(135deg, #07161b, #102b32);
}

.cta-panel h2 {
  max-width: 820px;
  margin-bottom: 28px;
}

.cta-panel .eyebrow {
  text-align: center;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: #526668;
}

.site-footer .brand {
  color: #0a171d;
}

.site-footer p {
  margin: 10px 0 0;
  direction: ltr;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  direction: ltr;
  font-weight: 800;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseBar {
  to {
    background-position: 220% 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .main-nav {
    display: none;
  }

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

  .hero-visual {
    height: 560px;
  }

  .pain-grid,
  .product-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-panel,
  .why-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    padding: 10px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .section-band,
  .content-section,
  .site-footer {
    width: min(100% - 22px, 1160px);
  }

  .hero {
    gap: 32px;
    padding-top: 98px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.85;
    margin-bottom: 22px;
  }

  .trust-row {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .hero-visual {
    height: 300px;
    min-height: 300px;
  }

  .dashboard-card {
    right: 5%;
    top: 6%;
    width: 74%;
    padding: 12px;
  }

  .metric-grid {
    gap: 7px;
    margin: 10px 0;
  }

  .metric-grid span {
    height: 30px;
  }

  .trend-line {
    height: 28px;
  }

  .ai-card {
    left: 5%;
    top: 42%;
    width: 54%;
    padding: 12px;
  }

  .ai-card p {
    margin-bottom: 10px;
    line-height: 1.65;
  }

  .workflow-card {
    right: 5%;
    bottom: 5%;
    width: 72%;
    padding: 12px;
  }

  .status-row {
    margin-top: 8px;
    padding: 7px;
  }

  .pain-grid,
  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 54px 0;
  }

  .pain-card,
  .product-card,
  .steps article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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