/* ============================================================
 * Лендинг index.html — стили (extracted from inline <style> iter 4)
 * Chat: web-ce466870, iter 4 of p3-other-html-files-inline-style-blocks-extract
 * Strategy: verbatim extract of inline <style> block content.
 *   - Inline contained themed CSS using CSS variables (var(--primary), etc.)
 *   - landing-responsive.css has LEGACY hardcoded values for some shared classes
 *   - This file loads AFTER landing-responsive.css → overrides (same as inline did)
 *   - Pure refactor: same CSS source, no semantic changes
 * ============================================================ */

/* ============================================================
   Лендинг — стили (все значения через CSS-переменные)
   Navy-тема = оригинал, Classic через отличающиеся переменные
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  transition:
    background 0.25s,
    color 0.25s;
}

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

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

/* ---- Шапка ---- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--header-border-color, var(--gray-200));
  box-shadow: var(--header-shadow);
}
.l-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-logo {
  font-size: var(--logo-size);
  font-weight: var(--logo-weight);
  color: var(--logo-color);
  letter-spacing: var(--logo-spacing);
  white-space: nowrap;
}
.l-logo span {
  color: var(--logo-accent);
}

/* ---- Кнопки ---- */
.btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--r-btn);
  font-size: var(--body-size);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    background var(--trans-fast),
    transform var(--trans-fast);
}
.btn-pri:hover {
  background: var(--btn-bg-h);
}
.btn-pri:active {
  transform: scale(0.98);
}

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ghost-bg);
  color: var(--primary);
  padding: 13px 28px;
  border-radius: var(--r-btn);
  font-size: var(--body-size);
  font-weight: 600;
  border: 2px solid var(--ghost-border);
  transition:
    border-color var(--trans-fast),
    background var(--trans-fast);
}
.btn-sec:hover {
  border-color: var(--accent);
  background: var(--ghost-bg-h);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta-btn-bg);
  color: var(--cta-btn-color);
  padding: 13px 28px;
  border-radius: var(--r-btn);
  font-size: var(--body-size);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    filter var(--trans-fast),
    transform var(--trans-fast);
}
.btn-amber:hover {
  filter: var(--btn-filter-h);
}

/* ---- Hero ---- */
.l-hero {
  background: var(--hero-bg);
  padding: var(--hero-py, 88px) 24px var(--hero-pb, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.l-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}
.l-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}
.l-hero-grid {
  position: absolute;
  inset: 0;
  background-image: var(--hero-grid);
  pointer-events: none;
}
.l-hero-inner {
  max-width: var(--hero-max-w, 740px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.l-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  border: var(--badge-border-w) solid var(--badge-border);
  color: var(--badge-color);
  border-radius: var(--badge-radius);
  padding: var(--badge-pad);
  font-size: var(--badge-size);
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: var(--badge-backdrop, none);
  -webkit-backdrop-filter: var(--badge-backdrop, none);
}
.l-hero-badge::before {
  content: '●';
  color: var(--cta-color);
  font-size: 8px;
  display: var(--badge-dot, 1) inline-flex;
}

.l-hero h1 {
  font-size: var(--h1-size);
  font-weight: var(--h-weight);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
  color: #fff;
  margin-bottom: 20px;
}
.l-hero h1 em {
  font-style: normal;
  color: var(--h1-em-color);
}

.l-hero-sub {
  font-size: var(--subtitle-size);
  color: var(--subtitle-color);
  line-height: var(--subtitle-lh, 1.72);
  max-width: var(--subtitle-max-w, 560px);
  margin: 0 auto 16px;
}
.l-hero-sub:last-of-type {
  margin-bottom: 40px;
}
/* Classic theme: different sizes for each paragraph */
.hero-sub-2 {
  font-size: var(--hero-sub-2-size, var(--subtitle-size));
  color: var(--hero-sub-2-color, var(--subtitle-color));
}
.hero-sub-3 {
  font-size: var(--hero-sub-3-size, var(--subtitle-size));
  color: var(--hero-sub-3-color, var(--subtitle-color));
}

.l-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.l-hero-actions .btn-pri {
  background: var(--hero-cta-bg);
  color: var(--hero-cta-color);
  font-size: var(--hero-cta-size);
  padding: var(--hero-cta-pad);
}
.l-hero-actions .btn-pri:hover {
  filter: var(--btn-filter-h);
  background: var(--hero-cta-bg);
}
.l-hero-actions .btn-sec {
  border-color: var(--ghost-border);
  color: var(--hero-cta2-color);
  background: var(--hero-cta2-bg);
  font-size: var(--hero-cta2-size);
  padding: var(--hero-cta2-pad);
  backdrop-filter: blur(var(--hero-cta2-blur));
  -webkit-backdrop-filter: blur(var(--hero-cta2-blur));
}
.l-hero-actions .btn-sec:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--ghost-bg-h);
}

.l-trust-strip {
  display: var(--hero-stats-display, flex);
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.l-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
}
.l-trust-num {
  font-size: 26px;
  font-weight: var(--h-weight);
  color: #fff;
  line-height: 1;
}

