/* Gezigram web — renkler mobile/src/shared/theme/tokens.ts ile aynı. */
:root {
  --bg: #f5f4ef;
  --card: #ffffff;
  --tint: #e2ece5;
  --tint-ink: #1f4d3a;
  --border: #e2e0d7;
  --ink: #16231c;
  --muted: #66706a;
  --primary: #1f4d3a;
  --primary-ink: #ffffff;
  --brand: #f0a43a;
  --brand-soft: #fbebd3;
  --hero: #1f4d3a;
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.74);
  --contour: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(22, 35, 28, 0.14);
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e0c;
    --card: #171e1a;
    --tint: #17271e;
    --tint-ink: #7cd6a2;
    --border: #28302b;
    --ink: #e8ece8;
    --muted: #9aa39d;
    --primary: #3b7d5c;
    --brand-soft: #3a2d16;
    --hero: #10261c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--tint-ink); }
img, svg { display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Üst bar */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.site-nav .wide { display: none; }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--border); margin-top: 56px; padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brandline { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.site-footer .brandline img { width: 28px; height: 28px; }

/* Düğmeler */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); font-weight: 600; text-decoration: none; border: 0; }
.button svg { width: 20px; height: 20px; }
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Paylaşım bağlantısı kartı (/post/:id, /route/:id) */
.share { margin: 16px 0 0; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 12px; }
.share[hidden] { display: none; }
.share h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.share p { margin: 0; color: var(--muted); font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-ink); border-radius: 28px; margin-top: 16px; padding: 32px 22px 0; }
.hero-grid { position: relative; display: grid; gap: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 600; color: var(--hero-ink); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero h1 { margin: 0; font-size: 38px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin: 16px 0 0; color: var(--hero-muted); font-size: 17px; max-width: 34em; }
.soon { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.soon span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 600; }
.soon span svg { width: 18px; height: 18px; }
.soon-note { margin: 12px 0 0; font-size: 13px; color: var(--hero-muted); }
.hero-art { justify-self: center; width: 100%; max-width: 320px; }
.phone { position: relative; aspect-ratio: 9 / 15; border-radius: 34px 34px 0 0; border: 8px solid #0a0e0c; border-bottom: 0; background: #0f1c15; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3); }
.phone svg { width: 100%; height: 100%; }
.stats { position: absolute; left: 12px; right: 12px; bottom: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); color: #16231c; text-align: center; }
.stats b { display: block; font-size: 16px; line-height: 1.2; }
.stats small { font-size: 11px; color: #66706a; }

/* Bölümler */
.section { padding-top: 56px; }
.section > h2, .section-head h2 { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--tint); color: var(--tint-ink); font-size: 14px; font-weight: 600; }
.features { display: grid; gap: 14px; margin-top: 24px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--tint-ink); }
.feature .badge svg { width: 22px; height: 22px; }
.feature.accent .badge { background: var(--brand-soft); color: var(--brand); }
.feature h3 { margin: 16px 0 6px; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.feature li + li { margin-top: 4px; }

.cta { margin-top: 56px; padding: 28px 22px; border-radius: 28px; background: var(--brand-soft); text-align: left; }
.cta h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; }
.cta p { margin: 8px 0 0; color: var(--muted); }
.cta .button { margin-top: 18px; }

/* Yasal / destek sayfaları */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 0; }
.doc h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 6px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; letter-spacing: -0.01em; color: var(--ink); }
.doc .muted { color: var(--muted); }
.doc li + li { margin-top: 6px; }
.doc .card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; margin-top: 24px; }

@media (min-width: 560px) {
  .site-nav .wide { display: inline-block; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 48px 0; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
  .hero-copy { padding-bottom: 56px; }
  .hero h1 { font-size: 60px; }
  .hero .lead { font-size: 19px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature.wide2 { grid-column: span 2; }
  .cta { padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .cta .button { margin-top: 0; flex-shrink: 0; }
  .section > h2, .section-head h2 { font-size: 34px; }
}

/* Hareket — kütüphanesiz. Hareketi kapatanlarda hepsi durur. */
#trail.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards; }
.trail-end { opacity: 0; transform-box: fill-box; transform-origin: center; }
#trail.draw ~ .trail-end { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.7s forwards; }
.trail-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in, .js-off .reveal { opacity: 1; transform: none; }
.features .reveal:nth-child(2) { transition-delay: 0.08s; }
.features .reveal:nth-child(3) { transition-delay: 0.16s; }
.features .reveal:nth-child(5) { transition-delay: 0.08s; }
.feature { position: relative; overflow: hidden; }
.stamp { position: absolute; top: 14px; right: 14px; width: 72px; height: 72px; color: var(--brand); opacity: 0; transform: rotate(-18deg) scale(1.6); }
.stamp svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 4 3; }
.stamp svg circle:last-of-type { stroke-dasharray: none; stroke-width: 1.5; }
.stamp text { fill: currentColor; stroke: none; font-size: 10px; font-weight: 800; text-anchor: middle; letter-spacing: 0.08em; }
.reveal.in .stamp { animation: stamp 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.35s forwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-18deg) scale(1.6); } 70% { opacity: 0.9; } to { opacity: 0.75; transform: rotate(-12deg) scale(1); } }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.button { transition: transform 0.15s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stamp, .trail-end { opacity: 1; transform: none; }
  .stamp { opacity: 0.75; transform: rotate(-12deg); }
  #trail.draw { stroke-dashoffset: 0; }
}
