/* TürkAdres coming-soon page. Brand colours of the app, system fonts only, no requests to anyone but this host. */
:root {
  --cream-50: #fffdf9; --cream-100: #fcfbf8; --cream-200: #f3f1eb; --cream-300: #e6e3dc;
  --tq-50: #eef7f8; --tq-200: #b9dfe2; --tq-600: #006d77; --tq-700: #005a63;
  --cobalt-800: #13294b; --cobalt-600: #24406e; --gold-100: #f8ecd6; --gold-700: #8a5a12;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream-200); color: var(--cobalt-800); line-height: 1.5;
}

/* ---------- background: the app, blurred ---------- */
.preview {
  position: fixed; inset: -12px; overflow: hidden; pointer-events: none; user-select: none;
  display: flex; flex-direction: column; background: var(--cream-100);
  filter: blur(2.6px) saturate(0.95); opacity: 0.62;
}
.p-top {
  display: flex; align-items: center; gap: 24px; padding: 18px 28px;
  background: var(--cream-50); border-bottom: 1px solid var(--cream-300); font-size: 15px;
}
.p-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tq-700); font-size: 18px; }
.p-logo img { display: block; }
.p-search { flex: 1; max-width: 520px; padding: 9px 16px; border: 1px solid var(--cream-300); border-radius: 999px; background: #fff; color: #7d8aa0; }
.p-lang { margin-left: auto; color: var(--cobalt-600); font-size: 13px; }
.p-body { flex: 1; display: grid; grid-template-columns: 400px 1fr; min-height: 0; }
.p-side { display: flex; flex-direction: column; min-height: 0; padding: 18px 20px 0; border-right: 1px solid var(--cream-300); background: var(--cream-100); }
.p-cats, .p-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.p-cats span, .p-chips span {
  padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--tq-200); color: var(--tq-700); background: #fff;
}
.p-cats span.on, .p-chips span.on { background: var(--tq-600); border-color: var(--tq-600); color: #fff; }
.p-label { margin: 16px 0 7px; font-size: 12px; font-weight: 600; color: var(--cobalt-600); }
.p-switch { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; border-top: 1px solid var(--cream-200); }
.p-switch b { width: 36px; height: 20px; border-radius: 999px; background: var(--cream-300); position: relative; }
.p-switch b::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.p-switch b.on { background: var(--tq-600); } .p-switch b.on::after { left: 19px; }
.p-list { flex: 1; overflow: hidden; margin-top: 12px; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); }
.p-scroll { list-style: none; margin: 0; padding: 0; animation: drift 46s linear infinite; }
.p-scroll li { display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--cream-200); }
.p-scroll li > i { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; }
.p-scroll strong { display: block; font-size: 15px; }
.p-scroll small { display: block; font-size: 13px; color: var(--cobalt-600); margin: 1px 0 6px; }
.p-scroll em { display: inline-block; font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 6px; margin-right: 5px; background: var(--gold-100); color: var(--gold-700); }
.p-scroll em.t { background: var(--tq-50); color: var(--tq-700); }
.c1 { background: #006d77; } .c2 { background: #2f6fb0; } .c3 { background: #7a4fb3; } .c4 { background: #d9603b; }
.c5 { background: #c2417a; } .c6 { background: #3f8f4f; } .c7 { background: #b8862b; }
.p-map { position: relative; overflow: hidden; }
.p-map svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: pan 60s ease-in-out infinite alternate; transform-origin: 55% 45%; }
.pin { animation: pop 9s ease-in-out infinite; opacity: 0; }
/* negative delays: on load every pin is already somewhere in its cycle, most of them visible */
.p1 { animation-delay: -1s; } .p2 { animation-delay: -2s; } .p3 { animation-delay: -3s; } .p4 { animation-delay: -4s; }
.p5 { animation-delay: -5s; } .p6 { animation-delay: -6s; } .p7 { animation-delay: -7s; } .p8 { animation-delay: -8s; } .p9 { animation-delay: -0.5s; }

@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes pan { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }
@keyframes pop {
  0% { opacity: 0; } 6% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; }
}

/* ---------- foreground ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; }
.card {
  width: 100%; max-width: 560px; padding: 34px 34px 22px; border-radius: 22px;
  background: rgba(252, 251, 248, 0.88); border: 1px solid rgba(230, 227, 220, 0.9);
  box-shadow: 0 24px 60px rgba(19, 41, 75, 0.16), 0 2px 6px rgba(19, 41, 75, 0.06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand h1 { margin: 0; font-size: 38px; letter-spacing: -0.015em; color: var(--tq-700); }
.soon {
  display: inline-block; margin: 14px 0 6px; padding: 5px 13px; border-radius: 999px;
  background: var(--tq-600); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.card section { padding: 14px 0; border-top: 1px solid var(--cream-300); }
.card section:first-of-type { border-top: 0; }
.card section p { margin: 0; color: var(--cobalt-600); font-size: 15px; }
.card section .lead { font-size: 18px; color: var(--cobalt-800); margin-bottom: 3px; }
.card footer { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--cream-300); text-align: center; font-size: 14px; color: var(--cobalt-600); }
.card footer a { color: var(--tq-700); }
.card footer span { margin: 0 8px; }

/* ---------- legal pages ---------- */
.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 48px 24px 40px; }
.legal h1 { font-size: 30px; margin: 0 0 20px; color: var(--tq-700); }
.legal h2 { font-size: 17px; margin: 24px 0 6px; }
.legal p { margin: 0 0 8px; white-space: pre-line; }
.legal a { color: var(--tq-700); }

/* ---------- small screens: the list only, no map ---------- */
@media (max-width: 760px) {
  .p-body { grid-template-columns: 1fr; }
  .p-map, .p-lang, .p-search { display: none; }
  .p-side { border-right: 0; }
  .card { padding: 26px 22px 18px; }
  .brand h1 { font-size: 32px; }
  .card section .lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .p-scroll, .p-map svg { animation: none; }
  .pin { animation: none; opacity: 1; }
}