/* ---- Виджеты ---- */
.l-widgets-section {
  padding: var(--section-py) 24px;
  background: var(--gray-50);
}
.l-widgets-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.l-widgets-grid {
  display: grid;
  grid-template-columns: repeat(var(--widgets-cols, 3), 1fr);
  gap: var(--gap-grid);
}
.l-widget {
  background: var(--card-gradient, var(--white));
  border: 1px solid var(--widget-border);
  border-radius: var(--widget-radius);
  padding: var(--widget-pad);
  display: flex;
  flex-direction: column;
  box-shadow: var(--widget-shadow);
  transition:
    box-shadow var(--trans-mid),
    transform var(--trans-mid);
}
.l-widget:hover {
  box-shadow: var(--card-shadow-h);
  transform: var(--hover-lift);
}
.l-widget-icon {
  font-size: var(--widget-icon-fs, 36px);
  margin-bottom: 18px;
  line-height: 1;
  width: var(--widget-icon-size, auto);
  height: var(--widget-icon-size, auto);
  border-radius: var(--widget-icon-radius, 0);
  display: var(--widget-icon-display, block);
  align-items: center;
  justify-content: center;
  margin-left: var(--widget-icon-ml, 0);
  margin-right: var(--widget-icon-mr, 0);
  background: var(--widget-icon-bg, transparent);
  color: var(--widget-icon-color, inherit);
  box-shadow: var(--widget-icon-shadow, none);
}
.l-widget-title {
  font-size: var(--widget-title-size);
  font-weight: var(--h-weight);
  color: var(--widget-title-color);
  margin-bottom: 10px;
  line-height: 1.3;
}
.l-widget-text {
  font-size: var(--small-size);
  color: var(--widget-text-color);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.l-widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-ghost);
  color: var(--primary);
  border: 1.5px solid var(--accent-pale);
  padding: 9px 18px;
  border-radius: var(--r);
  font-size: var(--small-size);
  font-weight: 600;
  align-self: flex-start;
  transition:
    background var(--trans-fast),
    border-color var(--trans-fast);
}
.l-widget-btn:hover {
  background: var(--accent-pale);
  border-color: var(--accent-light);
}
.l-widget-btn svg {
  width: 13px;
  height: 13px;
}

/* ---- FAQ ---- */
.l-section {
  padding: var(--section-py) 24px;
}
.l-section-alt {
  background: var(--gray-50);
}
.l-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.l-section-badge {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: var(--xs-size);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.l-section-title {
  font-size: var(--h2-size);
  font-weight: var(--h-weight);
  line-height: 1.2;
  letter-spacing: var(--letter-h);
  margin-bottom: 12px;
}

.l-faq-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.l-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.l-faq-item {
  border: var(--faq-border-w, 0) solid var(--gray-200);
  border-bottom: var(--faq-border-bottom-w, 1px) solid var(--gray-200);
  border-radius: var(--faq-radius);
  margin-bottom: var(--faq-margin-b, 0);
  background: var(--faq-item-bg, transparent);
  transition: border-color var(--trans-fast);
}
.l-faq-item:hover {
  border-color: var(--accent-light);
}
.l-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--faq-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--body-size);
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition:
    color var(--trans-fast),
    background var(--trans-fast);
}
.l-faq-q:hover {
  color: var(--primary);
  background: var(--faq-q-hover-bg, transparent);
}
.l-faq-arrow {
  font-size: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition:
    transform 0.2s,
    color 0.2s;
}
.l-faq-item.open .l-faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.l-faq-a {
  display: none;
  padding: var(--faq-a-pad, 0 0 16px);
  font-size: var(--body-size);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--faq-a-bg, transparent);
  border-top: var(--faq-a-border-top, 0) solid var(--gray-200);
}
.l-faq-a a {
  color: var(--accent);
  text-decoration: underline;
}
.l-faq-item.open .l-faq-a {
  display: block;
}

/* ---- CTA ---- */
.l-cta {
  background: var(--cta-bg);
  padding: var(--section-py) 24px;
  text-align: center;
}
.l-cta h2 {
  font-size: var(--h2-size);
  font-weight: var(--h-weight);
  color: #fff;
  margin-bottom: 14px;
}
.l-cta p {
  font-size: var(--cta-p-size);
  color: var(--cta-p-color);
  margin-bottom: 36px;
}
.l-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.l-cta-actions .btn-sec {
  border-color: var(--ghost-border);
  color: rgba(255, 255, 255, 0.8);
}
.l-cta-actions .btn-sec:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--ghost-bg-h);
}

/* ---- Подвал ---- */
.l-footer {
  background: var(--footer-bg);
  color: var(--footer-color);
  padding: 48px 24px 24px;
}
.l-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.l-footer-logo {
  font-size: var(--footer-logo-size);
  font-weight: var(--footer-logo-weight);
  color: #fff;
  margin-bottom: 12px;
}
.l-footer-logo span {
  color: var(--footer-logo-accent, var(--logo-accent));
}
.l-footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}
.l-footer-col h4 {
  font-size: var(--footer-col-header-size);
  font-weight: 600;
  text-transform: var(--footer-col-header-transform);
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}
.l-footer-col a {
  display: block;
  font-size: var(--small-size);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  transition: color var(--trans-fast);
}
.l-footer-col a:hover {
  color: var(--footer-link-h);
}
.l-footer-copy {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  font-size: var(--footer-copy-size);
  color: var(--gray-400);
  text-align: center;
}

/* ---- Анимации ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.au {
  animation: fadeUp 0.55s ease both;
}
.au-1 {
  animation-delay: 0.1s;
}
.au-2 {
  animation-delay: 0.22s;
}
.au-3 {
  animation-delay: 0.34s;
}

/* ---- Адаптив ---- */
@media (max-width: 900px) {
  .l-widgets-grid {
    grid-template-columns: 1fr;
  }
  .l-faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .l-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .l-footer-inner {
    grid-template-columns: 1fr;
  }
  .l-widgets-section {
    padding: 48px 16px;
  }
  .l-widget {
    padding: 24px 20px;
  }
}
