/* CSS Variables - светлая тема по умолчанию */
:root {
  /* Цвета */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9F9F9;
  --text-primary: #212121;
  --text-secondary: #757575;
  --accent-yellow: #FFD700;
  --accent-gold: #FFC107;
  --accent-dark-gold: #D4AF37;
  --border-color: #E0E0E0;
  --card-bg: #F9F9F9;
  
  /* Переходы */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* CSS Variables для темной темы */
:root.theme-dark,
html.theme-dark {
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --text-primary: #E0E0E0;
  --text-secondary: #B0B0B0;
  --border-color: #333333;
  --card-bg: #1E1E1E;
}

/* Базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

/* Градиентная подсветка курсора */
.cursor-glow {
  position: fixed !important;
  width: 600px !important;
  height: 600px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.075) 20%, rgba(255, 215, 0, 0.05) 40%, rgba(255, 193, 7, 0.025) 60%, transparent 80%) !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 0.15s ease !important;
  z-index: 2 !important;
  opacity: 1 !important;
  filter: blur(10px) !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}


.cta-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
} 


/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px  24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #000;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--card-bg);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.theme-dark .header {
  background-color: rgba(18, 18, 18, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  height: 100%;
}

.brand-name {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  height: 100%;
}

.logo-img {
  width: auto;
  height: 56px;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Логотип в header - еще крупнее */
.brand .logo-img {
  height: 64px;
}

.logo svg {
  width: 24px;
  height: 24px;
}

.brand-name {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Навигационное меню */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  margin: 0 32px;
}

.nav-menu-item {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-gold));
  transition: width 0.3s ease;
}

.nav-menu-item:hover {
  color: var(--accent-gold);
}

.nav-menu-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-gold);
  background: var(--bg-secondary);
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.theme-toggle:hover::before {
  width: 100px;
  height: 100px;
}

