/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1c1d 100%);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer .container {
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--yellow-accent);
}

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.footer-cities {
text-align: center;
padding: 20px 0 10px;
}

.cities-divider {
border-top: 1px solid #444;
margin-bottom: 15px;
}

.cities-text {
color: #E5E5E5;
font-size: 12px;
margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromCenter {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes move {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 100px) rotate(90deg);
  }
  50% {
    transform: translate(100px, 50px) rotate(180deg);
  }
  75% {
    transform: translate(50px, 0px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

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

@keyframes floatShapes {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 40px) rotate(5deg);
  }
  50% {
    transform: translate(40px, 20px) rotate(10deg);
  }
  75% {
    transform: translate(20px, 0px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes waveEffect {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.final-cta .floating-element {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 70%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .floating-element {
  background: radial-gradient(circle, rgba(250, 195, 17, 0.2) 0%, rgba(250, 195, 17, 0.05) 70%);
  box-shadow: 0 0 20px rgba(250, 195, 17, 0.3), 0 0 40px rgba(250, 195, 17, 0.1);
  border: 1px solid rgba(250, 195, 17, 0.1);
}

.final-cta .floating-element:nth-child(1) {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.final-cta .floating-element:nth-child(2) {
  width: 40px;
  height: 40px;
  top: 70%;
  left: 85%;
  animation-delay: 1s;
}

.final-cta .floating-element:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 75%;
  animation-delay: 2s;
}

.final-cta .floating-element:nth-child(4) {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 20%;
  animation-delay: 0.5s;
}

.final-cta .floating-element:nth-child(5) {
  width: 70px;
  height: 70px;
  top: 20%;
  left: 60%;
  animation-delay: 1.5s;
}

.footer .floating-element:nth-child(1) {
  width: 40px;
  height: 40px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.footer .floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.footer .floating-element:nth-child(3) {
  width: 50px;
  height: 50px;
  top: 40%;
  left: 50%;
  animation-delay: 2s;
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
  animation: floatButton 4s ease-out infinite;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.5);
}

.back-to-top::after {
  content: "↑";
  color: white;
  font-size: 24px;
  font-weight: bold;
}

@keyframes floatButton {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes subtleGlow {
  0% {
    box-shadow: 0 4px 15px rgba(250, 195, 17, 0.3);
  }
  50% {
    box-shadow: 0 4px 18px rgba(250, 195, 17, 0.4);
  }
  100% {
    box-shadow: 0 4px 15px rgba(250, 195, 17, 0.3);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 3rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-illustration {
    position: relative;
    width: 80%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
    right: auto;
    transform: none;
    top: 0;
  }
  
  .comparison-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .comparison-column {
    width: 100%;
  }
  
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    width: 100%;
  }
  
  /* Product explanation mobile styles */
  .card {
    animation: mobileCardEntrance 0.8s ease-out forwards;
  }
  
  .card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .card:nth-child(2) {
    animation-delay: 0.3s;
  }
  
  .card:nth-child(3) {
    animation-delay: 0.5s;
  }
  
  .card-spotlight {
    display: none;
  }
  
  .card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .card:hover .card-icon {
    transform: none;
    text-shadow: none;
  }
  
  /* Pricing value mobile styles */
  .feature-item.feature-highlight {
  }
  
  /* Advantages mobile styles */
  .comparison-column.site-column,
  .comparison-column.social-column {
    transform: none !important;
    opacity: 1 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  }
  
  /* Disable all other hover effects on mobile */
  .card:hover,
  .feature-item:hover,
  .comparison-column:hover,
  .advantage-item:hover,
  .disadvantage-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  .card:hover .card-icon,
  .feature-item:hover .feature-icon {
    transform: none !important;
    text-shadow: none !important;
  }
}

/* Privacy Policy Styles */
.privacy-container {
  padding: 120px 20px 50px;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f4 100%);
  min-height: 100vh;
}

.privacy-wrapper {
  width: 100%;
  max-width: 900px;
}

.privacy-card {
  background: var(--white);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.privacy-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.privacy-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--dark-bg);
  position: relative;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.privacy-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-accent), #ff9a00);
  border-radius: 2px;
}

.privacy-subtitle {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  color: var(--dark-bg);
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.privacy-section {
  margin-bottom: 35px;
}

.privacy-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--secondary-text);
  font-size: 1.05rem;
}

.privacy-section ul {
  padding-left: 25px;
  margin: 20px 0 25px;
}

.privacy-section li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--secondary-text);
  position: relative;
  padding-left: 20px;
}

.privacy-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--yellow-accent);
  font-size: 1.2rem;
}

.privacy-section strong {
  color: var(--dark-bg);
  font-weight: 600;
}

@media (max-width: 768px) {
  .privacy-container {
    padding: 100px 15px 30px;
  }
  
  .privacy-card {
    padding: 30px;
  }
  
  .privacy-title {
    font-size: 2rem;
  }
  
  .privacy-subtitle {
    font-size: 1.4rem;
  }
}

/* ================================
   AMBIENT FLOATING BACKGROUND
================================ */

.product-explanation,
.full-package,
.advantages,
.pricing-value {
  position: relative;
  overflow: hidden;
}

/* контейнер с фигурами */
.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* общий стиль фигур */
.ambient-bg .shape {
  position: absolute;
  opacity: 0.08;
  filter: blur(1px);
  animation: ambientFloat 18s ease-in-out infinite;
}

