:root{
  --bg:#0f0b16;
  --bg-alt:#151022;
  --surface:#1e1630;
  --text:#e9e6f1;
  --muted:#bdb6cc;
  --accent:#8756ff;
  --accent-2:#b07bff;
  --border: #2a2140;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1140px;margin:0 auto;padding:0 20px}

.site-header{position:sticky;top:0;z-index:50;background:linear-gradient(180deg,rgba(15,11,22,.98),rgba(15,11,22,.85));backdrop-filter:saturate(140%) blur(6px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-weight:700;letter-spacing:.3px}
.logo span{color:var(--accent)}
.menu{display:flex;gap:18px}
.menu a{font-size:14px;color:var(--muted)}
.menu a:hover{color:var(--text)}
.burger{display:none;width:28px;height:20px;border:none;background:linear-gradient(var(--text) 2px,transparent 2px) center/100% 2px no-repeat,linear-gradient(var(--text) 2px,transparent 2px) center/100% 2px no-repeat,linear-gradient(var(--text) 2px,transparent 2px) center/100% 2px no-repeat;border-radius:4px;position:relative}
.burger::before,.burger::after{content:'';position:absolute;left:0;right:0;height:2px;background:var(--text)}
.burger::before{top:4px}.burger::after{bottom:4px}

.hero{background:
 radial-gradient(800px 300px at 20% 20%, rgba(135,86,255,.25), transparent 60%),
 radial-gradient(700px 250px at 80% 0%, rgba(176,123,255,.18), transparent 60%),
 linear-gradient(180deg,var(--bg),var(--bg-alt));
 border-bottom:1px solid var(--border)
}
.hero-inner{padding:96px 0 72px; text-align:center}
.hero h1{font-size:40px;line-height:1.15;margin:0 0 16px}
.lead{font-size:18px;color:var(--muted);margin:0 auto 24px;max-width:760px}
.hero-badges{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.badge{background:var(--surface);border:1px solid var(--border);padding:10px 14px;border-radius:999px;font-size:13px;color:var(--muted);box-shadow:var(--shadow)}

.section{padding:72px 0;border-top:1px solid var(--border)}
.section.alt{background:var(--bg-alt)}
h2{font-size:28px;margin:0 0 16px}
h3{margin:0 0 8px}
p{color:var(--muted);margin:0 0 12px}

.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:12px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow)}
.card.emphasize{border:1px solid var(--accent);}
.quote{font-size:20px;color:var(--text);font-weight:600}

.checklist{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.checklist li{position:relative;padding-left:24px;color:var(--muted)}
.checklist li:before{content:'';position:absolute;left:0;top:7px;width:12px;height:12px;border-radius:50%;background:var(--accent)}

.contact-list{display:grid;gap:10px;margin-top:10px}
.contact-list span{color:var(--muted);margin-right:8px}

.site-footer{border-top:1px solid var(--border);background:var(--bg);padding:24px 0}
.footer-inner{display:flex;justify-content:space-between;gap:16px;align-items:center}
.small{font-size:12px;color:var(--muted)}

@media (max-width:1000px){
  .grid-2{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .menu{display:none}
  .burger{display:block}
  .hero h1{font-size:30px}
  .cards{grid-template-columns:1fr}
}
#ai-dev {
  background: #120e1a;
  color: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

#ai-dev h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 30px;
}

#ai-dev p {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

#ai-dev ul {
  list-style: none;
  padding: 0;
}

#ai-dev li {
  margin: 10px 0;
  font-size: 1.1rem;
  color: #ddd;
}

/* Заголовок раздела ИИ — делаем белым */
#ai-dev h2 {
  font-size: 2rem;
  color: #ffffff; /* вместо var(--accent) */
  margin-bottom: 30px;
}

/* Карточка внизу — в стиле “Шаг за шагом” */
.ai-dashboard {
  border: 1px solid #9b5cff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 30px;
  max-width: 700px;
  margin: 60px auto 0;
  text-align: left;
}

.ai-dashboard h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.ai-dashboard ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-dashboard li {
  color: #ddd;
  font-size: 1.05rem;
  margin: 8px 0;
  padding-left: 12px;
  position: relative;
}

.ai-dashboard li::before {
  content: "•";
  color: #9b5cff;
  position: absolute;
  left: 0;
}

/* Сетка 3-в-ряд и аккуратные превью */
.products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

/* Чуть плотнее заголовок и текст */
.product-card h3{
  margin: 0 0 6px;
}

.product-card p{
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Адаптив */
@media (max-width: 1000px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .products-grid{ grid-template-columns: 1fr; }
  .product-card img{ height: 200px; }
}

/* ---------- ИИ-Ассистент ---------- */
#ai-assistant {
  background: #0e0b14;
  color: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

#ai-assistant h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 25px;
}

#ai-assistant .lead {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

#ai-assistant h3 {
  font-size: 1.6rem;
  color: #9b5cff;
  margin-bottom: 40px;
}

.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ai-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #9b5cff;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
}

.ai-feature:hover {
  box-shadow: 0 0 15px rgba(155, 92, 255, 0.4);
  transform: translateY(-4px);
}

.ai-feature img {
  width: 100%;
  height: 140px;
  object-fit: contain; /* <-- чтобы не обрезало иконки */
  background-color: rgba(255, 255, 255, 0.02); /* легкий фон */
  border: 1px solid #9b5cff;
  border-radius: 10px;
  padding: 15px; /* отступ внутри рамки */
  margin-bottom: 15px;
  box-sizing: border-box;
}

}

.ai-feature h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

.ai-feature p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

@media (max-width: 640px) {
  .ai-features-grid {
    grid-template-columns: 1fr;
  }
}
