/* TEZ public website. Brand colours from the app (apps/mobile/src/theme.ts). */
:root {
  --bg: #081424;
  --bg-alt: #0b1a2e;
  --panel: #0f1f35;
  --line: #1c2c44;
  --text: #f5f7fb;
  --muted: #a3adbb;
  --gold: #ffc21c;
  --gold-deep: #e2a900;
  --on-gold: #1a1300;
  --green: #22c55e;
  --red: #f16d64;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold {
  color: var(--gold);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--gold);
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-ghost,
.btn-ghost:hover {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  transform: none;
  cursor: default;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 20, 36, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a:not(.btn) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.topnav a:not(.btn):hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 194, 28, 0.12), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(34, 197, 94, 0.06), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-facts strong {
  color: var(--text);
}

/* Phone illustration */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 280px;
  padding: 14px;
  border-radius: 40px;
  background: #050d18;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.02);
}

.phone-notch {
  width: 90px;
  height: 22px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #0a1626;
}

.screen {
  border-radius: 28px;
  background: var(--panel);
  padding: 22px 18px;
}

.screen-title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 17px;
}

.route {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

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

.stop small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stop b {
  font-size: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: none;
}

.dot-pickup {
  background: var(--green);
}

.dot-drop {
  background: var(--red);
}

.route-line {
  width: 2px;
  height: 18px;
  margin: 4px 0 4px 5px;
  background: var(--line);
}

.progress {
  display: flex;
  align-items: center;
  margin: 22px 4px 8px;
}

.progress .step {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--panel);
  flex: none;
}

.progress .step.done {
  background: var(--green);
  border-color: var(--green);
}

.progress .step.live {
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.2);
}

.progress .bar {
  flex: 1;
  height: 2px;
  background: var(--line);
}

.progress .bar.done {
  background: var(--green);
}

.progress-label {
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
}

.fare {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 194, 28, 0.12);
  border: 1px solid rgba(255, 194, 28, 0.4);
  font-size: 14px;
}

.fare b {
  white-space: nowrap;
  color: var(--gold);
  font-size: 15px;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-bottom: 36px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.feature h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 194, 28, 0.12);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  margin-bottom: 16px;
}

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

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Delivery tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 600;
  text-align: center;
}

.tile svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}

/* Service band */
.band {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(255, 194, 28, 0.16), rgba(255, 194, 28, 0.04));
  border-top: 1px solid rgba(255, 194, 28, 0.25);
  border-bottom: 1px solid rgba(255, 194, 28, 0.25);
}

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

.band h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}

.band p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.15s;
}

a.contact-card:hover {
  border-color: var(--gold);
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-card b {
  font-weight: 600;
  font-size: 15px;
  overflow-wrap: anywhere;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 12px 0 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
}

.footer nav a {
  color: var(--muted);
}

.footer nav a:hover {
  color: var(--gold);
}

.copyright {
  margin-top: 28px;
  font-size: 13px;
}

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

  .hero-visual {
    order: -1;
  }

  .features,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .topnav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-visual {
    order: 1;
  }

  .phone {
    width: 250px;
  }

  .section {
    padding: 56px 0;
  }

  .features,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}
