/**
 * Arsenkin Tools — Unified Redesign Styles
 * Optimized and cleaned up version
 */

/* =============================================
   CSS VARIABLES (Design Tokens)
   ============================================= */

:root {
  /* Primary — основной голубой */
  --primary-50:  #F0FAFF;
  --primary-100: #E0F4FD;
  --primary-200: #BAE8FB;
  --primary-300: #7DD5F8;
  --primary-400: #38BFF3;
  --primary-500: #0DA5EB;
  --primary-600: #0891D4;
  --primary-700: #0780BE;
  --primary: var(--primary-500);
  
  /* Accent — синий для градиентов */
  --accent-400: #60A5FA;
  --accent-500: #3B82F6;
  --accent-600: #2563EB;
  --accent-700: #1D4ED8;
  --accent: var(--accent-600);
  
  /* Neutral */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Semantic */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Shadows */
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 4px 14px rgba(13, 165, 235, 0.3);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

/* =============================================
   RESET & BASE
   ============================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: #FFFFFF;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-600);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* =============================================
   UTILITIES
   ============================================= */

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

.text-gradient {
  background: linear-gradient(135deg, #0DA5EB 0%, #38BFF3 50%, #0DA5EB 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.5s ease;
}

.text-gradient:hover,
.hero-title:hover .text-gradient,
h2:hover .text-gradient,
h3:hover .text-gradient {
  background-position: 100% 50%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13, 165, 235, 0.3);
}

.section-tag::before {
  content: '•';
  color: var(--primary);
}

.section-title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--gray-500);
  margin-top: 16px;
  max-width: 600px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0DA5EB 0%, #38BFF3 50%, #0DA5EB 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: white;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-normal), background-position 0.4s ease;
}

.btn-primary:hover {
  background-position: 100% 50%;
  color: white;
  box-shadow: 0 6px 20px rgba(13, 165, 235, 0.4);
}

/* Кнопки вне карточек — с подъёмом */
.hero-actions .btn-primary:hover,
.cta-button:hover {
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 165, 235, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  padding: 12px 16px;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

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

.btn-block {
  width: 100%;
}

/* =============================================
   HEADER
   ============================================= */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown.active .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: fixed;
  top: 70px;
  left: 16px;
  right: 16px;
  transform: none;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  display: none;
  z-index: 1000;
  max-width: 1050px;
  margin: 0 auto;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown.active .nav-dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}

.nav-dropdown-menu-small {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  max-width: 280px;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  margin: 8px 0 0;
}

.nav-dropdown.active .nav-dropdown-menu-small {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.dropdown-column {
  min-width: 180px;
  flex-shrink: 0;
}

.dropdown-column-wide {
  flex: 1;
  min-width: 300px;
  border-left: 1px solid var(--gray-200);
  padding-left: 32px;
}

.dropdown-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dropdown-section-title svg {
  color: var(--primary);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}

.dropdown-link {
  display: block;
  padding: 5px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  white-space: normal;
}

.dropdown-link:hover {
  color: var(--primary);
}

.dropdown-link-all {
  color: var(--primary);
  font-weight: 500;
  margin-top: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
  display: flex;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-nav .nav-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

/* Mobile Nav Dropdown */
.mobile-nav-dropdown {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-toggle {
  width: 100%;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-bottom: none;
}

.mobile-nav-toggle svg {
  transition: transform var(--transition-fast);
}

.mobile-nav-dropdown.active .mobile-nav-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: none;
  flex-direction: column;
  padding: 0 0 12px 16px;
}

.mobile-nav-dropdown.active .mobile-nav-submenu {
  display: flex;
}

.mobile-nav-submenu .dropdown-link {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-50);
}

.mobile-nav-submenu .dropdown-link:last-child {
  border-bottom: none;
}

/* Mobile Submenu Groups (Популярные / Остальные) */
.mobile-submenu-group {
  margin-bottom: 8px;
}

.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-submenu-toggle svg {
  transition: transform var(--transition-fast);
}

.mobile-submenu-toggle.active svg {
  transform: rotate(180deg);
}

.mobile-submenu-links {
  display: none;
  flex-direction: column;
  padding-left: 8px;
}

.mobile-submenu-links.active {
  display: flex;
}

.mobile-submenu-links .dropdown-link {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-50);
}

