:root {
  --bg: #0a0e14;
  --card: #0f1419;
  --card-hover: #1a1f26;
  --muted: #8a9ba8;
  --text: #e8f4f0;
  --green: #00ff88;
  --green-2: #00cc6a;
  --accent: #00d4ff;
  --purple: #8b5cf6;
  --orange: #ff6b35;
  --gradient: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #8b5cf6 100%);
  --gradient-2: linear-gradient(45deg, #00ff88, #00d4ff);
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  --shadow-green: 0 15px 35px rgba(0, 255, 136, 0.3);
  --shadow-blue: 0 15px 35px rgba(0, 212, 255, 0.3);
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease-out;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0a0e14 0%, #0f1419 50%, #0a0e14 100%);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Анимированный фон с частицами */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: -2;
  animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Сетка частиц */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0, 255, 136, 0.3) 1px, transparent 0);
  background-size: 50px 50px;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Ультрасовременный хедер */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(2) blur(25px);
  background: rgba(10, 14, 20, 0.85);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}

.brand::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -5px;
  background: var(--gradient);
  border-radius: 15px;
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.brand:hover::before {
  opacity: 0.1;
}

.brand:hover {
  transform: scale(1.05) rotate(1deg);
}

.brand-mark {
  margin-right: 16px;
  filter: 
    drop-shadow(0 0 15px rgba(0, 255, 136, 0.5))
    drop-shadow(0 0 30px rgba(0, 255, 136, 0.3));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5)); }
  50% { filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.8)); }
}

.brand-text {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover::after {
  width: 80%;
}

.cta-group {
  display: flex;
  gap: 16px;
}

/* Ультрасовременные кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 16px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: var(--transition);
  transform: translate(-50%, -50%);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: 20px;
}

.btn-primary {
  background: var(--gradient);
  color: #000;
  box-shadow: 
    var(--shadow-green),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: rgba(0, 255, 136, 0.05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--green);
  color: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-green);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--text);
  backdrop-filter: blur(15px);
}

.btn-ghost:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--green);
  transform: translateY(-2px);
  color: var(--green);
}

/* Эпический герой-блок */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  z-index: -1;
  animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
  0%, 100% { 
    opacity: 0.5;
    transform: scale(1) rotate(0deg);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.1) rotate(2deg);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin: 0 0 24px;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 2s ease-out;
  text-shadow: 0 0 50px rgba(0, 255, 136, 0.3);
}

@keyframes titleGlow {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sub {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin: 32px 0;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.points li {
  background: rgba(15, 20, 25, 0.8);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  color: #d0e8e0;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.points li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.1;
  transition: var(--transition);
}

.points li:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}

.points li:hover::before {
  left: 0;
}

.hero-card {
  display: grid;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.card-stat {
  background: rgba(15, 20, 25, 0.8);
  padding: 32px 24px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.card-stat.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card-stat:hover {
  transform: translateY(-6px);
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.card-stat:hover::before {
  transform: scaleX(1);
}

.card-stat span {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Улучшенные секции */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt {
  background: 
    linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(10, 14, 20, 0.9) 100%),
    radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  backdrop-filter: blur(20px);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature {
  background: rgba(15, 20, 25, 0.8);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.feature.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  background: rgba(0, 255, 136, 0.05);
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.note {
  margin-top: 24px;
  color: var(--muted);
  font-style: italic;
  padding: 20px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--green);
  backdrop-filter: blur(10px);
}

/* Улучшенные FAQ */
.faq {
  background: rgba(15, 20, 25, 0.6);
  padding: 60px 40px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.faq details {
  background: rgba(15, 20, 25, 0.8);
  padding: 24px 28px;
  border-radius: 16px;
  margin: 20px 0;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faq details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.faq details:hover {
  background: rgba(0, 255, 136, 0.05);
  border-color: var(--green);
  transform: translateY(-2px);
}

.faq details[open] {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--green);
}

.faq details[open]::before {
  transform: scaleX(1);
}

.faq summary {
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.faq summary:hover {
  color: var(--green);
}

.faq p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

/* Улучшенный футер */
.footer {
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  padding: 60px 0;
  margin-top: 80px;
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(20px);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* Простые анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
  
  .points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  .nav {
    display: none;
  }
  
  .header-inner {
    height: auto;
    padding: 20px 0;
  }
  
  .hero {
    padding: 80px 0 60px;
    min-height: auto;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .sub {
    font-size: 18px;
  }
  
  .grid3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .points {
    grid-template-columns: 1fr;
  }
  
  .cta-group {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 16px;
  }
  
  .btn {
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .faq {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .sub {
    font-size: 16px;
  }
  
  .btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .feature {
    padding: 32px 24px;
  }
  
  .faq {
    padding: 32px 20px;
  }
}

/* Дополнительные эффекты */
.feature:hover,
.card-stat:hover {
  animation: pulse 2s infinite;
}

/* Улучшенная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

/* Дополнительные утилиты */
.loaded {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Эффект свечения для важных элементов */
.glow {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

/* Анимация загрузки */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}