/* БАЗОВЫЕ НАСТРОЙКИ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
body {
  background-color: #030014;
  color: #ffffff;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ШАПКА */
.header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(10px);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
}
.nav a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 15px;
  font-size: 15px;
}
.nav a:hover {
  color: #fff;
}
.btn-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
}

/* ЗОНА ФИКСАЦИИ АНИМАЦИИ */
.scroll-zone {
  position: relative;
  height: 250vh;
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: -40px;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.hero-content {
  flex: 0 0 35%;
  max-width: 35%;
  will-change: transform, opacity;
  margin-top: -30px;
}
h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  color: #94a3b8;
  font-size: 17px;
  margin-bottom: 30px;
}
.badge {
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid #4f46e5;
  color: #c084fc;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
}
.btn-primary {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
  cursor: pointer;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
}

/* НЕОНОВОЕ ВИДЕО 80% */
.hero-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.video-glow-effect {
  position: absolute;
  width: 65vw;
  height: 65vw;
  max-width: 600px;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.65) 0%,
    rgba(79, 70, 229, 0.35) 50%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(50px);
  z-index: 1;
}
.video-mask-wrapper {
  position: relative;
  z-index: 2;
  display: block;
  width: 80vw;
  max-width: 850px;
  border-radius: 40px;
  overflow: hidden;
  transform-origin: center center;
  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}
.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* СЕКЦИИ СЛЕДУЮЩЕГО ПОТОКА */
.main-content-flow {
  position: relative;
  z-index: 50;
  background: #030014;
  margin-top: -100vh;
  padding-top: 60px;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 0 80px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
}
.feature-icon {
  font-size: 24px;
  margin-bottom: 15px;
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}
.feature-card p {
  color: #94a3b8;
  font-size: 14px;
}

/* ДЕШБОРД (ИДЕАЛЬНАЯ СЕРЕДИНА) */
.dashboard-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}
.dashboard-window {
  background: rgba(11, 8, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.db-sidebar {
  width: 200px;
  background: rgba(5, 3, 18, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
}
.db-logo {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 35px;
}
.db-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-menu a {
  color: #64748b;
  text-decoration: none;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 8px;
}
.db-menu a.active {
  color: #fff;
  background: rgba(79, 70, 229, 0.15);
}
.db-content {
  flex: 1;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.db-user-status {
  font-size: 12px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}
.db-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.db-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 12px;
}
.db-mini-title {
  color: #64748b;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}
.db-mini-val {
  font-size: 24px;
  font-weight: bold;
}
.db-mini-val small {
  font-size: 13px;
  margin-left: 6px;
  color: #10b981;
}
.db-charts-container {
  display: flex;
  gap: 20px;
  flex: 1;
}
.chart-box-title {
  font-size: 14px;
  color: #94a3b8;
  display: block;
  margin-bottom: 15px;
}
.db-big-chart-box {
  flex: 2;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
}
.db-donut-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.real-mock-chart {
  width: 100%;
  height: 130px;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-bottom: 2px solid #4f46e5;
  position: relative;
}
.wave-line {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 30% 50%, #c084fc 2px, transparent 3px),
    radial-gradient(circle at 70% 30%, #4f46e5 2px, transparent 3px);
}
.donut-visual {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#4f46e5 0% 60%, #a855f7 60% 85%, #334155 85% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.donut-inner-hole {
  width: 70px;
  height: 70px;
  background: #0b081e;
  border-radius: 50%;
}
.donut-labels {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
}
.donut-labels div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot.p-color {
  background: #4f46e5;
}
.dot.b-color {
  background: #a855f7;
}
.dot.g-color {
  background: #334155;
}

/* ТАРИФЫ И БРЕНДЫ */
.pricing {
  padding: 60px 20px;
  text-align: center;
}
.pricing h2 {
  margin-bottom: 40px;
  font-size: 32px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: left;
  position: relative;
}
.price-card.popular {
  border-color: #a855f7;
  background: linear-gradient(
    180deg,
    rgba(168, 85, 247, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #a855f7;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.price-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.price-desc {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}
.price-value {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 25px;
}
.price-value span {
  font-size: 16px;
  color: #94a3b8;
}
.price-features {
  list-style: none;
  margin-bottom: 30px;
}
.price-features li {
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 15px;
}
.price-features li::before {
  content: "✓";
  color: #a855f7;
  margin-right: 8px;
}
.btn-price {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary-card {
  background: #4f46e5;
  border: none;
}
.brands {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.brands p {
  color: #64748b;
  margin-bottom: 20px;
}
.brands-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.6;
}

/* ПОДВАЛ */
.footer {
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-info {
  max-width: 300px;
}
.footer-info p {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 15px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 950px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .video-mask-wrapper {
    width: 85vw;
  }
  .dashboard-window {
    flex-direction: column;
  }
  .db-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .db-stats-row {
    grid-template-columns: 1fr;
  }
  .db-charts-container {
    flex-direction: column;
  }
  .nav {
    display: none;
  }
  .footer-top {
    flex-direction: column;
  }
}