.mobile-submenu-links .dropdown-link:last-child {
  border-bottom: none;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  padding: 80px 0 100px;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(13, 165, 235, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(56, 191, 243, 0.04) 0%, transparent 50%),
    url('https://arsenkin.ru/assets/images/secion-main.png');
  background-position: center, center, left bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-500);
  margin-top: 24px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-screenshot-wrapper {
  width: 100%;
  max-width: 800px;
}

.hero-screenshot {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-screenshot:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}

/* =============================================
   CLIENTS LOGOS
   ============================================= */

.clients {
  padding: 60px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--gray-50) 100%);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.clients .container {
  max-width: none;
  padding: 0;
  width: 100%;
}

.clients-track {
  display: flex;
  gap: 60px;
  animation: scroll 17s linear infinite alternate;
  padding-left: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  flex-shrink: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.client-logo img:hover {
  transform: scale(1.05);
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
  padding: 100px 0;
}

.about-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.about-title-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  align-items: start;
}

.about-title-row .section-title {
  margin: 0;
}

.about-content-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.about-description {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: linear-gradient(135deg, #F8FBFF 0%, #EDF5FF 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 235, 0.12);
  border-color: var(--primary-200);
}

.stat-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.stat-icon img {
  height: 200px;
  width: auto;
  max-height: 180%;
  object-fit: contain;
  opacity: 0.8;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 8px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* =============================================
   FEATURES SECTION
   ============================================= */

.features {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(13, 165, 235, 0.20) 0%, rgba(13, 165, 235, 0.08) 100%);
}

.features-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.features-header .section-tag {
  flex-shrink: 0;
}


.features-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.feature-tab {
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.feature-tab:hover {
  border-color: var(--primary-300);
  color: var(--primary);
}

.feature-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.feature-tab.disabled {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
}

.feature-tab.disabled:hover {
  border-color: var(--gray-300);
  color: var(--gray-500);
}

.feature-tab.disabled::after {
  content: 'Этот модуль будет доступен в ближайшее время';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.feature-tab.disabled:hover::after {
  opacity: 1;
  visibility: visible;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
  background: white;
  border: 1px solid var(--primary-300);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.feature-image {
  position: relative;
}

.feature-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Feature Slider */
.feature-slider {
  position: relative;
  user-select: none;
}

.feature-slides {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: grab;
  position: relative;
}

.feature-slides.grabbing {
  cursor: grabbing;
}

.feature-slides-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.feature-slide {
  flex: 0 0 100%;
  width: 100%;
}

.feature-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 472 / 244;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-slide img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.feature-slide-placeholder {
  width: 100%;
  aspect-ratio: 472 / 244;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

/* Unified slider arrow styles */
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-600);
  box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-check {
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-info .btn {
  margin-top: 32px;
}

/* =============================================
   TOOLS SECTION
   ============================================= */

.tools {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(13, 165, 235, 0.08) 0%, rgba(13, 165, 235, 0.20) 100%);
}

.tools-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.tools-header .section-tag {
  flex-shrink: 0;
}

.tools-title-wrap {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.tools-title-wrap .section-title {
  flex: 1;
}

.tools-title-wrap .section-description {
  text-align: right;
  max-width: 280px;
  flex-shrink: 0;
  margin-top: 20px;
  font-size: 16px;
}

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

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

.tools-column .tool-category {
  flex: 1;
}

@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }
  
  .tools-column:nth-child(3) {
    display: contents;
  }
  
  .tools-column:nth-child(3) .tool-category:nth-child(1) {
    grid-column: 1;
  }
  
  .tools-column:nth-child(3) .tool-category:nth-child(2) {
    grid-column: 2;
  }
}

.tool-category {
  background: linear-gradient(135deg, #F8FBFF 0%, #EDF5FF 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px;
  transition: all var(--transition-normal);
}

.tool-category.tall {
  grid-row: span 2;
}

.tool-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 235, 0.12);
  border-color: var(--primary-200);
}

.tool-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  position: relative;
}

.tool-category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  background: #4dae4e;
}

