:root {
  --bg: #0A0F1A;
  --bg-elevated: #111827;
  --bg-card: #131A2A;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #10B981;
  --accent-hover: #059669;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --cta: #F59E0B;
  --cta-hover: #FBBF24;
  --cta-soft: rgba(245, 158, 11, 0.15);
  --border: #1E293B;
  --border-strong: #334155;
  --danger: #EF4444;
  --gradient-text: linear-gradient(135deg, #10B981 0%, #F59E0B 100%);
  --gradient-glow: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 55%);
  --shadow-cta: 0 8px 30px rgba(245, 158, 11, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; font-size: 17.6px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }

/* Remove focus underline on mouse click; keep it for keyboard navigation */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
a, button, summary, [tabindex] { -webkit-tap-highlight-color: transparent; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--gradient-glow);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cta); }

img { max-width: 100%; height: auto; }

::selection { background: var(--accent); color: #0A1014; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text-primary);
}

p { margin: 0 0 16px; color: var(--text-secondary); }

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.55);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .35s cubic-bezier(.4,0,.2,1), backdrop-filter .35s cubic-bezier(.4,0,.2,1), border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform, background;
}

.site-header.is-scrolled {
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: height .3s cubic-bezier(.4,0,.2,1);
}

.site-header.is-scrolled .site-header-inner {
  height: 56px;
}

