/* Lgitha website. Colours and fonts follow app/lib/core/theme.dart. */

/* ---------- Fonts (self-hosted, subset to Arabic + Latin) ---------- */
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  /* Brand surfaces: identical in both modes */
  --brand-emerald: #0B3D2E;
  --brand-emerald-2: #145A44;
  --brand-deep: #062519;
  --gold: #D9A441;
  --gold-light: #F2CF7E;
  --gold-end: #C08A2C;
  --on-brand: #F6F1E6;
  --on-brand-muted: #B9D3C8;

  /* Light (Daylight) */
  --bg: #F6F1E6;
  --bg-alt: #EFE8D8;
  --card: #FFFDF8;
  --border: #E6DCC8;
  --ink: #10241D;
  --text-2: #3E4F48;
  --muted: #5C6B64;
  --emerald-fill: #0B3D2E;
  --emerald-ink: #0B3D2E;
  --emerald-2: #145A44;
  --emerald-soft: #DCEBE3;
  --gold-ink: #7F5A10;
  --gold-soft: #F8EBCF;
  --green-ink: #1B5A38;
  --green-soft: #DDF0E4;
  --red-ink: #9B2C2C;
  --red-soft: #F6DCDC;
  --blue-soft: #DDEAF7;
  --blue-ink: #245E9C;
  --map-ground: #DDE8DF;
  --map-park: #C9DECF;
  --focus: #145A44;
  --shadow-sm: 0 1px 4px rgba(11, 61, 46, .05);
  --shadow: 0 10px 24px rgba(11, 61, 46, .07), 0 1px 4px rgba(11, 61, 46, .05);
  --shadow-lg: 0 30px 60px -24px rgba(11, 61, 46, .28);

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: 16px;
  --header-h: 64px;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-display: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0D1813;
    --bg-alt: #111E18;
    --card: #13211B;
    --border: #26372F;
    --ink: #ECE6D8;
    --text-2: #C8D1CB;
    --muted: #98A69F;
    --emerald-fill: #1A5A44;
    --emerald-ink: #6FCBA5;
    --emerald-2: #4CB58C;
    --emerald-soft: #163A2D;
    --gold-ink: #E6BC62;
    --gold-soft: #3A2E16;
    --green-ink: #86D6A8;
    --green-soft: #15301F;
    --red-ink: #E07A7A;
    --red-soft: #3A1A1A;
    --blue-soft: #172A3D;
    --blue-ink: #7AAEE6;
    --map-ground: #12201A;
    --map-park: #173326;
    --focus: #F2CF7E;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .25);
    --shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 1px 4px rgba(0, 0, 0, .25);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D1813;
  --bg-alt: #111E18;
  --card: #13211B;
  --border: #26372F;
  --ink: #ECE6D8;
  --text-2: #C8D1CB;
  --muted: #98A69F;
  --emerald-fill: #1A5A44;
  --emerald-ink: #6FCBA5;
  --emerald-2: #4CB58C;
  --emerald-soft: #163A2D;
  --gold-ink: #E6BC62;
  --gold-soft: #3A2E16;
  --green-ink: #86D6A8;
  --green-soft: #15301F;
  --red-ink: #E07A7A;
  --red-soft: #3A1A1A;
  --blue-soft: #172A3D;
  --blue-ink: #7AAEE6;
  --map-ground: #12201A;
  --map-park: #173326;
  --focus: #F2CF7E;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .25);
  --shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 1px 4px rgba(0, 0, 0, .25);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1080px) { :root { --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(en) body, html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.3; margin: 0; color: inherit; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--emerald-ink); text-underline-offset: .2em; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.on-brand :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: .6rem 1rem; border-radius: 12px; background: var(--gold); color: var(--brand-deep);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Hidden until English text is applied (with a timed fallback so the page can never stay blank). */
.i18n-pending body { visibility: hidden; animation: i18n-unhide 0s linear 1.2s forwards; }
@keyframes i18n-unhide { to { visibility: visible; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .65rem 1.3rem;
  border-radius: 16px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn-lg { min-height: 54px; padding: .8rem 1.6rem; font-size: 1.06rem; border-radius: 18px; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; border-radius: 14px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-end));
  color: var(--brand-deep);
  box-shadow: 0 10px 22px -10px rgba(217, 164, 65, .75);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(217, 164, 65, .85); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: var(--on-brand); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(242, 207, 126, .5); }
.btn-emerald { background: var(--emerald-fill); color: var(--on-brand); box-shadow: var(--shadow); }
.btn-emerald:hover { transform: translateY(-2px); background: var(--brand-emerald-2); }
.btn:active { transform: translateY(0); }

.text-link { color: var(--emerald-ink); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--on-brand);
  background: rgba(6, 37, 25, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(242, 207, 126, .14);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 16px -6px rgba(217, 164, 65, .7); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; }

.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 12px;
  color: var(--on-brand-muted); text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: color .2s, background-color .2s;
}
.site-nav ul a:hover { color: var(--on-brand); background: rgba(255, 255, 255, .07); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; height: 44px; padding: 0 .7rem; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--on-brand); cursor: pointer; font-weight: 600; font-size: .92rem;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(242, 207, 126, .45); }
.theme-btn, .menu-btn { padding: 0; width: 44px; }
.lang-long { display: none; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-menu { display: none; }
.header-signin {
  display: none; align-items: center; min-height: 44px; padding: 0 .7rem; border-radius: 12px;
  color: var(--on-brand); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.header-signin:hover { background: rgba(255, 255, 255, .07); }
.header-start { display: none; }

/* Mobile menu panel */
@media (max-width: 1079.98px) {
  .site-nav {
    position: absolute; inset-inline: 0; top: 100%;
    padding: 12px var(--gutter) 20px;
    background: var(--brand-deep);
    border-bottom: 1px solid rgba(242, 207, 126, .16);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    display: none;
  }
  /* Solid while open: a backdrop-filter parent can let the page show through the panel. */
  .site-header.menu-open { background: var(--brand-deep); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .site-nav { display: block; animation: drop .22s ease-out; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { width: 100%; min-height: 48px; font-size: 1.05rem; color: var(--on-brand); }
  .nav-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .nav-cta .btn { flex: 1 1 160px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (min-width: 640px) {
  .lang-long { display: inline; }
  .lang-short { display: none; }
  .header-start { display: inline-flex; }
}
@media (min-width: 1080px) {
  .site-nav { margin-inline-start: 18px; }
  .menu-btn { display: none; }
  .header-signin { display: inline-flex; }
}

/* ---------- Brand surfaces (hero + final CTA) ---------- */
.on-brand {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand-emerald-2) 0%, var(--brand-emerald) 55%, var(--brand-deep) 100%);
}
.on-brand::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/pattern.svg") repeat;
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 80%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-glow-a { width: 520px; height: 520px; top: -220px; inset-inline-end: -160px; background: radial-gradient(closest-side, rgba(217, 164, 65, .28), rgba(217, 164, 65, 0)); }
.hero-glow-b { width: 600px; height: 600px; bottom: -320px; inset-inline-start: -200px; background: radial-gradient(closest-side, rgba(20, 90, 68, .95), rgba(20, 90, 68, 0)); }

/* ---------- Hero ---------- */
.hero { padding-block: 44px 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem .35rem .75rem; border-radius: 999px;
  background: rgba(242, 207, 126, .12); border: 1px solid rgba(242, 207, 126, .3);
  color: var(--gold-light); font-weight: 700; font-size: .9rem;
}
.hero h1 { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.15rem); line-height: 1.3; }
.hero h1 > span { display: block; }
.brand-word {
  font-size: clamp(3rem, 2rem + 4.6vw, 5rem); line-height: 1.15; margin-bottom: .08em;
  color: var(--on-brand);
}
/* Gradient text: extra bottom padding so Arabic dots below the baseline (e.g. «في») are painted. */
.h1-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-block: .05em .4em; margin-bottom: -.4em;
}
@media (max-width: 639.98px) {
  .hero-ctas .btn { flex: 1 1 auto; }
}
.hero-lead { margin-top: 18px; max-width: 34em; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-brand-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem .35rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem; font-weight: 600;
}
.chip .i { color: var(--gold-light); width: 1.1em; height: 1.1em; }
.hero-note { margin-top: 22px; font-size: .95rem; color: var(--on-brand-muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.hero-note a { color: var(--gold-light); font-weight: 700; }

@media (min-width: 640px) { .hero { padding-block: 64px 88px; } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; }
  .hero { padding-block: 72px 96px; }
}

/* Entrance (runs once) */
.js .rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .d1 { animation-delay: .05s; } .js .d2 { animation-delay: .13s; } .js .d3 { animation-delay: .21s; }
.js .d4 { animation-delay: .29s; } .js .d5 { animation-delay: .37s; } .js .d6 { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone-figure { position: relative; margin: 0; padding: 8px 0 0; width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative; width: 300px; max-width: 100%;
  padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, #24332c, #07100c 60%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 1px rgba(0, 0, 0, .4);
}
.phone-screen {
  height: 600px; border-radius: 38px; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-size: 12px; line-height: 1.45;
}
.phone-screen .i { width: 15px; height: 15px; }
.app-top {
  position: relative; padding: 30px 14px 14px;
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand-emerald-2), var(--brand-emerald) 60%, var(--brand-deep));
}
.notch { position: absolute; top: 9px; left: 50%; width: 84px; height: 20px; margin-left: -42px; border-radius: 12px; background: #050b08; }
.app-bar { display: flex; align-items: center; gap: 7px; }
.app-logo { width: 24px; height: 24px; border-radius: 8px; }
.app-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.app-loc { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 10.5px; font-weight: 600; }
.app-loc .i { width: 12px; height: 12px; color: var(--gold-light); }
.app-search {
  margin-top: 12px; display: flex; align-items: center; gap: 7px;
  padding: 9px 11px; border-radius: 14px;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--gold);
}
.app-search > .i { color: var(--muted); }
.app-search .q { font-weight: 700; font-size: 13px; }
.caret { width: 1.5px; height: 15px; background: var(--emerald-2); margin-inline-start: -4px; }
.js .caret { animation: blink 1s steps(1) 6; }
@keyframes blink { 50% { opacity: 0; } }
.app-search-tools { margin-inline-start: auto; display: inline-flex; gap: 8px; color: var(--emerald-2); }
.app-chips { display: flex; gap: 6px; padding: 10px 12px 4px; overflow: hidden; white-space: nowrap; }
.a-chip { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border); background: var(--card); font-weight: 600; font-size: 11px; color: var(--text-2); }
.a-chip.on { background: var(--emerald-fill); color: var(--on-brand); border-color: transparent; }
.app-summary { display: flex; align-items: center; gap: 9px; padding: 8px 12px; }
.app-summary strong { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 800; color: var(--emerald-ink); }
.app-summary small { display: block; font-size: 11px; color: var(--muted); }
.art {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 11px; color: #fff;
}
.art .i { width: 18px; height: 18px; }
.art-emerald { background: linear-gradient(135deg, #2F8F5B, #145A44); }
.art-gold { background: linear-gradient(135deg, #F2CF7E, #C08A2C); color: #3d2a06; }
.art-ocean { background: linear-gradient(135deg, #5B9BD5, #2B6CB0); }
.art-sand { background: linear-gradient(135deg, #D8C39A, #A88B57); color: #2e2412; }

.results { display: grid; gap: 8px; padding: 2px 10px 10px; }
.r-card {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px;
  padding: 9px; border-radius: 16px; background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.r-body p { line-height: 1.35; }
.r-name { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12.5px; }
.r-name .verified { width: 13px; height: 13px; color: var(--gold-ink); }
.r-meta { color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.r-meta .open { color: var(--green-ink); font-weight: 600; }
.r-meta .closed { color: var(--red-ink); font-weight: 600; }
.r-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 4px; }
.r-upd { font-size: 9.5px; color: var(--muted); }
.r-btn { padding: 5px 10px; border-radius: 10px; background: var(--emerald-fill); color: var(--on-brand); font-weight: 700; font-size: 11px; }
.r-btn.off { background: var(--bg-alt); color: var(--muted); }
.app-nav {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 14px; background: var(--card); border-top: 1px solid var(--border);
}
.app-nav > span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; color: var(--muted); }
.app-nav > span.on { color: var(--emerald-ink); }
.app-nav > span.on .i { background: var(--gold-soft); border-radius: 99px; width: 34px; height: 20px; padding: 2px 9px; box-sizing: border-box; }

.tag {
  display: inline-flex; align-items: center; gap: .3em;
  padding: 1px 8px; border-radius: 99px; font-weight: 700; font-size: 10.5px; line-height: 1.6; white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-green { background: var(--green-soft); color: var(--green-ink); }
.tag-amber { background: var(--gold-soft); color: var(--gold-ink); }
.tag-red { background: var(--red-soft); color: var(--red-ink); }

/* floating cards around the phone */
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: 250px; padding: 10px 14px 10px 12px; border-radius: 18px;
  background: var(--card); color: var(--ink); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  line-height: 1.4;
}
.float strong { display: block; font-size: .86rem; }
.float small { display: block; font-size: .76rem; color: var(--muted); }
.float-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; }
.fi-green { background: var(--green-soft); color: var(--green-ink); }
.fi-gold { background: var(--gold-soft); color: var(--gold-ink); }
/* Placed over the app bar (top) and the bottom navigation, so they never hide a result card. */
.float-reserve { bottom: 52px; inset-inline-start: -6px; }
.float-alert { top: 30px; inset-inline-end: -6px; }
.phone-figure { max-width: 520px; }
.js .float { animation: pop .7s cubic-bezier(.2, .8, .2, 1.2) both; }
.js .float-alert { animation-delay: .7s; }
.js .float-reserve { animation-delay: .95s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@media (max-width: 559.98px) { .float { display: none; } }

.mock-caption { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.on-brand .mock-caption { color: var(--on-brand-muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw + 24px, 112px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-ink); font-weight: 700; font-size: .95rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }
.section-head h2 { margin-top: 10px; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem); color: var(--ink); }
.section-lead { margin-top: 14px; font-size: clamp(1.02rem, 1rem + .2vw, 1.15rem); color: var(--text-2); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.step-num {
  position: absolute; top: 18px; inset-inline-end: 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--gold); opacity: .55;
}
.step-icon {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-emerald-2), var(--brand-emerald));
  color: var(--gold-light); box-shadow: 0 10px 20px -10px rgba(11, 61, 46, .6);
}
.step-icon .i { width: 24px; height: 24px; }
.step h3 { margin-top: 16px; font-size: 1.3rem; }
.step p { margin-top: 6px; color: var(--text-2); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.js .steps .step:nth-child(2) { transition-delay: .08s; }
.js .steps .step:nth-child(3) { transition-delay: .16s; }
.js .steps .step:nth-child(4) { transition-delay: .24s; }

/* ---------- Features bento ---------- */
.bento { display: grid; gap: 16px; }
.f-card { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.f-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--emerald-soft); color: var(--emerald-ink); margin-bottom: 6px;
}
.f-icon .i { width: 23px; height: 23px; }
.f-card h3 { font-size: 1.22rem; }
.f-card p { color: var(--text-2); }
.f-wide { gap: 20px; }
.f-wide .f-text { display: flex; flex-direction: column; gap: 8px; }
.stock-demo {
  display: grid; gap: 8px; padding: 14px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--border);
}
.sd-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.sd-row .art { width: 34px; height: 34px; border-radius: 10px; }
.sd-row .art .i { width: 17px; height: 17px; }
.sd-name { font-weight: 700; font-size: .95rem; flex: 1; min-width: 0; }
.sd-row .tag { font-size: .8rem; padding: 2px 10px; }
.sd-foot { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); padding-inline: 4px; }
.sd-foot .i { width: 16px; height: 16px; }

.mini-map { width: 100%; height: auto; margin-top: auto; padding-top: 10px; }
.mm-ground { fill: var(--map-ground); }
.mm-park { fill: var(--map-park); }
.mm-road { fill: none; stroke: var(--card); stroke-width: 7; stroke-linecap: round; }
.mm-road.thin { stroke-width: 4; }
.mm-route { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 6; }
.mm-me { fill: var(--blue-ink); stroke: var(--card); stroke-width: 2.5; }
.mm-me-halo { fill: var(--blue-ink); opacity: .18; }
.mm-pin.a { fill: var(--brand-emerald-2); stroke: var(--gold); stroke-width: 2; }
.mm-pin.b { fill: var(--muted); opacity: .55; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .f-wide { grid-column: span 2; }
  .bento > .f-card:last-child { grid-column: span 2; }
}
@media (min-width: 860px) {
  .f-wide { flex-direction: row; align-items: center; gap: 28px; padding: 28px; }
  .f-wide .f-text { flex: 1 1 0; }
  .f-wide .stock-demo { flex: 1 1 0; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento > .f-card:last-child { grid-column: auto; }
}

.mini-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.mini-badges li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-2); font-weight: 600; font-size: .92rem;
}
.mini-badges .i { color: var(--emerald-2); }

/* ---------- Shops ---------- */
.shops-grid { display: grid; gap: 32px; align-items: start; }
.dash { margin: 0; }
.dash-frame {
  border-radius: 26px; overflow: hidden; background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.45;
}
.dash-frame .i { width: 16px; height: 16px; }
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 14px 16px; color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand-emerald-2), var(--brand-emerald) 60%, var(--brand-deep));
}
.dash-title { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.dash-title .i { color: var(--gold-light); }
.dash-sync { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: rgba(242, 207, 126, .14); color: var(--gold-light); font-size: 11.5px; font-weight: 600; }
.dash-body { padding: 14px; display: grid; gap: 9px; background: var(--bg); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dash-head strong { font-family: var(--font-display); font-size: 14.5px; }
.dash-scan { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 10px; background: var(--emerald-fill); color: var(--on-brand); font-weight: 700; font-size: 12px; }
.inv-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px;
  padding: 8px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
}
.inv-row .art { width: 34px; height: 34px; border-radius: 10px; grid-row: span 2; }
.inv-row .art .i { width: 17px; height: 17px; }
.inv-name { font-weight: 700; min-width: 0; }
.inv-row .tag { grid-column: 2; justify-self: start; }
.stepper { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; background: var(--bg); }
.stepper span { width: 26px; text-align: center; color: var(--muted); font-weight: 700; }
.stepper b { min-width: 30px; text-align: center; font-size: 14px; padding: 3px 0; background: var(--card); border-inline: 1px solid var(--border); }
.dash-split { display: grid; gap: 9px; }
.dash-card { padding: 11px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.dash-card strong { display: block; font-size: 12.5px; }
.gap-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.gap-chips span { padding: 2px 9px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; font-size: 11.5px; }
.dash-qr { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; }
.qr-art { width: 48px; height: 48px; flex: none; padding: 4px; border-radius: 8px; background: #fff; fill: #0B3D2E; }
@media (min-width: 480px) { .dash-split { grid-template-columns: 1.3fr 1fr; } }

.tools { display: grid; gap: 10px; }
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.t-icon { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--gold-soft); color: var(--gold-ink); }
.t-icon .i { width: 21px; height: 21px; }
.tool h3 { font-size: 1.04rem; }
.tool p { color: var(--text-2); font-size: .95rem; margin-top: 2px; }
@media (min-width: 640px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .shops-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; }
  .dash { position: sticky; top: calc(var(--header-h) + 24px); }
}

.partners { display: grid; gap: 16px; margin-top: 40px; }
.partner { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.partner .f-icon { background: var(--blue-soft); color: var(--blue-ink); }
.partner h3 { font-size: 1.22rem; }
.partner p { color: var(--text-2); }
.partner-note {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: 16px;
  background: var(--emerald-soft); color: var(--ink); font-weight: 600;
}
.partner-note .i { color: var(--emerald-ink); margin-top: .2em; }
@media (min-width: 760px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .partner-note { grid-column: span 2; }
}

/* ---------- Join ---------- */
.join-grid { display: grid; gap: 28px; align-items: start; }
.timeline { display: grid; gap: 0; position: relative; }
.tl-step { position: relative; display: flex; gap: 18px; padding-bottom: 28px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; top: 52px; bottom: 6px; inset-inline-start: 25px; width: 2px;
  background: linear-gradient(var(--gold), rgba(217, 164, 65, .15));
}
.tl-step:last-child::before { display: none; }
.tl-num {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-end));
  color: var(--brand-deep); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  box-shadow: 0 10px 20px -10px rgba(192, 138, 44, .8);
}
.tl-step h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.28rem; margin-top: 10px; }
.tl-step h3 .i { color: var(--emerald-2); }
.tl-step p { margin-top: 6px; color: var(--text-2); }
.checklist { padding: 26px 24px; }
.checklist h3 { font-size: 1.25rem; }
.checklist ul { display: grid; gap: 10px; margin-top: 16px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checklist li .i { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: .2em; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); stroke-width: 2.4; }
.checklist-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
@media (min-width: 1000px) { .join-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--emerald-2); transition: transform .25s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); }

/* ---------- Final CTA ---------- */
.cta-band { padding-block: clamp(64px, 8vw + 20px, 104px); text-align: center; }
.cta-band::before { -webkit-mask-image: radial-gradient(80% 90% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(80% 90% at 50% 50%, #000 10%, transparent 75%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 64px; height: 64px; border-radius: 20px; box-shadow: 0 14px 30px -10px rgba(217, 164, 65, .8); }
.cta-band h2 { margin-top: 22px; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); max-width: 18em; }
.cta-band p { margin-top: 12px; color: var(--on-brand-muted); font-size: 1.1rem; max-width: 34em; }
.cta-band .hero-ctas { justify-content: center; }
.cta-signin { margin-top: 18px; color: var(--gold-light); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-brand-muted); padding-top: 48px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer-brand .brand { color: var(--on-brand); }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-col h2 { font-family: var(--font-display); font-size: 1rem; color: var(--on-brand); margin-bottom: 10px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-brand-muted); text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem;
}
.footer-bottom a { color: var(--gold-light); font-weight: 700; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .rise, .js .float { animation: none; }
  .btn:hover, .f-card:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-visual, .cta-band, .sprite { display: none !important; }
  .on-brand { background: none; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
