:root {
  --bg: #040913;
  --bg-soft: #081120;
  --panel: rgba(10, 18, 33, 0.72);
  --panel-2: rgba(12, 23, 42, 0.92);
  --line: rgba(110, 175, 255, 0.18);
  --line-2: rgba(120, 214, 255, 0.28);
  --text: #f4f8ff;
  --muted: #91a3c2;
  --primary: #2092ff;
  --primary-2: #29d1ff;
  --success: #18d27b;
  --warning: #ffbd4a;
  --danger: #ff5d82;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
body { overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
input, textarea, select {
  width: 100%;
  background: rgba(8, 16, 29, 0.9);
  color: var(--text);
  border: 1px solid rgba(103, 157, 255, 0.15);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: .2s ease;
}
input:focus, textarea:focus, select:focus { border-color: rgba(32,146,255,.55); box-shadow: 0 0 0 4px rgba(32,146,255,.12); }
label { display: grid; gap: 10px; margin-bottom: 14px; color: var(--muted); }
textarea { resize: vertical; min-height: 120px; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(60,95,145,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(60,95,145,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}
.bg-orb {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .26;
}
.orb-1 { top: -80px; left: -140px; background: #195dff; }
.orb-2 { right: -100px; top: 15%; background: #11c9ff; }

.app-shell { max-width: 520px; margin: 0 auto; min-height: 100vh; padding: 14px 14px calc(104px + var(--safe-bottom)); position: relative; }
.glass {
  background: linear-gradient(180deg, rgba(17, 27, 48, .82), rgba(8, 15, 28, .92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}
.neon-line { box-shadow: var(--shadow), 0 0 0 1px rgba(32,146,255,.18), 0 0 25px rgba(32,146,255,.18) inset; }
.topbar {
  position: sticky; top: 10px; z-index: 8; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; margin-bottom: 16px;
}
.brand-row { display: flex; gap: 12px; align-items: center; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(32,146,255,.24), rgba(32,146,255,.08)); color: #8dd4ff;
  box-shadow: inset 0 0 0 1px rgba(97,159,255,.18), 0 0 18px rgba(41,209,255,.18);
}
.brand-title { font-size: 1.15rem; font-weight: 800; letter-spacing: .12em; }
.brand-subtitle { font-size: .7rem; letter-spacing: .18em; color: #b8c8e8; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(11, 21, 38, .9); color: var(--text);
}
.views { position: relative; }
.view { display: none; animation: fadeUp .35s ease; }
.view.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0);} }
.hero { padding: 20px; margin-bottom: 16px; }
.hero h1 { margin: 12px 0 10px; font-size: clamp(1.7rem, 4vw, 2.25rem); line-height: 1.05; }
.hero-copy { color: var(--muted); line-height: 1.55; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .day-pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 7px 12px; font-size: .78rem; border: 1px solid var(--line);
  background: rgba(7,15,30,.8); color: #d7e4ff;
}
.chip-blue, .day-pill { background: rgba(32,146,255,.14); border-color: rgba(32,146,255,.28); color: #8ed0ff; }
.hero-actions, .cta-row { display: flex; gap: 10px; margin-top: 18px; }
.cta-row.compact { margin-top: 14px; }
.primary-btn, .ghost-btn, .inline-link, .tab, .nav-item {
  border: none; transition: .2s ease; color: var(--text);
}
.primary-btn {
  flex: 1; padding: 14px 16px; border-radius: 16px; font-weight: 700;
  background: linear-gradient(180deg, #28a2ff, #1f6bff); box-shadow: 0 12px 30px rgba(31,107,255,.34);
}
.primary-btn:hover { transform: translateY(-1px); }
.ghost-btn {
  flex: 1; padding: 14px 16px; border-radius: 16px; font-weight: 600;
  background: rgba(12,22,40,.85); border: 1px solid var(--line);
}
.ghost-btn.small { flex: 0 0 auto; padding: 10px 12px; }
.inline-link { background: transparent; color: #7cc7ff; padding: 0; font-weight: 600; }
.stats-grid, .insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.stat-card, .focus-card, .builder-card, .preview-card, .chat-card, .script-card, .objection-card, .scale-card, .pitch-card, .profile-card, .pricing-card { padding: 18px; }
.stat-label, .section-kicker { color: #8fb0de; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.big-copy { display: block; font-size: 1.6rem; margin-top: 10px; }
.card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ring-wrap { position: relative; width: 124px; height: 124px; margin-top: 12px; }
.ring { width: 124px; height: 124px; transform: rotate(-90deg); }
.ring-bg, .ring-value { fill: none; stroke-width: 8; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring-value { stroke: url(#grad); stroke: var(--primary-2); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 302; transition: stroke-dashoffset .35s ease; }
.ring-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-center strong { font-size: 1.45rem; }
.ring-center span { font-size: .8rem; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 14px; }
.roadmap-list { display: grid; gap: 12px; }
.roadmap-card { padding: 16px; position: relative; overflow: hidden; }
.roadmap-card.done { border-color: rgba(24,210,123,.26); box-shadow: var(--shadow), 0 0 0 1px rgba(24,210,123,.12), inset 0 0 35px rgba(24,210,123,.06); }
.roadmap-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; margin-bottom: 10px; }
.roadmap-card h3 { margin: 0 0 6px; }
.roadmap-card p { color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.roadmap-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.meta-pill { font-size: .76rem; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); color: #c7d7f6; }
.roadmap-actions { display: flex; gap: 10px; }
.roadmap-actions button { flex: 1; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.tab { padding: 11px 14px; border-radius: 14px; background: rgba(8,15,29,.84); border: 1px solid var(--line); white-space: nowrap; }
.tab.active { background: rgba(32,146,255,.16); color: #91d5ff; }
.sales-panel { display: none; gap: 12px; }
.sales-panel.active { display: grid; }
.chat-card { display: grid; gap: 10px; }
.chat-message { padding: 12px 14px; border-radius: 16px; line-height: 1.5; }
.incoming { background: rgba(255,255,255,.05); }
.outgoing { background: linear-gradient(180deg, rgba(32,146,255,.2), rgba(32,146,255,.1)); border: 1px solid rgba(32,146,255,.18); }
.clean-list { margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.pricing-grid { display: grid; gap: 10px; margin-top: 10px; }
.pricing-grid > div {
  display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px;
  border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05);
}
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--safe-bottom));
  width: min(520px, calc(100% - 20px)); padding: 10px; z-index: 9;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
}
.nav-item {
  padding: 10px 4px 8px; border-radius: 16px; background: transparent; color: #b7c7e6;
  display: grid; gap: 5px; justify-items: center;
}
.nav-item span { font-size: 1.1rem; }
.nav-item small { font-size: .66rem; }
.nav-item.active { background: rgba(32,146,255,.16); color: #89d0ff; }
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); z-index: 19;
}
.day-sheet {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(520px, 100%); max-height: 92vh;
  background: linear-gradient(180deg, rgba(11,20,37,.98), rgba(5,11,22,.98)); z-index: 20;
  border-radius: 28px 28px 0 0; border: 1px solid var(--line); border-bottom: none;
  padding: 18px 16px calc(18px + var(--safe-bottom)); overflow-y: auto; box-shadow: 0 -30px 80px rgba(0,0,0,.45);
}
.sheet-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.sheet-copy { color: var(--muted); line-height: 1.6; margin: 12px 0 14px; }
.lesson-box { padding: 16px; color: #dce8ff; line-height: 1.65; margin-bottom: 14px; }
.task-box { display: grid; gap: 14px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 16px; position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(5,11,22,0), rgba(5,11,22,.96) 30%); padding-top: 14px; }
.hidden { display: none !important; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(100px + var(--safe-bottom));
  z-index: 30; max-width: calc(100% - 28px); background: rgba(8,18,32,.96); color: white;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.check-row { display: flex; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.03); }
.check-row input { width: auto; margin-top: 3px; accent-color: var(--primary); }
@media (max-width: 420px) {
  .stats-grid, .insight-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-row, .sheet-actions, .roadmap-actions { flex-direction: column; }
  .bottom-nav { grid-template-columns: repeat(3, 1fr); row-gap: 6px; }
}

/* =========================
   FULL FIX INSIGHT BLOCK
========================= */

/* контейнер */
.insight-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  align-items: stretch !important;
}

/* карточки */
.insight-grid .insight-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
  padding: 18px !important;
}

/* убираем ВСЕ дефолтные отступы */
.insight-grid .insight-card * {
  margin-top: 0 !important;
}

/* задаём одинаковую структуру */
.insight-grid .section-kicker {
  margin-bottom: 10px !important;
}

.insight-grid .insight-card h3 {
  margin-bottom: 10px !important;
  min-height: 44px; /* ключ к выравниванию */
}

/* текст и список одинаково */
.insight-grid .insight-card p,
.insight-grid .insight-card ul {
  margin-top: 10px !important;
}

/* фикс списка (главная проблема) */
.insight-grid .clean-list {
  margin: 0 !important;
  padding-left: 18px;
}

/* выравниваем элементы списка */
.insight-grid .clean-list li {
  margin-bottom: 8px;
}

/* если контент разный — держим высоту */
.insight-grid .insight-card {
  min-height: 170px;
}