/**
 * NFS AUTO Homepage V2 Styles
 * Новый дизайн компонентов главной страницы
 * На основе dizich/nfsauto_homepage.html
 */

/* ══════════════════════════════════════════════════════════
   TOKENS (совместимость с design-tokens.css)
   ══════════════════════════════════════════════════════════ */
:root {
  --nfs-v2-blue: #1A5FD9;
  --nfs-v2-blue2: #2B6FE8;
  --nfs-v2-blue3: #3B7FFF;
  --nfs-v2-red: #C92222;
  --nfs-v2-red2: #E03030;
  --nfs-v2-green: #14A34A;
  --nfs-v2-green2: #22C55E;
  --nfs-v2-amber: #D97706;
  --nfs-v2-ch1: #F4F6FA;
  --nfs-v2-ch2: #E0E5F0;
  --nfs-v2-ch3: #B8C0D4;
  --nfs-v2-ch4: #7A86A0;
  --nfs-v2-ch5: #3A4260;
  --nfs-v2-dark: #0D1117;
  --nfs-v2-dark2: #111827;
  --nfs-v2-dark3: #1A2035;
  --nfs-v2-bg: #F0F3F8;
  --nfs-v2-surface: #fff;
  --nfs-v2-t1: #0D1117;
  --nfs-v2-t2: #2A3450;
  --nfs-v2-t3: #5A6480;
  --nfs-v2-t4: #9AA0B8;
  --nfs-v2-b1: rgba(58,66,96,.07);
  --nfs-v2-b2: rgba(58,66,96,.12);
  --nfs-v2-blue-glow: rgba(26,95,217,.2);
  --nfs-v2-ff: 'Montserrat', system-ui, sans-serif;
  --nfs-v2-mono: 'Share Tech Mono', 'Courier New', monospace;
}

/* ══════════════════════════════════════════════════════════
   АНИМАЦИИ
   ══════════════════════════════════════════════════════════ */
@keyframes nfs-shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes nfs-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nfs-pulse-dot {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes nfs-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION V2 (тёмный фон)
   ══════════════════════════════════════════════════════════ */
.nfs-hero-v2 {
  background: linear-gradient(155deg, var(--nfs-v2-dark) 0%, var(--nfs-v2-dark2) 55%, var(--nfs-v2-dark3) 100%);
  padding: 52px 0 0;
  position: relative;
  overflow: hidden;
}

.nfs-hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 50%, rgba(26,95,217,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(59,127,255,.04) 0%, transparent 70%);
  pointer-events: none;
}

.nfs-hero-v2 .container {
  position: relative;
  z-index: 1;
}

.nfs-hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  min-height: 340px;
}

.nfs-hero-v2-left {
  padding: 48px 0 40px;
}

.nfs-hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,95,217,.12);
  border: 0.5px solid rgba(59,127,255,.3);
  color: #7AB3FF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.nfs-hero-v2-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nfs-v2-blue3);
  animation: nfs-pulse-dot 1.5s ease-in-out infinite;
}

.nfs-hero-v2-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  font-family: var(--nfs-v2-ff);
}

.nfs-hero-v2-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--nfs-v2-blue3) 0%, #7AB3FF 40%, var(--nfs-v2-blue3) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nfs-shimmer 3s linear infinite;
}

.nfs-hero-v2-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}

.nfs-hero-v2-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.nfs-hero-v2-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nfs-hero-v2-stat-val {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.nfs-hero-v2-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nfs-hero-v2-stat-div {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

.nfs-hero-v2-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-hero-v2-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(150deg, var(--nfs-v2-blue3), var(--nfs-v2-blue), #1248B0);
  color: #fff;
  font-family: var(--nfs-v2-ff);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(59,127,255,.5), 0 0 20px rgba(59,127,255,.25), 0 4px 14px rgba(26,95,217,.35), 0 1px 0 rgba(255,255,255,.15) inset;
  transition: transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-hero-v2-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 200% center;
  pointer-events: none;
  transition: background-position .4s;
}

.btn-hero-v2-primary:hover::after {
  background-position: -200% center;
}

.btn-hero-v2-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(59,127,255,.6), 0 0 24px rgba(59,127,255,.3), 0 6px 18px rgba(26,95,217,.4);
}

.btn-hero-v2-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 0.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-family: var(--nfs-v2-ff);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}

.btn-hero-v2-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

/* Route panel */
.nfs-hero-v2-route {
  background: rgba(255,255,255,.04);
  border: 0.5px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 20px 22px;
  min-width: 200px;
  flex-shrink: 0;
  align-self: center;
}

