/* home.css — rules specific to index.html. Shared chrome lives in base.css. */

body::before {
      content: '';
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
      background-size: 200px 200px;
      opacity: .6;
    }

.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }

.nav-links a:hover { color: #fff; }

.nav-cta {
      background: var(--amber); color: var(--ink);
      font-weight: 700; font-size: .875rem;
      padding: 10px 22px; border-radius: 100px; text-decoration: none;
      transition: background .2s, transform .15s;
    }

.nav-cta:hover { background: var(--amber-lt); transform: translateY(-1px); }

.hero::after {
      content: '';
      position: absolute; inset: 0; z-index: 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;
      animation: gridPan 30s linear infinite;
    }

@keyframes gridPan { from { background-position: 0 0; } to { background-position: 60px 60px; } }

.hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3);
      color: var(--amber-lt); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
      padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
      animation: fadeUp .8s ease both;
    }

.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s ease infinite; flex-shrink: 0; }

@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(1.5); } }

.hero-sub {
      font-size: clamp(.9rem, 2.5vw, 1.15rem); color: var(--muted);
      max-width: 560px; margin: 0 auto 32px; line-height: 1.7;
      animation: fadeUp .9s .2s ease both;
    }

.hero-actions {
      display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
      animation: fadeUp .9s .3s ease both;
    }

.btn-primary {
      background: var(--amber); color: var(--ink);
      font-weight: 700; font-size: .95rem;
      padding: 13px 30px; border-radius: 100px; text-decoration: none;
      transition: background .2s, transform .15s, box-shadow .2s;
    }

.btn-primary:hover { background: var(--amber-lt); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,.4); }

.btn-ghost {
      background: transparent; border: 1px solid var(--border); color: #e8edf8;
      font-weight: 500; font-size: .95rem;
      padding: 13px 30px; border-radius: 100px; text-decoration: none;
      transition: border-color .2s, background .2s, transform .15s;
    }

.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); transform: translateY(-2px); }

/* hero ticker */
    .ticker-wrap {
      overflow: hidden; margin-top: 60px;
      animation: fadeUp .9s .45s ease both;
    }

.ticker {
      display: flex; gap: 0;
      animation: ticker 28s linear infinite;
      white-space: nowrap;
    }

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ticker-item {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 12px 28px;
      background: var(--card); border: 1px solid var(--border);
      border-radius: 100px; margin-right: 12px;
      font-size: .82rem; font-weight: 500; color: var(--muted);
      flex-shrink: 0;
    }

.ticker-item span { color: #e8edf8; }

/* SECTION SHARED */
    .section-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
      color: var(--teal); margin-bottom: 12px;
    }

h2 em { font-style: normal; color: var(--amber); }

.section-intro { font-size: 1.05rem; color: var(--muted); max-width: 520px; line-height: 1.7; }

/* SERVICES */
    .services-section { padding: 100px 6%; background: var(--ink); }

.services-header { max-width: 1200px; margin: 0 auto 60px; }

.services-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px; max-width: 1200px; margin: 0 auto;
    }

.service-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--r); padding: 28px;
      transition: transform .25s, border-color .25s, box-shadow .25s;
      position: relative; overflow: hidden;
    }

.service-card::before {
      content: ''; position: absolute;
      top: 0; left: 0; right: 0; height: 3px;
      background: var(--accent-color, var(--amber));
      transform: scaleX(0); transform-origin: left; transition: transform .35s;
    }

.service-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.14); box-shadow: 0 20px 60px rgba(0,0,0,.4); }

.service-card:hover::before { transform: scaleX(1); }

.svc-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }

.svc-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }

.svc-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* OPERATOR */
    .operator-section {
      padding: 100px 6%;
      background: linear-gradient(to bottom, var(--ink-soft), var(--ink));
    }

.op-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 80px; max-width: 1200px; margin: 0 auto; align-items: center;
    }

.op-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }

.stat-box {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 12px; padding: 20px;
    }

.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--amber); line-height: 1; }

.stat-label { font-size: .8rem; color: var(--muted); margin-top: 4px; }

.op-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.op-feat { display: flex; gap: 14px; align-items: flex-start; }