.tool-category-icon.semantic-icon {
  background: #4dae4e;
}

.tool-category-icon.internal-icon {
  background: #4dae4e;
}

.tool-category-icon.ai-icon {
  background: #4dae4e;
}

.tool-category-icon.copywriter-icon {
  background: #4dae4e;
}

.tool-category-icon.seo-ai-icon {
  background: #4dae4e;
}

.tool-category-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
}

.tool-category-icon img {
  display: none;
}

.tool-category h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}

.tool-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.tool-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.tool-icon {
  flex-shrink: 0;
  width: 20px;
  height: 16px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.tool-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  overflow: visible;
}

.tool-list li a {
  color: var(--gray-600);
  font-size: 15px;
  transition: all var(--transition-fast);
  flex: 1;
}

.tool-list li a:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.tool-info {
  width: 16px;
  height: 16px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gray-500);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  position: relative;
}

.tool-info:hover {
  background: var(--primary);
  color: white;
}

.tool-info-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  margin-right: 8px;
  width: 280px;
  white-space: normal;
  z-index: 100;
}

.tool-info:hover .tool-info-tooltip {
  opacity: 1;
  visibility: visible;
}


/* =============================================
   VISION SECTION
   ============================================= */

.vision {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.vision::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background-image: url('https://arsenkin.ru/assets/images/background-info-global.png');
  background-position: bottom center;
  background-repeat: repeat-x;
  background-size: auto 100%;
  pointer-events: none;
  opacity: 0.5;
}

.vision .container {
  position: relative;
  z-index: 1;
}

.vision-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.vision-header .section-tag {
  flex-shrink: 0;
}

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

.vision-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.vision-logo img {
  width: 385px;
  height: 63px;
  object-fit: contain;
}

.vision-logo span {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.05em;
}

.vision-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.5;
}

.vision-title .typed-text {
  border-right: 2px solid var(--primary);
  animation: blink-caret 0.75s step-end infinite;
}

.vision-title .typed-text.done {
  border-right: none;
  animation: none;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary); }
}

/* =============================================
   BENEFITS SECTION
   ============================================= */

.benefits {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(13, 165, 235, 0.06) 0%, rgba(13, 165, 235, 0.03) 100%);
}

.benefits-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.benefits-users {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefits-users span {
  font-size: 14px;
  color: var(--gray-600);
}

.user-avatars {
  display: flex;
}

.avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-left: -14px;
}

.avatar-img:first-child {
  margin-left: 0;
}

