:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #8b5cf6;
  --success: #22c55e;
  --background: #f8fafc;
  --text: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-2: linear-gradient(45deg, #3b82f6, #8b5cf6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --blur-bg: rgba(255, 255, 255, 0.8);
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes gradient-rotation {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: var(--blur-bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  background: var(--white);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.hero {
  padding: 8rem 0 4rem;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    );
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient-rotation 8s linear infinite;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateZ(20px) rotateX(10deg);
}

.advantages {
  padding: 6rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.advantage-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.advantage-card:hover {
  transform: translateY(-10px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: var(--gradient-2);
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.6s ease;
  z-index: 0;
}

.service-card:hover::after {
  opacity: 0.1;
  transform: translate(-50%, -50%) rotate(90deg);
}

.review-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin: 1rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-header img {
  border-radius: 50%;
  object-fit: cover;
}

.swiper-container {
  padding: 2rem 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
}

.cta {
  padding: 6rem 0;
  background: var(--gradient-1);
  color: var(--white);
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.cta-form input {
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
}

.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  animation: slide-up 0.5s ease;
}

@keyframes slide-up {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta {
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@supports (backdrop-filter: blur(10px)) {
  .header {
    background: rgba(255, 255, 255, 0.8);
  }
}

@media (hover: hover) {
  .nav-links a:hover {
    color: var(--primary);
  }
}
/* Стили для страниц политик */
.policy-page {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.policy-section {
  margin-bottom: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-section h1 {
  color: #333;
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}

.policy-section h2 {
  color: #444;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.policy-section h3 {
  color: #555;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.policy-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.policy-section ul {
  list-style: none;
  padding-left: 0;
}

.policy-section ul li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.policy-section ul li:before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .policy-page {
    padding: 60px 0;
  }

  .policy-section {
    padding: 20px;
  }

  .policy-section h1 {
    font-size: 2em;
  }

  .policy-section h2 {
    font-size: 1.5em;
  }

  .policy-section h3 {
    font-size: 1.2em;
  }
}
