/* Light Premium Glassmorphism 2026 — ЭХОАУДИТ (Apple + Bloomberg) */
:root {
  --bg-deep: #f7f8fb;
  --bg-blur: rgba(255, 255, 255, 0.75);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --neon-cyan: rgba(56, 189, 248, 0.85);
  --neon-blue: rgba(37, 99, 235, 0.85);
  --neon-shimmer: 0 0 18px rgba(56, 189, 248, 0.18), 0 0 34px rgba(99, 102, 241, 0.12);
  --shadow-deep: 0 20px 70px rgba(15, 23, 42, 0.12), 0 10px 25px rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #2563eb;
  --danger: #ef4444;
  --success: #16a34a;
  /* Логотип ЭхоАудит — премиум палитра */
  --logo-deep-blue: #1e40af;
  --logo-blue: #2563eb;
  --logo-purple: #6366f1;
  --logo-violet: #7c3aed;
  --logo-glass-white: rgba(255, 255, 255, 0.92);
  --logo-dark-grey: #64748b;
  --logo-neon-glow: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(37, 99, 235, 0.2);
  --font-logo: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 18% 10%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 100% 65% at 82% 85%, rgba(99, 102, 241, 0.16) 0%, transparent 55%),
    var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — glass, neon border */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px);
  background: rgba(247, 248, 251, 0.8);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Логотип ЭхоАудит — иконка (полосы) + типографика */
.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  flex-shrink: 0;
  width: 44px;
  height: 36px;
  filter: drop-shadow(var(--logo-neon-glow));
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-bar {
  transition: transform 0.4s ease-out;
  transform-origin: 0 0;
}

/* Логотип статичный: без анимации, без исчезаний */

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--font-logo);
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.logo-name-echo {
  font-weight: 700;
  color: var(--logo-blue);
  text-shadow: 0 0 24px rgba(37, 99, 235, 0.35);
}

.logo-name-audit {
  font-weight: 500;
  color: var(--logo-dark-grey);
}

.logo-tagline {
  font-family: var(--font-logo);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--logo-dark-grey);
  opacity: 0.95;
}

.logo-name,
.logo-tagline {
  animation: logo-fade-in 1s ease-out both;
}

.logo-tagline {
  animation-delay: 0.25s;
}

@keyframes logo-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav {
  --nav-bg: rgba(255, 255, 255, 0.55);
  --nav-stroke: rgba(255, 255, 255, 0.78);
  --nav-shadow: 0 18px 60px rgba(15, 23, 42, 0.14);

  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--nav-bg));
  border: 1px solid var(--nav-stroke);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(22px);
  color: var(--text-muted);
}

.nav-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;

  padding: 10px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  opacity: 0;
  filter: blur(16px) saturate(1.4);
  transform: scale(0.98);
  transition: opacity 180ms ease, transform 220ms ease;
  background:
    radial-gradient(70% 80% at 25% 40%, rgba(0, 255, 209, 0.75), transparent 60%),
    radial-gradient(75% 80% at 70% 35%, rgba(59, 130, 246, 0.9), transparent 62%),
    radial-gradient(70% 75% at 55% 85%, rgba(168, 85, 247, 0.8), transparent 60%);
}

.nav-item::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 180ms ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18));
  mix-blend-mode: overlay;
}

.nav-item:hover {
  color: var(--text);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 0 26px rgba(34, 211, 238, 0.18),
    0 0 46px rgba(59, 130, 246, 0.16),
    0 0 64px rgba(168, 85, 247, 0.12);
}

.nav-item:hover::before,
.nav-item:focus-visible::before {
  opacity: 1;
  transform: scale(1.02);
  animation: nav-siri-flow 1400ms ease-out both;
}

.nav-item:hover::after,
.nav-item:focus-visible::after {
  opacity: 1;
}

.nav-item:focus-visible {
  outline: none;
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.62) inset,
    0 0 0 3px rgba(34, 211, 238, 0.22),
    0 0 48px rgba(59, 130, 246, 0.18);
}

@keyframes nav-siri-flow {
  0% { filter: blur(18px) saturate(1.35); transform: scale(0.98); }
  55% { filter: blur(14px) saturate(1.7); transform: scale(1.03); }
  100% { filter: blur(16px) saturate(1.45); transform: scale(1.02); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), #06b6d4);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: var(--neon-shimmer), var(--shadow-deep);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5), 0 0 60px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.btn-cta-neon {
  animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: var(--neon-shimmer), var(--shadow-deep); }
  50% { box-shadow: 0 0 35px rgba(34, 211, 238, 0.45), 0 0 70px rgba(59, 130, 246, 0.25); }
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-border);
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-metrics {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.hero-metric-card {
  min-width: 320px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(20px);
}

.hero-metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-metric-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
}

