/* TOGOZ marketing site — flagship design
   Brand: deep slate ink, steel accent, sage/amber/terracotta state colors, warm white canvas */
:root {
  --ink0: #0c1621;
  --ink1: #12212f;
  --ink2: #1b3145;
  --ink: #2c4356;
  --ink-soft: #4a6379;
  --muted: #7b8a97;
  --steel: #3d5a72;
  --steel-bright: #5b83a3;
  --sage: #6f8f7c;
  --sage-bright: #8fb59d;
  --amber: #c29254;
  --terracotta: #b06a55;
  --canvas: #faf8f5;
  --parchment: #f3efe9;
  --card: #ffffff;
  --line: #e6e0d8;
  --line-dark: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .wordmark { font-family: var(--font-display); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============ Header ============ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 22, 33, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 28px; max-width: 1120px; margin: 0 auto;
}
.wordmark {
  font-weight: 800; font-size: 1.3rem; letter-spacing: 0.32em; margin-right: -0.32em;
  color: #fff; text-decoration: none !important; white-space: nowrap;
}
.wordmark .dot { color: var(--sage-bright); }
nav.main { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
nav.main a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
}
nav.main a:hover { color: #fff; text-decoration: none; }
nav.main a.cta {
  padding: 9px 20px; border-radius: 999px; color: var(--ink0); background: #fff;
  font-weight: 700; font-size: 0.86rem;
}
nav.main a.cta:hover { background: var(--parchment); }
@media (max-width: 780px) { nav.main a:not(.cta) { display: none; } }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(91, 131, 163, 0.28), transparent 60%),
    radial-gradient(900px 480px at 90% 0%, rgba(111, 143, 124, 0.18), transparent 55%),
    radial-gradient(700px 420px at 70% 110%, rgba(194, 146, 84, 0.12), transparent 60%),
    linear-gradient(178deg, var(--ink0) 0%, var(--ink1) 55%, var(--ink2) 100%);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 95%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 92px 0 110px;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; } }
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.85); font-weight: 500;
}
.announce .pill {
  padding: 2px 10px; border-radius: 999px; background: var(--sage);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  line-height: 1.06; font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--sage-bright), var(--steel-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  margin-top: 24px; max-width: 520px;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: rgba(255, 255, 255, 0.72);
}
.badges { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px;
  padding: 11px 20px; color: #fff; text-decoration: none !important;
  background: rgba(255, 255, 255, 0.05); min-width: 190px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.store-badge:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.store-badge .small { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.store-badge .big { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.hero .note { margin-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.hero .note .ar { font-size: 0.95rem; margin-left: 6px; }

/* Phone mockup */
.mock-stage { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) { .mock-stage { margin-top: 12px; } }
.phone {
  position: relative; width: 300px; border-radius: 46px;
  background: #0b0f14; padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 12px 30px rgba(0, 0, 0, 0.4);
  animation: float 7s ease-in-out infinite;
}
.phone .screen {
  border-radius: 36px; overflow: hidden; background: var(--canvas); color: var(--ink);
}
.phone .notch {
  width: 108px; height: 26px; margin: 8px auto 2px; border-radius: 999px; background: #0b0f14;
  position: relative; z-index: 2;
}
.app { padding: 6px 18px 20px; font-size: 0.78rem; }
.app .topbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 4px; }
.app .topbar .brand { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.24em; font-size: 0.72rem; }
.app .topbar .time { color: var(--muted); font-size: 0.7rem; }
.app .status-chip {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 7px;
  background: #edf3ee; color: var(--sage); border-radius: 999px; padding: 5px 12px;
  font-weight: 700; font-size: 0.72rem;
}
.app .status-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pulse 1.8s ease-in-out infinite; }
.app h4 { font-family: var(--font-display); font-size: 1.02rem; margin-top: 10px; letter-spacing: -0.01em; }
.app .progress { display: flex; gap: 5px; margin-top: 12px; }
.app .progress span { height: 4px; flex: 1; border-radius: 999px; background: var(--line); }
.app .progress span.on { background: var(--sage); }
.app .order-card {
  margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.app .order-card .row { display: flex; justify-content: space-between; margin-top: 6px; color: var(--ink-soft); }
.app .order-card .row:first-child { margin-top: 0; }
.app .order-card .row b { color: var(--ink); font-weight: 600; }
.app .order-card .total { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 8px; display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); }
.app .plate {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 12px;
  width: max-content;
}
.app .plate .emirate { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.12em; color: var(--terracotta); text-transform: uppercase; }
.app .plate .num { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; }
.app .imhere {
  margin-top: 14px; width: 100%; border: none; border-radius: 12px;
  background: var(--steel); color: #fff; padding: 12px; font-weight: 700; font-size: 0.85rem;
  font-family: var(--font-body);
}
.float-card {
  position: absolute; z-index: 3;
  background: rgba(255, 255, 255, 0.97); color: var(--ink);
  border-radius: 16px; padding: 13px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  animation: float 7s ease-in-out infinite;
}
.float-card .label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.float-card .value { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-top: 2px; }
.float-card.wallet { top: 9%; right: -4%; animation-delay: -3.5s; }
.float-card.ready { bottom: 12%; left: -8%; animation-delay: -1.6s; }
.float-card.ready .value { color: var(--sage); }
@media (max-width: 1020px) { .float-card.ready { left: 0; } .float-card.wallet { right: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .phone, .float-card { animation: none; }
  .app .status-chip .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Stats band ============ */
.stats { border-bottom: 1px solid var(--line); background: var(--card); }
.stats .row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 44px 0;
}
@media (max-width: 780px) { .stats .row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; }
.stat .l { margin-top: 4px; font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ============ Sections ============ */
section.block { padding: 104px 0; }
section.block.alt { background: var(--parchment); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-block;
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--steel);
  padding: 6px 14px; border-radius: 999px; background: rgba(61, 90, 114, 0.08);
}
section.block h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 800; margin-top: 18px;
  letter-spacing: -0.025em; line-height: 1.12; max-width: 720px;
}
section.block p.sub { margin-top: 16px; max-width: 620px; color: var(--ink-soft); font-size: 1.05rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Feature cards */
.grid { display: grid; gap: 22px; margin-top: 52px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(28, 49, 68, 0.09); }
.card .icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(61, 90, 114, 0.12), rgba(111, 143, 124, 0.14));
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 10px; font-size: 0.94rem; color: var(--ink-soft); }

/* Steps */
.steps {
  display: grid; gap: 22px; margin-top: 56px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.step .num {
  font-family: var(--font-display);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--steel), var(--ink2)); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-size: 1.08rem; font-weight: 700; }
