﻿:root {
  color-scheme: dark;
  color: #ffffff;
  background: #0f0f0f;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden !important; /* Полностью скрываем стандартный скролл браузера */
}

/* ── SIMPLEBAR CUSTOM SCROLLBAR ── */
.main-scroll-container {
  height: 100vh;
  width: 100vw;
  overflow-x: hidden !important;
}

.simplebar-track.simplebar-vertical {
  width: 14px !important;
  background: transparent !important;
  top: 16px !important;      /* Отступ сверху */
  bottom: 16px !important;   /* Отступ снизу */
  right: 6px !important;     /* Отступ справа */
  height: auto !important;   /* Разрешаем регулировать высоту через top/bottom */
}

.simplebar-track.simplebar-horizontal {
  height: 14px !important;
  background: transparent !important;
}

.simplebar-scrollbar::before {
  background: #ffd700 !important; /* Исходный яркий золотой цвет */
  border-radius: 99px !important;
  left: 3px !important;
  right: 3px !important;
  opacity: 1 !important; /* Исходная полная видимость */
  transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.simplebar-scrollbar.simplebar-visible::before {
  opacity: 1 !important;
}

/* Делаем потемнение максимально заметным (и цвет темнее, и прозрачность ниже) */
/* Поддерживаем потемнение при наведении, при зажатии (active) и в процессе перетаскивания (dragging) */
.simplebar-scrollbar:hover::before,
.simplebar-track:hover .simplebar-scrollbar::before,
.simplebar-scrollbar:active::before,
.simplebar-track:active .simplebar-scrollbar::before,
.simplebar-track.simplebar-active .simplebar-scrollbar::before,
.simplebar-track.simplebar-dragging .simplebar-scrollbar::before,
.simplebar-scrollbar.simplebar-visible:active::before {
  background: #cca300 !important; /* Насыщенный темно-золотой цвет */
  opacity: 0.8 !important; /* Потемнение на 20%, как у кнопок */
}

.simplebar-track {
  background: transparent !important;
  border: none !important;
  pointer-events: auto !important; /* Включаем события мыши на всей дорожке, чтобы наведение работало стабильно */
}

.simplebar-placeholder {
  max-width: 100vw !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, #0b0b0d 0%, #09090b 42%, #060607 100%);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px 22px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.topbar-inner {
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

section {
  position: relative;
  scroll-margin-top: 140px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.brand:hover {
  color: #ffd700;
}

.brand-icon {
  width: 40px;
  height: 40px;
}

.brand-label {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: 60px 0 48px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 2.6rem + 1vw, 4.2rem);
  line-height: 1.02;
}

.hero-text {
  margin: 0 0 28px;
  color: #d6d9e0;
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.8;
}

.button-primary {
  background: linear-gradient(135deg, #ffd700, #f8c72d);
  color: #0a0a0a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}

.button-tertiary {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.14);
  color: #ffd700;
}

.button-tertiary:hover {
  background: rgba(255, 215, 0, 0.08);
}

.hero-card {
  background: rgba(34, 34, 34, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 28px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.18), transparent 30%);
  pointer-events: none;
}

.card-header {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffd700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-note {
  margin: 0 0 20px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.status-item {
  display: grid;
  gap: 4px;
}

.status-label {
  margin: 0;
  color: #a1a9b8;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.status-value {
  margin: 6px 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.features,
.about,
.download {
  padding: 56px 0;
}

.features {
  text-align: left;
}

.features-subtitle {
  margin: 0 0 48px;
  color: #a1a9b8;
  font-size: 1.05rem;
  max-width: 520px;
}

.features h2,
.about h2,
.download h2,
.team h2,
.contacts h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 1.6rem + 1vw, 3rem);
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: rgba(25, 25, 25, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: #a1a9b8;
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.about-text p {
  margin: 0 0 18px;
  color: #d6d9e0;
}

.about-preview {
  display: grid;
  gap: 18px;
}

.preview-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.about-icon-img {
  width: 300px;
  height: 300px;
  border-radius: 28px;
}

.about-download-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.about-download-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.about-download-buttons .button {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #ffd700, #f8c72d);
  color: #0a0a0a;
  border: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.about-download-buttons .button:hover,
.about-download-buttons .button:focus {
  opacity: 0.95;
}

.about-icon-label {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.about-icon-sub {
  margin: 0;
  color: #a1a9b8;
  font-size: 0.95rem;
  text-align: center;
}

.preview-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  font-size: 11px;
  font-weight: 700;
}

.preview-title {
  margin: 0 0 8px;
}

.preview-description {
  margin: 0;
  color: #cbd5e1;
}

.team {
  padding: 56px 0;
}

.team-header {
  margin-bottom: 32px;
}

.team-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-nav-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.team-nav-btn:hover {
  border-color: rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.08);
  color: #ffd700;
}

.team-track-wrap {
  flex: 1;
  overflow: hidden;
}

.team-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.team-subtitle,
.contacts-subtitle {
  margin: 0 0 8px;
  color: #a1a9b8;
  font-size: 1.05rem;
  max-width: 520px;
}

.team-card {
  flex: 0 0 calc(25% - 15px);
  background: rgba(25, 25, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.5));
  color: #ffd700;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.team-role {
  margin: 0 0 12px;
  font-size: 13px;
  color: #ffd700;
  font-weight: 600;
}

.team-bio {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.contacts {
  padding: 56px 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: rgba(25, 25, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.contact-value {
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: #ffd700;
}

.download {
  text-align: center;
}

.download p {
  margin: 0 0 24px;
  color: #d6d9e0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  padding: 56px 0 24px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-desc {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  max-width: 220px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-icon:hover {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.footer-links-group a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #475569;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

@media (max-width: 980px) {
  .hero,
  .about,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
  }

  .download-buttons,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 14px 14px 20px;
  }

  .topbar {
    position: sticky;
    top: 0;
    margin: 0;
    border-radius: 0 0 20px 20px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 6.5vw, 3.1rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    width: 100%;
    padding: 14px 18px;
  }

  .hero-card {
    min-height: auto;
    padding: 22px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-app-icon {
    width: 100%;
    align-items: center;
  }

  .about-icon-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .feature-card {
    padding: 22px;
  }

  .team-carousel {
    flex-direction: column;
    align-items: stretch;
  }

  .team-track-wrap {
    overflow-x: auto;
  }

  .team-track {
    display: flex;
    gap: 16px;
    width: max-content;
  }

  .team-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .team-nav-btn {
    display: none;
  }

  .contacts-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer {
    text-align: center;
  }

  .footer-brand-block,
  .footer-links-group {
    width: 100%;
    justify-self: center;
    text-align: center;
  }

  .footer-brand-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .footer-desc,
  .footer-links-group a,
  .footer-bottom p,
  .contact-value,
  .team-name,
  .team-role,
  .team-bio {
    font-size: 15px;
  }

  .footer-group-title {
    font-size: 13px;
  }

  .footer-links-group {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links-group a {
    margin: 0;
  }

  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .download-buttons {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }

  .topbar-inner {
    padding: 12px 14px;
  }

  .hero-actions,
  .download-buttons {
    gap: 12px;
  }

  .team-card {
    min-width: 100%;
  }
}

