/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a56ff;
  --blue-dark: #1440cc;
  --blue-light: #e8eeff;
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --gray-100: #f8f9fc;
  --gray-200: #f0f2f7;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --text: #111827;
  --text-light: #6b7280;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

/* Global smooth transitions for interactive elements */
a, button, input, [role="button"] {
  transition: all 0.25s ease;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== ANIMATIONS ===== */
.animate-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-fade-right { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade-left { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade-up.visible,
.animate-fade-right.visible,
.animate-fade-left.visible { opacity: 1; transform: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1a56ff 50%, #1440cc 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26,86,255,0.35), 0 1px 4px rgba(26,86,255,0.2);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1a56ff 50%, #1230a8 100%);
  box-shadow: 0 6px 24px rgba(26,86,255,0.5), 0 2px 8px rgba(26,86,255,0.3);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  font-size: 13px;
  padding: 7px 16px;
}
.btn--outline:hover { background: var(--blue); color: white; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }

.link-arrow {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.link-arrow:hover { opacity: 0.7; }

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1;
}
.logo--white .logo__name { color: white; }
.logo__sub {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logo--white .logo__sub { color: rgba(255,255,255,0.5); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.header__top {
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
}
.header__top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__nav {
  display: flex;
  gap: 24px;
}
.header__nav a {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--blue); }
.arrow-down { font-size: 10px; }
.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.header__phone:hover { color: var(--blue); }
.header__main { padding: 14px 0; }
.header__main .container { display: flex; align-items: center; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1a35 40%, #0f0f2a 100%);
  min-height: 520px;
  padding: 60px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('/images/hero.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,86,255,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__content { animation: fadeUp 0.8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero__title {
  font-size: 50px;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__image { display: flex; justify-content: center; align-items: center; }
.hero__img-wrap { position: relative; width: 100%; max-width: 460px; }
.hero__svg { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(26,86,255,0.3)); animation: float 6s ease-in-out infinite; opacity: 0.85; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: rgba(26,86,255,0.2);
  border-radius: 50%;
  filter: blur(20px);
}

/* Hero real image */
.hero__real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(26,86,255,0.2);
}

/* ===== BENEFITS ===== */
.benefits {
  background: white;
  padding: 24px 0;
  border-bottom: 1px solid #f0f2f7;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: var(--gray-100);
}
.benefit-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--blue);
}
.benefit-item__icon svg { width: 100%; height: 100%; }
.benefit-item__title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.benefit-item__sub { font-size: 12px; color: var(--text-light); }

/* ===== WHO SECTION ===== */
.who-section {
  padding: 60px 0;
  background: var(--gray-100);
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-card {
  background: white;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.who-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,86,255,0.14), 0 4px 12px rgba(0,0,0,0.07);
  border-color: rgba(26,86,255,0.25);
}
.who-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.who-card__icon svg { width: 100%; height: 100%; }
.who-card__title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ===== BESTSELLERS ===== */
.bestsellers {
  padding: 60px 0;
  background: white;
}
.bestsellers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.bestsellers__header .section-title { margin-bottom: 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid #e8edf5;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,86,255,0.13), 0 4px 12px rgba(0,0,0,0.08);
}
.product-card__img {
  background: var(--gray-100);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  overflow: hidden;
  position: relative;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: absolute;
  inset: 0;
}
.product-lamp { width: 100px; height: 100px; }
.product-lamp svg { width: 100%; height: 100%; }
.product-card__badge {
  background: #fef9c3;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  margin: 12px 16px 0;
  display: inline-block;
  border-radius: 4px;
}
.product-card__badge--gray {
  background: #f3f4f6;
  color: var(--gray-600);
}
.product-card__name {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px 16px;
  color: var(--text);
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 60px 0;
  background: var(--blue-light);
}
.map-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.map-section__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.map-section__text {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.russia-map { width: 100%; height: auto; }

/* ===== WHY SECTION ===== */
.why-section {
  padding: 60px 0;
  background: white;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  text-align: center;
  padding: 24px 16px;
}
.why-item__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
}
.why-item__icon svg { width: 100%; height: 100%; }
.why-item__title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1535 45%, #0a1020 80%, #0f0f1a 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(26,86,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  color: white;
}
.stat-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  opacity: 0.7;
}
.stat-item__icon svg { width: 100%; height: 100%; }
.stat-item__num {
  font-size: 36px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Light stats variant */
.stats-grid--light .stat-item__num--dark { color: var(--text); }
.stats-grid--light .stat-item__label--dark { color: var(--text-light); }
.stat-item__icon--blue { opacity: 1; }

/* ===== HOW SECTION ===== */
.how-section {
  padding: 60px 0;
  background: var(--gray-100);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-step {
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: 14px;
  border: 1px solid #e8edf5;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,86,255,0.1), 0 3px 8px rgba(0,0,0,0.07);
}
.how-step__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.how-step__icon svg { width: 100%; height: 100%; }
.how-step__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.how-step__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.how-step__sub { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.how-step__arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--blue);
  z-index: 2;
  font-weight: 700;
}

/* ===== TWO COL SECTION ===== */
.two-col-section {
  padding: 60px 0;
  background: white;
}
.two-col-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col-section__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}
.two-col-section__list {
  list-style: none;
  margin-bottom: 20px;
}
.two-col-section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid #f0f2f7;
}
.check-icon { color: var(--blue); font-weight: 700; font-size: 14px; }
.two-col-section__img-wrap { margin-top: 24px; }
.two-col-section__text { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.chart-placeholder { margin-top: 24px; }

/* ===== ABOUT NUMBERS ===== */
.about-numbers {
  padding: 60px 0;
  background: var(--gray-100);
}

/* ===== LEAD FORM SECTION ===== */
.lead-form-section {
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1a35 60%, #0f0f2a 100%);
  padding: 60px 0;
  overflow: hidden;
}
.lead-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lead-form-section__title {
  font-size: 26px;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 12px;
}
.lead-form-section__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.lead-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-input {
  flex: 1;
  min-width: 160px;
  padding: 15px 20px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.form-input::placeholder {
  color: rgba(255,255,255,0.38);
  font-style: italic;
}
.form-input:focus {
  border-color: var(--blue);
  background: rgba(26,86,255,0.1);
  box-shadow: 0 0 0 3px rgba(26,86,255,0.2);
}
.form-input:hover:not(:focus) {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.11);
}
.lead-form-section__image { display: flex; justify-content: center; }
.lead-form-section__image svg { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 0 30px rgba(26,86,255,0.2)); }

/* ===== FOOTER ===== */
.footer {
  background: #0d0d1a;
  padding: 56px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer__brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer__socials { display: flex; gap: 8px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--blue); color: white; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__col a:hover { color: white; }
.footer__col p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer__phone {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: white !important;
}
.footer__hours { margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer__bottom a { color: rgba(255,255,255,0.3); }
.footer__bottom a:hover { color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__title { font-size: 38px; }
  .benefits__grid, .who-grid, .products-grid, .why-grid, .stats-grid, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__top { display: none; }
  .hero__inner, .map-section__inner, .two-col-section__inner, .lead-form-section__inner, .footer__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__title { font-size: 28px; }
  .benefits__grid, .who-grid, .products-grid, .why-grid, .stats-grid, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-step__arrow { display: none; }
  .lead-form-section__image { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .bestsellers__header { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .benefits__grid, .who-grid, .products-grid, .why-grid, .stats-grid, .how-steps { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .lead-form { flex-direction: column; }
}
