/* =====================================================
   TaxiFlow – SaaS Style (Inspired by SimplyBook.me)
   Clean • Trustworthy • Professional
===================================================== */

/* ===============================
   DESIGN TOKENS
================================ */
:root {
  --brand: #2f80ed;
  --brand-dark: #1f6fd8;
  --accent: #ff4d6d;

  --bg-main: #f4f8fc;
  --bg-soft: #eef3f9;
  --bg-white: #ffffff;
  --bg-dark: #0b2545;

  --text-main: #102a43;
  --text-muted: #5b6b7c;
  --text-light: #ffffff;

  --border: rgba(16,42,67,.08);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-soft: 0 18px 40px rgba(16,42,67,.08);
  --shadow-card: 0 12px 28px rgba(16,42,67,.10);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
          Inter, Roboto, Helvetica, Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
/* ===============================
   GLOBAL RESET
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0 0 12px;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===============================
   CONTAINER
================================ */
.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 22px;
}

.center {
  text-align: center;
}

/* ===============================
   HERO
================================ */
.hero {
  padding: 90px 0 90px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f6fc 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 140px;
  background: radial-gradient(120% 120% at 50% 0%, #eaf2fb 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
}
.hero-visual {
  justify-self: start;
}
.hero-text h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 18px;
  max-width: 520px;
}

.hero-points li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255,77,109,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255,77,109,.45);
}

/* ===============================
   HERO VISUAL
================================ */
.hero-visual .visual-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-height: 260px;
  align-content: center;
}

.visual-box span {
  background: var(--bg-soft);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

/* ===============================
   SECTIONS
================================ */
.section {
  padding: 48px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255,255,255,.85);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 28px;
}

/* ===============================
   FEATURES
================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.feature .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* ===============================
   STEPS
================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg-white);
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 42px;
  height: 42px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}
/* ===============================
   SYSTEM FLOW (TEXT-ONLY)
================================ */

.steps-linear {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  text-align: left;
}