.hero-metric-sub {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-metric-desc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-metric-footnote {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Glass panels */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.glass-panel-neon {
  box-shadow: var(--shadow-deep), var(--neon-shimmer), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

/* Demo section */
.section-demo {
  padding: 48px 0 140px;
}

.demo-stand-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--text);
}

/* Ряд заявки: всегда на всю ширину, даже внутри сетки */
.lead-row {
  width: 100%;
  margin-top: 18px;
  justify-self: stretch;
  align-self: stretch;
  grid-column: 1 / -1;
}

.demo-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar: критерии + эталоны */
.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.criteria-toggle {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
}

.criteria-toggle:hover {
  color: var(--text);
  border-color: var(--neon-cyan);
}

.standards-panel {
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.standards-panel h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.standards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.standards-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.standards-list input {
  accent-color: var(--accent);
}

.usage-tracker {
  padding: 14px 16px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
}

.usage-tracker strong {
  color: var(--neon-cyan);
}

/* File list + waveform */
.demo-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  padding: 14px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.file-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.file-remove-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.3);
  color: var(--danger);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove-btn:hover {
  background: rgba(248, 113, 113, 0.5);
}

.file-display-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.file-size {
  font-size: 11px;
  color: var(--text-muted);
}

.file-progress {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.file-progress.ready {
  color: var(--success);
}

.file-progress.transcribing {
  color: var(--accent);
}

/* Waveform player — custom, no native controls */
.waveform-player {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.waveform-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--neon-blue), #06b6d4);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.waveform-play-btn:hover {
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.6);
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  flex: 1;
}

.waveform-bar {
  width: 4px;
  border-radius: 2px;
  background: var(--glass-border);
  min-height: 6px;
  transition: background 0.2s;
}

.waveform-bar.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.waveform-time {
  font-size: 11px;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

/* Primary action */
.demo-submit-wrap {
  margin-top: 20px;
}

.demo-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--neon-blue), #06b6d4);
  border: 1px solid var(--neon-cyan);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--neon-shimmer), var(--shadow-deep);
}

.demo-submit:hover:not(:disabled) {
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.5), 0 0 70px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* File input zone */
.file-drop-zone {
  padding: 24px;
  border: 2px dashed var(--glass-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.file-drop-zone:hover {
  border-color: var(--neon-cyan);
}

.file-drop-zone input {
  display: none;
}

.file-drop-zone label {
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}

.file-drop-zone label span {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.demo-status {
  font-size: 13px;
  margin-top: 8px;
  color: var(--text-muted);
}

.demo-status.error {
  color: var(--danger);
}

/* Result: two columns — file list left, conclusions right */
.result-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .result-layout {
    grid-template-columns: 1fr;
  }
}

.conclusions-window {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-deep);
  max-height: 70vh;
  overflow-y: auto;
}

.result-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Липкая панель заявки снизу */
.sticky-leadbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 14px;
  background: rgba(247, 248, 251, 0.75);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.08);
}

.sticky-leadbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 10px;
}

.sticky-leadbar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.sticky-leadbar-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.sticky-leadbar-btn {
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(56, 189, 248, 0.9));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.25), 0 12px 28px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.sticky-leadbar-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .sticky-leadbar-inner { flex-direction: column; align-items: stretch; }
  .sticky-leadbar-btn { width: 100%; }
}

/* Окно захвата клиентов */
.lead-window {
  text-align: center;
  padding: 22px 22px;
  border-radius: 20px;
  max-width: none;
  margin: 0 auto;
  width: 100%;
}

.lead-window h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.lead-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.lead-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-wide {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .lead-grid { grid-template-columns: 1fr; }
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  color: var(--text);
  font-size: 14px;
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 10px 28px rgba(15, 23, 42, 0.08),
    0 0 22px rgba(34, 211, 238, 0.10),
    0 0 30px rgba(59, 130, 246, 0.08),
    0 0 34px rgba(168, 85, 247, 0.06);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.lead-form input:hover,
.lead-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.36) inset,
    0 12px 32px rgba(15, 23, 42, 0.10),
    0 0 28px rgba(34, 211, 238, 0.14),
    0 0 42px rgba(59, 130, 246, 0.10),
    0 0 46px rgba(168, 85, 247, 0.08);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(34, 211, 238, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.80));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.44) inset,
    0 0 0 3px rgba(34, 211, 238, 0.16),
    0 14px 36px rgba(15, 23, 42, 0.10),
    0 0 34px rgba(34, 211, 238, 0.20),
    0 0 54px rgba(59, 130, 246, 0.14),
    0 0 62px rgba(168, 85, 247, 0.12);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(15, 23, 42, 0.52);
}

.lead-form input.lead-phone {
  padding-right: 18px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lead-submit {
  width: 100%;
  max-width: 520px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(56, 189, 248, 0.9));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.25), 0 14px 34px rgba(15, 23, 42, 0.12);
}

.lead-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.lead-window-sending {
  animation: leadPulse 1.2s ease-in-out infinite;
}

@keyframes leadPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.lead-status {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.conclusions-window h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.conclusions-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* Transcription bubbles */
.transcription-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
}

.bubble-manager {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.bubble-client {
  align-self: flex-end;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bubble-timestamp {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.bubble.highlight-error {
  border-color: var(--danger);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.1);
}

/* Audit stages panel */
.audit-stages-panel {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  border: 1px solid var(--glass-border);
}

.audit-stages-panel h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text);
}