.step p { margin-top: 10px; font-size: 0.93rem; color: var(--ink-soft); }

/* Platform trio */
.platform { display: grid; gap: 22px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plat {
  border-radius: var(--radius); padding: 34px 30px; color: #fff;
  background:
    radial-gradient(420px 200px at 85% -10%, rgba(91, 131, 163, 0.35), transparent 60%),
    linear-gradient(160deg, var(--ink1), var(--ink2));
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.plat .tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-bright); }
.plat h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.plat p { margin-top: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); }

/* Trust band */
.trust { display: grid; gap: 22px; margin-top: 52px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust .t {
  border-left: 3px solid var(--steel); padding: 6px 0 6px 20px;
}
.trust .t h3 { font-size: 1rem; font-weight: 700; }
.trust .t p { margin-top: 6px; font-size: 0.9rem; color: var(--ink-soft); }

/* Split (for restaurants) */
.split { display: grid; gap: 56px; margin-top: 56px; grid-template-columns: 1.05fr 0.95fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 16px; margin-top: 24px; font-size: 0.97rem; color: var(--ink-soft); }
.checklist li:first-child { margin-top: 6px; }
.checklist li strong { color: var(--ink); }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: linear-gradient(140deg, var(--sage), #5d7d6b); color: #fff; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
}

/* Lead form */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px 34px;
  box-shadow: 0 30px 70px rgba(28, 49, 68, 0.08);
}
.form-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.form-card p.sub { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.form-card label { display: block; margin-top: 18px; font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.form-card label .opt { color: var(--muted); font-weight: 400; }
.form-card input, .form-card select {
  width: 100%; margin-top: 7px; padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--canvas);
  color: var(--ink); font-size: 0.95rem; outline: none; font-family: var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-card input:focus, .form-card select:focus { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(61, 90, 114, 0.12); }
.prefixed { display: flex; margin-top: 7px; }
.prefixed span {
  display: flex; align-items: center; padding: 0 14px;
  border: 1px solid var(--line); border-right: none; border-radius: 10px 0 0 10px;
  background: var(--parchment); color: var(--muted); font-size: 0.95rem;
}
.prefixed input { margin-top: 0; border-radius: 0 10px 10px 0; }
.locked {
  margin-top: 7px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--parchment); color: var(--muted); font-size: 0.95rem;
}
.hp { position: absolute; left: -5000px; opacity: 0; height: 0; overflow: hidden; }
.form-card button {
  width: 100%; margin-top: 28px; padding: 15px;
  border: none; border-radius: 12px;
  background: linear-gradient(140deg, var(--steel), var(--ink2)); color: #fff;
  font-size: 1rem; font-weight: 700; cursor: pointer; font-family: var(--font-body);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.form-card button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.form-card button:disabled { opacity: 0.5; cursor: default; transform: none; }
.msg { margin-top: 14px; font-size: 0.9rem; text-align: center; }
.msg.err { color: var(--terracotta); }
.msg.ok { color: var(--sage); }
.done { text-align: center; padding: 28px 0; }
.done h3 { font-size: 1.25rem; }
.done p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }

/* About / roadmap */
.about-cols { display: grid; gap: 22px; margin-top: 52px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.roadmap { display: grid; gap: 22px; margin-top: 60px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.roadmap .phase { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--card); }
.roadmap .phase .tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.tag.now { background: #e8efe8; color: #55755f; }
.tag.next { background: #f4ead9; color: #9a713a; }
.tag.later { background: var(--parchment); color: var(--muted); }
.roadmap h3 { font-size: 1.05rem; font-weight: 700; }
.roadmap p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* Contact */
.contact-list { list-style: none; margin-top: 34px; }
.contact-list li { margin-top: 14px; font-size: 0.98rem; color: var(--ink-soft); }
.contact-list li strong { color: var(--ink); display: inline-block; min-width: 120px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(91, 131, 163, 0.35), transparent 60%),
    linear-gradient(160deg, var(--ink0), var(--ink2));
}
.cta-band .inner { position: relative; z-index: 1; padding: 96px 28px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.025em; }
.cta-band p { margin: 18px auto 0; max-width: 540px; color: rgba(255, 255, 255, 0.68); font-size: 1.02rem; }
.cta-band .badges { justify-content: center; }

/* ============ Footer ============ */
footer.site { background: var(--ink0); color: rgba(255, 255, 255, 0.65); padding: 72px 0 48px; }
footer.site .cols { display: grid; gap: 44px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 780px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.4); margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-top: 10px; font-size: 0.92rem; }
footer.site a { color: rgba(255, 255, 255, 0.72); }
footer.site a:hover { color: #fff; }
footer.site p.blurb { margin-top: 16px; font-size: 0.92rem; max-width: 300px; }
footer.site .legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
footer.site .legal a { color: rgba(255, 255, 255, 0.55); }

/* ============ Content pages (support / privacy / terms) ============ */
.page { padding: 76px 0 100px; max-width: 780px; margin: 0 auto; }
.page h1 { font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.page p.updated { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.page h2 { font-size: 1.35rem; font-weight: 800; margin-top: 46px; letter-spacing: -0.01em; }
.page h3 { font-size: 1.06rem; font-weight: 700; margin-top: 28px; }
.page p, .page li { margin-top: 13px; color: var(--ink-soft); font-size: 0.97rem; }
.page ul { padding-left: 22px; }
.page .faq {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  padding: 26px 30px; margin-top: 20px;
}
.page .faq h3 { margin-top: 0; }
