/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
/* :root для тем (cyan glow theme, вдохновлено cyberpunk + minimal) */
:root {
  --primary: #00c4cc;
  --primary-light: #00ffff;
  --bg-dark: #1a1a1a;
  --bg-darker: #111;
  --text-light: #e0e0e0;
  --text-gray: #bbb;
  --card-bg: rgba(30, 30, 30, 0.8);
  --glow: rgba(0, 196, 204, 0.3);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* Высота header + запас */
}

/* Прелоадер: full-screen с fade-out */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.preloader-content {
  text-align: center;
  color: var(--text-light);
}
.preloader-logo {
  width: 120px;
  margin-bottom: 20px;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px var(--glow)); /* Glow для logo */
}
.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0%;
  transition: width 0.3s ease;
}
  
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary-light);
}

/* === HEADER: Sticky с blur, CTA glow === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: rgba(20, 20, 20, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px); /* Blur для modern look */
  box-shadow: var(--shadow-soft);
  height: auto;
}

.logo img {
  display: block;
  border-radius: 8px; 
  object-fit: contain;
  width: 160px;
  height: auto;
  max-height: 60px;
  filter: drop-shadow(0 0 5px var(--glow)); /* Subtle glow */
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 24px;
}
.nav-desktop ul li a {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative; /* Для underline hover */
}
.nav-desktop ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-desktop ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Мобильное меню: slide-in с backdrop */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.98);
  flex-direction: column;
  padding: 20px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth ease */
  backdrop-filter: blur(5px);
}
.nav-mobile.active {
  display: flex;
  transform: translateY(0);
}
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  animation: slideIn 0.4s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-mobile ul li a {
  font-size: 18px;
  padding: 12px;
  display: block;
  text-align: center;
  border-bottom: 1px solid rgba(0, 196, 204, 0.2);
  transition: all 0.3s ease;
  border-radius: 8px;
}
.nav-mobile ul li a:hover {
  background: rgba(0, 196, 204, 0.1);
  transform: translateX(10px);
}

.header-cta {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #000 !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--glow);
}
.header-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px var(--glow);
}

/* === БЛОКИ: Consistent padding, centered */
.block {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
}
.block h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.block h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === HERO: Particles + parallax для depth */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-darker), #222);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.particles-bg { /* Общий класс для tsParticles */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2; /* Над particles */
  position: relative;
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, white, var(--text-gray)); /* Gradient text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none; /* Убрал shadow, gradient сам glow'ит */
}
.hero-content p {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 30px;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #000;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--glow);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.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.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 25px var(--glow);
}

/* === ПОРТФОЛИО: Helix-ready, усилен hover для фокуса */
#portfolio {
  min-height: 90vh; /* Больше для helix */
  padding-top: 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg-darker);
}

#container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  perspective: 2000px; /* Для CSS3D depth */
}

/* Элементы портфолио: Усилен glow и scale для лучшего фокуса */
.element {
  background: var(--card-bg);
  border: 1px solid rgba(0, 196, 204, 0.2);
  border-radius: 12px;
  padding: 16px;
  color: white;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px); /* Glassmorphism */
}
.element:hover {
  transform: scale(1.15) rotateY(10deg) rotateX(5deg); /* Больше scale для фокуса */
  box-shadow: 0 15px 50px var(--glow);
  border-color: var(--primary-light);
  z-index: 10;
}
.element .number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 10px var(--glow);
}
.element img {
  border-radius: 8px;
  transition: all 0.4s ease;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.element.hovered img { /* Three.js hover sync: ярче glow */
  filter: brightness(1.3) drop-shadow(0 0 20px var(--glow));
}
.element .title {
  font-weight: 600;
  margin: 12px 0 8px;
  font-size: 16px;
}
.element .details {
  font-size: 13px;
  color: var(--text-gray);
}
.element .details a {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}
.element .details a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 5px var(--glow);
}