.op-feat-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2);
      display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
    }

.op-feat-title { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }

.op-feat-desc { font-size: .85rem; color: var(--muted); line-height: 1.55; }

.dash-mock {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 20px; padding: 20px;
      box-shadow: 0 30px 80px rgba(0,0,0,.5);
    }

.dash-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
    }

.dash-title { font-weight: 700; font-size: .95rem; }

.dash-online { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--teal-lt); }

.dash-online::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }

.kpi { background: rgba(255,255,255,.04); border-radius: 10px; padding: 12px 10px; text-align: center; }

.kpi-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--amber); line-height: 1; }

.kpi-key { font-size: .65rem; color: var(--muted); margin-top: 2px; }

.job-list { display: flex; flex-direction: column; gap: 8px; }

.job-item {
      background: rgba(255,255,255,.03); border: 1px solid var(--border);
      border-radius: 10px; padding: 11px 14px;
      display: flex; align-items: center; gap: 10px;
    }

.job-icon { font-size: 1rem; }

.job-route { font-size: .8rem; font-weight: 600; flex: 1; }

.job-type { font-size: .68rem; padding: 3px 8px; border-radius: 100px; }

.job-type.pass { background: rgba(20,184,166,.15); color: var(--teal-lt); }

.job-type.pkg  { background: rgba(245,158,11,.15); color: var(--amber-lt); }

.job-time { font-size: .72rem; color: var(--muted); }

/* DUAL APP CTA */
    .cta-section { padding: 100px 6%; background: var(--ink-soft); }

.cta-section-header { text-align: center; margin-bottom: 60px; }

.app-cards {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 24px; max-width: 1000px; margin: 0 auto;
    }

.app-card {
      border-radius: 24px; padding: 44px 38px;
      position: relative; overflow: hidden;
    }

.app-card.passenger {
      background: linear-gradient(135deg, rgba(20,184,166,.14) 0%, rgba(20,184,166,.03) 100%);
      border: 1px solid rgba(20,184,166,.25);
    }

.app-card.operator {
      background: linear-gradient(135deg, rgba(245,158,11,.14) 0%, rgba(245,158,11,.03) 100%);
      border: 1px solid rgba(245,158,11,.25);
    }

.app-card-icon-wrap {
      width: 80px; height: 80px; border-radius: 18px; overflow: hidden;
      margin-bottom: 22px; box-shadow: 0 8px 30px rgba(0,0,0,.4);
    }

.app-card-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

.app-card-title {
      font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      font-weight: 800;
      font-size: 1.9rem; letter-spacing: .01em; margin-bottom: 10px;
    }

.app-card-sub { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }

.app-card-sub.teal { color: var(--teal-lt); }

.app-card-sub.amber { color: var(--amber-lt); }

.app-card-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }

.btn-teal {
      background: var(--teal); color: var(--ink); font-weight: 700; font-size: .9rem;
      padding: 12px 28px; border-radius: 100px; text-decoration: none; display: inline-block;
      transition: background .2s, transform .15s;
    }

.btn-teal:hover { background: var(--teal-lt); transform: translateY(-2px); }

.btn-amber {
      background: var(--amber); color: var(--ink); font-weight: 700; font-size: .9rem;
      padding: 12px 28px; border-radius: 100px; text-decoration: none; display: inline-block;
      transition: background .2s, transform .15s;
    }

.btn-amber:hover { background: var(--amber-lt); transform: translateY(-2px); }

/* APP CARD ACTIONS */
    .card-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.pwa-badge {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
      color: var(--teal-lt); background: rgba(20,184,166,.1);
      border: 1px solid rgba(20,184,166,.28); padding: 5px 12px; border-radius: 100px;
    }

.app-card.operator .pwa-badge { color: var(--amber-lt); background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); }

.btn-teal.big, .btn-amber.big { padding: 14px 34px; font-size: 1rem; }

.pwa-note { font-size: .78rem; color: var(--muted); line-height: 1.5; max-width: 260px; }

