/* ===== Taxista landing — design system ===== */

:root {
  --green: #77C706;
  --green-deep: #5EA307;
  --ink: #1F2A30;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F4;
  --text: #1F2A30;
  --muted: #5F6B71;
  --border: #E3E8E3;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(31, 42, 48, .08);
}

.page-driver {
  --bg: #1F2A30;
  --bg-soft: #26333B;
  --text: #F6F7F4;
  --muted: #9FB0B8;
  --border: #33424B;
  --shadow: 0 8px 30px rgba(31, 42, 48, .5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: none; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ===== Header ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text { height: 31px; width: auto; }

.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.nav a[data-i18n] { opacity: .85; transition: opacity .2s; }
.nav a[data-i18n]:hover { opacity: 1; }

.lang-select {
  font: inherit;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s;
}

.lang-btn:hover {
  border-color: var(--green);
}

.lang-flag {
  font-size: 18px;
  line-height: 1;
}

.lang-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 160px;
  z-index: 100;
  padding: 4px;
}

.lang-menu.open {
  display: block;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
  border: none;
  background: none;
  width: 100%;
  color: var(--text);
}

.lang-menu-item:hover {
  background: var(--bg-soft);
}

.lang-menu-item.active {
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green-deep);
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font: inherit;
  font-weight: 600;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--green);
  color: var(--ink);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-outline {
  border-color: var(--green);
  color: var(--text);
}
.btn-outline:hover { background: var(--green); color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-short { display: none; }
.btn-lg { padding: 16px 28px; font-size: 17px; box-shadow: var(--shadow); }

.icon, .icon-sm { display: inline-flex; flex-shrink: 0; }
.icon svg { width: 22px; height: 22px; }
.icon-sm svg { width: 16px; height: 16px; }

/* ===== Hero ===== */

.hero { padding: 0; position: relative; min-height: calc(100vh - 72px); }

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 72px);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--green-deep);
  background: color-mix(in srgb, var(--green) 20%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

.hero h1 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.hero h1 .accent { color: var(--green-deep); }

.lead { font-size: 18px; color: var(--muted); margin: 12px 0 20px; max-width: 46ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-free {
  margin-top: 16px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.trust { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.trust svg { color: var(--green-deep); flex-shrink: 0; }

/* ===== WhatsApp phone via iframe ===== */

.hero-art {
  display: flex;
  justify-content: center;
  overflow: visible;
  margin: 30px auto;
}

.hero-phone {
  animation: heroFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes heroFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-15deg) translateY(0px); }
  50%      { transform: perspective(1200px) rotateY(-15deg) translateY(-18px); }
}

.hero-phone iframe {
  display: block;
  border: none;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.25);
}

/* ===== Problem section ===== */

.problem-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.problem-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ===== Sections ===== */

.section { padding: 64px 0; }

.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--muted); margin-bottom: 40px; }

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

.step, .feature {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.step:hover, .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step h3, .feature h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; }
.step p, .feature p { font-size: 14px; color: var(--muted); }

.step-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--green);
  color: var(--ink);
}
.step-icon svg { width: 28px; height: 28px; }

.feature svg { width: 36px; height: 36px; margin: 0 auto; color: var(--green-deep); }

.features-bar { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-bar .feature { background: var(--bg); }

/* FAQ accordion */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s; }
.faq-item.open { border-color: var(--green); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 22px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.chev { display: inline-flex; flex-shrink: 0; color: var(--green); transition: transform .25s; }
.chev svg { width: 20px; height: 20px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* ===== Banner ===== */

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-radius: 24px;
  padding: 40px 48px;
}

.banner-light { background: var(--ink); color: #F6F7F4; }

.banner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.banner p { margin-top: 6px; opacity: .8; }
.banner-copy { max-width: 56ch; }
.banner-copy .btn { margin-top: 22px; }

.banner .btn-outline { border-color: currentColor; color: inherit; }
.banner .btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--ink); }

/* ===== Footer ===== */

