/* ============================================================
   Светлый неоморфизм — Skolkovo Pitch Deck
   АнтиПират 2.0
   ============================================================ */

:root {
  --bg: #e4e7ef;
  --surface: #e4e7ef;
  --surface-alt: #e8ebf2;
  --surface-card: #eceef4;
  --shadow-dark: #c5c9d5;
  --shadow-light: #ffffff;
  --text: #2d3043;
  --text-secondary: #6b6f80;
  --text-dim: #9a9eb0;
  --accent: #4f57ff;
  --accent-soft: rgba(79, 87, 255, 0.12);
  --accent-glow: rgba(79, 87, 255, 0.28);
  --green: #22a774;
  --green-soft: rgba(34, 167, 116, 0.12);
  --amber: #d9882e;
  --amber-soft: rgba(217, 136, 46, 0.12);
  --red: #e0453b;
  --red-soft: rgba(224, 69, 59, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --neu-out: 7px 7px 16px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
  --neu-out-sm: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  --neu-in: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
  --neu-in-sm: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
  --sidebar-w: 320px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ── Confidentiality banner ────────────────────────── */
.confidential-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 20px;
  background: linear-gradient(
    90deg,
    rgba(224, 69, 59, 0.1),
    rgba(217, 136, 46, 0.1),
    rgba(224, 69, 59, 0.1)
  );
  border-bottom: 1px solid rgba(224, 69, 59, 0.25);
  backdrop-filter: blur(8px);
}

.confidential-banner .cb-icon {
  flex-shrink: 0;
  color: var(--red);
  animation: cb-pulse 2.4s ease-in-out infinite;
}

.confidential-banner .cb-text {
  font-family: 'Roboto', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

.confidential-banner .cb-divider {
  width: 1px;
  height: 14px;
  background: rgba(224, 69, 59, 0.25);
}

.confidential-banner .cb-text-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

@keyframes cb-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ── Sidebar ────────────────────────── */
.sidebar {
  position: fixed;
  top: 42px;
  left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - 42px);
  background: var(--surface);
  box-shadow: 4px 0 12px var(--shadow-dark);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--shadow-dark);
  border-radius: 4px;
}

.sidebar-logo {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--shadow-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-logo .logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #7c83ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -2px -2px 6px var(--shadow-light);
}

.sidebar-logo .logo-text {
  min-width: 0;
}

.sidebar-logo h1 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.sidebar-logo .logo-sub {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-section-label {
  padding: 0 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 18px 0 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.nav-link .nav-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  margin-left: auto;
}

.nav-link.active .nav-num {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 24px;
  border-top: 1px solid var(--shadow-dark);
}

.sidebar-footer .ver {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}

/* ── Main content ────────────────────────── */
.main {
  margin-left: var(--sidebar-w);
  padding: 64px 56px 80px;
  max-width: 100%;
}

/* ── Section ────────────────────────── */
.section {
  margin-bottom: 64px;
  scroll-margin-top: 60px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-card);
  box-shadow: var(--neu-out-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-head .num {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

.section-intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ── Cards ────────────────────────── */
.card {
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--neu-out);
  padding: 28px;
  margin-bottom: 20px;
}

.card.compact {
  padding: 22px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-head .ci {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.card-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.card-head h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--text-secondary);
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ── Grid ────────────────────────── */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Stat row ────────────────────────── */
.stat-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 140px;
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-out-sm);
  padding: 24px;
  text-align: center;
}

.stat .num-big {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1.1;
}

.stat .lbl {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ── Callout ────────────────────────── */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--neu-out-sm);
  padding: 22px 26px;
  margin-bottom: 20px;
}

.callout .ci {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.callout p {
  font-size: 14px;
  color: var(--text-secondary);
}

.callout p strong {
  color: var(--text);
}

.callout.green .ci {
  color: var(--green);
}
.callout.green {
  border-left: 3px solid var(--green);
}
.callout.amber .ci {
  color: var(--amber);
}
.callout.amber {
  border-left: 3px solid var(--amber);
}
.callout.red .ci {
  color: var(--red);
}
.callout.red {
  border-left: 3px solid var(--red);
}

/* ── Table ────────────────────────── */
.table-wrap {
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--neu-out-sm);
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  background: var(--surface);
  border-bottom: 2px solid var(--shadow-dark);
}

