﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@400;500&display=swap');

:root {
  --bg-dark: #0b0f19;
  --bg-card: #151f32;
  --primary-teal: #06b6d4;
  --secondary-purple: #8b5cf6;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-teal);
  color: #fff;
  padding: 10px 20px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.skip-link:focus {
  top: 0;
}

/* Header & Navigation (Glassmorphism) */
header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-light);
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
}

.logo-img {
  width: 36px;
  height: 36px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
  color: var(--primary-teal);
}

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero Section with Mesh Gradient Animation */
@keyframes meshMovement {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  position: relative;
  background: var(--bg-dark);
  background-image: var(--gradient-mesh);
  background-size: 200% 200%;
  animation: meshMovement 12s ease infinite;
  padding: 120px 20px 80px 20px;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* Statistics */
.stats {
  padding: 60px 20px;
  background: rgba(21, 31, 50, 0.4);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

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

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--primary-teal);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Social Proof */
.social-proof {
  padding: 80px 20px;
}

.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  opacity: 0.6;
}

.brand-logos i {
  font-size: 2.5rem;
  color: var(--text-muted);
}

.reviews-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-teal);
}

.review-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.review-author {
  font-weight: 500;
  color: var(--text-light);
}

/* Features (Asymmetric layout) */
.features {
  padding: 80px 20px;
  background: rgba(21, 31, 50, 0.2);
}

.feature-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-img-wrapper, .service-img-wrapper {
  flex: 1;
}

.feature-img-wrapper img, .service-img-wrapper img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-text-wrapper {
  flex: 1;
}

.feature-list {
  list-style: none;
  margin-top: 30px;
}

.feature-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: bold;
}

/* Services */
.services-section {
  padding: 80px 20px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 30px;
}

.service-body h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing cards (Premium, Highlight middle, smooth scroll) */
.pricing {
  padding: 80px 20px;
  background: rgba(21, 31, 50, 0.2);
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.price-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.price-card.featured {
  border-color: var(--primary-teal);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-teal);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.price-card h3 {
  font-size: 1.5rem;
}

.amount {
  font-size: 2.5rem;
  font-family: 'Syne', sans-serif;
  color: var(--text-light);
  margin: 20px 0;
}

.amount span {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.price-card li {
  margin-bottom: 10px;
}

/* Forms Section */
.form-section {
  padding: 80px 20px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  width: auto;
  margin-top: 3px;
}

.checkbox-group a {
  color: var(--primary-teal);
  text-decoration: none;
}

/* Accordion FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-top: 0;
}

.faq-answer.active {
  padding-top: 15px;
}

/* Trust Layer (Перед футером на всех страницах) */
.trust-layer {
  background: rgba(11, 15, 25, 0.9);
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-content {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.trust-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.trust-text a {
  color: var(--primary-teal);
  text-decoration: none;
}

/* Footer */
footer {
  background: #070a11;
  padding: 60px 20px 20px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--primary-teal);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  z-index: 10000;
  transition: bottom 0.5s ease;
}

.cookie-banner-active {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--primary-teal);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn-decline {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    flex-direction: column;
    padding-top: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  nav ul.nav-active {
    left: 0;
  }

  .burger {
    display: block;
  }

  .feature-layout {
    flex-direction: column;
  }

  h1 {
    font-size: 2.2rem;
  }

  .price-card.featured {
    transform: none;
  }
}