.footer { border-top: 1px solid var(--border); padding: 40px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
.footer-nav a { opacity: .8; }
.footer-nav a:hover { opacity: 1; }

.footer-meta { font-size: 13px; color: var(--muted); }

/* ===== Scroll animations ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

/* ===== Driver page specific ===== */

.faq-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 961px) {
  .faq-form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.reg-form-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus {
  border-color: var(--green);
}

.form-group input::placeholder {
  color: var(--muted);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
  min-height: 16px;
}

.faq-wrap {
  min-width: 0;
}

.driver-top {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.driver-top .header { flex-shrink: 0; }
.driver-top .chips-row { flex-shrink: 0; }
.driver-top .hero { flex: 1; display: flex; align-items: center; }

/* Passenger page top (header + hero) */
.page-top {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-top .header { flex-shrink: 0; }
.page-top .hero { flex: 1; display: flex; align-items: center; }

/* Hero photo (driver-hero.webp background on the right) — driver page only */
.page-driver .hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: url('../driver-hero.webp') right center / contain no-repeat var(--bg);
  pointer-events: none;
}

.page-driver .eyebrow { color: var(--green); }
.page-driver .hero h1 .accent { color: var(--green); }

/* Chips row (driver page) */
.chips-row {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chip { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.chip-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: color-mix(in srgb, var(--green) 14%, transparent);
  color: var(--green);
}
.chip-icon svg { width: 24px; height: 24px; }

/* Car scene (driver page) */
.car-scene {
  position: relative;
  width: min(320px, 74vw);
  margin: 0 auto;
  container-type: inline-size;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}
.car-scene .scene { width: 100%; height: auto; }

.ad-screen {
  position: absolute;
  left: 25.5%; top: 34.3%;
  width: 49%; height: 56.6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  gap: 1.6cqw;
  padding: 0 17px;
  padding: 0 5.5cqw;
  border-radius: 7px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(119, 199, 6, .16), transparent 60%), #0D1418;
  overflow: hidden;
}
.ad-brand { font-size: 15px; font-size: 5cqw; font-weight: 800; letter-spacing: .03em; line-height: 1.15; color: var(--green); }
.ad-text { font-size: 10.5px; font-size: 3.7cqw; line-height: 1.45; color: #AEBFC8; }
.ad-btn {
  align-self: flex-start;
  margin-top: 5px;
  margin-top: 1.6cqw;
  padding: 8px 17px;
  padding: 2.6cqw 5.5cqw;
  font-size: 10px; font-size: 3.5cqw;
  font-weight: 700;
  border-radius: 999px;
  background: var(--green);
  color: #141C21;
  white-space: nowrap;
}

/* Coming Soon */
.coming-soon-wrap { position: relative; }
.coming-soon {
  position: relative;
  opacity: .45;
  pointer-events: none;
  user-select: none;
}
.coming-soon-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--green);
  border-radius: 999px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 12px 40px rgba(119, 199, 6, .15);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--green);
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-head h3 { font-size: 22px; font-weight: 800; }
.pricing-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }

.pricing-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}

.pricing-period { font-size: 15px; color: var(--muted); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-card .btn { width: 100%; }

/* Driver CTA banner */
.banner-dark { background: var(--green); color: var(--ink); }
.banner-lime {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(119, 199, 6, .22);
}
.banner-card { background: var(--bg-soft); border: 1px solid var(--border); }

.banner .btn-outline { border-color: currentColor; color: inherit; }
.banner .btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.banner-dark .btn-primary { background: var(--ink); color: #F6F7F4; }
.banner-dark .btn-primary:hover { background: #33424B; }

/* ===== Responsive ===== */

@media (min-width: 1440px) {
  .hero h1 { font-size: clamp(36px, 3.5vw, 60px); }
  .lead { font-size: 20px; }
  .grid-4 { gap: 28px; }
}

@media (max-width: 960px) {
  .driver-top { min-height: auto; }
  .driver-top .hero { flex: none; }
  .page-driver .hero::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .page-passenger .hero-art { display: none; }
  .hero h1 { white-space: normal; }
  .lead { margin-inline: auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-phone iframe { width: min(320px, 80vw); height: 700px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .faq-form-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 1000;
    overflow-y: auto;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .mobile-menu-inner a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .mobile-menu-inner a.btn { padding: 14px 28px; border-bottom: none; }
  .mobile-menu-inner a:last-of-type { border-bottom: none; }
  .mobile-menu-inner .lang-dropdown { margin-top: 16px; }
  .burger { display: flex; }
  .logo-text { height: 24px; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .banner { padding: 32px 24px; }
  .faq-q { padding: 15px 18px; font-size: 15px; }
  .faq-a { padding: 0 18px 15px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 24px 0 8px; }
  .section { padding: 48px 0; }
  .chips { grid-template-columns: 1fr; }
}