/* ===== КРУГИ ===== */
.shape.circle {
  border-radius: 50%;
  background: rgba(250, 195, 17, 0.18);
}

/* ===== ПЛАСТИНЫ ===== */
.shape.plate {
  background: rgba(28, 30, 31, 0.06);
  border-radius: 10px;
  transform: rotate(12deg);
}

/* ===== КВАДРАТЫ ===== */
.shape.square {
  background: rgba(0, 150, 255, 0.08); /* синий пастельный цвет */
  width: 120px;
  height: 120px;
  border-radius: 4px; /* слегка скруглённые углы */
  transform: rotate(6deg);
}

/* ================================
   АНИМАЦИЯ ПЛАВАНИЯ
================================ */

@keyframes ambientFloat {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(20px, -30px) rotate(4deg); }
  50%  { transform: translate(-10px, 20px) rotate(-4deg); }
  75%  { transform: translate(15px, 10px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* ================================
   ПОЗИЦИИ ФИГУР
================================ */

/* Круги */
.ambient-bg .s1 { width: 160px; height: 160px; top: 5%; left: 5%; }
.ambient-bg .s2 { width: 140px; height: 140px; bottom: 5%; right: 15%; }

/* Пластины */
.ambient-bg .s3 { width: 200px; height: 120px; top: 20%; right: 10%; }
.ambient-bg .s4 { width: 180px; height: 100px; bottom: 5%; left: 15%; }

/* Квадраты */
.ambient-bg .s5 { width: 120px; height: 120px; top: 50%; left: 5%; transform: translateY(-50%); }
.ambient-bg .s6 { width: 130px; height: 130px; top: 50%; right: 5%; transform: translateY(-50%); }


/* Круги */
.ambient-bg .s7 { width: 150px; height: 150px; top: 5%; right: 5%; }
.ambient-bg .s8 { width: 130px; height: 130px; bottom: 5%; left: 5%; }

/* Пластины */
.ambient-bg .s9  { width: 210px; height: 110px; bottom: 5%; right: 10%; }
.ambient-bg .s10 { width: 180px; height: 90px; top: 10%; left: 10%; }

/* Квадраты */
.ambient-bg .s11 { width: 120px; height: 120px; top: 50%; left: 5%; transform: translateY(-50%); }
.ambient-bg .s12 { width: 140px; height: 140px; top: 50%; right: 5%; transform: translateY(-50%); }


/* Круги */
.ambient-bg .s13 { width: 160px; height: 160px; top: 25%; left: 5%; }  /* левый бок */
.ambient-bg .s14 { width: 140px; height: 140px; top: 55%; right: 0; right: 5%; } /* правый бок */

/* Квадраты */
.ambient-bg .s17 { width: 120px; height: 120px; top: 55%; left: 5%; }  /* левый бок */
.ambient-bg .s18 { width: 130px; height: 130px; top: 25%; right: 0; right: 5%; } /* правый бок */




/* ================================
   СЛОЙ КОНТЕНТА ПОВЕРХ
================================ */

.product-explanation .container,
.full-package .container,
.advantages .container,
.pricing-value .container {
  position: relative;
  z-index: 2;
}

/* FIX ambient background visibility */
.product-explanation {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.product-explanation .ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.product-explanation .ambient-bg .shape {
  position: absolute;
  opacity: 1;
}

.product-explanation .container {
  position: relative;
  z-index: 5;
}
/* Floating elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 195, 17, 0.4) 0%, rgba(250, 195, 17, 0.1) 70%);
  box-shadow: 0 0 30px rgba(250, 195, 17, 0.5), 0 0 60px rgba(250, 195, 17, 0.2);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(250, 195, 17, 0.2);
}

/* New floating shapes */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  transition: transform 0.3s ease-out;
  pointer-events: none;
}

.floating-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  z-index: 0;
  transform-origin: center;
  transition: transform 0.3s ease-out;
  pointer-events: none;
}

.floating-rectangle {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  z-index: 0;
  transition: transform 0.3s ease-out;
  pointer-events: none;
}

.floating-circle {
  animation: floatShapes 8s ease-in-out infinite;
}

.floating-line {
  animation: floatShapes 10s ease-in-out infinite;
}

.floating-rectangle {
  animation: floatShapes 12s ease-in-out infinite;
}

/* Enhanced floating shapes with new design concept */
.floating-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05-0.15;
  transition: transform 0.5s ease-out;
}

.floating-shape.circle {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(1px);
}

.floating-shape.line {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(1px);
}

.floating-shape.rectangle {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(1px);
}

/* Animation for floating shapes */
@keyframes floatAnimation {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, 20px) rotate(5deg);
  }
  50% {
    transform: translate(20px, 10px) rotate(10deg);
  }
  75% {
    transform: translate(10px, 0px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.floating-shape.circle {
  animation: floatAnimation 8s ease-in-out infinite;
}

.floating-shape.line {
  animation: floatAnimation 10s ease-in-out infinite;
}

.floating-shape.rectangle {
  animation: floatAnimation 12s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 70%;
  animation-delay: 4s;
}

.floating-element:nth-child(4) {
  width: 40px;
  height: 40px;
  top: 70%;
  left: 20%;
  animation-delay: 1s;
}

.floating-element:nth-child(5) {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 40%;
  animation-delay: 3s;
}

footer {
    margin-top: auto;
}