.steps-linear .step {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.steps-linear .step-number {
  width: 42px;
  height: 42px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps-linear h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.steps-linear p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .steps-linear {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps-linear {
    grid-template-columns: 1fr;
  }
}
/* =========================
   TAXIFLOW PRICING – FINAL
========================= */

.tf-pricing {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.tf-pricing-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.tf-pricing-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tf-pricing-head p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

.tf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.tf-price-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  position: relative;
}

.tf-price-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tf-sub {
  color: #475569;
  font-size: 15px;
  margin-bottom: 24px;
}

.tf-price {
  margin-bottom: 24px;
}

.tf-price-main {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
}

.tf-price-unit {
  font-size: 16px;
  color: #64748b;
  margin-left: 6px;
}

.tf-price-setup {
  margin-top: 6px;
  font-size: 14px;
  color: #64748b;
}

.tf-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.tf-features li {
  padding-left: 22px;
  margin-bottom: 10px;
  position: relative;
  font-size: 14.5px;
  color: #0f172a;
}

.tf-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

.tf-note {
  font-size: 14px;
  color: #475569;
  margin-top: 16px;
}

/* Featured City */
.tf-featured {
  border: 2px solid #2563eb;
}

.tf-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: #2563eb;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
/* City links */
.tf-city-links {
  margin-top: 20px;
  font-size: 14px;
  color: #334155;
}

.tf-city-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.tf-city-links a:hover {
  text-decoration: underline;
}

.tf-city-note {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

/* Footer */
.tf-pricing-foot {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: #334155;
}

.tf-vat-note {
  margin-top: 12px;
  font-size: 14px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .tf-pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   BEFORE / AFTER
================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.compare-box {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.compare-box.before {
  border-left: 6px solid #cfd8e3;
}

.compare-box.after {
  border-left: 6px solid var(--brand);
}

/* ===============================
   APPS
================================ */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.app-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.app-card.highlight {
  border: 2px solid var(--brand);
}

.app-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* ===============================
   NOTIFICATIONS
================================ */
.notify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.notify-box {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.notify-box.highlight {
  border: 2px solid var(--brand);
}

.notify-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

/* ===============================
   TRUST & CTA
================================ */
.trust-points {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 28px 0;
  font-weight: 600;
}

.proof {
  margin-bottom: 36px;
}

.cta-box {
  background: rgba(255,255,255,.08);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: inline-block;
}

.cta-contact {
  margin-top: 18px;
  font-size: 18px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 980px) {
  .hero-grid,
  .features-grid,
  .steps-grid,
  .apps-grid,
  .notify-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 90px 0;
  }

  .hero-text h1 {
    font-size: 38px;
  }
}
/* =====================================================
   HEADER (SaaS / SimplyBook-style)
===================================================== */

.site-header {
  position: fixed;     /* ← change from sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}
body {
  padding-top: 82px;   /* same as header height */
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo-link {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-decoration: none;
}

.logo-link:hover {
  color: var(--brand);
}
/* ===============================
   HEADER MENU ALIGNMENT FIX
================================ */

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 15px;
}

.header-nav a:hover {
  color: var(--brand);
}
/* ===============================
   HEADER NAV (SCROLL MENU)
================================ */

.header-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  transition: color .2s ease;
}

.header-nav a:hover {
  color: var(--brand);
}

/* subtle underline on hover */
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .2s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

/* Header CTA */
.btn-outline {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}
/* Logo combo (TaxiPoint + TaxiFlow) */
.logo-combo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-circle {
  height: 62px;
  width: 62px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,23,42,0.14);
}

.logo-circle img {
  height: 46px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}
.mobile-menu-btn { display: none; }

@media (max-width: 980px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
}

.mobile-nav.open {
  display: block;
}
/* ===============================
   HERO DASHBOARD – LOCKED FRAME
   =============================== */

.hero-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Exact visual box size (matches green square) */
.dashboard-frame {
  width: 620px;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
/* Browser top bar */
.frame-bar {
  display: none;
}
/* macOS dots */
.frame-bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.frame-bar .red    { background: #ff5f57; }
.frame-bar .yellow { background: #febc2e; }
.frame-bar .green  { background: #28c840; }

/* Image area */
.frame-body {
  background: none;
  display: block;
}
.frame-body {
  display: flex;
  justify-content: center;
}

.frame-body img {
  width: 135%;          /* slightly oversized, centered */
  height: auto;
  display: block;

  border-radius: 14px;
  border: 1px solid rgba(16, 42, 67, 0.18);

  box-shadow:
    0 10px 28px rgba(16, 42, 67, 0.14);
}
@media (max-width: 768px) {
  .frame-body img {
    width: 100%;
    max-width: 100%;
  }
}
/* Responsive safety */
@media (max-width: 1024px) {
  .dashboard-frame {
    width: 100%;
  }
}
/* Dashboard caption (hero) */
.dashboard-caption {
  margin-top: 18px;
  text-align: center;

  font-size: 16px;          /* ⬅ increased from 14px */
  font-weight: 500;         /* ⬅ slightly stronger */
  color: var(--text-muted);

  max-width: 560px;         /* ⬅ keeps it nicely centered */
  margin-left: auto;
  margin-right: auto;
}
/* ===============================
   CUSTOMER BOOKING FLOW (SCREENS)
   Clean • Real • Device-like
================================ */

.customer-showcase {
  padding-top: 32px;
  padding-bottom: 60px;
}
.customer-showcase h2 {
  margin-top: 0;
}
/* 3 screens side by side */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 72px;
  align-items: start;
}

/* Card wrapper (no visual frame) */
.customer-card {
  text-align: center;
}

/* REMOVE frame look – keep only spacing */
.customer-frame {
  padding: 0;
  margin-bottom: 18px;
  background: none;
  box-shadow: none;
}

/* REAL screenshot styling */
.customer-frame img {
  width: 100%;
  max-width: 320px;          /* controls width */
  height: auto;

  display: block;
  margin: 0 auto;

  border-radius: 14px;
  border: 1px solid rgba(16, 42, 67, 0.18);

  box-shadow:
    0 8px 24px rgba(16, 42, 67, 0.12);
}

/* Headline */
.customer-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Description */
.customer-card p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Mobile fallback */
@media (max-width: 1024px) {
  .customer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .customer-frame img {
    max-width: 360px;
  }
}
/* ===============================
   HOW IT WORKS – 2 COLUMN LAYOUT
================================ */

.how-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

/* Left side: steps in 2x2 */
.steps-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Right side: driver image */
.how-visual {
  display: flex;
  justify-content: center;
}

/* Same subtle border as customer screens */
.screen-bordered {
  width: 100%;
  max-width: 210px;
  height: 400px;

  border-radius: 14px;
  border: 1px solid rgba(16, 42, 67, 0.18);

  box-shadow:
    0 8px 24px rgba(16, 42, 67, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .steps-2x2 {
    grid-template-columns: 1fr;
  }

  .how-visual {
    margin-top: 32px;
  }
}
/* ===============================
   DRIVER FLOW (5-step)
   SAME SCALE AS CUSTOMER SCREENS
================================ */

.driver-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 56px;                 /* ⬅ EXACT same rhythm as customer-grid */
  align-items: start;
  margin-top: 72px;
}

/* First row: 3 items (3 × 2 columns) */
.driver-flow-grid > .driver-step:nth-child(1),
.driver-flow-grid > .driver-step:nth-child(2),
.driver-flow-grid > .driver-step:nth-child(3) {
  grid-column: span 2;
}

/* Second row: 2 items centered */
.driver-flow-grid > .driver-step:nth-child(4) {
  grid-column: 2 / span 2;
}

.driver-flow-grid > .driver-step:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Card wrapper — LOCK WIDTH to customer cards */
.driver-step {
  max-width: 320px;          /* ⬅ SAME as customer screens */
  margin: 0 auto;
  text-align: center;
}

/* Screenshot styling — IDENTICAL to customer */
.driver-step img {
  width: 120%;
  max-width: 260px;

  height: auto;
  transform: scaleY(0.95);   /* ⬅ reduces height by 10% */
  transform-origin: top;   /* ⬅ keeps top aligned */

  margin: 0 auto 12px;

  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, 0.12);
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.10);
}
/* Step title */
.driver-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Step description */
.driver-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 1200px) {
  .driver-flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .driver-flow-grid > .driver-step {
    grid-column: span 1 !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .driver-flow-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .driver-step {
    max-width: 360px;
  }
}
@media (max-width: 980px) {
  .header-nav {
    display: none;
  }
}
/* =========================
   FOOTER
========================= */

.site-footer {
  background: #0b1f3a;
  color: #cbd5e1;
  padding: 64px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* =========================
   LEGAL PAGES
========================= */

.legal-page {
  max-width: 820px;
  padding: 80px 20px;
}

.legal-page h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.legal-page ul {
  padding-left: 20px;
}
