/* ==========================================================================
   VOLANTO LANDING PAGE STYLES (landing.css)
   Pixel-perfect к утверждённому макету первого экрана
   ========================================================================== */

:root {
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-text-sub: #475569;
  --color-border: #E2E8F0;
  --color-bg-page: #FFFFFF;
  --color-bg-card: #FFFFFF;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  font-family: var(--font-family);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

.landing-body {
  min-height: 100vh;
  position: relative;
  background-color: #FFFFFF !important;
}

/* Контейнер страницы (КРИТИЧНО) */
.landing-container {
  width: 100% !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  box-sizing: border-box !important;
}

@media (min-width: 1440px) {
  .landing-container {
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
  }
}

/* --------------------------------------------------------------------------
   1. ШАПКА (HEADER) - 72px
   -------------------------------------------------------------------------- */
.landing-header {
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
  background-color: #FFFFFF !important;
}

.brand-block {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.brand-logo-text {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: #0F172A !important;
  display: flex !important;
  align-items: center !important;
}

.brand-logo-text .brand-v {
  color: var(--color-primary) !important;
}

.brand-desc {
  font-size: 11px !important;
  line-height: 1.25 !important;
  color: var(--color-text-muted) !important;
  font-weight: 500 !important;
  border-left: 1px solid var(--color-border) !important;
  padding-left: 12px !important;
}

/* Навигация шапки */
.header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

.nav-link {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: var(--color-text-sub) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.nav-link:hover {
  color: var(--color-text-main) !important;
}

/* Правый блок действий */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.btn-header-login {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--color-primary) !important;
  background: #FFFFFF !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 10px !important;
  padding: 9px 22px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-header-login:hover {
  border-color: #CBD5E1 !important;
  background-color: #F8FAFC !important;
}

.btn-header-register {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background-color: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 10px !important;
  padding: 9px 22px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-header-register:hover {
  background-color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

/* --------------------------------------------------------------------------
   2. ГЛАВНЫЙ ЭКРАН (HERO SECTION)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 0 !important;
  background: #FFFFFF radial-gradient(ellipse at 75% 45%, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 70%) !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.3fr !important;
  gap: 28px !important;
  align-items: end !important;
  padding-top: 40px !important;
  padding-bottom: 16px !important;
  min-height: 560px !important;
}

/* Левая колонка */
.hero-content {
  display: flex !important;
  flex-direction: column !important;
}

/* Бейджи / Чипы вверху */
.hero-badges-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.hero-badge-green {
  background-color: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
}

.hero-badge-green .dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: #10B981 !important;
}

.hero-badge-blue {
  background-color: #EFF6FF !important;
  color: #1E40AF !important;
  border: 1px solid #BFDBFE !important;
}

.hero-badge-blue svg.chrome-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* Главный заголовок H1 */
.hero-title {
  font-size: 56px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  color: #0F172A !important;
  margin-bottom: 20px !important;
}

.hero-title .highlight-blue {
  color: #2563EB !important;
  display: block !important;
}

/* Подзаголовок */
.hero-subtitle {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  max-width: 520px !important;
  margin-bottom: 28px !important;
}

/* Форма поиска магазина */
.hero-search-box {
  width: 100% !important;
  max-width: 650px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 14px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03) !important;
  margin-bottom: 14px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  box-sizing: border-box !important;
}

.hero-search-box:focus-within {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 10px 25px -5px rgba(15, 23, 42, 0.08) !important;
}

.hero-search-icon {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  color: #94A3B8 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.hero-search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 56px !important;
  padding-left: 48px !important;
  padding-right: 175px !important; /* запас под абсолютную кнопку */
  font-size: 15px !important;
  border: none !important;
  outline: none !important;
  font-family: inherit !important;
  color: #0F172A !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.hero-search-input::placeholder {
  color: #94A3B8 !important;
  font-size: 14.5px !important;
}

.hero-search-btn {
  position: absolute !important;
  right: 6px !important;
  top: 6px !important;
  height: 44px !important;
  padding: 0 22px !important;
  flex-shrink: 0 !important;
  background: #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.15s ease !important;
}

.hero-search-btn:hover {
  background-color: #1D4ED8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

/* Подсказки под поиском (Chips) */
.hero-chips-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  width: 100% !important;
  overflow-x: visible !important;
  margin-top: 14px !important;
}

.chips-label {
  font-size: 13px !important;
  color: #64748B !important;
  margin-right: 2px !important;
  flex-shrink: 0 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.chip-btn {
  padding: 4px 10px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  color: #475569 !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  font-family: inherit !important;
}

.chip-btn:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Правая колонка: Мокап ноутбука (КРИТИЧНО) */
.hero-mockup-wrapper {
  position: relative !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  width: 100% !important;
}

.hero-mockup-img {
  width: 100% !important;
  max-width: 760px !important;
  min-width: 620px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  margin-bottom: -15px !important; /* опустить ноутбук к самой линии карточек */
  filter: drop-shadow(0 25px 50px rgba(15, 23, 42, 0.14)) !important;
  transition: transform 0.3s ease !important;
}

.hero-mockup-img:hover {
  transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   3. СЕТКА КЛЮЧЕВЫХ ВОЗМОЖНОСТЕЙ (4 КАРТОЧКИ)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 24px 0 60px 0 !important;
}

.features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-top: 48px !important;
  margin-bottom: 40px !important;
}

.feature-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 24px 22px !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.feature-card:hover {
  border-color: #CBD5E1 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04) !important;
}

.feature-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.feature-icon-box {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
  flex-shrink: 0 !important;
}

.feature-icon-box svg {
  stroke-width: 2.4px !important;
  width: 26px !important;
  height: 26px !important;
}

/* Плотные цветные подложки для иконок */
.icon-box-purple {
  background: #EDE9FE !important;
  color: #6D28D9 !important;
}

.icon-box-green {
  background: #D1FAE5 !important;
  color: #047857 !important;
}

.icon-box-blue {
  background: #DBEAFE !important;
  color: #1D4ED8 !important;
}

.icon-box-orange {
  background: #FFEDD5 !important;
  color: #C2410C !important;
}

/* Кнопка со стрелкой (→) в правом верхнем углу каждой карточки */
.feature-arrow-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #2563EB !important;
  background: #FFFFFF !important;
  transition: all 0.15s ease !important;
}

.feature-card:hover .feature-arrow-btn {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
}

.feature-arrow-btn svg {
  width: 14px !important;
  height: 14px !important;
}

.feature-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

.feature-desc {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #475569 !important;
}

/* --------------------------------------------------------------------------
   4. ПОДВАЛ (FOOTER)
   -------------------------------------------------------------------------- */
.landing-footer {
  border-top: 1px solid #E2E8F0 !important;
  padding: 30px 0 !important;
  background-color: #FFFFFF !important;
}

.footer-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  color: var(--color-text-muted) !important;
}

.footer-links {
  display: flex !important;
  gap: 20px !important;
}

.footer-link {
  color: var(--color-text-muted) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.footer-link:hover {
  color: var(--color-text-main) !important;
}

/* --------------------------------------------------------------------------
   5. АДАПТИВНОСТЬ (RESPONSIVE MEDIA QUERIES С ЗАЩИТОЙ !important)
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .hero-mockup-img {
    min-width: 0 !important;
  }

  .hero-chips-row {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    align-items: center !important;
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .hero-content {
    max-width: 640px !important;
  }

  .hero-mockup-wrapper {
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-mockup-img {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-top: 32px !important;
    margin-bottom: 32px !important;
  }

  .hero-chips-row {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .landing-container {
    padding: 0 16px !important;
  }

  .landing-header {
    height: 60px !important;
  }

  .header-nav {
    display: none !important;
  }

  .brand-desc {
    display: none !important;
  }

  .brand-logo-text {
    font-size: 20px !important;
  }

  .btn-header-login {
    padding: 6px 12px !important;
    font-size: 12.5px !important;
  }

  .btn-header-register {
    display: inline-flex !important;
    padding: 6px 12px !important;
    font-size: 12.5px !important;
  }

  .hero-badges-row {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .hero-badge {
    font-size: 11.5px !important;
    padding: 5px 10px !important;
  }

  .hero-badge-blue svg.chrome-icon {
    width: 15px !important;
    height: 15px !important;
  }

  .hero-title {
    font-size: 36px !important;
  }

  .hero-subtitle {
    font-size: 14.5px !important;
    margin-bottom: 20px !important;
  }

  .hero-search-box {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    padding: 10px !important;
    align-items: stretch !important;
    position: relative !important;
  }

  .hero-search-icon {
    display: none !important;
  }

  .hero-search-input {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 14px !important;
  }

  .hero-search-btn {
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 48px !important;
    justify-content: center !important;
    margin-top: 8px !important;
    font-size: 14px !important;
  }

  .hero-chips-row {
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow-x: visible !important;
    gap: 6px !important;
  }

  .chip-btn {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }

  .hero-mockup-img {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .footer-inner {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }
}
