:root {
  --primary-color: #2C7FB2;
  --secondary-color: #F1A9B8;
  --accent-color: #B3D0D9;
  --light-color: #F5F5F5;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(135deg, #2C7FB2 0%, #F1A9B8 100%);
  --hover-color: #4A90E2;
  --background-color: #ECF1F1;
  --text-color: #1D2A3C;
  --border-color: rgba(44, 127, 178, 0.2);
  --divider-color: rgba(241, 169, 184, 0.15);
  --shadow-color: rgba(44, 127, 178, 0.15);
  --highlight-color: #FF6F61;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

/* Mobile Menu Styles - Standard dropdown */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Feature Cards - Минималистичный стиль */
.feature-card {
  background: white;
  border: none;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(44, 127, 178, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(44, 127, 178, 0.15);
}

.feature-card:hover::before {
  height: 8px;
}

.feature-icon {
  font-size: 3.5rem;
  margin: 0 auto 2rem;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s ease;
  position: relative;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Testimonials - Модерный дизайн */
.testimonial {
  background: linear-gradient(135deg, white, rgba(179, 208, 217, 0.1));
  border: none;
  border-radius: 24px;
  padding: 3rem;
  margin: 1rem 0;
  box-shadow: 0 10px 35px rgba(44, 127, 178, 0.12);
  position: relative;
  transition: all 0.4s ease;
}

.testimonial:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(44, 127, 178, 0.18);
}

/* FAQ Items - Карточки с градиентом */
.faq-item {
  background: linear-gradient(135deg, white, rgba(241, 169, 184, 0.05));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  margin: 1.5rem 0;
  box-shadow: 0 6px 25px rgba(44, 127, 178, 0.08);
  transition: all 0.3s ease;
  padding: 2.5rem;
  position: relative;
}

.faq-item:hover {
  box-shadow: 0 12px 35px rgba(44, 127, 178, 0.15);
  transform: translateY(-3px);
  border-color: var(--secondary-color);
}

.faq-item h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 3rem;
}

.faq-item h3::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: -5px;
  background: var(--gradient-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Form Styles - Скругленные поля */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.4rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
  backdrop-filter: blur(5px);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(44, 127, 178, 0.1);
  background-color: white;
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
  background-color: white;
}

/* Button Styles - Округлые кнопки */
button,
.btn {
  transition: all 0.4s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.4rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 8px 25px rgba(44, 127, 178, 0.3);
  position: relative;
  overflow: hidden;
}

button::before,
.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: all 0.4s ease;
}

button:hover,
.btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(44, 127, 178, 0.4);
}

button:hover::before,
.btn:hover::before {
  left: 100%;
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Statistics Cards - Floating карточки */
.stat-card {
  background: linear-gradient(135deg, white, rgba(179, 208, 217, 0.1));
  border: none;
  border-radius: 20px;
  padding: 2.5rem .5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(44, 127, 178, 0.12);
  transition: all 0.4s ease;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 50px rgba(44, 127, 178, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--main-font);
  line-height: 1.1;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-top: 0.8rem;
  font-weight: 500;
}

/* Trust Indicators - Neumorphism стиль */
.trust-indicator {
  background: var(--background-color);
  padding: 2rem 2.2rem;
  border-radius: 18px;
  border: none;
  box-shadow: 
    8px 8px 16px rgba(44, 127, 178, 0.1),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-align: center;
}

.trust-indicator:hover {
  box-shadow: 
    4px 4px 8px rgba(44, 127, 178, 0.15),
    -4px -4px 8px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(44, 127, 178, 0.1);
}

footer {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  color: white;
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

/* Pattern Background - Волнистый паттерн */
.pattern-bg {
  background-image: 
    radial-gradient(circle at 25px 25px, rgba(44, 127, 178, 0.05) 3px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(241, 169, 184, 0.04) 2px, transparent 0);
  background-size: 100px 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    margin: 1rem 0;
    padding: 2rem;
  }

  .trust-indicator {
    margin: 1rem 0;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}