td {
  padding: 13px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--shadow-dark);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--surface-alt);
}

/* ── Pills ────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Pills внутри таблиц — сохраняем ячейку как table-cell, центрируем по вертикали */
td.pill {
  display: table-cell !important;
  vertical-align: middle;
  text-align: center;
  padding-top: 13px;
  padding-bottom: 13px;
}

/* Вложенный span внутри td.pill для визуального бейджа */
td.pill span {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

td.pill.green span {
  background: linear-gradient(180deg, #e8f8ee 0%, #d4f0df 100%);
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.2);
}
td.pill.amber span {
  background: linear-gradient(180deg, #fef5e7 0%, #fce8c8 100%);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.2);
}
td.pill.red span {
  background: linear-gradient(180deg, #fdeaea 0%, #f8d5d5 100%);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.2);
}
td.pill.accent span {
  background: linear-gradient(180deg, #e8e9ff 0%, #d4d6ff 100%);
  color: var(--accent);
  border-color: rgba(79, 87, 255, 0.2);
}

/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface-card);
  box-shadow: var(--neu-out-sm);
  color: var(--text);
}

.btn:hover {
  box-shadow: var(--neu-in-sm);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -4px -4px 10px var(--shadow-light);
}

.btn.primary:hover {
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.2),
    inset -3px -3px 6px rgba(255, 255, 255, 0.2);
}

/* ── Hero ────────────────────────── */
.hero {
  background: var(--surface-card);
  border-radius: 24px;
  box-shadow: var(--neu-out);
  padding: 60px 48px;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero .hero-stat {
  text-align: center;
}

.hero .hero-stat .hs-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.hero .hero-stat .hs-lbl {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ── Market funnel ────────────────────────── */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.funnel-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.funnel-bar {
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  box-shadow: var(--neu-out-sm);
  transition: width 0.6s ease;
}

.funnel-bar.tam {
  background: linear-gradient(135deg, #4f57ff, #7c83ff);
  width: 100%;
}
.funnel-bar.sam {
  background: linear-gradient(135deg, #22a774, #2dd38a);
  width: 65%;
}
.funnel-bar.som {
  background: linear-gradient(135deg, #d9882e, #f0b86e);
  width: 30%;
}

.funnel-label {
  min-width: 80px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.funnel-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
  text-align: right;
}

/* ── Timeline ────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--shadow-dark);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface-card);
  box-shadow: var(--neu-out-sm);
  border: 2px solid var(--accent);
}

.timeline-item.done::before {
  background: var(--accent);
}

.timeline-item .ti-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.timeline-item .ti-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0;
}

.timeline-item .ti-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Score bar ────────────────────────── */
.score-item {
  margin-bottom: 18px;
}

.score-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.score-top .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.score-top .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.score-track {
  height: 10px;
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent), #7c83ff);
  transition: width 0.8s ease;
}

/* ── Competitor matrix ────────────────────────── */
.matrix-cell {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.matrix-cell.yes {
  color: var(--green);
}
.matrix-cell.no {
  color: var(--red);
}
.matrix-cell.partial {
  color: var(--amber);
}

/* Таблица конкурентов — стили колонок */
#competitors th {
  text-align: left;
}

/* Первая колонка — название параметра */
#competitors td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

/* Вторая колонка — АнтиПират 2.0 */
#competitors th:nth-child(2) {
  color: var(--accent);
}

/* Базовый стиль колонки — акцент для ячеек без matrix-cell (цена и т.д.) */
#competitors td:nth-child(2) {
  text-align: left !important;
  font-weight: 700;
  color: var(--accent);
}

/* matrix-cell во второй колонке — сохраняет свои цвета (зелёный/красный/янтарь) */
#competitors td:nth-child(2).matrix-cell.yes {
  color: var(--green);
}
#competitors td:nth-child(2).matrix-cell.no {
  color: var(--red);
}
#competitors td:nth-child(2).matrix-cell.partial {
  color: var(--amber);
}

