/* 
  Цветовая схема: NEON NIGHTS
  Уникальная генерация для данного запроса 
*/

:root {
  /* Цвета */
  --bg-color: #0d0d12;
  --surface-color: #1a1a24;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b0;

  --primary-color: #00f3ff;
  /* Neon Cyan */
  --primary-hover: #00c2cc;
  --secondary-color: #bc13fe;
  /* Neon Purple */
  --secondary-hover: #9b0fd4;

  --error-color: #ff3366;
  --success-color: #00ff9d;

  --overlay-bg: rgba(13, 13, 18, 0.85);

  /* Шрифты (CHANGE_FONT_HERE: Montserrat задан в index.html) */
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Радиусы и тени */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-2xl: 32px;

  --shadow-neon: 0 0 15px rgba(0, 243, 255, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 15px 40px rgba(188, 19, 254, 0.2);

  /* Разное */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
}

/* Базовые стили */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
  color: var(--bg-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Loader */
.loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.hidden {
  display: none !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--surface-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section (Split Layout) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at top right, #1a0b2e 0%, var(--bg-color) 70%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Hero Visual Dashboard */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  padding: 10px 0 10px 20px;
}

.hero-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(188, 19, 254, 0.25) 0%, rgba(0, 243, 255, 0.08) 60%, transparent 80%);
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(26, 26, 36, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 243, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 243, 255, 0.18);
}

/* Main stat card */
.hero-card--main {
  width: 100%;
  max-width: 380px;
  padding: 28px 28px 22px;
  align-self: flex-end;
}

.hero-card__header {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.hero-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-card__dot:nth-child(1) {
  background: #ff5f57;
}

.hero-card__dot:nth-child(2) {
  background: #febc2e;
}

.hero-card__dot:nth-child(3) {
  background: #28c840;
}

.hero-card__stat {
  margin-bottom: 22px;
}

.hero-card__num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.hero-card__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mini bar chart inside main card */
.hero-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--secondary-color), var(--primary-color));
  opacity: 0.75;
  animation: barGrow 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) both;
  transform-origin: bottom;
}

.bar:nth-child(1) {
  animation-delay: 0.1s;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  animation-delay: 0.3s;
}

.bar:nth-child(4) {
  animation-delay: 0.4s;
}

.bar:nth-child(5) {
  animation-delay: 0.5s;
}

.bar:nth-child(6) {
  animation-delay: 0.6s;
}

.bar:nth-child(7) {
  animation-delay: 0.7s;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 0.75;
  }
}

/* Badge card */
.hero-card--badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  width: fit-content;
  align-self: flex-start;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-color);
  border-color: rgba(0, 243, 255, 0.25);
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Income card */
.hero-card--income {
  width: 100%;
  max-width: 300px;
  padding: 20px 22px;
  align-self: flex-end;
  border-color: rgba(188, 19, 254, 0.2);
  animation: floatY 3.5s ease-in-out infinite 0.5s;
}

.hero-card__income-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-card__income-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--success-color);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.4);
}

.hero-card__income-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
}

.hero-card__income-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  animation: fillBar 2s 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fillBar {
  to {
    width: 72%;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--surface-color);
  padding: 40px 30px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(188, 19, 254, 0.3);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.service-link::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s;
}

.service-link:hover::after {
  transform: translateX(5px);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(188, 19, 254, 0.1), rgba(0, 243, 255, 0.05));
  border-color: rgba(0, 243, 255, 0.2);
}

/* About */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--primary-color);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 20px;
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: var(--radius-md);
  align-items: center;
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 243, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper img {
  width: 24px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: var(--radius-2xl);
  border-left: 4px solid var(--secondary-color);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.reviewer-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.review-text {
  font-style: italic;
  color: #ccc;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-list li {
  font-size: 1.1rem;
}

.contact-form-wrapper {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.error-msg {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group.error input {
  border-color: var(--error-color);
}

.form-group.error .error-msg {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: #08080b;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a,
.footer-link-btn {
  color: var(--text-secondary);
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  padding: 0;
  transition: var(--transition);
}

.footer ul a:hover,
.footer-link-btn:hover {
  color: var(--primary-color);
}

.footer-btn {
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: var(--surface-color);
  width: 90%;
  max-width: 500px;
  padding: 40px;
  border-radius: var(--radius-2xl);
  z-index: 2001;
  transform: translateY(20px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--error-color);
}

.modal-content h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neon);
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--primary-color);
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Адаптив (Mobile First & Max-Width) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--surface-color);
    padding: 80px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 40px;
  }

  .hero-visual {
    align-items: center;
    padding: 0;
  }

  .hero-card--main {
    max-width: 100%;
  }

  .hero-card--badge {
    align-self: center;
  }

  .hero-card--income {
    max-width: 100%;
    align-self: center;
  }


  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .modal-content {
    padding: 20px;
  }
}