:root {
  --bg: #000000;
  --bg2: #060612;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #7c5cff;
  --accent2: #16e0bd;
  --danger: #ff4d6d;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --shadow2: 0 10px 32px rgba(0,0,0,0.38);
  --radius: 18px;
  --radius2: 26px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 900px at 15% 5%, rgba(124, 92, 255, 0.25), transparent 60%),
              radial-gradient(1100px 800px at 90% 15%, rgba(22, 224, 189, 0.16), transparent 55%),
              radial-gradient(900px 700px at 40% 105%, rgba(255, 77, 109, 0.14), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.5;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.22;
  pointer-events: none;
  mask-image: radial-gradient(circle at 35% 10%, black 10%, transparent 58%),
              radial-gradient(circle at 70% 15%, black 8%, transparent 55%),
              radial-gradient(circle at 50% 90%, black 9%, transparent 55%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 7, 18, 0.88), rgba(6, 7, 18, 0.62));
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: url("/assets/taximeter.png") center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.logo::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 110%;
  height: 110%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0.55;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title strong {
  font-size: 14px;
  letter-spacing: 0.18px;
}

.brand-title span {
  font-size: 12px;
  color: var(--muted2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 140ms ease, color 140ms ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

.btn.primary {
  border: 1px solid rgba(124, 92, 255, 0.50);
  background: linear-gradient(135deg, rgba(124,92,255,0.95), rgba(22,224,189,0.72));
  box-shadow: 0 18px 60px rgba(124, 92, 255, 0.20);
}

.btn.primary:hover {
  box-shadow: 0 22px 74px rgba(124, 92, 255, 0.26);
}

.btn.ghost {
  background: transparent;
}

.langMenu {
  position: relative;
}

.langButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.langButton:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.20);
}

.langButton:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.28);
}

.langFlag {
  font-size: 16px;
  line-height: 1;
}

.langCode {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.langDropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 160px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(6, 7, 18, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(0,0,0,0.65);
  display: none;
}

.langMenu.open .langDropdown {
  display: block;
}

.langItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
}

.langItem:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.langItem[aria-current="true"] {
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(124, 92, 255, 0.35);
}

.langLabel {
  font-size: 13px;
  font-weight: 700;
}

.langMobile {
  margin-top: 8px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.langMobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.langMobile a[aria-current="true"] {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.14);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

.hamburger svg {
  width: 22px;
  height: 22px;
  display: block;
  margin: auto;
  opacity: 0.92;
}

.hero {
  padding: 62px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 18px rgba(124,92,255,0.25);
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.9px;
  line-height: 1.02;
}

.subhead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 15px;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.metric {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow2);
}

.metric strong {
  display: block;
  font-size: 18px;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted2);
  font-size: 12px;
}

.phone {
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 140%;
  height: 140%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}

.phone-inner {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(500px 420px at 40% 20%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(420px 420px at 70% 80%, rgba(22, 224, 189, 0.16), transparent 55%),
    rgba(6, 7, 18, 0.72);
  padding: 16px;
  position: relative;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  font-size: 11px;
  color: var(--muted2);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.mock {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 12px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  margin-top: 10px;
}

.mock-row:first-child { margin-top: 0; }

.mock-row strong { font-size: 12px; }
.mock-row span { font-size: 11px; color: var(--muted2); }

.section {
  padding: 34px 0;
}

.section h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.4px;
}

.section p.lead {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--shadow2);
  padding: 16px;
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
}

.card h3 {
  margin: 12px 0 6px;
  font-size: 15px;
}

.card p {
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
}

.featureCard {
  cursor: pointer;
  text-align: left;
}

.featureCard:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.28);
}

.featureCard:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.20);
}

html.modalOpen, html.modalOpen body {
  overflow: hidden;
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
}

.modalBackdrop.open {
  display: flex;
}

.modal {
  width: min(640px, calc(100vw - 36px));
  max-height: min(80vh, 720px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(700px 420px at 30% 10%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(650px 420px at 80% 80%, rgba(22,224,189,0.12), transparent 60%),
    rgba(6, 7, 18, 0.92);
  box-shadow: 0 34px 120px rgba(0,0,0,0.7);
}

.modalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.modalTitle {
  font-weight: 800;
  letter-spacing: -0.2px;
}

.modalClose {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modalClose:hover {
  background: rgba(255,255,255,0.10);
}

.modalBody {
  padding: 16px 16px 18px;
}

.modalLead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.modalList {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.modalList li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.callout {
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(700px 400px at 30% 30%, rgba(124,92,255,0.20), transparent 58%),
    radial-gradient(650px 420px at 80% 60%, rgba(22,224,189,0.14), transparent 58%),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 24px;
}

.callout h3 { margin: 0 0 6px; font-size: 16px; }
.callout p { margin: 0; color: var(--muted); font-size: 13px; }

 #contact .container {
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(700px 400px at 30% 30%, rgba(124,92,255,0.18), transparent 58%),
    radial-gradient(650px 420px at 80% 60%, rgba(22,224,189,0.12), transparent 58%),
    rgba(255,255,255,0.03);
  box-shadow: var(--shadow2);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
 }

 #contact h2 {
  margin: 0;
 }

 #contact p.lead {
  margin: 0;
  max-width: none;
 }

.footer {
  padding: 36px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

 .footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
 }

 .footer-social a {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
 }

 .footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
 }

.footer h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); }

.footer a {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.footer a:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

.small {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 14px;
}

.page {
  padding: 48px 0 34px;
}

.page h1 {
  font-size: 34px;
  letter-spacing: -0.5px;
}

.prose {
  margin-top: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 18px;
}

.prose h2 { margin-top: 22px; font-size: 18px; }
.prose h3 { margin-top: 16px; font-size: 15px; }
.prose p, .prose li { color: var(--muted); font-size: 13px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.mobile-menu {
  display: none;
  padding-bottom: 14px;
}

.mobile-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-top: 10px;
  color: var(--muted);
}

.mobile-menu a:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .langMobile { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 768px) {
  .nav-inner { gap: 10px; }
  .brand-title span { display: none; }
  .btn { padding: 10px 12px; }
  .hero-cta { gap: 10px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  h1 { letter-spacing: -0.7px; }
  .subhead { font-size: 14px; }
  .actions { gap: 8px; }
  .actions .btn.ghost { display: none; }
  .btn { font-size: 12px; padding: 9px 12px; }
  .langButton { height: 40px; padding: 0 10px; }
  .hamburger { width: 40px; height: 40px; }
  .langDropdown { right: 0; width: 150px; }
  .langMobile { grid-template-columns: repeat(4, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .actions .btn.primary { display: none; }
  .brand-title strong { font-size: 13px; }
  .langDropdown { right: 0; width: 146px; }
  .langMobile { grid-template-columns: repeat(3, 1fr); }
  .metric strong { font-size: 16px; }
  .metric span { font-size: 11px; }
  .modal { max-height: 86vh; }
}

@media (max-width: 360px) {
  .langCode { display: none; }
  .langButton { padding: 0 10px; }
  .brand { gap: 10px; }
}
