/* ============================================
   TaxiPark — Modern Dark Theme
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-3: #1a1a26;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.48);
  --accent: #ffd60a;
  --accent-2: #ffb800;
  --accent-glow: rgba(255, 214, 10, 0.4);
  --success: #10b981;
  --danger: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__taxi {
  font-size: 64px;
  animation: bounce 1s var(--ease) infinite;
}
.loader__bar {
  width: 200px; height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: load 1.4s var(--ease) infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ============ BACKGROUND ============ */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .15;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 { background: var(--accent); top: -200px; left: -100px; }
.bg-glow--2 { background: #00e0ff; bottom: -200px; right: -100px; opacity: .08; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s var(--ease);
}
.header.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.logo__icon { font-size: 26px; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.logo__accent { color: var(--accent); }

.nav {
  display: flex; gap: 4px;
  margin-right: auto;
  margin-left: 32px;
}
.nav__link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 10px;
  transition: all .2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--text); background: var(--surface); }

.header__actions { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.lang__btn:hover { background: var(--surface-2); border-color: var(--border-2); }
.lang__flag { font-size: 16px; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s var(--ease);
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: background .15s var(--ease);
  text-align: left;
}
.lang__item:hover { background: var(--surface-2); }
.lang__item span { font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  border-radius: 12px;
  transition: all .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.4);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--border-2); }
.btn--lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.btn--full { width: 100%; }

/* Burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.burger span {
  display: block; width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s var(--ease);
}

/* ============ HERO ============ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  z-index: 1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero__title span { display: block; }
.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__desc {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__actions {
  display: flex; gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex; align-items: center; gap: 14px;
}
.hero__trust-avatars { display: flex; }
.hero__trust-avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.hero__trust-avatars span:first-child { margin-left: 0; }
.hero__trust-text { font-size: 14px; color: var(--text-2); }
.hero__trust-text strong { display: block; color: var(--text); font-size: 16px; }

/* Hero card */
.hero__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
}
.hero__card-glow {
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 50%;
  background: radial-gradient(ellipse at top, rgba(255, 214, 10, 0.15), transparent 70%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}
.hero__card-header { margin-bottom: 24px; position: relative; }
.hero__card-header h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
}
.hero__card-header p { color: var(--text-2); font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form__input {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all .2s var(--ease);
}
.form__input:focus-within { border-color: var(--accent); background: var(--bg-3); }
.form__input svg { color: var(--text-3); flex-shrink: 0; }
.form__input input {
  flex: 1; min-width: 0;
  background: none; border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.form__input input::placeholder { color: var(--text-3); }
.form__check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-2);
  margin: 4px 0;
  cursor: pointer;
}
.form__check input { accent-color: var(--accent); margin-top: 2px; }
.form__hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 8px;
}

/* ============ STATS ============ */
.stats { padding: 60px 0; position: relative; z-index: 1; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--border-2); }
.stat__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.stat__value {
  font-family: 'Russo One', sans-serif;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat__label { color: var(--text-2); font-size: 14px; }

/* ============ SECTIONS ============ */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.2);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-2); font-size: 17px; }

/* ============ HOW ============ */
.how { padding: 80px 0; position: relative; z-index: 1; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all .3s var(--ease);
}
.how__card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.how__card--featured {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.08), rgba(255, 138, 0, 0.04));
  border-color: rgba(255, 214, 10, 0.25);
}
.how__num {
  font-family: 'Russo One', sans-serif;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.how__icon { font-size: 48px; margin-bottom: 16px; }
.how__card h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
}
.how__card p { color: var(--text-2); font-size: 15px; }

/* ============ FLEET ============ */
.fleet { padding: 80px 0; position: relative; z-index: 1; }
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.car {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
  position: relative;
}
.car:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.car__img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, rgba(255,214,10,.05), rgba(0,224,255,.05));
  position: relative;
}
.car__lvl {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.car__lvl--premium { background: linear-gradient(135deg, var(--accent), #ff8a00); color: #000; }
.car__body { padding: 20px; }
.car__name {
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  margin-bottom: 4px;
}
.car__class { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.car__stats { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 16px; padding: 12px; background: var(--bg-2); border-radius: 10px; }
.car__stat { text-align: center; flex: 1; }
.car__stat-value { font-weight: 700; font-size: 14px; color: var(--accent); }
.car__stat-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.car__price { display: flex; align-items: baseline; gap: 4px; font-family: 'Russo One', sans-serif; font-size: 20px; margin-bottom: 12px; }
.car__price-unit { font-size: 12px; color: var(--text-3); font-family: 'Inter', sans-serif; }
.car__btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: all .2s var(--ease);
}
.car__btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ============ FAQ ============ */
.faq { padding: 80px 0; position: relative; z-index: 1; }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s var(--ease);
}
.faq__item[open] { border-color: rgba(255, 214, 10, 0.3); background: rgba(255, 214, 10, 0.03); }
.faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--text-2);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq__answer { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; }

/* ============ WINNERS (social proof) ============ */
.winners { padding: 60px 0; position: relative; z-index: 1; }
.winners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.winner {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all .2s var(--ease);
}
.winner:hover { transform: translateY(-2px); border-color: rgba(255, 214, 10, 0.3); }
.winner__emoji {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.winner__info { flex: 1; min-width: 0; }
.winner__name { font-weight: 700; font-size: 14px; }
.winner__car { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.winner__amount {
  font-family: 'Russo One', sans-serif;
  color: var(--accent);
  font-size: 17px;
  white-space: nowrap;
}

/* ============ CTA ============ */
.cta { padding: 80px 0; position: relative; z-index: 1; }
.cta__box {
  position: relative;
  background: linear-gradient(135deg, #1a1a26 0%, #0a0a0f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 214, 10, 0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 224, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.cta__title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
  position: relative;
}
.cta__desc { color: var(--text-2); font-size: 17px; margin-bottom: 28px; position: relative; }
.cta__box .btn { position: relative; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  position: relative; z-index: 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p { color: var(--text-2); font-size: 14px; max-width: 320px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-3); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--text-2); font-size: 14px; transition: color .15s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__admin { color: var(--text-3) !important; font-size: 13px !important; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  color: var(--text-3);
  font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav { display: none; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; padding: 20px; background: var(--bg-2); border-bottom: 1px solid var(--border); margin: 0; }
  .nav.open { display: flex; }
  .nav__link { padding: 14px 16px; }
  .burger { display: flex; }
  .header__actions .btn--ghost, .header__actions .btn--primary { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 110px 0 60px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; }
  .stat__value { font-size: 24px; }
  .hero__card { padding: 24px; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ============ ANIMATIONS ============ */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-animate].in { opacity: 1; transform: translateY(0); }