.audit-stage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.audit-stage-row:last-child {
  border-bottom: none;
}

.audit-stage-name {
  color: var(--text-muted);
}

.audit-stage-score {
  font-weight: 600;
  color: var(--success);
}

.audit-stage-score.problem {
  color: var(--danger);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.audit-stage-score.problem:hover {
  color: #fca5a5;
}

.audit-stage-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Popover for recommendation */
.popover {
  position: fixed;
  z-index: 200;
  max-width: 360px;
  padding: 14px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--neon-cyan);
  border-radius: 12px;
  box-shadow: var(--neon-shimmer), var(--shadow-deep);
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--bg-deep);
  border-left: 1px solid var(--neon-cyan);
  border-top: 1px solid var(--neon-cyan);
  transform: rotate(45deg);
}

/* How it works + Benefits */
.section {
  padding: 56px 0;
}

.section h2,
.section-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 32px;
  text-align: center;
  color: var(--text);
}

/* Опыт и экспертиза */
.section-expertise .section-title {
  margin-bottom: 20px;
}

.expertise-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 22px;
}

.expertise-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.expertise-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.expertise-logo {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(15, 23, 42, 0.82);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 8px;
}

.expertise-logo img {
  display: block;
  height: 26px;
  max-width: 140px;
  width: auto;
}

.expertise-logo span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
}

@media (max-width: 900px) {
  .expertise-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .expertise-logos {
    grid-template-columns: 1fr;
  }
  .expertise-logo img {
    max-width: 180px;
  }
}

.expertise-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Пример отчёта */
.sample-report {
  margin-top: 18px;
  padding: 20px 20px;
  border-radius: 20px;
}

.sample-report h3 {
  margin: 0 0 12px;
  font-size: 18px;
  text-align: center;
}

.sample-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
}

.sample-kpi {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sample-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
}

.donut {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.10));
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.18);
}

.legend-label {
  flex: 1;
  color: var(--text-muted);
}

.legend-val {
  font-weight: 800;
  color: var(--text);
}

.report-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 16px 16px;
}

.report-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.report-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.report-block {
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.report-block-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.report-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.84);
}

.report-good {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.06);
}

.report-good .report-block-title {
  color: rgba(22, 163, 74, 0.95);
}

.report-bad {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
}

.report-bad .report-block-title {
  color: rgba(239, 68, 68, 0.95);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step {
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-blue), #06b6d4);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.step h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 28px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow-deep), 0 0 30px rgba(34, 211, 238, 0.12);
}

.benefit-card h3 {
  font-size: 17px;
  margin: 0 0 12px;
  color: var(--text);
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Философия ЭхоАудит */
.section-philosophy .section-title {
  margin-bottom: 28px;
}

.comparison-table-wrap {
  overflow-x: auto;
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border: 1px solid var(--glass-border);
}

.comparison-table thead th {
  background: rgba(59, 130, 246, 0.15);
  color: var(--text);
  font-weight: 600;
}

.comparison-table thead th:first-child {
  color: var(--text-muted);
  background: rgba(248, 113, 113, 0.08);
}

.comparison-table thead th:last-child {
  color: var(--neon-cyan);
  border-color: rgba(34, 211, 238, 0.35);
}

.comparison-table tbody td {
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table tbody td:last-child {
  color: var(--text);
  background: rgba(34, 211, 238, 0.06);
}

/* Наш метод: 5 столпов */
.section-method .section-title {
  margin-bottom: 24px;
}

.method-story {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.method-story p {
  margin: 0;
}

.pillars-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.pillar-card {
  padding: 20px 18px;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.pillar-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-purple));
  color: var(--logo-glass-white);
  margin-bottom: 12px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
}

.pillar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.pillar-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Оцифровка ДНК */
.section-dna .section-title {
  margin-bottom: 24px;
}

.dna-story {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.dna-story p {
  margin: 0;
}

/* Дисциплина без надзора */
.section-extra .section-title {
  margin-bottom: 20px;
}

.discipline-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 28px;
}

.discipline-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* Стратегический центр управления (legacy, kept for any refs) */
.section-strategic .section-title {
  margin-bottom: 28px;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.audience-card {
  padding: 28px 24px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.audience-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--neon-shimmer), 0 0 40px rgba(59, 130, 246, 0.15);
}

.audience-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.audience-value {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Побочные эффекты внедрения */
.section-extra .section-title {
  margin-bottom: 24px;
}

.extra-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

.extra-benefit {
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  backdrop-filter: blur(16px);
}

.extra-benefit::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
  margin-right: 6px;
}

/* Виджет «Рекомендация для РОПа» */
.rop-widget {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(12px);
}

.rop-widget h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text);
}

.rop-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rop-list li {
  margin-bottom: 8px;
}

.rop-list li:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hidden {
  display: none;
}

/* Collapsible criteria */
.criteria-editor {
  margin-top: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.criteria-editor textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  font-size: 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  resize: vertical;
}

.criteria-editor textarea::placeholder {
  color: var(--text-muted);
}