.nfs-hero-v2-route-title {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.nfs-route-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.nfs-route-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.12);
  font-size: 11px;
}

.nfs-route-dot.active {
  background: rgba(26,95,217,.2);
  border-color: var(--nfs-v2-blue);
  box-shadow: 0 0 10px rgba(59,127,255,.3);
}

.nfs-route-info {
  flex: 1;
}

.nfs-route-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.nfs-route-sub {
  font-size: 9px;
  color: rgba(255,255,255,.3);
  margin-top: 1px;
}

.nfs-route-connector {
  width: 1.5px;
  height: 10px;
  background: rgba(255,255,255,.1);
  margin: 2px 0 2px 12px;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADER (nfs-section-header)
   ══════════════════════════════════════════════════════════ */
.nfs-section-header {
  margin-bottom: 28px;
}

.nfs-section-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nfs-section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nfs-v2-blue);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nfs-section-eyebrow-line {
  height: 1px;
  width: 28px;
  background: linear-gradient(90deg, var(--nfs-v2-blue), transparent);
}

.nfs-section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--nfs-v2-t1);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0 0 6px 0;
  font-family: var(--nfs-v2-ff);
}

.nfs-section-title-accent {
  background: linear-gradient(135deg, var(--nfs-v2-blue2), var(--nfs-v2-blue3), var(--nfs-v2-blue2));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nfs-shimmer 3s linear infinite;
}

.nfs-section-subtitle {
  font-size: 13px;
  color: var(--nfs-v2-t3);
  margin: 0;
  line-height: 1.6;
}

.nfs-section-underline {
  height: 3px;
  width: 56px;
  border-radius: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--nfs-v2-blue) 0% 33%, var(--nfs-v2-red) 33% 66%, var(--nfs-v2-ch3) 66%);
  background-size: 300% 100%;
  animation: nfs-shimmer 2.5s linear infinite;
}

.nfs-link-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--nfs-v2-blue);
  transition: gap .2s;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.nfs-link-all:hover {
  gap: 8px;
}

/* Стрелка «дорожные» из nfs-ds-arrows (линия 30×16 + chase-r) */
.nfs-link-all-chase {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nfs-link-all-chase-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nfs-link-all-chase-r {
  gap: 1px;
}

/* ══════════════════════════════════════════════════════════
   LISTINGS HEADER (как в carListingsSection)
   ══════════════════════════════════════════════════════════ */
.nfs-listings-header {
  margin-bottom: 20px;
}

.nfs-listings-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.nfs-listings-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--nfs-v2-t3);
  background: var(--nfs-v2-surface);
  border: 0.5px solid var(--nfs-v2-b2);
  border-radius: 20px;
  cursor: default;
}

.nfs-listings-tag svg {
  width: 12px;
  height: 12px;
  color: var(--nfs-v2-green);
}

/* ══════════════════════════════════════════════════════════
   CARS GRID (nfs-listings-grid)
   ══════════════════════════════════════════════════════════ */
.nfs-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1200px) {
  .nfs-listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 576px) {
  .nfs-listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Фильтры над сеткой */
.nfs-filter-tags {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nfs-pill-tag {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 0.5px solid var(--nfs-v2-b2);
  background: linear-gradient(160deg, #fff, var(--nfs-v2-ch1));
  color: var(--nfs-v2-t3);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 0 rgba(255,255,255,.8) inset;
}

.nfs-pill-tag:hover,
.nfs-pill-tag.on {
  background: linear-gradient(135deg, rgba(59,127,255,.1), rgba(26,95,217,.05));
  border-color: rgba(26,95,217,.35);
  color: var(--nfs-v2-blue);
  box-shadow: 0 0 0 3px rgba(26,95,217,.12);
}

.nfs-pill-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}

/* ══════════════════════════════════════════════════════════
   CALCULATOR (calc-card)
   ══════════════════════════════════════════════════════════ */
.nfs-calc-section {
  background: var(--nfs-v2-bg);
  padding: 52px 0;
}

.nfs-import-grid,
.import-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .nfs-import-grid,
  .import-grid {
    grid-template-columns: 1fr;
  }
}

/* Этапы импорта */
.nfs-import-stages {
  background: linear-gradient(170deg, #fff, var(--nfs-v2-ch1));
  border: 0.5px solid var(--nfs-v2-b1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* CTA start-line внутри карточки этапов (после этапа 6) */
.nfs-import-stages .nfs-import-start-line-embed {
  padding: 14px 18px 16px;
}

.nfs-stage-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--nfs-v2-b1);
  transition: background .15s;
  cursor: pointer;
}

.nfs-stage-row:last-child {
  border-bottom: none;
}

.nfs-stage-row:hover {
  background: rgba(26,95,217,.03);
}

.nfs-stage-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
}

.nfs-stage-num.sn-blue {
  background: linear-gradient(150deg, var(--nfs-v2-blue3), var(--nfs-v2-blue));
  color: #fff;
  box-shadow: 0 0 0 3px rgba(26,95,217,.15);
}

.nfs-stage-num.sn-gray {
  background: linear-gradient(160deg, var(--nfs-v2-ch1), var(--nfs-v2-ch2));
  color: var(--nfs-v2-ch5);
  border: 1.5px solid var(--nfs-v2-ch3);
}

.nfs-stage-text {}

.nfs-stage-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--nfs-v2-t1);
  margin-bottom: 2px;
}

