/* flowfollow.app (9 Kasım): siyah-altın ff. Yazı tipleri sistemden (Google Fonts yok: ziyaretçi IP'si üçüncü tarafa gitmesin). */
:root {
  --bg: #EFE9DC; --surface: #F7F3EA; --ink: #1A1712; --muted: #6B6355; --line: #DCD3C1;
  --gold: #B6893E; --gold-text: #7A5A1F; --mark-bg: #0E0E0E;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E0E0E; --surface: #171614; --ink: #EDE6D6; --muted: #9A927F; --line: #2A2722; --gold-text: #C49B55; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold-text); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { max-width: 1120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand svg { width: 34px; height: 34px; display: block; }
.brand span b { color: var(--gold); font-weight: 800; }
nav.links { display: flex; gap: 18px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current] { color: var(--ink); }
main { padding: 40px 0 64px; }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.hero { display: grid; gap: 28px; align-items: center; padding: 24px 0 8px; }
.hero .badge svg { width: 96px; height: 96px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: var(--mark-bg); color: #EDE6D6; border: 1px solid var(--gold); text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
footer.bottom { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.bottom .wrap { max-width: 1120px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.bottom a { color: var(--muted); }
@media (max-width: 560px) {
  nav.links { gap: 12px; font-size: 14px; }
  nav.links .opt { display: none; }
  main { padding-top: 28px; }
}

/* ---------- 9 Kas (Kutsal): görseller ve animasyonlar ---------- */
@view-transition { navigation: auto; }
header.top { view-transition-name: site-header; position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Koyu sahne (tema ne olursa olsun siyah-altın). */
.stage { background: radial-gradient(1200px 600px at 75% 20%, rgba(182,137,62,.22), transparent 60%), #0B0B0A; color: #EDE6D6; }
.stage p, .stage .lead { color: #BDB4A2; }
.stage h1, .stage h2 { color: #F4EEE2; }
.full { width: 100%; }
.hero2 .wrap { max-width: 1120px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero2 h1 { font-size: clamp(36px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.hero2 h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em); animation: word .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes word { to { opacity: 1; transform: none; } }
.gold { background: linear-gradient(100deg, #B6893E 0%, #E8C77F 45%, #B6893E 60%, #8E6A2C 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.hero2 .lead { animation: fade 1s .9s both; }
.hero2 .stores { animation: fade 1s 1.1s both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
.phone { position: relative; justify-self: center; width: min(300px, 70vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2a2620, #0c0c0b 40%, #1d1a15); box-shadow: 0 0 0 1px rgba(182,137,62,.55), 0 40px 120px rgba(182,137,62,.25), 0 20px 50px rgba(0,0,0,.6); animation: float 7s ease-in-out infinite, fade 1.2s .3s both; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: #000; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.stage .btn { background: #B6893E; color: #0B0B0A; border-color: #B6893E; }
.stage .btn[aria-disabled="true"] { opacity: 1; background: transparent; color: #E8D5AE; border-color: rgba(182,137,62,.6); }

.marquee { overflow: hidden; border-block: 1px solid rgba(182,137,62,.35); background: #0E0E0E; color: #B6893E; white-space: nowrap; }
.marquee div { display: inline-block; padding: 14px 0; font-weight: 800; letter-spacing: .14em; font-size: 14px; animation: slide 40s linear infinite; }
.marquee span { margin: 0 22px; }
.marquee span:nth-child(even) { color: #6E5A36; }
@keyframes slide { to { transform: translateX(-50%); } }

.rows { max-width: 1120px; margin: 0 auto; padding: 72px 20px 24px; display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.row.flip .media { order: 2; }
.row .media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.row .media.tall { aspect-ratio: 4 / 5; max-height: 560px; }
.row .media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); }
.js .row .media img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.row.in .media img { transform: scale(1); }
.row .media:hover img { transform: scale(1.04); }
.row .media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(182,137,62,.35); pointer-events: none; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 10px; }
.row h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.row p { color: var(--muted); font-size: 18px; margin: 0 0 10px; }
.row ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); }

.cta { margin-top: 96px; }
.cta .wrap { max-width: 1120px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta .media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 520px; box-shadow: 0 0 0 1px rgba(182,137,62,.45); }
.cta .media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.page-hero { position: relative; padding: 48px 0 8px; }
html { overflow-x: clip; }
.page-hero::before { content: ""; position: absolute; z-index: -1; top: -200px; right: -200px; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(182,137,62,.20), transparent); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 40px); } }
.tigo { float: right; width: 120px; margin: -8px 0 8px 16px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }
details { transition: background .2s; }
details[open] { background: color-mix(in srgb, var(--surface) 80%, var(--gold) 6%); }
.btn { transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(182,137,62,.3); }

@media (max-width: 820px) {
  .hero2 .wrap, .row, .cta .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero2 .wrap { padding-top: 40px; padding-bottom: 56px; }
  .row.flip .media { order: 0; }
  .rows { gap: 64px; padding-top: 48px; }
  .phone { width: min(240px, 64vw); }
  .tigo { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero2 h1 .w { opacity: 1; transform: none; }
  .row .media img { transform: none; }
  @view-transition { navigation: none; }
}

/* Telefonda ekranlar (9 Kas): önce altın ff açılışı, sonra uygulama ekranları sırayla. */
.demo { margin: 0; justify-self: center; display: grid; justify-items: center; gap: 18px; }
.phone { overflow: hidden; }
.phone video, .phone .scr { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 34px; object-fit: cover; background: #000; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.phone .scr { opacity: 0; transform: translateX(14%) scale(.96); }
.phone .scr.on { opacity: 1; transform: none; z-index: 2; }
.phone .scr.off { opacity: 0; transform: translateX(-14%) scale(.96); }
.phone video.off { opacity: 0; }
.demo figcaption { display: grid; justify-items: center; gap: 10px; color: #E8D5AE; font-weight: 700; font-size: 15px; letter-spacing: .02em; min-height: 52px; }
#cap { transition: opacity .3s; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(182,137,62,.35); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-selected="true"] { width: 24px; background: #B6893E; }
.dots button:focus-visible { outline: 2px solid #E8C77F; outline-offset: 3px; }