.theme-toggle:hover {
  background: var(--card-bg);
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.theme-toggle:not(:hover) {
  border-color: transparent;
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 3;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--card-bg);
  border: 2px solid var(--accent-gold);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
  animation: pulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.badge svg {
  color: var(--accent-gold);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

/* Rating Comparison Images */
.rating-comparison {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.rating-image {
  position: absolute;
  width: 280px;
  height: 350px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 3px solid var(--border-color);
  background: var(--bg-primary);
  cursor: pointer;
}

.rating-image img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rating-image-before {
  left: 0;
  z-index: 1;
  transform: rotate(-8deg) translateX(-20px);
}

.rating-image-after {
  right: 0;
  z-index: 2;
  transform: rotate(8deg) translateX(20px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
}

.rating-image:hover {
  box-shadow: 0 25px 60px rgba(255, 215, 0, 0.4);
  z-index: 10 !important;
}

.rating-image-before:hover {
  transform: rotate(-5deg) translateX(-30px) translateY(-10px) scale(1.05);
}

.rating-image-after:hover {
  transform: rotate(5deg) translateX(30px) translateY(-10px) scale(1.05);
}

/* Image Expansion */
.rating-image.image-expanded {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 49.5vw !important;
  height: 49.5vh !important;
  max-width: 660px !important;
  max-height: 440px !important;
  z-index: 999999 !important;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--accent-gold);
  transform: translate(-50%, -50%) !important;
}

.rating-image-before.image-expanded {
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
}

.rating-image-after.image-expanded {
  right: auto !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.rating-image.image-expanded img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.image-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  z-index: 999998 !important;
  animation: fadeIn 0.3s ease;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
}

.theme-dark .rating-image {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .rating-image-after {
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
}

.hero-visual-content .score-animation {
  max-width: 500px;
  width: 100%;
}

.score-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 12.4px;
  background: var(--card-bg);
  border-radius: 24px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.score-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.theme-dark .score-animation {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.score-before,
.score-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-value {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.score-value.highlight {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.arrow {
  font-size: 48px;
  color: var(--accent-gold);
  animation: slideArrow 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

@keyframes slideArrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  position: relative;
}

.benefits > * {
  position: relative;
  z-index: 3;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.benefit-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-primary);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.25);
  border-color: var(--accent-gold);
  background: var(--card-bg);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-gold);
  opacity: 0.9;
  transition: all 0.3s ease;
  position: relative;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.2) rotate(5deg);
  opacity: 1;
}

.benefit-icon svg {
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
}

.benefit-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  position: relative;
}

.how-it-works > * {
  position: relative;
  z-index: 3;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  width: 100%;
  animation: fadeInUp 0.6s ease-out;
}

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

.section-subtitle {
  font-size: 20px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  display: flex;
  gap: 24px;
  padding: 40px 32px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 193, 7, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover::after {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 215, 0, 0.2);
  border-color: var(--accent-gold);
}

.step-number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  color: #000;
  border-radius: 50%;
  font-size: 36px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  position: relative;
  z-index: 1;
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  position: relative;
}

.pricing > * {
  position: relative;
  z-index: 3;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  z-index: 1;
}

.pricing-card {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
}


.pricing-main {
  margin-bottom: 32px;
}

.price-label {
  display: block;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.price-value {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-rules {
  color: var(--text-secondary);
  line-height: 1.8;
}

.pricing-rules p {
  margin-bottom: 8px;
}

/* Pricing Info / Calculator */
.pricing-info {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.calculator {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 56px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.calculator:hover::before {
  transform: scaleX(1);
}

.theme-dark .calculator {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.calculator:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
  transform: translateY(-4px);
}

.calculator-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
}

.calculator-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calculator-price-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
}

.price-per-point-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 22px;
}

.price-per-point-value {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 28px;
}

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.calculator-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.calculator-input {
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.calculator-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.calculator-input:hover {
  border-color: var(--accent-gold);
}

.calculator-result {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.total-value {
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Calculator */
@media (max-width: 768px) {
  .calculator-inputs {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .calculator {
    padding: 24px;
  }
  
  .calculator-title {
    font-size: 24px;
  }
  
  .total-value {
    font-size: 14px;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials > * {
  position: relative;
  z-index: 3;
}

.testimonials-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: 24px;
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  flex: 0 0 calc(33.333% - 16px);
  padding: 20px 32px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-sizing: border-box;
  z-index: 2;
}


.testimonial-card:hover {
  box-shadow: 0 16px 32px rgba(255, 215, 0, 0.2);
  border-color: var(--accent-gold);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  padding-left: 20px;
  padding-top: 10px;
}

.testimonial-content p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
  position: relative;
  z-index: 1;
  padding-left: 20px;
}

/* Карусель контролы */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-btn {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  padding: 0;
}

.testimonial-btn:hover:not(:disabled) {
  background: var(--card-bg);
  border-color: var(--accent-gold);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.testimonial-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonials-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot:hover {
  border-color: var(--accent-gold);
  transform: scale(1.2);
}

.testimonial-dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  width: 16px;
  height: 16px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  position: relative;
}

.faq > * {
  position: relative;
  z-index: 3;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  z-index: 1;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.faq-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
  transform: translateX(4px);
}

.faq-item.is-open {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-gold);
  transition: var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 16px 24px 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: slideDown 0.3s ease;
}

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

/* Final CTA Section */
.cta-final {
  padding: 120px 0 60px 0;
  text-align: center;
  position: relative;
}

.cta-final > * {
  position: relative;
  z-index: 3;
}

.cta-content {
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.cta-content > p {
  font-size: 20px;
  margin-bottom: 32px;
  color: var(--text-secondary);
}

.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Contacts Section */
.contacts {
  padding: 80px 0;
  position: relative;
}

.contacts > * {
  position: relative;
  z-index: 3;
}

.contacts-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
  transform: translateY(-2px);
}

.contact-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-link {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background-color: var(--bg-primary);
  border-top: 2px solid var(--border-color);
  position: relative;
}

.footer > * {
  position: relative;
  z-index: 3;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  height: 100%;
}

.footer-brand .logo-img {
  width: auto;
  height: 120px;
  max-height: 100%;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact p {
  color: var(--text-secondary);
}

.footer-copyright {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-actions {
    gap: 8px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .btn-outline {
    padding: 6px 12px;
    font-size: 14px;
  }

  .theme-toggle {
    padding: 6px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-content {
    gap: 30px;
  }

  .rating-comparison {
    height: 300px;
    max-width: 100%;
  }

  .rating-image {
    width: 200px;
    height: 250px;
  }

  .rating-image-before {
    transform: rotate(-6deg) translateX(-15px);
  }

  .rating-image-after {
    transform: rotate(6deg) translateX(15px);
  }


  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 0;
  }

  .testimonials-carousel {
    max-width: 100%;
  }
  
  .testimonial-card {
    min-width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
    padding: 15px 24px;
  }
  
  .testimonial-content {
    padding-left: 10px;
  }
  
  .testimonial-author {
    padding-left: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
  }

  .benefits,
  .how-it-works,
  .pricing,
  .testimonials,
  .faq {
    padding: 60px 0;
  }

  .score-animation {
    flex-direction: column;
    gap: 20px;
    padding: 11.7px;
  }

  .score-value {
    font-size: 48px;
  }

  .arrow {
    transform: rotate(90deg);
    font-size: 32px;
  }
}

/* Плавное переключение темы */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Исключения для анимаций */
svg, img, video {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Анимации для улучшения UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

/* Применение анимаций */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.benefit-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.step-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card {
  animation: scaleIn 0.8s ease-out;
}

.faq-item {
  animation: fadeInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }

/* Логотип статичный - анимация убрана */

/* Анимация для счетчика */
.score-value {
  animation: scaleIn 0.6s ease-out;
}

.score-value.highlight {
  animation: pulse 2s ease-in-out infinite;
}

/* Анимация для кнопок */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary::before {
  background: rgba(0, 0, 0, 0.1);
}

/* Плавная прокрутка при клике на якоря */
html {
  scroll-padding-top: 80px;
}

/* Улучшение доступности */
.btn:focus,
.input:focus,
.faq-question:focus,
.theme-toggle:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Улучшение видимости для темной темы */
.theme-dark .btn-primary {
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.theme-dark .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

/* Плавное появление при скролле */
@media (prefers-reduced-motion: no-preference) {
  .benefit-card,
  .step-card,
  .testimonial-card,
  .faq-item,
  .pricing-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

/* Оптимизация для печати */
@media print {
  .header,
  .footer,
  .hero-cta,
  .btn {
    display: none;
  }
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.language-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 120px;
    padding: 8px 30px 8px 12px;
    border: 1px solid #2d3138;
    border-radius: 6px;
    background-color: #1e1e1e;
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-selector select:focus {
    outline: none;
    border-color: #2d3338;
    box-shadow: 0 0 0 3px rgba(228, 177, 67, 0.2);
}

.language-selector::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #e2e8f0;
    font-size: 10px;
}

.language-selector select option {
    background-color: #2d3748;
    color: #e2e8f0;
}

