/* Общий стиль статей LuminAI — подключается во все статьи */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500;600;700&display=swap');

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

/* Округлый шрифт для заголовков (как в логотипе) — вытянуты по высоте */
.article-hero h1, .article-section h2, .article-cta h3, .more-articles h2 {
  font-family: 'Comfortaa', sans-serif;
  letter-spacing: -0.03em;
  transform: scaleY(1.12);
  transform-origin: center;
}

:root {
  --bg-base: #1a1a1f;
  --bg-deep: #0f0f13;
  --bg-card: rgba(40, 40, 50, 0.4);
  --amber: #FFD23F;
  --orange: #FF8C42;
  --coral: #FF5E5E;
  --gold-gradient: linear-gradient(135deg, #FFD23F 0%, #FF8C42 50%, #FF5E5E 100%);
  --text-light: #f5f5f5;
  --text-muted: #9a9aa0;
  --border-soft: rgba(255, 255, 255, 0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 140, 66, 0.12), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(255, 94, 94, 0.10), transparent 40%),
    linear-gradient(180deg, #1a1a1f 0%, #0f0f13 100%);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.7;
}

.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ШАПКА */
header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(15, 15, 19, 0.8);
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
}
header .container {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-header { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.logo-header img { height: 56px; width: auto; display: block; }
.logo-slogan {
  font-family: 'Comfortaa', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  padding-left: 4px;
}
.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.back-link:hover { color: var(--amber); }

/* HERO СТАТЬИ */
.article-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.article-hero .ico { font-size: 64px; margin-bottom: 16px; filter: drop-shadow(0 0 20px rgba(255,140,66,0.4)); }
.article-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-hero h1 .accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.article-hero .lead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* СЕКЦИИ СТАТЬИ */
.article-body { padding-bottom: 40px; }
.article-section { margin-bottom: 40px; }
.article-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.article-section h2 .em { color: var(--amber); }
.article-section p { font-size: 16px; color: var(--text-light); margin-bottom: 14px; }
.article-section ul { list-style: none; margin: 12px 0; }
.article-section ul li {
  font-size: 16px;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-light);
}
.article-section ul li::before {
  content: '✦';
  color: var(--amber);
  position: absolute;
  left: 0;
  top: 8px;
}

/* Карточка-врезка (выгоды/вопросы) */
.info-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 16px 0;
}
.info-card.accent { border-color: rgba(255, 210, 63, 0.25); background: linear-gradient(135deg, rgba(255,210,63,0.08), rgba(255,94,94,0.04)); }

/* Шаги «как работает» */
.flow { display: grid; gap: 12px; margin: 16px 0; }
.flow-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 20px;
}
.flow-step .n {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #1a1a1f; font-size: 16px;
}
.flow-step .t b { display: block; margin-bottom: 2px; }
.flow-step .t span { color: var(--text-muted); font-size: 14px; }

/* CTA */
.article-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,210,63,0.12), rgba(255,94,94,0.08));
  border: 1px solid rgba(255,210,63,0.25);
  border-radius: 24px;
  padding: 40px;
  margin: 48px 0;
}
.article-cta h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.article-cta p { color: var(--text-muted); margin-bottom: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--gold-gradient);
  color: #1a1a1f;
  box-shadow: 0 0 40px rgba(255,140,66,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(255,140,66,0.7); }
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-light);
  border: 1px solid rgba(255,210,63,0.2);
  margin-left: 8px;
}
.btn-secondary:hover { background: rgba(255,210,63,0.08); border-color: var(--amber); }

/* Другие статьи (низ) */
.more-articles { margin: 40px 0; }
.more-articles h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.more-grid a {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px; font-weight: 600;
  display: flex; gap: 10px; align-items: center;
  transition: all 0.2s;
}
.more-grid a:hover { border-color: rgba(255,210,63,0.25); transform: translateY(-2px); }

/* FOOTER */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .article-hero h1 { font-size: 30px; }
  .article-hero .lead { font-size: 17px; }
  .article-section h2 { font-size: 22px; }
  .more-grid { grid-template-columns: 1fr; }
  .btn-secondary { margin-left: 0; margin-top: 12px; }
}