/* === УСЛУГИ: Floating icons via CSS keyframes */
#services {
  background: var(--bg-darker);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 196, 204, 0.2);
  border-radius: 16px;
  padding: 40px 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-12px) rotateX(2deg); /* Subtle 3D lift */
  box-shadow: 0 15px 40px var(--glow);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.service-icon.floating { /* Floating animation */
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.service-card h3 {
  font-size: 24px;
  margin: 15px 0;
  color: white;
}
.service-card p {
  color: var(--text-gray);
  font-size: 16px;
}

/* SVG icons hover */
.service-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--primary);
  stroke-width: 1.5;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 5px var(--glow));
}
.service-card:hover .service-icon svg {
  stroke: var(--primary-light);
  transform: scale(1.15) rotate(360deg); /* Full spin on hover */
}

/* === ПРЕИМУЩЕСТВА: Grid + floating */
#why {
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Auto-fit для моб */
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.advantage-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 196, 204, 0.1);
  backdrop-filter: blur(5px);
}
.advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px var(--glow);
}
.advantage-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
}
.advantage-item p {
  color: var(--text-gray);
  font-size: 15px;
}

.adv-icon {
  margin-bottom: 15px;
}
.adv-icon.floating {
  animation: float 2s ease-in-out infinite reverse; /* Reverse для variety */
}
.adv-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 2;
  transition: stroke 0.3s ease;
}
.advantage-item:hover .adv-icon svg {
  stroke: var(--primary-light);
  filter: drop-shadow(0 0 10px var(--glow));
}

/* === ЦЕНЫ: Badge glow */
#pricing {
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.price-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 35px 20px;
  position: relative;
  border: 1px solid rgba(0, 196, 204, 0.15);
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--glow);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #000;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 4px 15px var(--glow);
  animation: pulse 2s infinite; /* Glow pulse */
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.price {
  font-size: 32px;
  margin: 20px 0;
  color: white;
}
.price span {
  color: var(--primary-light);
  font-weight: 700;
  text-shadow: 0 0 10px var(--glow);
}
.price-features {
  list-style: none;
  margin: 25px 0;
  text-align: left;
}
.price-features li {
  padding: 8px 0;
  color: var(--text-gray);
  position: relative;
  padding-left: 25px;
  transition: color 0.3s ease;
}
.price-card:hover .price-features li {
  color: var(--text-light);
}
.price-features li::before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
  animation: checkmark 0.5s ease; /* Pop-in */
}
@keyframes checkmark {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* === ГАРАНТИИ: Slide-in hover */
#guarantees {
  background: var(--bg-dark);
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.guarantee-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  transition: all 0.4s ease;
  border-left: 4px solid var(--primary);
  backdrop-filter: blur(5px);
}
.guarantee-item:hover {
  transform: translateX(15px);
  box-shadow: 0 10px 30px var(--glow);
}
.guarantee-icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
  display: block;
}
.guarantee-icon.floating {
  animation: float 2.5s ease-in-out infinite;
}

/* === ЭТАПЫ: Line connections responsive */
#process {
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative; /* Для линий */
}
.step {
  text-align: center;
  max-width: 200px;
  position: relative;
  flex: 1;
}
.step::after { /* Линия между шагами */
  content: '';
  position: absolute;
  top: 25px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  z-index: -1;
}
.step:last-child::after {
  display: none;
}
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--glow);
}
.step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
}
.step h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
}
.step p {
  color: var(--text-gray);
}

/* === ОТЗЫВЫ: Quote glow */
#reviews {
  background: var(--bg-dark);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.review-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid rgba(0, 196, 204, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.1;
  filter: drop-shadow(0 0 20px var(--glow));
}
.review-card:hover {
  box-shadow: 0 10px 40px var(--glow);
  transform: translateY(-8px);
}
.review-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--glow);
}
.review-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 15px;
  padding-left: 10px;
  font-size: 16px;
  line-height: 1.5;
}
.review-author {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
}

