:root {
  --bg: #0b1020;
  --bg-accent: #0f172a;
  --text: #e6edf6;
  --muted: #93a4bf;
  --brand: #6ee7ff;
  --brand-2: #a5b4fc;
  --brand-3: #34d399;
  --accent: #f59e0b;
  --card: #121a32;
  --card-border: #223054;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-accent: #f7fafc;
    --text: #0b1020;
    --muted: #5a6b86;
    --card: #ffffff;
    --card-border: #e5e9f2;
    --shadow: 0 10px 30px rgba(8, 14, 35, .08);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, #1b2444 0%, var(--bg) 55%),
              linear-gradient(180deg, var(--bg-accent), var(--bg));
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg), transparent 5%);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid color-mix(in oklab, var(--card-border), transparent 70%);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: .2px; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(from 0deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand)); box-shadow: 0 0 16px #6ee7ff80; }
.nav-links { display: none; gap: 22px; color: var(--muted); }
.cta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #0b1020; border: 0; padding: 10px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); }
.ghost { background: transparent; border: 1px solid var(--card-border); color: var(--text); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* Hero */
.hero { padding: 56px 0 16px; }
.hero-grid { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 48px; } }
.title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; margin: 8px 0 10px; }
.subtitle { color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); }
.hero-actions { display: flex; gap: 12px; margin: 18px 0 0; flex-wrap: wrap; }

/* Isometric scene */
.iso-wrap { position: relative; }
.iso-scene {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border);
  background: radial-gradient(100% 100% at 50% 20%, #0b1538 0%, #0b1020 40%, transparent 65%),
              linear-gradient(180deg, color-mix(in oklab, var(--bg), #050a20 10%), var(--bg-accent));
  box-shadow: var(--shadow);
  isolation: isolate;
}
svg#city { width: 100%; height: 100%; display: block; }

/* Vehicles */
.vehicle { position: absolute; top: 0; left: 0; width: 18px; height: 12px; border-radius: 4px; box-shadow: 0 2px 8px #0006; opacity: .95; will-change: transform, offset-distance; }
.car { background: linear-gradient(180deg, #ffdd57, #f59e0b); }
.boat { width: 20px; height: 10px; background: linear-gradient(180deg, #a3e5ff, #60a5fa); border-radius: 8px; }
.plane { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #a5b4fc 60%, #6366f1 100%); filter: drop-shadow(0 0 8px #a5b4fc); }

/* Motion paths */
.car { --duration: 18s; offset-path: path("M 100 370 C 260 360, 380 330, 520 320 C 700 308, 860 330, 980 350"); animation: move var(--duration) linear infinite; }
.car2 { --duration: 14s; offset-path: path("M 520 320 C 488 312 448 296 412 280 C 388 270 360 260 340 250"); animation: move var(--duration) linear infinite reverse; }
.boat { --duration: 24s; offset-path: path("M 860 510 C 790 520, 740 545, 715 565 C 690 585, 670 610, 640 620"); animation: move var(--duration) linear infinite reverse; }
.plane { --duration: 28s; offset-path: path("M 180 180 C 260 80, 620 70, 900 160"); animation: fly var(--duration) ease-in-out infinite; }
@keyframes move { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes fly {
  0% { offset-distance: 0%; transform: translateZ(0) scale(1) rotate(2deg); }
  50% { transform: translateZ(0) scale(1.08) rotate(-3deg); }
  100% { offset-distance: 100%; transform: translateZ(0) scale(1) rotate(2deg); }
}

/* Shoreline wave */
.wave { stroke-dasharray: 10 16; animation: dash 8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }

/* Clouds */
#clouds .cloud { animation: cloud-move 50s linear infinite; }
@keyframes cloud-move {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(40px) translateY(-4px); }
  100% { transform: translateX(0) translateY(0); }
}

/* Properties hover/focus */
svg .property { cursor: pointer; outline: none; }
svg .property .label, svg .property .outline { transition: opacity .2s ease; }
svg .property:hover .label, svg .property:focus .label { opacity: 1 !important; }
svg .property:hover .outline, svg .property:focus .outline { opacity: .9 !important; }
/* AO ellipses to anchor buildings */
svg .ground-ao { mix-blend-mode: multiply; opacity: .45; pointer-events: none; }

/* Cards & sections */
.section { padding: 56px 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 740px) { .cards { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin: 8px 0 6px; font-size: 18px; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi .item { background: var(--card); border: 1px dashed var(--card-border); border-radius: 12px; padding: 14px; }
.muted { color: var(--muted); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
details + details { margin-top: 10px; }
details > summary { cursor: pointer; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--card-border); padding: 30px 0 50px; color: var(--muted); }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; } }

/* Utility */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: color-mix(in oklab, var(--brand), transparent 80%); color: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .vehicle, #clouds .cloud, .wave { animation: none !important; }
}
