/* ─── HERO (тёмный с canvas) ─── специфично для главной ─── */
#hero {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  position: relative;
  background: #0d1f4a;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: #0d1f4a; z-index: 0; }
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(13,31,74,.5) 0%,
    rgba(13,31,74,.4) 60%,
    rgba(13,31,74,.3) 100%
  );
}
.hero-grid {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 4;
  width: 100%; max-width: 720px; padding: 0 24px;
}
.hero-label {
  font-size: 11px; font-weight: 600; letter-spacing: .35em;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  margin-bottom: 36px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-label::before,
.hero-label::after { content: ''; width: 48px; height: 1px; background: rgba(255,255,255,.4); }
.hero-title {
  font-size: 88px; font-weight: 600;
  letter-spacing: -.03em; line-height: .9;
  color: #fff; margin-bottom: 24px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-title span { color: var(--bn); }
.hero-sub {
  font-size: 20px; font-weight: 300;
  color: rgba(255,255,255,.85);
  line-height: 1.6; margin-bottom: 52px;
  letter-spacing: .02em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: center;
}
.hero-stats-inner {
  display: flex;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(29,78,216,.12);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.stat-item { padding: 26px 52px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid rgba(29,78,216,.1); }
.stat-num { font-size: 38px; font-weight: 700; color: var(--bp); line-height: 1; }
.stat-num span { color: var(--bn); }
.stat-label { font-size: 12px; color: var(--g4); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* ─── ABOUT (два направления) ─── специфично для главной ─── */
#about { background: var(--n900); }
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; position: relative; z-index: 1;
}
.about-track {
  background: #fff; border: 1px solid rgba(29,78,216,.1);
  border-radius: 20px; padding: 40px 36px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s;
}
.about-track:hover { box-shadow: 0 12px 48px rgba(29,78,216,.1); }
.about-track--alt {
  background: linear-gradient(135deg, #F4F8FF 0%, #EEF4FF 100%);
  border-color: rgba(29,78,216,.15);
}
.about-track-num {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  color: var(--bp); text-transform: uppercase; margin-bottom: 16px;
}
.about-track--alt .about-track-num { color: var(--bn); }
.about-track-title {
  font-size: 24px; font-weight: 700;
  letter-spacing: -.02em; color: #0A1A35; margin-bottom: 12px;
  display: inline-block;
  background: rgba(29,78,216,.1);
  border-radius: 8px;
  padding: 4px 12px;
  margin-left: -12px;
}
.about-track--alt .about-track-title {
  background: rgba(249,115,22,.15);
}
.about-track-desc {
  font-size: 15px; color: var(--g4);
  line-height: 1.7; margin-bottom: 28px;
}
.about-track-list {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.about-track-list li {
  font-size: 14px; color: #0A1A35; line-height: 1.5;
  padding-left: 22px; position: relative;
}
.about-track-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--bp);
}
.about-track--alt .about-track-list li::before { background: var(--bn); }

/* ─── SERVICES (услуги и цены) ─── */
#services { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; position: relative; z-index: 1;
}
.service-card {
  background: #F8FAFF; border: 1px solid rgba(29,78,216,.1);
  border-radius: 20px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 0;
  transition: box-shadow .3s;
}
.service-card:hover { box-shadow: 0 12px 48px rgba(29,78,216,.1); }
.service-card--highlight {
  background: linear-gradient(150deg, #fff9f5 0%, #fff4ec 100%);
  border-color: rgba(249,115,22,.2);
}
.service-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; border-radius: 6px;
  padding: 3px 10px; align-self: flex-start; margin-bottom: 20px;
}
.service-card-price {
  font-size: 42px; font-weight: 700; color: #0A1A35;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 6px;
}
.service-card-currency {
  font-size: 20px; font-weight: 600; color: var(--g4);
}
.service-card-min {
  font-size: 12px; color: var(--g4); margin-bottom: 28px;
}
.service-card-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.service-card-list li {
  font-size: 14px; color: #0A1A35; line-height: 1.5;
  padding-left: 22px; position: relative;
}
.service-card-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--bp);
}
.service-card--highlight .service-card-list li::before { background: var(--bn); }
.service-card-note {
  font-size: 12px; color: var(--g4); line-height: 1.6;
  border-top: 1px solid rgba(29,78,216,.08);
  padding-top: 16px; margin-bottom: 24px;
}
.service-card--highlight .service-card-note { border-color: rgba(249,115,22,.12); }

/* ─── PRODUCT — features-grid (фичи в карточках) ─── */
#product { background: var(--n900); }
.product-text { padding-top: 12px; }
.product-layout { margin-bottom: 60px; }
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; position: relative; z-index: 1;
}
.feature-card {
  background: #fff; border: 1px solid rgba(29,78,216,.08);
  border-radius: 16px; padding: 28px;
  display: flex; gap: 18px;
  transition: border-color .2s, background .2s;
}
.feature-card:hover { border-color: rgba(29,78,216,.2); background: var(--n900); }
.feature-icon { flex-shrink: 0; width: 40px; height: 40px; }
.feature-icon img { width: 100%; height: 100%; }
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.feature-desc { font-size: 13px; color: var(--g4); line-height: 1.65; }