/* === FAQ: Улучшенный стиль — плавная анимация max-height + opacity, icon + to − с rotate */
#faq {
  background: var(--bg-darker);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  margin-bottom: 25px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid rgba(0, 196, 204, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden; /* Для smooth slide */
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--glow);
}
.faq-item h3 {
  font-size: 20px;
  color: var(--primary);
  position: relative; /* Для icon */
  transition: color 0.3s;
  user-select: none; /* Не выделять текст */
}
.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  transition: all 0.4s ease; /* Плавный rotate + content change */
  transform-origin: center;
}
.faq-item.active h3::after {
  content: '−';
  transform: rotate(180deg); /* Красивый flip для − (как стрелка вниз/вверх) */
}
.faq-item p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 10px;
  max-height: 0; /* Начальное состояние для transition */
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out; /* Плавная анимация */
}
.faq-item.active p {
  max-height: 200px; /* Достаточно для текста */
  opacity: 1;
}

/* === КОНТАКТЫ: Form validation styles */
#contact {
  background: var(--bg-darker);
  padding-bottom: 60px;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info {
  flex: 1;
  min-width: 250px;
  text-align: left;
  font-size: 18px;
}
.contact-info p {
  margin: 15px 0;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
.contact-info p:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}
.contact-form {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(0, 196, 204, 0.3);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 10px var(--glow);
}
.contact-form input:invalid,
.contact-form textarea:invalid {
  border-color: #ff5555;
}
.success-msg {
  color: #00ffaa;
  font-weight: 500;
}
.error-msg {
  color: #ff5555;
  font-weight: 500;
}
.copyright {
  margin-top: 40px;
  color: var(--text-gray);
  font-size: 14px;
}

/* === АДАПТИВНОСТЬ: Enhanced breakpoints */
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }
  header {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-desktop {
    display: none;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .block {
    padding: 70px 15px 50px;
  }
  .block h2 {
    font-size: 28px;
  }
  /* .advantages-grid,
  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    flex-direction: column;
    gap: 20px;
  } */

/* Для advantages-grid (grid) */
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  /* Для process-steps (flex, column с центрированием) */
  .process-steps {
    flex-direction: column;
    align-items: center; /* Ключевой фикс: горизонтальное центрирование в column */
    justify-content: center; /* Вертикальное центрирование (опционально, для равномерного распределения) */
    gap: 20px;
  }

  /* Дополнительно: шаги не растягиваются по ширине */
  .step {
    width: auto; /* Авто-ширина, чтобы не тянуться к краям */
    max-width: 200px;
  }


  .step::after {
    display: none;
  }
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  #portfolio {
    min-height: 70vh; /* Компактнее на моб */
  }
  /* Helix responsive в JS, но CSS support */
  .element {
    padding: 12px;
  }
  .element img {
    height: 120px;
  }
}

@media (max-width: 576px) {
  .services-grid,
  .pricing-grid,
  .guarantees-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .header-cta {
    padding: 8px 16px;
    font-size: 14px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
}

/* Параллакс: Smoother via transform */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 196, 204, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.08) 0%, transparent 50%);
  z-index: 1;
  transform: translateZ(0);
  will-change: transform; /* Perf */
}

/* === КНОПКА "НАВЕРХ": Floating pulse */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #000;
  border: none;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-soft);
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  animation: float 2s ease-in-out infinite;
}
.scroll-top-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px var(--glow);
}

 
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
  cursor: pointer;
}
 
/*CSS для чекбокса*/

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #00c4cc;
  cursor: pointer;
}
 
.consent-label span {
  flex: 1;
  min-width: 0; /* важно: без этого flex-item не переносит текст */
}
 
.consent-label a {
  color: #00c4cc;
  text-decoration: underline dotted;
  transition: color 0.2s;
}
.consent-label a:hover { color: #fff; text-decoration: underline; }
 
.copyright-policy {
  color: rgba(255, 255, 255, 0.35) !important;
  font-size: 12px;
  margin-left: 14px;
  text-decoration: underline dotted;
  transition: color 0.2s;
}
.copyright-policy:hover { color: rgba(255,255,255,0.7) !important; }
 
@media (max-width: 480px) {
  .consent-label { font-size: 14px; }
}