.site-header .logo-mark {
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
}
.site-header.is-scrolled .logo-mark {
  transform: scale(0.92);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.site-header .btn-cta {
  transition: padding .3s cubic-bezier(.4,0,.2,1), font-size .3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient-text);
  display: grid;
  place-items: center;
  color: #0A0F1A;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-display);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a, .nav-dropdown-btn {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav > a:hover, .nav-dropdown-btn:hover { color: var(--text-primary); }

.nav-dropdown { position: relative; }
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px; right: -16px;
  height: 22px;
  z-index: 5;
}
.nav-dropdown-btn::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown:focus-within .nav-dropdown-btn::after { transform: rotate(225deg) translateY(2px); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--text-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta {
  background: var(--cta);
  color: #0A0F1A;
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover {
  background: var(--cta-hover);
  color: #0A0F1A;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 16px 30px; font-size: 16px; }

.burger { display: none; }

@media (max-width: 768px) {
  .nav { display: none; }
  .burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 980px;
}

.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ============ STATS ============ */
.stats {
  padding: 32px 0 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

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

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 680px;
  margin-bottom: 56px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  flex: 1;
  font-size: 15px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-tag {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

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

/* ============ INDUSTRIES ============ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s, background .2s;
}

.industry:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.industry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.industry-icon {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  flex-shrink: 0;
}
.industry h4 { font-size: 16px; margin: 0; line-height: 1.25; }
.industry p { font-size: 13.5px; margin: 0; line-height: 1.5; color: var(--text-secondary); }

.industry-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.industry-stack:not(:empty) { margin-top: 16px; }
.industry-stack .stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.industry-stack .stack-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.industry-stack .stack-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  padding: 1px;
}

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

/* ============ PROCESS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.process-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.process-step h4 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14px; margin: 0; line-height: 1.55; }

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

/* ============ PRICING ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-card) 50%);
  position: relative;
}

.price-card.featured::before {
  content: 'Чаще всего берут';
  position: absolute;
  top: -1px;
  right: 24px;
  transform: translateY(-50%);
  background: var(--accent);
  color: #0A0F1A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.price-tier { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
}
.price-amount sup { font-size: 18px; color: var(--text-secondary); font-weight: 500; vertical-align: top; margin-right: 4px; }
.price-amount small { font-size: 16px; color: var(--text-secondary); font-weight: 400; }

.price-period { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.price-card .btn { width: 100%; }

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

/* ============ CTA BANNER ============ */
.cta-banner {
  padding: 64px;
  background: linear-gradient(135deg, #0F1B2D 0%, #0A0F1A 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cta-banner p { font-size: 16px; color: var(--text-secondary); max-width: 580px; margin: 0; }

@media (max-width: 768px) {
  .cta-banner { padding: 40px 28px; }
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--text-primary);
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}

.faq-item[open] .faq-q::after { content: '−'; }

.faq-a {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ UTILITIES ============ */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.text-grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fade-in { animation: fadeIn .8s ease-out both; }

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

/* ============ SCROLL-TRIGGERED ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 40px 8px rgba(16, 185, 129, 0.18); }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes type-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes orbit {
  from { transform: rotate(0) translateX(120px) rotate(0); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

/* hero gets animated gradient on h1 */
.hero h1 .grad {
  background: linear-gradient(135deg, #10B981 0%, #34D399 30%, #F59E0B 60%, #FBBF24 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}

/* CTA button gets soft glow pulse */
.btn-cta { animation: glow-pulse 3s ease-in-out infinite; }
.btn-cta:hover { animation: none; }

/* hero eyebrow floats */
.hero-eyebrow { animation: float 4s ease-in-out infinite; }

/* logo mark spin on hover */
.logo-mark { transition: transform .4s cubic-bezier(.6, -0.3, .4, 1.4); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.1); }

/* stat values count animation via tick */
.stat-value { transition: color .3s; }
.stat:hover .stat-value { color: var(--cta); }

/* service icons wobble on hover */
.service-card:hover .service-icon {
  animation: wobble .6s ease-in-out;
  background: var(--gradient-text);
  color: #0A0F1A;
}
@keyframes wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* process numbered step pulse */
.process-step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite;
}

/* ============ MEDIA PLACEHOLDERS (PROMPT TO DESIGNER) ============ */
.media-prompt {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  overflow: hidden;
  isolation: isolate;
}

.media-prompt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  z-index: -1;
}

.media-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-strong);
}

.media-prompt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

.media-prompt-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

.media-prompt-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.media-prompt-body { color: var(--text-secondary); }
.media-prompt-body strong { color: var(--text-primary); font-weight: 600; }
.media-prompt-body code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
}

.media-prompt-typed::after {
  content: '_';
  display: inline-block;
  color: var(--accent);
  animation: type-cursor 1s steps(2) infinite;
  margin-left: 2px;
  font-weight: 700;
}

.media-prompt.large { padding: 40px; min-height: 320px; display: flex; flex-direction: column; }
.media-prompt.large .media-prompt-body { flex: 1; }

.media-prompt-grid {
  display: grid;
  gap: 20px;
}

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

/* hero media slot */
.hero-media {
  margin-top: 56px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  isolation: isolate;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(16,185,129,0.4) 25%, transparent 50%, rgba(245,158,11,0.4) 75%, transparent 100%);
  animation: spin 8s linear infinite;
  z-index: -2;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card);
  border-radius: calc(var(--radius-lg) - 1px);
  z-index: -1;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-media .media-prompt {
  border: none;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============ MARQUEE / TICKER ============ */
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 24px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 56px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.marquee-item::before {
  content: '◆';
  color: var(--accent);
  font-size: 8px;
}

/* ============ BOT DEMO CARD ============ */
.bot-demo {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.bot-demo:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.bot-demo-screen {
  background: linear-gradient(180deg, #0F1729 0%, #0A0F1A 100%);
  padding: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-demo-screen::before {
  content: '● ● ●';
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 4px;
}

.bot-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  margin-top: 28px;
  opacity: 0;
  animation: bubble-in .5s ease-out forwards;
}

.bot-bubble.them {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  margin-top: 4px;
}

.bot-bubble.us {
  background: var(--accent);
  color: #0A0F1A;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  margin-top: 4px;
  font-weight: 500;
}

.bot-bubble:nth-child(1) { animation-delay: .1s; margin-top: 32px; }
.bot-bubble:nth-child(2) { animation-delay: .8s; }
.bot-bubble:nth-child(3) { animation-delay: 1.6s; }
.bot-bubble:nth-child(4) { animation-delay: 2.4s; }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-demo-caption {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-demo-caption strong { color: var(--text-primary); font-weight: 600; }
.bot-demo-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.bot-demo-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}

/* ============ CASE TILE ============ */
.case-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.case-tile:hover { transform: translateY(-4px); border-color: var(--accent); }

.case-tile-media { aspect-ratio: 16/10; }
.case-tile-body { padding: 24px; }
.case-tile-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.case-tile-meta span { color: var(--accent); }
.case-tile h4 { font-size: 18px; margin-bottom: 8px; }
.case-tile p { font-size: 14px; margin: 0; }

.case-tile-result {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-tile-result-item { flex: 1; }
.case-tile-result-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.case-tile-result-label { font-size: 12px; color: var(--text-muted); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============ HERO DEMO SECTION (Telegram → amoCRM → 1С) ============ */
.hero-demo-section {
  padding: 64px 0 80px;
  position: relative;
}

.hero-demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(16,185,129,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-demo-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-demo-eyebrow::before,
.hero-demo-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.hero-demo-eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-demo-media {
  margin-top: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-demo-section { padding: 40px 0 48px; }
  .hero-demo-eyebrow { font-size: 10px; padding: 0 16px; line-height: 1.5; }
  .hero-demo-eyebrow::before, .hero-demo-eyebrow::after { width: 16px; }
  /* iframe-обёртка под один активный tile (модель: переключение через .lit
     класс внутри iframe). Высота 9:16 ~= 667 на 375 / 736 на 414 - помещается
     в любой современный мобильный экран. */
  .hero-demo-media { aspect-ratio: 9 / 16; height: auto; max-height: 760px; }
}

/* ============ MOBILE FIXES ============ */
@media (max-width: 768px) {
  .container,
  .container-narrow { padding: 0 18px; }

  .hero { padding: 56px 0 48px; overflow-x: clip; }
  .hero h1 {
    font-size: clamp(26px, 6.4vw, 36px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.018em !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .hero h1 .grad { display: inline; }

  .hero-lead {
    font-size: 16px !important;
    line-height: 1.55;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .hero-actions { gap: 10px; margin-bottom: 36px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .hero-actions .btn-cta,
  .hero-actions .btn-primary,
  .hero-actions a { width: 100%; justify-content: center; text-align: center; }
  .hero-trust { gap: 14px; padding-top: 24px; flex-direction: column; align-items: flex-start; }

  .stats { padding: 24px 0 48px; }
  .stats-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .stat { padding: 22px 20px; }
  .stat-value { font-size: clamp(28px, 7vw, 36px) !important; }

  .hero-media {
    margin-top: 32px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
  }

  .marquee { padding: 18px 0; }
  .marquee-item { margin-right: 36px; font-size: 12.5px; }

  .case-tile-media { aspect-ratio: 4 / 3; }
  .case-tile-body { padding: 20px; }
  .case-tile-result { gap: 16px; }
  .case-tile-result-value { font-size: 18px; }

  section.section { padding: 56px 0; }
  .section h2,
  h2 {
    font-size: clamp(22px, 5.4vw, 28px) !important;
    line-height: 1.2;
    overflow-wrap: anywhere;
    max-width: 100% !important;
  }
  .section-lead { font-size: 15.5px; max-width: 100%; }

  .services-grid,
  .industries-grid,
  .process,
  .pricing { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(24px, 6vw, 30px) !important; }
  .stat-value { font-size: 26px !important; }
  .stat-label { font-size: 13px; }
  .nav-cta-wrap .btn-cta { padding: 9px 14px; font-size: 13px; }
}

/* ============ HERO REVEAL FIX (added 2026-04-30) ============ */
/* Ensure above-the-fold content is visible instantly without waiting for JS */
.prod-hero .reveal,
.da-hero .reveal,
.st-hero .reveal,
.ec-hero .reveal,
.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============ HERO REVEAL FIX v2 (added 2026-04-30) — extended prefixes ============ */
.ac-hero .reveal,
.vp-hero .reveal,
.iw-hero .reveal,
.pp-hero .reveal,
.ag-hero .reveal,
[class*='-hero'] .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============ GLOBAL REVEAL FALLBACK (added 2026-04-30) ============ */
/* If reveal.js fails to add .in class (headless, slow JS, observer edge cases), */
/* content must still be visible. Force-show all .reveal blocks unconditionally. */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ ARTICLE-BODY STYLING (added 2026-04-30) ============ */
/* Long-form content blocks under product hero (article-lead, article-h2, etc.) */
.section-deep-dive {
  padding: 56px 0 !important;
  background:
    linear-gradient(180deg, transparent 0%, rgba(16,185,129,0.02) 50%, transparent 100%),
    rgba(15,23,42,0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-body {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-secondary);
}
.article-body .article-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 500;
  padding: 22px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(16,185,129,0.04);
  border-radius: 0 12px 12px 0;
  margin: 0 0 36px;
}
.article-body .article-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  color: var(--text-primary);
  margin: 56px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.article-body .article-h2::before {
  content: '§ ';
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7em;
  vertical-align: 0.15em;
  margin-right: 4px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative;
  padding: 12px 16px 12px 36px;
  margin-bottom: 8px;
  background: rgba(15,23,42,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  line-height: 1.6;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 14px; top: 19px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}
.article-body ol { counter-reset: ar; }
.article-body ol li { counter-increment: ar; }
.article-body ol li::before {
  content: counter(ar);
  position: absolute;
  left: 10px; top: 10px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cta);
  border: 1px solid var(--cta);
  border-radius: 50%;
  background: rgba(245,158,11,0.06);
}
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(16,185,129,0.4);
  transition: border-color .2s;
}
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(15,23,42,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.article-body th, .article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-body th {
  background: rgba(16,185,129,0.06);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}
.article-body tr:last-child td { border-bottom: none; }

/* code-style inline accents */
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--accent);
}

/* ============ ART-RICH SECTIONS (added 2026-04-30) ============ */
.art-wrap { padding: 60px 0; }
.art-wrap .container { max-width: 1180px; }
.art-section { margin: 0 0 80px; }
.art-section:last-child { margin-bottom: 0; }

.art-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.art-eyebrow::before { content: '// '; opacity: .6; }

.art-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.art-section-title .grad {
  background: linear-gradient(135deg, #10B981 0%, #F59E0B 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.art-section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 0 32px;
}

.art-intro-lead {
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(16,185,129,0.08) 0%, transparent 100%);
  border-radius: 0 14px 14px 0;
  margin: 0 0 24px;
}
.art-disclaimer {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px dashed var(--border-strong);
  padding: 18px 0 0;
  margin: 0 0 56px;
}

/* LEAK GRID — где утекают часы/деньги */
.art-leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 32px;
}
.art-leak {
  position: relative;
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 22px 64px;
  transition: border-color .25s, transform .25s;
}
.art-leak:hover { border-color: var(--accent); transform: translateY(-2px); }
.art-leak-num {
  position: absolute;
  left: 18px; top: 18px;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cta);
  font-weight: 600;
}
.art-leak-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}
.art-leak p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* STAT BIG BLOCK */
.art-stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(245,158,11,0.04));
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 0 0 16px;
}
.art-stat-cell { text-align: left; }
.art-stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #10B981 0%, #F59E0B 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.art-stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* MODULE GRID — что я собираю */
.art-mod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.art-mod {
  background: rgba(15,23,42,0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.art-mod:hover { border-color: var(--accent); transform: translateY(-2px); }
.art-mod-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.art-mod-num {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}
.art-mod-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}
.art-mod p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.art-mod p:last-child { margin-bottom: 0; }
.art-mod-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cta);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

/* STACK GRID — стек */
.art-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.art-stack {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: rgba(15,23,42,0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.art-stack-icon {
  font-size: 28px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  flex-shrink: 0;
}
.art-stack-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.art-stack p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* CASE BLOCK — кейс */
.art-case {
  background:
    linear-gradient(135deg, rgba(16,185,129,0.05), rgba(245,158,11,0.03)),
    rgba(15,23,42,0.7);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 36px;
}
.art-case-head { margin-bottom: 24px; }
.art-case-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.art-case-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.art-case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 22px;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
}
.art-case-meta-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.art-case-meta-num.amber { color: var(--cta); }
.art-case-meta-lbl { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.art-case-quote {
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 18px;
  margin: 16px 0;
  color: var(--text-primary);
  font-size: 16px;
}
.art-case h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  margin: 24px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.art-case p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 12px; }
.art-case ul { list-style: none; padding: 0; margin: 0 0 16px; }
.art-case ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.art-case ul li:last-child { border-bottom: none; }
.art-case ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* NO GRID — что НЕ автоматизирую */
.art-no-intro {
  padding: 14px 18px;
  border-left: 3px solid var(--cta);
  background: rgba(245,158,11,0.05);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.art-no-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.art-no {
  position: relative;
  padding: 20px 22px 20px 60px;
  background: rgba(220,38,38,0.04);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 12px;
}
.art-no::before {
  content: '✕';
  position: absolute;
  left: 18px; top: 18px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.4);
  color: #f87171;
  font-weight: 700;
  font-size: 14px;
}
.art-no-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.art-no p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* PRICE GRID — тарифы */
.art-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.art-price {
  position: relative;
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.art-price:hover { transform: translateY(-3px); border-color: var(--accent); }
.art-price.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(16,185,129,0.05), rgba(15,23,42,0.7)); }
.art-price.featured::before {
  content: 'популярный';
  position: absolute;
  top: -10px; right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--cta);
  color: #0a0e16;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.art-price-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.art-price-amt {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.art-price-amt small { font-size: 14px; font-weight: 500; color: var(--text-muted); display: block; margin-top: 4px; }
.art-price-time {
  font-size: 13px;
  color: var(--cta);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.art-price p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 12px; }
.art-price-tag {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.art-price-support {
  padding: 18px 22px;
  background: rgba(15,23,42,0.5);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 18px;
}

/* FAQ — улучшение */
.art-section .article-faq { display: grid; gap: 10px; }
.art-section .article-faq .faq-item {
  background: rgba(15,23,42,0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  transition: border-color .2s;
}
.art-section .article-faq .faq-item[open] { border-color: var(--accent); }
.art-section .article-faq .faq-item summary {
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  position: relative;
}
.art-section .article-faq .faq-item summary::-webkit-details-marker { display: none; }
.art-section .article-faq .faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px; top: 14px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 18px;
  color: var(--accent);
  transition: transform .2s;
}
.art-section .article-faq .faq-item[open] summary::after { transform: rotate(45deg); }
.art-section .article-faq .faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* CTA — что дальше */
.art-cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(245,158,11,0.05));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
}
.art-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.2;
}
.art-cta p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 8px; }
.art-cta .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .art-leak-grid, .art-no-grid, .art-mod-grid, .art-stack-grid { grid-template-columns: 1fr; }
  .art-price-grid { grid-template-columns: 1fr; }
  .art-stat-block { grid-template-columns: 1fr 1fr; }
  .art-case-meta { grid-template-columns: 1fr 1fr; }
  .art-cta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .art-stat-block { grid-template-columns: 1fr; }
}

/* Brand logos в .art-stack-icon вместо emoji */
.art-stack-icon img.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
}
.art-stack-icon {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.stack-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.marquee-item img.brand-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
