/* Извлечено из echolalii.html — 20260920 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #b0b0b8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Glow background ── */
.bg-glow {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 20%, rgba(32,178,170,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(94,234,212,0.05) 0%, transparent 70%);
}

/* ── Tab navigation ── */
.tab-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 0 20px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  background: none; border: none; outline: none; cursor: pointer;
  padding: 16px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  color: #555;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
}
.tab-btn:hover { color: #999; }
.tab-btn.active { color: #fff; }
.tab-btn.active::after {
  content: '';
  position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px;
  background: linear-gradient(90deg, #20b2aa, #5eead4);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(32,178,170,0.5);
}

/* ── Slides ── */
.slide { display: none; position: relative; z-index: 1; }
.slide.active { display: block; animation: fadeSlide 0.5s ease; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

/* ── Typography ── */
h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h1 .glow {
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(32,178,170,0.35));
}

h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700; color: #e8e8f0;
  margin: 40px 0 18px;
  display: flex; align-items: center; gap: 10px;
}
h2 .emoji { font-size: 28px; filter: drop-shadow(0 0 6px rgba(32,178,170,0.3)); }

h3 {
  font-size: 18px; font-weight: 600; color: #ccc;
  margin: 28px 0 10px;
}

p, li {
  font-size: 15.5px; line-height: 1.75;
  color: #9a9aa8;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 17px; color: #6b6b7b;
  font-weight: 400; margin-bottom: 36px;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(32,178,170,0.2);
  box-shadow: 0 0 30px rgba(32,178,170,0.08);
  transform: translateY(-2px);
}
.card .icon { font-size: 28px; margin-bottom: 12px; display: block; }
.card .title { font-size: 15px; font-weight: 600; color: #d0d0dc; margin-bottom: 6px; }
.card .desc { font-size: 13.5px; color: #777; line-height: 1.6; }

/* ── Info box ── */
.info-box {
  background: rgba(32,178,170,0.05);
  border-left: 3px solid rgba(32,178,170,0.3);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { color: #a0a0b0; margin: 0; }
.info-box strong { color: #d0d0e0; }

.warn-box {
  background: rgba(255,80,80,0.04);
  border-left: 3px solid rgba(255,80,80,0.3);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.warn-box p { color: #a0a0b0; margin: 0; }

.green-box {
  background: rgba(80,220,120,0.04);
  border-left: 3px solid rgba(80,220,120,0.3);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.green-box p { color: #a0a0b0; margin: 0; }

/* ── Table ── */
.styled-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.styled-table th {
  background: rgba(32,178,170,0.08);
  color: #c0c0d0; font-weight: 600; font-size: 13px;
  padding: 14px 18px; text-align: left;
}
.styled-table td {
  padding: 14px 18px; font-size: 13.5px; color: #888;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.styled-table tr:hover td { background: rgba(255,255,255,0.015); }

/* ── List ── */
ul.styled { list-style: none; padding: 0; }
ul.styled li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.025);
}
ul.styled li:last-child { border: none; }
ul.styled li::before {
  content: '▸';
  position: absolute; left: 6px; top: 10px;
  color: #20b2aa; font-size: 14px;
}

/* ── Numbered steps ── */
.step {
  display: flex; gap: 18px; margin: 18px 0;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(32,178,170,0.15), rgba(94,234,212,0.1));
  border: 1px solid rgba(32,178,170,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #5eead4;
  box-shadow: 0 0 12px rgba(32,178,170,0.1);
}
.step-text .st { font-weight: 600; color: #c8c8d8; font-size: 15px; }
.step-text .sd { color: #888; font-size: 14px; margin-top: 4px; }

/* ── Tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px; font-weight: 500;
  background: rgba(32,178,170,0.06);
  border: 1px solid rgba(32,178,170,0.12);
  color: #7eccc4;
}

/* ── Stat row ── */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin: 24px 0;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}
.stat .num {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(32,178,170,0.25));
}
.stat .label { font-size: 12.5px; color: #666; margin-top: 6px; }

/* ── Footer nav ── */
.slide-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.nav-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 20px;
  color: #888; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.nav-btn:hover {
  background: rgba(32,178,170,0.08);
  border-color: rgba(32,178,170,0.2);
  color: #bbb;
}
.page-ind { font-size: 12px; color: #444; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
}
.hero-emoji { font-size: 64px; margin-bottom: 20px; display: block; filter: drop-shadow(0 0 20px rgba(32,178,170,0.3)); }
.hero h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 16px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .tab-btn { padding: 14px 14px; font-size: 12px; }
  .slide-inner { padding: 32px 18px 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}



/* Site shell integration — 2026-09-19 */
.echolalii-page .header,
.echolalii-page .mobile-nav,
.echolalii-page .footer {
  font-family: 'Montserrat', sans-serif;
}

.echolalii-page .header p,
.echolalii-page .header li,
.echolalii-page .mobile-nav p,
.echolalii-page .mobile-nav li,
.echolalii-page .footer p,
.echolalii-page .footer li {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 0;
}

.echolalii-page .tab-nav {
  top: 72px;
}

.echolalii-page .footer {
  position: relative;
  z-index: 2;
}

.echolalii-page .footer h4 {
  margin: 0 0 16px;
  display: block;
}

@media (max-width: 768px) {
  .echolalii-page .tab-nav {
    top: 64px;
  }
}

/* Центрирование меню презентации */
@media (min-width: 1100px) {
  .echolalii-page .tab-nav {
    justify-content: center;
  }
}

/* На узких экранах меню должно прокручиваться от первого пункта */
@media (max-width: 1099px) {
  .echolalii-page .tab-nav {
    justify-content: flex-start;
  }
}

/* Автор статьи */
.article-author {
  max-width: 680px;
  margin: -18px auto 34px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: #777788;
  font-size: 13px;
  line-height: 1.5;
}

.article-author > span {
  margin-right: 5px;
}

.article-author a {
  color: #5eead4;
  font-weight: 600;
  text-decoration: none;
}

.article-author a:hover {
  color: #a8f0e2;
  text-decoration: underline;
}

.article-author small,
.article-author time {
  display: block;
  margin-top: 3px;
  color: #686878;
  font-size: 12px;
}