.pwa-note b { color: #e8edf8; font-weight: 600; }

.coming-soon {
      display: inline-flex; align-items: center; gap: 10px;
      background: rgba(255,255,255,.03); color: var(--muted);
      padding: 9px 16px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.18);
      cursor: default;
    }

.coming-soon svg { width: 20px; height: 20px; opacity: .45; flex-shrink: 0; }

.cs-label { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }

.cs-label small { font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }

.cs-label span { font-size: .92rem; font-weight: 600; color: #c9d2e3; }

/* FOOTER */
    footer {
      background: var(--ink); border-top: 1px solid var(--border);
      padding: 50px 6% 32px;
    }

.footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: flex-start;
      flex-wrap: wrap; gap: 28px;
    }

.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }

.footer-logo-wrap img { width: 32px; height: 32px; border-radius: 7px; }

.footer-logo-text { font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: .01em; color: #fff; }

.footer-logo-text span { color: var(--amber); }

.footer-copy { font-size: .82rem; color: var(--muted); }

.footer-links {
      /* Vertical: five items wrapped badly in a row inside .footer-inner,
         which is already a wrapping space-between flex row. */
      display: flex; flex-direction: column; align-items: flex-start; gap: 11px;
    }

.footer-links a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }

.footer-links a:hover { color: #fff; }

.footer-social { display: flex; gap: 14px; align-items: center; }

.footer-social a {
      display: inline-flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; border-radius: 10px;
      background: rgba(255,255,255,.05); border: 1px solid var(--border);
      color: var(--muted); transition: color .2s, border-color .2s, transform .15s;
    }

.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,.28); transform: translateY(-2px); }

.footer-social svg { width: 20px; height: 20px; }

/* ANIMATIONS */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }

.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .op-grid, .app-cards { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .kpi-row { grid-template-columns: repeat(2, 1fr); }
    }

/* ── TABLET ── */
    @media (max-width: 768px) {
      .hero { padding: 100px 5% 48px; }
      h1 { font-size: clamp(2.4rem, 10vw, 4rem); margin-bottom: 16px; }
      .hero-sub { margin-bottom: 28px; }
      .hero-badge { margin-bottom: 18px; }
      .ticker-wrap { margin-top: 36px; }
    }

/* ── PHONE ── */
    @media (max-width: 500px) {
      /* Nav */
      nav { padding: 12px 5%; }
      .nav-logo-text { font-size: 1.25rem; }
      .nav-logo img { width: 26px; height: 26px; border-radius: 6px; }
      .nav-cta { font-size: .78rem; padding: 8px 14px; }

      /* Hero — no fixed height, just padding */
      .hero { padding: 88px 5% 40px; }
      .orb-amber { width: 200px; height: 200px; filter: blur(50px); }
      .orb-teal  { width: 180px; height: 180px; filter: blur(50px); }

      /* Badge */
      .hero-badge {
        font-size: .62rem; letter-spacing: .07em;
        padding: 5px 11px; margin-bottom: 14px;
        white-space: normal; text-align: center;
      }

      /* Heading */
      h1 {
        font-size: clamp(2.1rem, 11.5vw, 2.8rem);
        line-height: .97;
        margin-bottom: 14px;
      }

      /* Sub */
      .hero-sub {
        font-size: .875rem;
        line-height: 1.65;
        margin: 0 0 24px;
        max-width: 100%;
      }

      /* Buttons — stack vertically */
      .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
      .btn-primary, .btn-ghost {
        text-align: center; font-size: .875rem;
        padding: 13px 16px;
      }

      /* Ticker */
      .ticker-wrap { margin-top: 24px; }
      .ticker-item { padding: 9px 14px; font-size: .72rem; gap: 6px; }

      /* Rest of page */
      .services-section, .operator-section,
      .cta-section { padding: 60px 5%; }
      h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
      .app-card { padding: 28px 18px; }
      .op-stats { grid-template-columns: 1fr 1fr; }
      .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .app-cards { grid-template-columns: 1fr; }
    }

/* Phones: stack the three footer groups and centre them. Placed at the end
   deliberately — same specificity as the rules above, so source order is
   what decides, and an override written earlier would silently lose. */
@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { align-items: center; }
}
