/* ============================================================
   TaxiHelper — неоновый лендинг
   Часть 1: база, кнопки, шапка, главный баннер, функции.
   Палитра макета: фон #05090E, оранжевый #FF9800, жёлтый #FFC21B,
   голубой неон #00BFFF. Шрифт Manrope.
   ============================================================ */

:root {
  --bg: #05090E;
  --bg2: #0A1520;
  --card: #0A1420;
  --orange: #FF9800;
  --yellow: #FFC21B;
  --blue: #00BFFF;
  --text: #FFFFFF;
  --muted: #A7B2BF;
  --muted2: #8494A5;
  --border-blue: rgba(0, 191, 255, .40);
  --border-orange: rgba(255, 152, 0, .55);
  --grad-btn: linear-gradient(180deg, #FFC21B 0%, #FF9800 100%);
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 480px at 88% -4%, rgba(255, 152, 0, .06), transparent 65%),
    radial-gradient(950px 520px at -8% 18%, rgba(0, 191, 255, .055), transparent 62%),
    radial-gradient(800px 400px at 50% 110%, rgba(0, 191, 255, .05), transparent 60%);
  color: var(--text);
  line-height: 1.4;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

::selection { background: rgba(255, 152, 0, .45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, 1300px);
  margin-inline: auto;
}

.section {
  padding: 62px 0 26px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- утилиты текста ---------- */

.t-white { color: #fff; }

.t-grad {
  background: linear-gradient(93deg, #FFC21B 5%, #FF9800 55%, #FF7A00 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.t-blue {
  color: var(--blue);
  text-shadow: 0 0 14px rgba(0, 191, 255, .5);
}

/* ============================================================
   Кнопки
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  white-space: nowrap;
}

.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* Жёлто-оранжевая кнопка скачивания */
.btn-download {
  padding: 15px 26px;
  font-size: 17px;
  color: #1A2330;
  background: var(--grad-btn);
  border-radius: 14px;
  box-shadow:
    0 8px 28px rgba(255, 152, 0, .38),
    0 2px 8px rgba(255, 152, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}

.btn-download:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 12px 36px rgba(255, 152, 0, .5),
    0 4px 12px rgba(255, 152, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}

.btn-download:active { transform: translateY(0); }

.btn-download--big {
  padding: 17px 30px;
  font-size: 18px;
  border-radius: 16px;
}

/* Голубая кнопка Telegram */
.btn-telegram {
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #EAF6FF;
  background: linear-gradient(180deg, rgba(0, 191, 255, .24), rgba(0, 191, 255, .07));
  border: 1.5px solid rgba(0, 191, 255, .8);
  border-radius: 999px;
  box-shadow:
    0 0 16px rgba(0, 191, 255, .32),
    inset 0 0 14px rgba(0, 191, 255, .14);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 26px rgba(0, 191, 255, .5),
    inset 0 0 18px rgba(0, 191, 255, .2);
}

.btn-telegram--big {
  padding: 11px 24px;
  font-size: 15px;
  border-radius: 16px;
}

.tg-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.tg-stack b { font-size: 16px; font-weight: 800; }
.tg-stack small { font-size: 11.5px; font-weight: 500; color: #A9DDF5; }

/* Кнопка продления */
.btn-renew {
  width: 100%;
  padding: 13px 12px;
  font-size: 15px;
  font-weight: 800;
  color: #1A2330;
  background: var(--grad-btn);
  border-radius: 12px;
  box-shadow:
    0 6px 22px rgba(255, 152, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .38);
}

.btn-renew:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 10px 28px rgba(255, 152, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}

.btn-renew:disabled {
  background: #2B3441;
  color: #7A8899;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

/* ============================================================
   Шапка
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 9, 14, .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, .16);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 122px; height: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #D5DEE9;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 152, 0, .7);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav-link:hover { color: #fff; }
.nav-link.is-active { color: var(--orange); text-shadow: 0 0 12px rgba(255, 152, 0, .4); }
.nav-link.is-active::after { width: 100%; }

.btn-telegram--nav { display: none; }
.header-telegram { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 8px 9px;
  background: rgba(0, 191, 255, .08);
  border: 1px solid rgba(0, 191, 255, .4);
  border-radius: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 6px rgba(0, 191, 255, .6);
  transition: transform .3s ease, opacity .3s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Главный баннер
   ============================================================ */

.hero {
  position: relative;
  padding: 44px 0 0;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

.hero-decor { position: absolute; inset: 0; pointer-events: none; }

.decor { position: absolute; opacity: .55; }

.decor-tl {
  left: -60px;
  top: 30px;
  width: 420px;
  transform: scaleX(-1) rotate(-6deg);
}

.decor-tr {
  right: -80px;
  top: -10px;
  width: 520px;
  transform: rotate(-8deg);
}

.beam {
  position: absolute;
  height: 190px;
  border-radius: 50%;
  filter: blur(6px);
}

.beam-blue {
  left: -18%;
  top: 4%;
  width: 62%;
  transform: rotate(-13deg);
  background: linear-gradient(90deg, transparent, rgba(0, 191, 255, .16) 45%, transparent 75%);
}

.beam-orange {
  right: -22%;
  top: 0;
  width: 66%;
  transform: rotate(11deg);
  background: linear-gradient(90deg, transparent 8%, rgba(255, 152, 0, .14) 42%, rgba(255, 152, 0, .26) 58%, transparent 88%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(350px, 1.02fr) minmax(330px, .96fr) minmax(220px, .66fr);
  gap: 26px;
  align-items: center;
}

.hero-title {
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
}

.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.32;
}

.hero-points {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: #E8EEF5;
}

.check-glow {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFC85E, #FF9800 72%);
  box-shadow:
    0 0 10px rgba(255, 152, 0, .8),
    0 0 24px rgba(255, 152, 0, .4);
}

.check-glow svg { width: 16px; height: 16px; }

.hero-text .btn-download { margin-top: 26px; }

.hero-meta {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted2);
}

/* Композиция «кольцо + авто» */
.hero-visual { min-width: 0; }

.ring-wrap {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1.04;
  margin-inline: auto;
}

.ring-glow {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(closest-side, rgba(255, 152, 0, .17), transparent 72%),
    radial-gradient(closest-side at 62% 60%, rgba(0, 191, 255, .14), transparent 75%);
  filter: blur(10px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}

.ring-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 88%;
  margin-inline: auto;
}

.car-img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  width: 94%;
  filter: drop-shadow(0 20px 34px rgba(255, 140, 0, .22));
}

.hero-phone { min-width: 0; text-align: center; }

.hero-phone img {
  width: min(100%, 292px);
  display: inline-block;
  filter: drop-shadow(0 26px 44px rgba(255, 150, 20, .16));
}

.hero-line {
  position: relative;
  z-index: 2;
  height: 2px;
  margin-top: 36px;
  background: linear-gradient(90deg,
    transparent 2%,
    rgba(0, 191, 255, .55) 22%,
    rgba(255, 152, 0, .75) 50%,
    rgba(0, 191, 255, .55) 78%,
    transparent 98%);
  box-shadow: 0 0 20px rgba(255, 152, 0, .3);
}

/* ============================================================
   Заголовки разделов
   ============================================================ */

.sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.checkers {
  width: 44px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 3px;
  background: repeating-conic-gradient(var(--yellow) 0% 25%, var(--orange) 0% 50%);
  background-size: 16px 16px;
  box-shadow: 0 0 12px rgba(255, 152, 0, .45);
}

.sec-sub {
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

/* ============================================================
   Функции программы
   ============================================================ */

.features { padding-top: 48px; }

.features-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 152px;
  padding: 22px 24px;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: transform .25s ease, filter .25s ease;
}

.feature-card:hover { transform: translateY(-4px); filter: brightness(1.12); }

.fc-orange-blue { background-image: url("assets/backgrounds/panel_orange_blue_wide.png"); }
.fc-blue { background-image: url("assets/backgrounds/panel_blue.png"); }
.fc-orange { background-image: url("assets/backgrounds/panel_orange.png"); }

.feature-icon {
  width: 80px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 152, 0, .25));
}

.fc-blue .feature-icon { filter: drop-shadow(0 0 10px rgba(0, 191, 255, .3)); }

.feature-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 7px; }

.feature-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
