/* Лендинг AllDash */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-200);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; color: var(--text); font-weight: 700; font-size: 16px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  position: relative; flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 13px;
  background:
    linear-gradient(white, white) 0 100%/3.5px 8px no-repeat,
    linear-gradient(white, white) 5.5px 100%/3.5px 12px no-repeat,
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) 11px 100%/3.5px 14px no-repeat;
  border-radius: 1.5px;
}
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--surface-600); font-weight: 500; text-decoration: none !important; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }

/* Hero */
.hero { background:
  radial-gradient(900px 420px at 85% -10%, var(--primary-50), transparent 60%),
  radial-gradient(700px 400px at -10% 10%, #f5f0ff, transparent 55%),
  var(--surface-50);
  border-bottom: 1px solid var(--surface-200);
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 72px 24px 64px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-block; padding: 4px 12px; margin-bottom: 18px;
  background: var(--surface-0); border: 1px solid var(--surface-200); border-radius: 999px;
  font-size: 12.5px; color: var(--surface-600); font-weight: 500;
}
.hero h1 { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -.02em; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--primary-600), #9268ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 16px; font-size: 17px; line-height: 26px; color: var(--text-2); max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.btn-lg { padding: 11px 22px; font-size: 15px; border-radius: var(--radius-md); }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--surface-500); }

/* Мок дашборда */
.mock-window {
  background: var(--surface-0); border: 1px solid var(--surface-200);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-dialog);
  overflow: hidden;
  transform: rotate(-.4deg);
}
.mock-titlebar {
  height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: var(--surface-50); border-bottom: 1px solid var(--surface-200);
}
.mock-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #fca5a5; } .dot.y { background: #fcd34d; } .dot.g { background: #86efac; }
.mock-url {
  margin: 0 auto; padding: 2px 14px; font-size: 11px; color: var(--surface-500);
  background: var(--surface-100); border-radius: 999px;
}
.mock-body { display: flex; min-height: 300px; }
.mock-side {
  width: 132px; flex: none; padding: 12px; border-right: 1px solid var(--surface-200);
  display: flex; flex-direction: column; gap: 10px; background: var(--surface-50);
}
.mock-side-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--primary-600); margin-bottom: 6px; }
.mock-side-line { height: 8px; border-radius: 4px; background: var(--surface-200); }
.mock-side-line.w60 { width: 60%; }
.mock-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock-prompt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--primary-100); background: var(--primary-50);
  border-radius: var(--radius); font-size: 12.5px; color: var(--primary-700);
}
.mock-prompt-icon { width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--primary-600); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi {
  border: 1px solid var(--surface-200); border-radius: var(--radius-md); padding: 10px;
  box-shadow: var(--shadow-1);
}
.mock-kpi-label { font-size: 10.5px; color: var(--surface-500); }
.mock-kpi-value { font-size: 15px; font-weight: 600; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock-delta { display: inline-block; margin-top: 5px; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; }
.mock-delta.up { color: var(--success-700); background: var(--success-50); }
.mock-delta.down { color: var(--danger-700); background: var(--danger-50); }
.mock-chart {
  flex: 1; min-height: 110px; border: 1px solid var(--surface-200); border-radius: var(--radius-md);
  padding: 8px; box-shadow: var(--shadow-1);
}
.mock-chart svg { width: 100%; height: 100%; display: block; }
.mock-chat {
  width: 148px; flex: none; border-left: 1px solid var(--surface-200);
  padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-50);
}
.mock-chat-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--surface-700); }
.spark {
  width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(135deg, var(--primary-500), #9268ea);
}
.mock-msg { font-size: 10.5px; line-height: 14px; padding: 6px 8px; border-radius: 8px; max-width: 95%; }
.mock-msg.user { background: var(--primary-600); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
.mock-msg.bot { background: var(--surface-0); border: 1px solid var(--surface-200); color: var(--surface-700); align-self: flex-start; border-bottom-left-radius: 2px; }
.mock-input {
  margin-top: auto; font-size: 10.5px; color: var(--muted);
  border: 1px solid var(--surface-200); background: var(--surface-0);
  border-radius: 999px; padding: 6px 10px;
}

/* Секции */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-50); border-top: 1px solid var(--surface-200); border-bottom: 1px solid var(--surface-200); }
.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section h2 { font-size: 30px; line-height: 38px; letter-spacing: -.01em; text-align: center; }
.section-sub { text-align: center; color: var(--surface-500); margin-top: 8px; font-size: 15px; }

.features-grid {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  padding: 24px; background: var(--surface-0); border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
}
.feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: span 1; }
.features-grid { grid-auto-rows: 1fr; }
.feature-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--primary-50); font-size: 21px;
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { margin-top: 14px; font-size: 16px; }
.feature-card p { margin-top: 8px; color: var(--text-2); font-size: 14px; line-height: 21px; }

.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 24px; background: var(--surface-0); border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg); text-align: center;
}
.step-num {
  width: 36px; height: 36px; margin: 0 auto; border-radius: 50%;
  background: var(--primary-600); color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-top: 14px; font-size: 16px; }
.step p { margin-top: 8px; color: var(--text-2); line-height: 21px; }

.conn-grid {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.conn-chip {
  padding: 8px 16px; background: var(--surface-0); border: 1px solid var(--surface-200);
  border-radius: 999px; font-size: 14px; color: var(--surface-700); font-weight: 500;
  box-shadow: var(--shadow-1);
}

.cta-band {
  background:
    radial-gradient(600px 300px at 80% 0%, var(--primary-700), transparent 60%),
    var(--surface-900);
  color: #fff; padding: 64px 0; text-align: center;
}
.cta-band h2 { font-size: 28px; }
.cta-band p { margin-top: 10px; color: var(--surface-300); }
.cta-band .btn { margin-top: 24px; }
.btn-invert { background: #fff; border-color: #fff; color: var(--surface-900); }
.btn-invert:hover { background: var(--surface-100); border-color: var(--surface-100); }

.footer { padding: 32px 0; border-top: 1px solid var(--surface-200); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--surface-500); text-decoration: none !important; }
.footer-links a:hover { color: var(--text); }
.footer-copy { margin-left: auto; color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .hero h1 { font-size: 34px; line-height: 42px; }
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .features-grid, .steps { grid-template-columns: 1fr; }
  .mock-chat { display: none; }
  .footer-copy { margin-left: 0; }
}