/* ─── PRODUCTS SECTION ─── */
#products { background: linear-gradient(160deg, #F4F8FF 0%, #EEF4FF 100%); padding-top: 0; overflow-x: hidden; }
.products-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 100%; overflow: hidden;
}
.product-card {
  background: #fff; border: 1px solid rgba(29,78,216,.12);
  border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s;
}
.product-card:hover { box-shadow: 0 12px 48px rgba(29,78,216,.1); }
.product-card--draft {
  border: 1.5px dashed rgba(29,78,216,.2);
  opacity: .75;
}
.product-card--draft:hover { box-shadow: none; }
.product-card-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.badge-flagship {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  color: #fff; background: var(--bn);
  text-transform: uppercase; border-radius: 6px; padding: 3px 10px;
}
.badge-available {
  font-size: 11px; font-weight: 600;
  color: #22C55E; background: #F0FDF4;
  border-radius: 6px; padding: 3px 10px;
}
.badge-draft {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  color: var(--bp); background: rgba(29,78,216,.08);
  text-transform: uppercase; border-radius: 6px; padding: 3px 10px;
}
.product-card-category {
  font-size: 11px; font-weight: 600; color: var(--g4);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px;
}
.product-card-name {
  font-size: 22px; font-weight: 700; color: #0A1A35;
  margin-bottom: 10px; letter-spacing: -.02em;
}
.product-card-desc {
  font-size: 14px; color: #4B5563; line-height: 1.7;
  margin-bottom: 24px; flex: 1;
}
.product-card-soon {
  align-self: flex-start; font-size: 13px; font-weight: 600;
  color: #9CA3AF; display: inline-flex; align-items: center; gap: 6px;
}
.product-card-soon svg { width: 14px; height: 14px; fill: #9CA3AF; }

/* ─── PARTNERS PROMO ─── */
#partners-promo {
  background: #fff;
  padding: 0 56px 80px;
  position: relative;
}
.partners-promo-card {
  background: linear-gradient(135deg, #F4F8FF 0%, #EEF4FF 100%);
  border: 1px solid rgba(29,78,216,.14);
  border-radius: 24px;
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
.partners-promo-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bp) 0%, var(--be) 50%, var(--bn) 100%);
  border-radius: 24px 24px 0 0;
}
.partners-promo-card::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.partners-promo-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 40px;
}
.partners-promo-text { max-width: 560px; }
.partners-promo-title {
  font-size: 38px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1.1;
  margin-bottom: 16px; color: #0A1A35;
}
.partners-promo-title span {
  background: linear-gradient(135deg, var(--bp) 0%, var(--be) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.partners-promo-desc { font-size: 16px; color: var(--g4); line-height: 1.7; }
.partners-promo-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.partners-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: #fff; border: 1px solid rgba(29,78,216,.2);
  border-radius: 8px; padding: 7px 16px;
  font-size: 13px; font-weight: 700; color: var(--bp);
  box-shadow: 0 2px 6px rgba(29,78,216,.08);
}

/* ─── RESPONSIVE спец-стили ─── */
@media (max-width: 900px) {
  #partners-promo { padding: 0 24px 64px; }
  .partners-promo-card { padding: 36px 28px; }
  #hero { min-height: 100svh; }
  .hero-title { font-size: 52px; }
  .hero-sub { font-size: 16px; overflow-wrap: break-word; word-break: break-word; }
  .hero-content { padding-bottom: 140px; }
  .hero-stats-inner { flex-wrap: wrap; border-radius: 16px 16px 0 0; }
  .stat-item { padding: 18px 28px; }
  .stat-num { font-size: 30px; }
  .about-split { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .partners-promo-inner { flex-direction: column; }
  .partners-promo-title { font-size: 28px; }
  .partners-promo-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; letter-spacing: -.02em; line-height: 1.1; word-break: break-word; }
  .hero-content { padding: 0 16px; width: 100%; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; letter-spacing: 0; }
  .hero-label { font-size: 10px; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .btn-primary, .btn-outline { padding: 12px 22px; font-size: 14px; }
  .hero-stats-inner { width: 100%; border-radius: 0; }
  .stat-item { padding: 14px 0; flex: 1; min-width: 80px; max-width: 33%; overflow: hidden; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 10px; }
  .card { padding: 28px 22px; }
  .partners-promo-title { font-size: 24px; }
  .partners-chips { gap: 8px; }
  .chip { font-size: 12px; padding: 6px 12px; }
}
