:root {
  --bg: #07111f;
  --bg-2: #0b1730;
  --ink: #eef4fc;
  --muted: #9aafc8;
  --blue: #2f7bff;
  --blue-2: #63a4ff;
  --line: rgba(160, 190, 230, 0.16);
  --green: #3dd68c;
  --red: #fb7185;
  --card: rgba(12, 24, 48, 0.78);
  --light: #f4f7fb;
  --paper: #ffffff;
  --ink-d: #14253c;
  --muted-d: #5c6d84;
  --shadow: 0 24px 60px rgba(15, 35, 70, 0.08);
  --radius: 22px;
  --max: 1180px;
  --font: "Noto Sans", "Noto Sans Armenian", Sylfaen, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 86px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img, svg { display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; }
::selection { background: #2f7bff; color: white; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }

.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.07em;
  text-decoration: none;
  color: white;
}
.logo span { color: #3b82f6; }
.logo-sm { font-size: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: linear-gradient(180deg, #4b93ff 0%, #1f6bff 100%);
  color: white;
  padding: 11px 18px;
  box-shadow: 0 10px 24px rgba(31, 107, 255, 0.35);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-ghost {
  background: rgba(8, 16, 32, 0.45);
  color: white;
  border: 1px solid rgba(180, 205, 235, 0.18);
  padding: 10px 16px 10px 10px;
  text-align: left;
}
.btn-ghost b { display: block; font-size: 15px; }
.btn-ghost small { display: block; color: var(--muted); font-weight: 500; }
.play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1d4ed8;
  position: relative;
  flex: none;
}
.play::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent white;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
  padding: 0 28px;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.top nav {
  display: flex;
  gap: 18px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 500;
  color: #c5d4e8;
}
.top nav a { text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a.is-on { color: white; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  margin-right: auto;
  padding: 11px 10px;
}
.nav-toggle i {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: white;
}

.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  cursor: pointer;
  font-weight: 700;
}
.lang-btn svg { width: 18px; height: 12px; border-radius: 2px; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #10203a;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 140px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.lang-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.lang-menu button:hover, .lang-menu button.is-on { background: rgba(47, 123, 255, 0.25); }

.hero {
  position: relative;
  padding: 54px 0 28px;
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(47, 123, 255, 0.28), transparent 62%),
    radial-gradient(640px 380px at 8% 12%, rgba(37, 99, 235, 0.18), transparent 60%),
    linear-gradient(180deg, #07111f 0%, #081426 70%, #09182e 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(480px, 1.16fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: #8eb6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.eyebrow.dark { color: #2f6fe4; }
h1, h2 { letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 4.5vw, 62px); font-weight: 800; }
h1 span, h2 span {
  background: linear-gradient(90deg, #8cbcff, #4d8dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { margin: 18px 0 10px; font-size: 18px; font-weight: 600; }
.lede { margin: 0; max-width: 520px; color: var(--muted); font-size: 15.5px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.board {
  position: relative;
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(16, 32, 58, 0.94), rgba(7, 16, 32, 0.94));
  border: 1px solid rgba(150, 186, 230, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.board-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 12px;
  border-radius: 14px;
  background: rgba(5, 12, 26, 0.55);
  border: 1px solid var(--line);
  color: #9fb2cc;
}
.search svg { width: 18px; height: 18px; flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: white;
  font-size: 14px;
  outline: none;
}
.search .go {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.search .go svg { width: 16px; height: 16px; }
.board-body { display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
.rail { display: flex; flex-direction: column; gap: 8px; }
.rail button, .sample-chip {
  border: 1px solid transparent;
}
.rail button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #9fb4d0;
  cursor: pointer;
}
.rail button svg { width: 20px; height: 20px; margin: 0 auto; }
.rail button.is-on { background: rgba(47, 123, 255, 0.22); color: #8cbcff; border-color: rgba(90, 150, 255, 0.35); }
.board-main { min-width: 0; position: relative; }
.sample-chip {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ec0ff;
  background: rgba(47, 123, 255, 0.15);
  border-radius: 999px;
  padding: 3px 8px;
}
.kpi-row, .kpi-lite {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi {
  background: rgba(8, 18, 36, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  min-width: 0;
}
.kpi .k { margin: 0; color: #93a8c4; font-size: 12px; }
.kpi strong { display: block; margin: 6px 0 2px; font-size: 13px; letter-spacing: -0.03em; }
.kpi-lite .kpi strong { font-size: 18px; }
.kpi .d { font-size: 12px; font-weight: 700; }
.kpi .d.up { color: var(--green); }
.kpi .d.down { color: var(--red); }
.kpi svg.sparkline { width: 100%; height: 28px; margin-top: 6px; }
.chart-row, .lite-charts { display: grid; grid-template-columns: 1.6fr 0.72fr; gap: 10px; margin-top: 10px; }
.panel, .card {
  background: rgba(8, 18, 36, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px 10px;
}
.panel header, .card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.panel h3, .card h3 { margin: 0; font-size: 13px; font-weight: 700; }
.years { display: flex; gap: 4px; }
.years button, .pill {
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: #b7c7dc;
}
.years button.is-on, .pill { background: #2563eb; color: white; }
.plot { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; width: 100%; }
.plot-col, .plot-main { min-width: 0; }
.yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 148px;
  color: #7f93ad;
  font-size: 10px;
  line-height: 1;
}
.plot-main { position: relative; height: 148px; }
.gridlines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(160, 190, 230, 0.2) 1px, transparent 1px);
  background-size: 100% 33.333%;
}
.bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  z-index: 1;
}
.bars i {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--bar-top, #7cb4ff), var(--bar-bot, #3b5bdb));
  display: block;
  transform-origin: bottom;
  animation: rise 0.7s ease both;
}
.trend {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}
.dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  margin-bottom: -3px;
  border-radius: 2px;
  background: #c4b5fd;
  box-shadow: 0 0 0 2px rgba(12, 20, 40, 0.85);
  z-index: 3;
}
.months {
  position: relative;
  height: 14px;
  margin: 6px 0 0;
  color: #9aafc6;
  font-size: 10px;
  line-height: 1.2;
}
.months span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.donut-wrap, .donut-lite { display: grid; grid-template-columns: 116px 1fr; gap: 8px; align-items: center; }
.ring {
  position: relative;
  width: 112px;
  height: 112px;
}
.ring svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ring b small { display: block; font-size: 10px; font-weight: 600; color: #93a8c4; }
.legend-list { list-style: none; margin: 0; padding: 0; font-size: 11px; color: #c5d4e8; }
.legend-list li { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0; }
.legend-list i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.answer, .reply {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(47, 123, 255, 0.14);
  color: #e7f0ff;
  font-size: 14px;
}
.answer b, .reply b { color: #8cbcff; }

.trust {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 34px 0 18px;
}
.trust article { min-width: 0; }
.ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: #9ec0ff;
  margin-bottom: 10px;
}
.ico svg { width: 22px; height: 22px; }
.trust h3 { margin: 0 0 4px; font-size: 14px; }
.trust p { margin: 0; color: var(--muted); font-size: 13px; }

.demo { background: var(--light); color: var(--ink-d); padding: 72px 0 64px; }
.demo h2, .about h2, .features h2, .faq h2, .security h2, .contact h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
}
.demo h2 { text-align: center; max-width: 760px; margin: 0 auto; color: #16324f; }
.demo h2 span { background: none; color: #2f6fe4; -webkit-text-fill-color: #2f6fe4; }
.sub { text-align: center; max-width: 640px; margin: 12px auto 22px; color: var(--muted-d); }
.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.role {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e9f2;
  background: white;
  color: var(--ink-d);
  border-radius: 16px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 6px 16px rgba(20, 40, 70, 0.04);
}
.role svg { width: 18px; height: 18px; color: #3b82f6; flex: none; }
.role b { display: block; font-size: 14px; }
.role small { display: block; color: var(--muted-d); font-size: 11px; }
.role.is-on {
  background: linear-gradient(180deg, #3b86ff, #1d63f0);
  color: white;
  border-color: transparent;
}
.role.is-on svg, .role.is-on small { color: rgba(255, 255, 255, 0.85); }
.demo-grid { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.demo .card {
  background: var(--paper);
  border: 1px solid #e7edf5;
  box-shadow: var(--shadow);
  color: var(--ink-d);
}
.questions h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 8px; }
.spark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff, #60a5fa 40%, #2563eb);
}
.q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
  cursor: pointer;
  color: var(--ink-d);
}
.q.is-on { background: #eef4ff; border-color: #cdddff; }
.q span { flex: 1; font-size: 14px; }
.q i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #b9c6d8;
  flex: none;
  position: relative;
}
.q.is-on i { border-color: #2f6fe4; background: #2f6fe4; }
.q em {
  font-style: normal;
  color: #8aa0b8;
}
.demo .reply { background: #f3f7ff; color: var(--ink-d); }
.demo .reply b { color: #1d4ed8; font-size: 22px; display: block; margin-bottom: 2px; }
.kpi-lite .kpi {
  background: white;
  border: 1px solid #e7edf5;
  box-shadow: var(--shadow);
  color: var(--ink-d);
}
.kpi-lite .kpi .k { color: var(--muted-d); }
.kpi-lite .mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.kpi-lite .mark svg { width: 16px; height: 16px; }
.lite-charts .months { margin-left: 0; }
.legend { display: flex; align-items: center; gap: 8px; margin: 8px 0 0 42px; color: var(--muted-d); font-size: 12px; }
.lg-bar, .lg-line { width: 14px; height: 8px; border-radius: 99px; display: inline-block; }
.lg-bar { background: #3b82f6; }
.lg-line { background: #8b7cff; height: 3px; }
.donut-lite .legend-list { color: var(--ink-d); }
.ring.light b small { color: var(--muted-d); }

.about, .features, .faq { background: white; color: var(--ink-d); }
.about, .features { padding: 72px 0; }
.about h2, .features h2, .faq h2 { max-width: 680px; }
.steps, .feature-grid, .sec-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.steps { grid-template-columns: repeat(3, 1fr); }
.steps li, .feature-grid article, .sec-grid article {
  list-style: none;
  margin: 0;
  padding: 22px;
  border-radius: 20px;
  background: #f6f8fc;
  border: 1px solid #e7edf5;
}
.steps span, .sec-grid span {
  display: block;
  font-weight: 800;
  color: #2f6fe4;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.steps h3, .feature-grid h3, .sec-grid h3 { margin: 0 0 8px; font-size: 18px; }
.steps p, .feature-grid p, .sec-grid p, .faq p, .contact p { margin: 0; color: var(--muted-d); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid article { background: white; box-shadow: var(--shadow); }
.features { background: #f7f9fc; }

.security, .contact {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(47, 123, 255, 0.25), transparent 60%),
    #07111f;
  color: white;
  padding: 72px 0;
}
.sec-grid { grid-template-columns: repeat(3, 1fr); }
.sec-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.sec-grid p { color: var(--muted); }
.security h2, .contact h2 { max-width: 640px; }

.faq { padding: 72px 0; }
.faq-list { margin-top: 22px; }
.faq details {
  border-bottom: 1px solid #e6edf5;
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #2f6fe4; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 14px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.contact p { color: var(--muted); margin-top: 12px; }
.form {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}
.form label { display: grid; gap: 6px; font-size: 13px; color: #c5d4e8; }
.form input, .form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 12, 24, 0.45);
  color: white;
  padding: 12px 12px;
  outline: none;
}
.form input:focus, .form textarea:focus { border-color: #3b82f6; }
.form-note { min-height: 1.2em; color: #b9d0f5; font-size: 14px; }
.foot { background: #050c16; padding: 22px 0 28px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .top nav { display: none; }
  .top nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    padding: 12px;
    background: #0d1b31;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav-toggle { display: block; }
  .hero-grid, .demo-grid, .chart-row, .lite-charts, .steps, .feature-grid, .sec-grid, .contact-grid, .trust {
    grid-template-columns: 1fr;
  }
  .kpi-row, .kpi-lite { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .top { padding: 0 14px; }
  .hero { padding-top: 28px; }
  h1 { font-size: 36px; }
  .board-body { grid-template-columns: 1fr; }
  .rail { flex-direction: row; }
  .donut-wrap, .donut-lite { grid-template-columns: 1fr; justify-items: center; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .top-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bars i { animation: none; }
}
@keyframes rise {
  from { transform: scaleY(0.2); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
