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

:root {
  --bg-dark: #090e17;
  --bg-card: rgba(18, 26, 41, 0.65);
  --text-light: #f5f7fa;
  --text-muted: #8fa0dd;
  --accent-primary: #0df5bd;
  --accent-secondary: #ff6b6b;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 8px 32px 0 rgba(13, 245, 189, 0.15);
}

* {
  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);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Уникальный графический эффект: плавающие светящиеся сферы */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(13, 245, 189, 0.12) 0%, rgba(12, 21, 36, 0) 70%);
  z-index: -2;
  filter: blur(80px);
  animation: orb-float 25s infinite alternate ease-in-out;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  right: -20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, rgba(12, 21, 36, 0) 70%);
  z-index: -2;
  filter: blur(100px);
  animation: orb-float-reverse 30s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15%, 10%) scale(1.1); }
}

@keyframes orb-float-reverse {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10%, -15%) scale(1.15); }
}

/* Ссылка для людей с ограниченными возможностями */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-primary);
  color: var(--bg-dark);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: bold;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Header */
header {
  backdrop-filter: blur(12px);
  background: rgba(9, 14, 23, 0.8);
  border-bottom: 1px stroke var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-container img {
  width: 35px;
  height: 35px;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--accent-primary);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.burger-menu {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 100px 5% 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent-primary);
  background: linear-gradient(90deg, var(--accent-primary), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0be3ae;
}

.btn-secondary {
  border: 2px solid var(--border-color);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Statistics */
.stats-section {
  padding: 50px 5%;
  background: rgba(18, 26, 41, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.stat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

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

/* Sections General */
section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Social Proof & Testimonials */
.social-proof {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 80px;
}

.partners-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.7;
  margin-bottom: 40px;
}

.partner-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.testimonial-card {
  background: rgba(9, 14, 23, 0.5);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.testimonial-stars {
  color: #ffb703;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Features - Asymmetrical block */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-split img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glow);
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.features-list i {
  color: var(--accent-primary);
  margin-top: 5px;
}

.features-list h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.features-list p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-body {
  padding: 30px;
}

.service-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.recommended {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-primary);
  color: var(--bg-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 20px 0;
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features i {
  color: var(--accent-primary);
}

/* Form Section */
.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 50px;
  border-radius: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  background: rgba(9, 14, 23, 0.8);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

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

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

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

.form-checkbox label {
  font-size: 0.8rem;
}

.form-checkbox a {
  color: var(--accent-primary);
}

/* FAQ Accordion styled using native <details> */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 15px 20px;
}

summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
  user-select: none;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
}

details p {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Trust Layer */
.trust-layer {
  margin-top: 80px;
  background: rgba(18, 26, 41, 0.5);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
}

.trust-layer h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-primary);
}

.trust-layer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.trust-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-links a {
  color: var(--accent-primary);
  font-size: 0.85rem;
  text-decoration: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 50px 5% 20px 5%;
  background: #060a10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

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

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

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 1200px;
  margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0c1524;
  border-top: 2px solid var(--accent-primary);
  padding: 20px 5%;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(20px);
}

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

.cookie-content a {
  color: var(--accent-primary);
}

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

/* Responsive Rules */
@media (max-width: 992px) {
  .features-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #090e17;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 15px;
  }
  .nav-links.nav-active {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}