.avatar {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  margin-left: -14px;
  border: 3px solid white;
  flex-shrink: 0;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar.more {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 16px;
}

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

.benefit-card {
  background: linear-gradient(135deg, #F8FBFF 0%, #EDF5FF 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  min-width: 0;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 235, 0.12);
  border-color: var(--primary-200);
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

.benefit-card p {
  font-size: 14px;
  color: var(--gray-800);
  margin-top: 12px;
  line-height: 1.6;
}

.benefit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--primary-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.benefit-large {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  border: none;
}

.benefit-with-bg {
  background-image: url('images/benefit-platform.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.benefit-with-bg h3,
.benefit-with-bg p {
  position: relative;
  z-index: 1;
}

.benefit-large h3 {
  color: var(--gray-900);
  font-size: 22px;
}

.benefit-large p {
  color: var(--gray-700);
  font-size: 15px;
}

.benefit-wide {
  grid-column: span 2;
}

.benefit-cta {
  background: linear-gradient(135deg, #0DA5EB 0%, #38BFF3 100%);
  border-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.benefit-cta h3 {
  color: white;
  font-size: 20px;
}

.benefit-cta .btn {
  margin-top: 20px;
  background: white;
  color: var(--primary);
  border: none;
}

.benefit-cta .btn:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials {
  padding: 100px 0;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.testimonials-slider {
  position: relative;
  overflow: visible;
  padding: 0 40px;
}

.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 8px;
  margin-top: -8px;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  min-width: 300px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  margin-top: 4px;
}

.testimonial-card:nth-child(even) {
  background: linear-gradient(135deg, #F8FBFF 0%, #EDF5FF 100%);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 235, 0.12);
  border-color: var(--primary-200);
}

/* Slider arrows for testimonials */
.slider-arrow-prev,
.slider-arrow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  z-index: 10;
}

.slider-arrow-prev {
  left: -24px;
}

.slider-arrow-next {
  right: -24px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.testimonial-dot:hover {
  background: var(--gray-400);
  transform: scale(1.1);
}

.testimonial-dot.active {
  background: var(--primary);
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow-y: auto;
  max-height: 260px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.testimonial-text.expanded::-webkit-scrollbar {
  width: 4px;
}

.testimonial-text.expanded::-webkit-scrollbar-track {
  background: transparent;
}

.testimonial-text.expanded::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

.testimonial-spoiler {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--transition-fast);
}

.testimonial-spoiler:hover {
  opacity: 0.7;
}

.testimonial-spoiler svg {
  transition: transform 0.3s ease;
}

.testimonial-spoiler.active svg {
  transform: rotate(180deg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 15px;
  color: var(--gray-800);
}

.author-info span {
  font-size: 13px;
  color: var(--gray-500);
}

.author-info span a {
  color: var(--primary);
  text-decoration: none;
}

.author-info span a:hover {
  text-decoration: underline;
}

.testimonials-footer {
  text-align: center;
  margin-top: 40px;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta {
  padding: 0;
  background: linear-gradient(135deg, #0DA5EB 0%, #38BFF3 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://arsenkin.ru/assets/images/Lights.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 80px);
  transform: translateX(-50%);
  width: 800px;
  height: 200px;
  background-image: url('https://arsenkin.ru/assets/images/light.png');
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta-card {
  background: unset;
  background-color: unset;
  padding: 80px 0 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  text-align: center;
}

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

.cta-card h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-highlight {
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F4FD 50%, #FFFFFF 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-button {
  position: relative;
  margin-bottom: 0;
  background: white !important;
  color: var(--primary) !important;
  padding: 18px 40px !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  transform: translateY(-50%);
  width: 100%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 191, 243, 0.15) 25%,
    rgba(125, 213, 248, 0.4) 50%,
    rgba(56, 191, 243, 0.15) 75%,
    transparent 100%
  );
  filter: blur(4px);
  animation: cta-button-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-button-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* .cta-button:hover определён выше через общий селектор */

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cta-actions .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 32px;
  font-weight: 600;
}

.cta-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-note {
  font-size: 14px;
  color: var(--gray-500);
}

.cta-bonus {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-800);
  font-size: 15px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: fit-content;
}

.cta-bonus-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-bonus-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

/* =============================================
   PRICING
   ============================================= */

.pricing {
  padding: 100px 0;
  background: 
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(13, 165, 235, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(56, 191, 243, 0.03) 0%, transparent 50%),
    var(--gray-50);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-header .section-tag {
  flex-shrink: 0;
}


/* Pricing Cards Row */
.pricing-cards-row {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-toggle-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px 20px 0;
  background: transparent;
}

.pricing-toggle-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.pricing-toggle-sublabel {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.toggle-buttons {
  display: inline-flex;
  width: fit-content;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--gray-200);
}

.toggle-btn {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-btn:hover {
  color: var(--gray-700);
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(13, 165, 235, 0.3);
}

.pricing-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 235, 0.12);
  border-color: var(--primary-200);
}

.pricing-card.featured {
  border-color: var(--gray-200);
}

.pricing-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-icon svg {
  width: 40px;
  height: 40px;
}

/* Basic - зеленый */
.pricing-card[data-plan="basic"] .pricing-card-icon {
  color: #10B981;
}

/* Standard - синий */
.pricing-card[data-plan="standard"] .pricing-card-icon {
  color: var(--primary);
}

/* Corp - фиолетовый */
.pricing-card[data-plan="corp"] .pricing-card-icon {
  color: #8B5CF6;
}

.pricing-card-icon img {
  display: none;
}

.pricing-badge {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.pricing-description {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  min-height: 36px;
}

.pricing-price {
  margin-bottom: 4px;
  white-space: nowrap;
}

.pricing-price .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
}

.pricing-price .period {
  font-size: 16px;
  color: var(--gray-500);
}

.pricing-annual {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 0;
  display: none;
}

/* Стрелки навигации по тарифам — скрыты на десктопе */
.pricing-nav-arrow {
  display: none;
}

.pricing-card-actions {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 24px;
}

.pricing-card-actions .btn {
  width: 100%;
}

.pricing-features {
  margin-top: 24px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Pricing Table */
.pricing-table-wrapper {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table tbody tr {
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:hover {
  background-color: rgba(13, 165, 235, 0.08);
}

.pricing-table tbody tr:hover td {
  background-color: rgba(13, 165, 235, 0.08);
}

.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  font-size: 15px;
  color: var(--gray-700);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pricing-table td.highlight-column {
  background-color: rgba(13, 165, 235, 0.08);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.pricing-table tr:first-child td.highlight-column {
  border-top: 2px solid var(--primary);
}

.pricing-table tr:last-child td.highlight-column {
  border-bottom: 2px solid var(--primary);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td.feature-name {
  text-align: left;
  font-weight: 500;
  color: var(--gray-800);
  background: var(--gray-50);
  width: 216px;
  min-width: 216px;
}

.pricing-table .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #4dae4e;
  color: white;
  font-size: 14px;
  border-radius: 50%;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  padding: 20px;
  margin: 0;
}

/* =============================================
   FAQ
   ============================================= */

.faq {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.faq-left .section-title {
  margin-bottom: 24px;
}

.faq-image {
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.faq-image img {
  width: 550px;
  max-width: none;
  height: auto;
  opacity: 0.15;
}

.faq-left .section-tag,
.faq-left .section-title {
  position: relative;
  z-index: 1;
}

.faq-header {
  display: none;
}

.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-sidebar {
  display: none;
}

.faq-illustration {
  display: none;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-content > .btn {
  align-self: flex-start;
  margin-top: 16px;
}

/* =============================================
   FINAL CTA
   ============================================= */

.final-cta {
  padding: 60px 0;
  text-align: center;
}

.final-cta-card {
  background: linear-gradient(135deg, #0DA5EB 0%, #38BFF3 50%, #7DD5F8 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.final-cta h2 {
  font-size: 36px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.final-cta .btn {
  background: white;
  color: var(--primary);
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.final-cta .btn:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* =============================================
  FOOTER
  ============================================= */

.footer {
  background: #F1F7FF;
  padding: 50px 0 0;
  position: relative;
  overflow: hidden;
}

.footer .container {
  position: relative;
  padding: 0 16px;
}

.footer-light {
  position: absolute;
  top: -85px;
  left: 40%;
  right: -40%;
  height: 370px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.footer-light img {
  width: 1200px;
  max-width: none;
  height: auto;
}

.footer-background-logo {
  position: absolute;
  top: 16px;
  left: -96px;
  pointer-events: none;
  z-index: 1;
}

.footer-background-logo svg {
  width: 318px;
  height: 269px;
  opacity: 0.08;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 0 0 24px;
  position: relative;
  z-index: 2;
}

.footer-logo svg {
  height: 29px;
  width: auto;
}

.footer-contacts p {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-contacts a {
  color: var(--primary);
}

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

.footer-links a {
  font-size: 16px;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

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

.footer-social p {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.footer-social span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 7px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.social-icons a:hover {
  transform: scale(1.05);
}

.social-icons svg circle,
.social-icons svg path {
  transition: all var(--transition-fast);
}

.social-icons a:hover svg circle {
  stroke: var(--primary);
}

.social-icons a:hover svg path {
  fill: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(108, 108, 108, 0.2);
  font-size: 14px;
  color: var(--gray-400);
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin: 0;
  font-weight: 500;
  color: var(--gray-400);
}

.footer-bottom a {
  color: var(--gray-400);
  font-weight: 500;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1200px) {
  .header-inner {
    gap: 12px;
  }
  
  .nav {
    gap: 2px;
  }
  
  .nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .header-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .logo-text {
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 0;
  }
  
  .nav-link {
    padding: 8px 8px;
    font-size: 12px;
  }
  
  .header-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .logo-text {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefit-large {
    grid-column: 1;
    grid-row: 1;
  }
  
  
  .faq-layout {
    justify-content: center;
  }
  
  .faq-sidebar {
    position: static;
    text-align: center;
  }
  
  .about-header {
    grid-template-columns: 1fr;
  }
  
  .about-description {
    max-width: 100%;
  }
  
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  /* Pricing: уменьшаем размеры текста перед переходом в 1 колонку */
  .pricing-cards-row {
    gap: 12px;
  }
  
  .pricing-toggle-side {
    padding: 16px 16px 16px 0;
  }
  
  .pricing-toggle-label {
    font-size: 16px;
  }
  
  .pricing-toggle-sublabel {
    font-size: 12px;
  }
  
  .pricing-card {
    padding: 16px;
  }
  
  .pricing-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }
  
  .pricing-card-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .pricing-badge {
    font-size: 15px;
  }
  
  .pricing-description {
    font-size: 11px;
    min-height: 28px;
    margin-bottom: 12px;
  }
  
  .pricing-price .price {
    font-size: 28px;
  }
  
  .pricing-price .period {
    font-size: 13px;
  }
  
  .pricing-annual {
    font-size: 12px;
  }
  
  .pricing-card-actions {
    margin-top: 16px;
  }
  
  .pricing-card-actions .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .pricing-table td {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .pricing-table td.feature-name {
    width: 180px;
    min-width: 180px;
  }
}

/* Footer: 3 колонки — лого+ссылки | контакты | соцсети */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "logo contacts social"
      "links contacts social";
    gap: 24px 32px;
    align-items: start;
  }
  
  .footer-logo {
    grid-area: logo;
  }
  
  .footer-contacts {
    grid-area: contacts;
  }
  
  .footer-links {
    grid-area: links;
  }
  
  .footer-social {
    grid-area: social;
  }
}

@media (max-width: 768px) {
  /* About title row */
  .about-title-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* FAQ inner */
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .faq-image {
    max-width: 300px;
  }
  
  /* Stats grid - horizontal scroll */
  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }
  
  .stat-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .features-tabs {
    gap: 6px;
    margin-bottom: 32px;
  }

  .feature-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .feature-tab.disabled::after {
    white-space: normal;
    min-width: 200px;
    text-align: center;
  }
  
  /* Pricing: мобильная версия с одной карточкой и стрелками */
  .pricing-cards-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  
  .pricing-toggle-side {
    order: -1;
    padding: 0 0 8px 0;
    align-items: center;
    width: 100%;
    flex-basis: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .pricing-toggle-label,
  .pricing-toggle-sublabel {
    text-align: center;
  }
  
  .pricing-card {
    display: none;
    flex: 0 0 auto;
    width: calc(100% - 120px);
    max-width: 280px;
  }
  
  .pricing-card.active-mobile {
    display: flex;
  }
  
  .pricing-nav-arrow {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  
  .pricing-nav-arrow:hover {
    background: var(--primary);
    color: white;
  }
  
  .pricing-nav-arrow:active {
    transform: scale(0.95);
  }
  
  /* Таблица: 2 колонки */
  .pricing-table-wrapper {
    overflow: hidden;
  }
  
  .pricing-table {
    display: block;
  }
  
  .pricing-table tbody {
    display: block;
  }
  
  .pricing-table tr {
    display: flex;
    border-bottom: 1px solid var(--gray-100);
  }
  
  .pricing-table td {
    display: none;
    flex: 1;
    min-width: 0;
  }
  
  .pricing-table td.feature-name {
    display: block;
    flex: 1;
    width: auto;
    min-width: 0;
  }
  
  .pricing-table td.active-column {
    display: block;
    flex: 1;
  }
  
  .benefit-wide {
    grid-column: 1;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .tools-column:nth-child(3) {
    display: flex;
  }
  
  .tools-column:nth-child(3) .tool-category:nth-child(1),
  .tools-column:nth-child(3) .tool-category:nth-child(2) {
    grid-column: auto;
  }
  
  /* Tools accordion on mobile */
  .tool-category {
    position: relative;
  }
  
  .tool-category-header {
    cursor: pointer;
    position: relative;
    padding-right: 32px;
  }
  
  .tool-category-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--gray-400);
    transition: transform var(--transition-fast);
  }
  
  .tool-category.expanded .tool-category-header::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .tool-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
  }
  
  .tool-category.expanded .tool-list {
    max-height: 1000px;
    margin-top: 12px;
    overflow: visible;
  }

  .tool-info-tooltip {
    position: fixed;
    right: auto;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    transform: none;
    margin-right: 0;
    margin-top: 0;
    width: auto;
    max-width: calc(100vw - 32px);
    z-index: 9999;
  }
  
  .feature-content {
    grid-template-columns: 1fr;
  }
  
  /* Footer: 2 колонки — лого+ссылки | контакты+соцсети */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo contacts"
      "links social";
    gap: 24px 32px;
  }
  
  .footer-logo { grid-area: logo; }
  .footer-contacts { grid-area: contacts; }
  .footer-links { grid-area: links; }
  .footer-social { grid-area: social; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-light {
    display: none;
  }
  
  /* Testimonials slider — карточка всегда полностью видна на экране */
  .testimonials-slider {
    padding: 0 16px;
    margin: 0 -16px;
  }
  
  .testimonials-grid {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    gap: 16px;
  }
  
  .testimonial-card {
    width: min(85vw, calc(100vw - 64px));
    min-width: min(260px, calc(100vw - 64px));
    max-width: 350px;
    min-height: auto;
    scroll-snap-align: center;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  
  .slider-arrow-prev {
    left: 4px;
  }
  
  .slider-arrow-next {
    right: 4px;
  }
  
  .about-description {
    max-width: 100%;
  }

  .tools-title-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .tools-title-wrap .section-description {
    text-align: left;
    max-width: 100%;
    flex-shrink: 1;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  /* Карточка отзыва — гарантированно помещается на узком экране */
  .testimonial-card {
    width: calc(100vw - 48px);
    min-width: unset;
    padding: 20px;
  }

  .testimonials-slider {
    padding: 0 8px;
    margin: 0 -8px;
  }

  /* Footer: 1 колонка — всё в столбик по центру */
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "contacts"
      "links"
      "social";
    gap: 32px;
    justify-items: center;
    text-align: center;
  }
  
  .footer-logo,
  .footer-contacts,
  .footer-links,
  .footer-social {
    grid-area: auto;
  }
  
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  
  .footer-links ul {
    align-items: center;
  }
  
  .footer-social .social-icons {
    justify-content: center;
  }
  
  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .logo-text {
    font-size: 12px;
  }
}
