* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: #1a1a2e;
  background-color: #fff;
  overflow-x: hidden;
}
 
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
 
/* Навигация */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
 
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
 
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
 
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a2e;
  text-decoration: none;
}
 
.nav-logo span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
 
.nav-links {
  display: flex;
  gap: 2rem;
}
 
.nav-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
 
.nav-links a:hover {
  color: #6366f1;
}
 
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
 
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  transition: all 0.3s;
}
 
/* Герой */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}
 
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 25%, #c7d2fe 50%, #ddd6fe 75%, #ede9fe 100%);
  z-index: 0;
}
 
.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}
 
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}
 
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}
 
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
 
.hero-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
 
.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
 
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
 
.hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
 
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}
 
.stat-item {
  text-align: center;
}
 
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #6366f1;
  line-height: 1;
}
 
.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  font-weight: 500;
}
 
.hero-cta {
  display: inline-block;
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: 2px solid #6366f1;
  border-radius: 12px;
  transition: all 0.3s;
}
 
.hero-cta:hover {
  background: #6366f1;
  color: white;
}
 
/* Секции */
.section {
  padding: 6rem 0;
}
 
.section-dark {
  background: #f8fafc;
}
 
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
 
.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
 
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
 
.section-desc {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}
 
/* О проекте */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
 
.about-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}
 
.about-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}
 
.about-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
 
.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
 
.about-card p {
  color: #64748b;
  font-size: 0.95rem;
}
 
/* Типы проектов */
.project-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
 
.type-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s;
}
 
.type-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
 
.type-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
 
.type-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
 
.type-desc {
  color: #64748b;
  margin-bottom: 1rem;
}
 
.type-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
 
.type-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #475569;
  font-size: 0.95rem;
}
 
.type-features li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #6366f1;
  font-weight: 700;
}
 
.type-note {
  color: #94a3b8;
  font-size: 0.875rem;
  font-style: italic;
}
 
/* Шаги */
.steps-timeline {
  max-width: 700px;
  margin: 0 auto;
}
 
.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}
 
.step.visible {
  opacity: 1;
  transform: translateX(0);
}
 
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}
 
.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
 
.step-content p {
  color: #64748b;
  font-size: 0.95rem;
}
 
/* Архитектура */
.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
 
.arch-layer {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
 
.arch-layer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-bottom: 1px solid #e2e8f0;
}
 
.arch-layer-icon {
  font-size: 1.5rem;
}
 
.arch-layer-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
 
.arch-layer-body {
  padding: 2rem;
}
 
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
.tech-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #1a1a2e;
}
 
.tech-item p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}
 
/* AI Pipeline */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: stretch;
}
 
.pipeline-stage {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  transition: all 0.3s;
}
 
.pipeline-stage:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}
 
.stage-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
 
.stage-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
 
.stage-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
}
 
.pipeline-stage p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}
 
.stage-model {
  font-size: 0.75rem;
  color: #a855f7;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
}
 
.pipeline-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #c7d2fe;
  font-weight: 700;
}
 
.pipeline-note {
  margin-top: 3rem;
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
 
.pipeline-note p {
  color: #475569;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}
 
/* Возможности */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
 
.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
}
 
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
 
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
 
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
 
.feature-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}
 
/* Плюсы и минусы */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
 
.pros-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #16a34a;
}
 
.cons-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #dc2626;
}
 
.pros-list, .cons-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
 
.pro-item, .con-item {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
}
 
.pro-item {
  border-left: 3px solid #16a34a;
}
 
.con-item {
  border-left: 3px solid #dc2626;
}
 
.pro-item h4, .con-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
 
.pro-item p, .con-item p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}
 
/* Страницы */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
.page-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
}
 
.page-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
 
.page-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
 
.page-icon {
  font-size: 1.5rem;
}
 
.page-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}
 
.page-route {
  font-size: 0.75rem;
  color: #6366f1;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-family: monospace;
}
 
.page-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}
 
/* Безопасность */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
 
.security-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}
 
.security-item:hover {
  border-color: #c7d2fe;
}
 
.security-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
 
.security-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
 
.security-item p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}
 
/* Будущее */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
.future-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}
 
.future-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
 
.future-num {
  font-size: 2rem;
  font-weight: 800;
  color: #c7d2fe;
  margin-bottom: 0.75rem;
}
 
.future-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
 
.future-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
}
 
/* Заключение */
.conclusion {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 6rem 0;
}
 
.conclusion-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
 
.conclusion h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
 
.conclusion p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
 
.conclusion-tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
 
.tech-badge {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
 
/* Футер */
.footer {
  background: #0f172a;
  color: #64748b;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}
 
/* Адаптивность */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
 
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
 
  .nav-links.open {
    display: flex;
  }
 
  .nav-toggle {
    display: flex;
  }
 
  .hero h1 {
    font-size: 2.5rem;
  }
 
  .hero-stats {
    gap: 2rem;
  }
 
  .stat-number {
    font-size: 2rem;
  }
 
  .section-header h2 {
    font-size: 1.75rem;
  }
 
  .about-grid,
  .project-types-grid,
  .pros-cons-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
 
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .pages-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }
 
  .tech-grid {
    grid-template-columns: 1fr;
  }
 
  .pipeline {
    flex-direction: column;
    align-items: center;
  }
 
  .pipeline-stage {
    max-width: 100%;
  }
 
  .pipeline-arrow {
    transform: rotate(90deg);
  }
 
  .conclusion h2 {
    font-size: 1.5rem;
  }
}
 
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
 
  .hero-subtitle {
    font-size: 1rem;
  }
 
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
 
  .features-grid {
    grid-template-columns: 1fr;
  }
 
  .container {
    padding: 0 1rem;
  }
 
  .section {
    padding: 4rem 0;
  }
}
 