.nfs-stage-desc {
  font-size: 11px;
  color: var(--nfs-v2-t3);
  line-height: 1.5;
}

.nfs-stage-tag {
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.nfs-stage-tag.st-free {
  background: rgba(20,163,74,.1);
  color: var(--nfs-v2-green);
  border: 0.5px solid rgba(20,163,74,.2);
}

/* Калькулятор */
.nfs-calc-card {
  background: linear-gradient(170deg, #fff, var(--nfs-v2-ch1));
  border: 0.5px solid var(--nfs-v2-b1);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.9) inset;
  position: relative;
  overflow: hidden;
}

/* Полоска сверху отключена по запросу (без анимации shimmer) */
.nfs-calc-card::before {
  content: none;
  display: none;
}

.nfs-calc-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--nfs-v2-t1);
  margin-bottom: 16px;
  margin-top: 6px;
}

.nfs-calc-tabs {
  display: flex;
  gap: 4px;
  background: linear-gradient(160deg, var(--nfs-v2-ch1), var(--nfs-v2-ch2));
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 18px;
}

.nfs-calc-tab {
  flex: 1;
  padding: 7px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: var(--nfs-v2-ff);
  color: var(--nfs-v2-t3);
  border-radius: 6px;
  transition: all .2s;
}

.nfs-calc-tab.on {
  background: linear-gradient(150deg, var(--nfs-v2-blue2), var(--nfs-v2-blue));
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,95,217,.3);
}

.nfs-calc-slider-row {
  margin-bottom: 14px;
}

.nfs-calc-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--nfs-v2-t3);
  margin-bottom: 6px;
}

.nfs-calc-slider-val {
  color: var(--nfs-v2-blue);
  font-weight: 800;
}

.nfs-calc-card input[type=range] {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  border: none;
  /* --p задаётся в home.js (setRangeProgress), иначе заливка не следует за ползунком */
  background: linear-gradient(90deg, var(--nfs-v2-blue) var(--p, 0%), var(--nfs-v2-ch2) var(--p, 0%));
  -webkit-appearance: none;
  appearance: none;
}

.nfs-calc-card input[type=range]::-moz-range-track {
  background: linear-gradient(90deg, var(--nfs-v2-blue) var(--p, 0%), var(--nfs-v2-ch2) var(--p, 0%));
  height: 4px;
  border-radius: 2px;
}

.nfs-calc-card input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--nfs-v2-ch1));
  border: 1.5px solid var(--nfs-v2-blue);
  box-shadow: 0 1px 4px rgba(26, 95, 217, 0.25);
  cursor: pointer;
}

.nfs-calc-card input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--nfs-v2-ch1));
  border: 1.5px solid var(--nfs-v2-blue);
  box-shadow: 0 1px 4px rgba(26,95,217,.25);
}

.nfs-calc-result {
  background: rgba(26,95,217,.04);
  border: 0.5px solid rgba(26,95,217,.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.nfs-calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: .5px solid rgba(26,95,217,.07);
  font-size: 11px;
}

.nfs-calc-result-row:last-child {
  border-bottom: none;
  padding: 10px 12px;
}

.nfs-calc-result-lbl {
  color: var(--nfs-v2-t3);
  font-weight: 500;
}

.nfs-calc-result-val {
  color: var(--nfs-v2-t1);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.nfs-calc-result-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--nfs-v2-blue);
}