/* 3, 4, 5 колонки — конкуренты, выравнивание влево (как первая колонка) */
#competitors td:nth-child(3),
#competitors td:nth-child(4),
#competitors td:nth-child(5) {
  text-align: left !important;
}

.matrix-cell.yes {
  color: var(--green);
}
.matrix-cell.no {
  color: var(--red);
}
.matrix-cell.partial {
  color: var(--amber);
}

/* Первая колонка матрицы — выравнивание влево, жирность */
#competitors td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

/* Колонка АнтиПират 2.0 — выделение */
#competitors th:nth-child(2) {
  color: var(--accent);
}

#competitors td:nth-child(2) {
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* Все колонки кроме первой — центр */
#competitors td:nth-child(n + 2) {
  text-align: center;
}

/* Колонка цены — влево */
#competitors td.price-col {
  text-align: left;
}

/* ── Pricing cards ────────────────────────── */
.pricing-card {
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--neu-out);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  box-shadow:
    var(--neu-out),
    0 0 0 2px var(--accent);
}

.pricing-card .pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-card .pc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-card .pc-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.pricing-card .pc-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.pricing-card .pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-card .pc-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--shadow-dark);
}

.pricing-card .pc-features li:last-child {
  border-bottom: none;
}

/* ── Progress ────────────────────────── */
.progress-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.progress-row .pr-label {
  min-width: 160px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.progress-row .pr-track {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
  overflow: hidden;
}

.progress-row .pr-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--green), #2dd38a);
}

.progress-row .pr-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  min-width: 48px;
  text-align: right;
}

/* ── Footer ────────────────────────── */
.footer {
  margin-top: 60px;
  padding: 32px;
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--neu-out-sm);
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-dim);
}

.footer .footer-contacts {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer .footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Print ────────────────────────── */
@media print {
  /* Сброс цветов — белый фон, чёрный текст */
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* Скрыть сайдбар, баннер, кнопку печати */
  .sidebar,
  .confidential-banner,
  #print-btn,
  .progress-bar-wrap,
  .scroll-progress {
    display: none !important;
  }

  /* Контент на всю ширину */
  .main {
    margin-left: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* Секции без разрыва страницы внутри */
  .section {
    page-break-inside: avoid;
  }

  /* Карточки, hero, callout — плоские, только тонкая рамка */
  .card,
  .callout,
  .hero,
  .pricing-card,
  .stat-card,
  .table-wrap,
  .icon-wrap,
  .ci {
    background: #fff !important;
    box-shadow: 0 0 0 1px #ddd !important;
    border-radius: 4px !important;
  }

  /* Заголовки — чёрные */
  h1,
  h2,
  h3,
  h4 {
    color: #000 !important;
  }

  /* Текст — тёмно-серый */
  p,
  li,
  td,
  th,
  span {
    color: #222 !important;
  }

  /* Таблицы — простые рамки */
  table {
    border-collapse: collapse !important;
  }
  th {
    background: #f5f5f5 !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
  }
  td {
    border: 1px solid #ddd !important;
    color: #222 !important;
  }

  /* Бейджи — плоские цветные, без теней и градиентов */
  td.pill span {
    box-shadow: none !important;
    text-shadow: none !important;
    border: 1px solid currentColor !important;
  }

  /* Прогресс-бары — статичные заливки */
  .pr-fill {
    box-shadow: none !important;
  }

  /* Графики — без теней */
  .chart-bar {
    box-shadow: none !important;
  }

  /* SVG-иконки — чёрные */
  svg {
    color: #555 !important;
  }
}

/* ── Scroll reveal ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

/* ── Chart bars ────────────────────────── */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 200px;
  padding: 20px 0;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chart-bar {
  width: 100%;
  max-width: 60px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), #7c83ff);
  box-shadow: var(--neu-out-sm);
  transition: height 0.8s ease;
  min-height: 4px;
}

.chart-bar.alt {
  background: linear-gradient(180deg, var(--green), #2dd38a);
}

.chart-bar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-align: center;
}

.chart-bar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