.nfs-calc-result-save {
  background: rgba(20,163,74,.1);
  color: var(--nfs-v2-green);
  border: 0.5px solid rgba(20,163,74,.2);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.nfs-calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(150deg, var(--nfs-v2-blue3), var(--nfs-v2-blue), #1248B0);
  color: #fff;
  font-family: var(--nfs-v2-ff);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(26,95,217,.28);
  transition: all .2s;
  cursor: pointer;
}

.nfs-calc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(59,127,255,.5), 0 0 14px rgba(59,127,255,.2), 0 4px 14px rgba(26,95,217,.3);
}

/* ══════════════════════════════════════════════════════════
   AI ASSISTANT SECTION
   ══════════════════════════════════════════════════════════ */
.nfs-ai-section,
#aiAssistantSection.ai-section {
  background: linear-gradient(155deg, var(--nfs-v2-dark) 0%, var(--nfs-v2-dark2) 60%, #101828 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
  /* Сброс стилей .ai-section из front.css (карточка лота), не применяем к секции главной */
  margin-bottom: 0;
  border-bottom: none;
}

.nfs-ai-section::before,
#aiAssistantSection.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(26,95,217,.06), transparent);
  pointer-events: none;
}

.nfs-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

@media (max-width: 992px) {
  .nfs-ai-grid {
    grid-template-columns: 1fr;
  }
}

.nfs-ai-left .nfs-section-eyebrow {
  color: var(--nfs-v2-blue3);
}

.nfs-ai-left .nfs-section-eyebrow-line {
  background: linear-gradient(90deg, var(--nfs-v2-blue3), transparent);
}

.nfs-ai-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: var(--nfs-v2-ff);
}

.nfs-ai-sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 380px;
}

.nfs-ai-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.nfs-ai-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border: 0.5px solid rgba(255,255,255,.08);
  border-radius: 8px;
}

.nfs-ai-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nfs-ai-feat-text {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* AI Box */
.nfs-ai-box {
  background: rgba(255,255,255,.05);
  border: 0.5px solid rgba(26,95,217,.25);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Полоска сверху отключена по запросу */
.nfs-ai-box::before {
  content: none;
  display: none;
}

.nfs-ai-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.nfs-ai-box-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(43,111,232,.2);
  border: 0.5px solid rgba(59,127,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(59,127,255,.2);
}

.nfs-ai-box-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.nfs-ai-box-subtitle {
  font-size: 10px;
  color: rgba(255,255,255,.35);
}

.nfs-ai-box-badge {
  margin-left: auto;
  background: rgba(43,111,232,.2);
  color: #7AB3FF;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 0.5px solid rgba(59,127,255,.3);
}

.nfs-ai-inp-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 0.5px solid rgba(255,255,255,.12);
  border-radius: 9px;
  padding: 10px 14px;
  margin-bottom: 14px;
  cursor: text;
  transition: border-color .2s, box-shadow .2s;
}

.nfs-ai-inp-wrap:focus-within {
  border-color: rgba(59,127,255,.5);
  box-shadow: 0 0 0 3px rgba(59,127,255,.15);
}

.nfs-ai-inp-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--nfs-v2-ff);
  font-size: 12px;
  color: rgba(255,255,255,.8);
}

.nfs-ai-inp-wrap input::placeholder {
  color: rgba(255,255,255,.25);
}

.nfs-ai-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

@media (max-width: 576px) {
  .nfs-ai-checks {
    grid-template-columns: 1fr;
  }
}

.nfs-ai-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255,255,255,.04);
  border: 0.5px solid rgba(255,255,255,.08);
  border-radius: 7px;
}

.nfs-ai-check-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 5px currentColor;
}

.nfs-ai-check-text {
  font-size: 10px;
  color: rgba(255,255,255,.55);
}

.nfs-ai-token-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-nfs-ai {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(150deg, var(--nfs-v2-blue3), var(--nfs-v2-blue), #1248B0);
  color: #fff;
  font-family: var(--nfs-v2-ff);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(26,95,217,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
  cursor: pointer;
}

.btn-nfs-ai:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(59,127,255,.5), 0 0 14px rgba(59,127,255,.2);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nfs-hero-v2-grid {
    grid-template-columns: 1fr;
  }
  
  .nfs-hero-v2-route {
    display: none;
  }
  
  .nfs-hero-v2-left {
    padding: 36px 0 28px;
  }
  
  .nfs-hero-v2-stats {
    gap: 16px;
  }
  
  .nfs-hero-v2-title {
    font-size: 24px;
  }
}
