/* =========================================================================
   VitrinQR — tanıtım sitesi. Menü uygulamasıyla aynı premium kimlik:
   Fraunces + Hanken Grotesk, krem/zeytin/altın, kağıt dokusu, zeytin amblemi.
   ========================================================================= */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3eee7;
  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #8a827b;
  --olive: #1c3a2e;
  --olive-2: #2d4a3e;
  --olive-soft: #edf1ee;
  --gold: #9a6b3d;
  --gold-soft: #f3e9dd;
  --line: #e7e5e4;
  --line-strong: #d6d1cb;
  --cream-on-dark: #f4efe7;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1160px;
  --r: 16px;
  --shadow: 0 1px 2px rgba(28,25,23,.05), 0 22px 48px -28px rgba(28,25,23,.35);
  --shadow-lg: 0 40px 90px -40px rgba(28,25,23,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.035'/%3E%3C/svg%3E");
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .2px; line-height: 1.1; margin: 0; text-wrap: balance; }
::selection { background: var(--olive); color: #fff; }

/* ---- Marka amblemi (zeytin dalı, çizim animasyonlu) ---- */
.brand__mark {
  width: 30px; height: 30px; flex-shrink: 0; display: inline-block;
  background: currentColor;
  -webkit-mask: url("assets/emblem.svg") center / contain no-repeat;
  mask: url("assets/emblem.svg") center / contain no-repeat;
  color: var(--gold);
}
.brand__mark--lg { width: 60px; height: 60px; }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 0 20px; min-height: 48px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, background .18s, border-color .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 15px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--primary { background: var(--olive); color: #fff; box-shadow: 0 12px 26px -12px rgba(28,58,46,.6); }
.btn--primary:hover { background: var(--olive-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn--ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }

.kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 60px); }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.section-head p { color: var(--ink-2); margin: 14px 0 0; font-size: 1.05rem; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(28,25,23,.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: .3px; }
.brand__name span { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: color .15s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.langbtn {
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  min-width: 46px; min-height: 40px; border-radius: 999px; font-weight: 700; font-size: .82rem;
  letter-spacing: .5px; cursor: pointer; transition: border-color .15s, color .15s;
}
.langbtn:hover { border-color: var(--olive); color: var(--olive); }
.nav__burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* nav koyu hero üzerindeyken (en tepede) açık renk */
.nav:not(.is-solid) .brand, .nav:not(.is-solid) .nav__links a, .nav:not(.is-solid) .langbtn { color: var(--cream-on-dark); }
.nav:not(.is-solid) .nav__links a { color: rgba(244,239,231,.82); }
.nav:not(.is-solid) .langbtn { border-color: rgba(255,255,255,.4); }
.nav:not(.is-solid) .brand__name span { color: var(--gold); }
.nav:not(.is-solid) .nav__burger span { background: #fff; }

/* =========================================================================
   HERO (koyu zeytin)
   ========================================================================= */
.hero { position: relative; color: var(--cream-on-dark); overflow: hidden; padding: clamp(120px, 16vw, 170px) 0 clamp(70px, 10vw, 110px); }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 78% 12%, #2f5041 0%, #1c3a2e 42%, #122a20 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 30% at 12% 88%, rgba(154,107,61,.28), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); background: rgba(154,107,61,.14); border: 1px solid rgba(154,107,61,.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero__title { font-size: clamp(2.5rem, 6.6vw, 4.3rem); line-height: 1.04; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__rotator { display: inline-block; }
.hero__sub { color: rgba(244,239,231,.82); font-size: clamp(1.02rem, 2vw, 1.2rem); margin: 22px 0 30px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { font-size: .82rem; font-weight: 500; color: rgba(244,239,231,.9); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); padding: 8px 14px; border-radius: 999px; }

/* Telefon çerçevesi — menü 390px'te render olur, JS ile çerçeveye ölçeklenir */
.hero__device { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 620;
  background: #0f0d0c; border-radius: 44px; padding: 9px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.phone--lg { width: min(300px, 82vw); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #faf7f2; }
.phone__screen iframe { position: absolute; top: 26px; left: 0; border: 0; }

/* Durum çubuğu (iPhone benzeri) — menünün açık zeminiyle aynı, içerik altında başlar */
.phone__status { position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 16px; background: #faf7f2; color: #1c1917; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.phone__time { letter-spacing: .3px; }
.phone__sys { display: inline-flex; align-items: center; gap: 5px; }
.phone__sys svg { display: block; }

/* iOS: Dynamic Island (varsayılan) */
.phone__island { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; background: #000; border-radius: 999px; z-index: 5; }
/* Android: punch-hole kamera (varsayılan gizli) */
.phone__punch { display: none; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 1.5px #26231f; z-index: 5; }

/* Alt: iOS home indicator / Android nav çubuğu (menü içeriği üzerinde ince) */
.phone__home { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 4px; border-radius: 4px; background: #1c1917; opacity: .28; z-index: 4; }
.phone__nav { display: none; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 36%; height: 4px; border-radius: 4px; background: #1c1917; opacity: .26; z-index: 4; }

/* Yan tuşlar (gerçekçilik) */
.phone::before { content: ""; position: absolute; left: -2px; top: 21%; width: 3px; height: 7%; background: #0a0908; border-radius: 2px 0 0 2px; }
.phone::after { content: ""; position: absolute; right: -2px; top: 29%; width: 3px; height: 11%; background: #0a0908; border-radius: 0 2px 2px 0; }

/* Cihaz seçimi */
body[data-device="android"] .phone { border-radius: 30px; padding: 7px; }
body[data-device="android"] .phone__screen { border-radius: 24px; }
body[data-device="android"] .phone__island { display: none; }
body[data-device="android"] .phone__punch { display: block; }
body[data-device="android"] .phone__home { display: none; }
body[data-device="android"] .phone__nav { display: block; }

.phone__glow { position: absolute; inset: -12% -8% 0; z-index: -1; background: radial-gradient(50% 50% at 50% 40%, rgba(154,107,61,.35), transparent 70%); filter: blur(20px); }
.hero__device .phone { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(-1deg);} 50%{transform:translateY(-14px) rotate(1deg);} }

/* Cihaz geçiş düğmesi */
.devtoggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.devtoggle button { border: 0; background: transparent; color: var(--ink-2); font-family: var(--sans); font-weight: 600; font-size: .85rem; padding: 8px 20px; min-height: 40px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.devtoggle button.is-on { background: var(--olive); color: #fff; }
.hero__accent {
  font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold);
  display: inline-block; white-space: nowrap;
  transition: opacity .45s ease, transform .45s ease; will-change: opacity, transform;
}

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 999px; display: grid; justify-items: center; padding-top: 8px; }
.hero__scroll span { width: 4px; height: 8px; background: rgba(255,255,255,.7); border-radius: 4px; animation: scrolly 1.6s ease-in-out infinite; }
@keyframes scrolly { 0%{opacity:0;transform:translateY(-4px);} 40%{opacity:1;} 100%{opacity:0;transform:translateY(10px);} }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { padding: clamp(40px, 6vw, 64px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.stat__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: var(--olive); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-3); }

/* =========================================================================
   BAND (problem→çözüm)
   ========================================================================= */
.band { padding: clamp(30px, 6vw, 60px) 0; }
.band__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.band h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
.band p { color: var(--ink-2); font-size: 1.1rem; margin: 18px 0 0; }

/* =========================================================================
   FEATURES
   ========================================================================= */
.features { padding: clamp(50px, 8vw, 90px) 0; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.fcard__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--olive-soft); color: var(--olive); margin-bottom: 16px; }
.fcard__ico svg { width: 24px; height: 24px; }
.fcard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fcard p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* =========================================================================
   KARŞILAŞTIRMA TABLOSU
   ========================================================================= */
.compare { padding: clamp(50px, 8vw, 90px) 0; background: var(--surface-2); }
.ctable { max-width: 880px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.ctable__head, .crow { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; align-items: center; gap: 14px; padding: 15px 22px; }
.ctable__head { background: var(--olive); color: rgba(244,239,231,.85); font-weight: 700; font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; }
.ctable__head .ctable__us { color: #fff; position: relative; }
.ctable__head .ctable__us::before { content: "★"; color: var(--gold); margin-right: 6px; }
.crow { border-top: 1px solid var(--line); }
.crow:nth-child(odd) { background: var(--surface-2); }
.crow__feat { font-weight: 600; color: var(--ink); font-size: .96rem; }
.crow__rival { color: var(--ink-3); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.crow__rival::before { content: "✕"; color: #c08a86; font-weight: 700; }
.crow__us { color: var(--olive); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.crow__us::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--olive); color: #fff; font-size: .72rem; font-weight: 800; flex-shrink: 0; }
:root[data-theme] .crow__us { }
@media (max-width: 640px) {
  .ctable__head { display: none; }
  .crow { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .crow__feat { font-size: 1rem; }
  .crow__rival, .crow__us { font-size: .9rem; }
  .crow__rival::after { content: " (rakipler)"; color: var(--ink-3); }
  .crow__us::after { content: " · VitrinQR"; color: var(--ink-3); font-weight: 500; }
}

/* =========================================================================
   GÖRSEL VİTRİN (animasyonlu showcase)
   ========================================================================= */
.showcase { padding: clamp(50px, 8vw, 90px) 0; }
.show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 7vw, 80px); }
.show:last-child { margin-bottom: 0; }
.show--rev .show__visual { order: 2; }
.show__visual { display: grid; place-items: center; }
.show__text h3 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-bottom: 14px; }
.show__text p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

.vcard { width: 100%; max-width: 430px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 30px; position: relative; overflow: hidden; }

/* Dil kartı */
.vcard--lang { text-align: center; }
.vcard__emblem { width: 44px; height: 44px; display: inline-block; background: var(--gold); -webkit-mask: url("assets/emblem.svg") center/contain no-repeat; mask: url("assets/emblem.svg") center/contain no-repeat; margin-bottom: 10px; }
.vcard__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.vcard__tags { position: relative; height: 3em; margin: 8px 0 18px; }
.vtag { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--ink-2); margin: 0; line-height: 1.4; transition: opacity .5s ease; }
.vtag--en { opacity: 0; }
.vcard__flag { display: inline-flex; }
.flg { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.flg svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.flg--en { display: none; }
.vcard--lang.is-en .vtag--tr { opacity: 0; }
.vcard--lang.is-en .vtag--en { opacity: 1; }
.vcard--lang.is-en .flg--tr { display: none; }
.vcard--lang.is-en .flg--en { display: inline-flex; }

/* Ürün kartı — alerjen + kalori */
.vprod__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vprod__head b { font-family: var(--serif); font-size: 1.35rem; }
.vprod__head span { color: var(--olive); font-weight: 700; white-space: nowrap; }
.vprod__cal { margin: 12px 0 14px; color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.vprod__cal i { font-style: normal; font-variant-numeric: tabular-nums; }
.vprod__alg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.algchip { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 8px; background: var(--olive-soft); color: var(--olive); border: 1px solid color-mix(in srgb, var(--olive) 20%, transparent); opacity: 0; animation: chipCycle 4.4s ease-in-out infinite; }
.algchip:nth-child(1) { animation-delay: 0s; }
.algchip:nth-child(2) { animation-delay: .28s; }
.algchip:nth-child(3) { animation-delay: .56s; }
.algchip:nth-child(4) { animation-delay: .84s; }
@keyframes chipCycle { 0%{opacity:0;transform:translateY(7px) scale(.92)} 12%{opacity:1;transform:none} 82%{opacity:1;transform:none} 94%,100%{opacity:0;transform:translateY(-4px)} }
.vprod__note { font-size: .82rem; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); }

/* Önce / Sonra (AI görsel) */
.vcard--ba { padding: 0; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { filter: saturate(1.12) contrast(1.06) brightness(1.02) sepia(.06); }
.ba__before { position: absolute; inset: 0; animation: baClip 7s ease-in-out infinite; }
.ba__before .ba__img { filter: grayscale(.55) blur(1.6px) brightness(.9) contrast(.9); }
@keyframes baClip { 0%,100%{clip-path: inset(0 30% 0 0)} 50%{clip-path: inset(0 78% 0 0)} }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 70%; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.5); animation: baHandle 7s ease-in-out infinite; z-index: 2; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.35); }
@keyframes baHandle { 0%,100%{left:70%} 50%{left:22%} }
.ba__tag { position: absolute; bottom: 12px; z-index: 3; font-size: .68rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: rgba(15,13,12,.55); padding: 4px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; }

/* Yönlü reveal (soldan / sağdan) */
.reveal--left { transform: translate(-42px, 16px); }
.reveal--right { transform: translate(42px, 16px); }

/* =========================================================================
   DEMO
   ========================================================================= */
.demo { padding: clamp(50px, 8vw, 90px) 0; background: linear-gradient(180deg, transparent, var(--surface-2) 40%, transparent); }
.demo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.demo__text h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
.demo__text p { color: var(--ink-2); margin: 16px 0 24px; font-size: 1.05rem; }
.demo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.demo__qr { display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.demo__qr img { width: 88px; height: 88px; }
.demo__qr span { font-size: .9rem; color: var(--ink-2); max-width: 18ch; font-weight: 500; }
.demo__device { display: grid; place-items: center; }

/* =========================================================================
   ADMIN PANEL
   ========================================================================= */
.panel { padding: clamp(50px, 8vw, 90px) 0; }
.panel__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.panel__text h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin-bottom: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: 1.02rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 999px; background: var(--olive-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }
/* Panel mockup */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.mock__top { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__top span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.mock__body { display: grid; grid-template-columns: 120px 1fr; min-height: 280px; }
.mock__side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.mock__logo { font-family: var(--serif); font-weight: 600; color: var(--olive); font-size: .95rem; margin-bottom: 6px; }
.mock__side i { height: 10px; border-radius: 4px; background: var(--line); }
.mock__side i.is-active { background: var(--olive); width: 80%; }
.mock__main { padding: 18px; }
.mock__cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 16px; }
.mock__cards u { height: 54px; border-radius: 10px; background: linear-gradient(120deg, var(--olive-soft), var(--gold-soft)); display: block; }
.mock__rows { display: grid; gap: 10px; }
.mock__rows s { height: 20px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); display: block; }

/* =========================================================================
   HOW
   ========================================================================= */
.how { padding: clamp(50px, 8vw, 90px) 0; background: var(--surface-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { text-align: center; padding: 30px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.step b { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--olive); color: #fff; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 16px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* =========================================================================
   WHY
   ========================================================================= */
.why { padding: clamp(50px, 8vw, 90px) 0; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why__card { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); border-left: 3px solid var(--gold); }
.why__card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why__card p { color: var(--ink-2); margin: 0; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { padding: clamp(60px, 9vw, 110px) 0; }
.cta__inner { text-align: center; max-width: 720px; margin: 0 auto; background: radial-gradient(120% 100% at 50% 0%, #2f5041, #1c3a2e 55%, #122a20); color: var(--cream-on-dark); border-radius: 28px; padding: clamp(40px, 7vw, 70px) clamp(24px, 5vw, 50px); box-shadow: var(--shadow-lg); }
.cta__inner .brand__mark { color: var(--gold); margin: 0 auto 18px; }
.cta h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.cta p { color: rgba(244,239,231,.82); font-size: 1.1rem; margin: 16px auto 30px; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot { border-top: 1px solid var(--line); padding: 40px 0 30px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand--foot .brand__name { font-size: 1.2rem; }
.foot__note { color: var(--ink-3); font-size: .92rem; margin: 0; }
.foot__mail { color: var(--olive); font-weight: 600; }
.foot__copy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; }

/* =========================================================================
   REVEAL / SCROLL ANİMASYONLARI
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Kademeli (staggered) gecikme — aynı grid içindeki kartlar sırayla belirir */
.fgrid .reveal, .why__grid .reveal, .steps .reveal, .stats__grid .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__device .phone, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   ÖZELLİK KARTI — tıklanabilir (buton) + "Demoyu gör" ipucu
   ========================================================================= */
.fcard { cursor: pointer; text-align: left; font-family: inherit; color: inherit; width: 100%; -webkit-tap-highlight-color: transparent; display: block; }
.fcard__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .84rem; opacity: .55; transition: opacity .2s; }
.fcard__more b { transition: transform .2s; }
.fcard:hover .fcard__more { opacity: 1; }
.fcard:hover .fcard__more b { transform: translateX(4px); }

/* =========================================================================
   DEMO MODALI + animasyonlu demolar
   ========================================================================= */
.fmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.fmodal[hidden] { display: none; }
.fmodal__backdrop { position: absolute; inset: 0; background: rgba(15,13,12,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fmodal__card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); animation: fpop .3s cubic-bezier(.2,.7,.2,1); }
@keyframes fpop { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: none; } }
.fmodal__close { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 0 14px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.92); color: #1c1917; font-family: var(--sans); font-weight: 600; font-size: .82rem; cursor: pointer; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fmodal__demo { padding: 30px 24px 6px; display: grid; place-items: center; min-height: 200px; }
.fmodal__demo .kicker { display: none; }
.fmodal__text { padding: 12px 28px 30px; text-align: center; }
.fmodal__text .kicker { display: none; }
.fmodal__text h3 { font-size: 1.5rem; margin-bottom: 8px; }
.fmodal__text p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.dmo-fill { width: 100%; max-width: 360px; }
.fmodal__demo .vcard { box-shadow: 0 12px 30px -18px rgba(28,25,23,.4); }

/* Mini telefon (qr / offline) */
.dphone { width: 150px; aspect-ratio: 150 / 300; background: #0f0d0c; border-radius: 26px; padding: 6px; box-shadow: var(--shadow-lg); flex-shrink: 0; }
.dscreen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: var(--bg); }
.dgrid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.dgrid i { border-radius: 8px; background: linear-gradient(120deg, var(--olive-soft), var(--gold-soft)); }

/* 0 — QR */
.dmo--qr { display: flex; align-items: center; gap: 26px; }
.dqr { position: relative; width: 116px; height: 116px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.dqr img { width: 100%; height: 100%; }
.dscan { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--gold); box-shadow: 0 0 10px var(--gold); border-radius: 3px; animation: dscan 2.2s ease-in-out infinite; }
@keyframes dscan { 0%,100% { top: 8px; } 50% { top: calc(100% - 11px); } }
.dmo--qr .dsplash { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 8px; background: radial-gradient(120% 90% at 50% 25%, #2f5041, #1c3a2e); color: #fff; animation: dqrsplash 4.2s ease-in-out infinite; }
.demblem { width: 30px; height: 30px; background: var(--gold); -webkit-mask: url("assets/emblem.svg") center/contain no-repeat; mask: url("assets/emblem.svg") center/contain no-repeat; }
.dsname { font-family: var(--serif); font-size: .95rem; }
.dgo { font-size: .58rem; padding: 5px 11px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.dmo--qr .dgrid { animation: dqrmenu 4.2s ease-in-out infinite; }
@keyframes dqrsplash { 0%,42% { opacity: 1; } 55%,100% { opacity: 0; } }
@keyframes dqrmenu { 0%,42% { opacity: 0; } 55%,100% { opacity: 1; } }

/* Genel demo kartı */
.dcard { width: 100%; max-width: 320px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 11px; }

/* 3 — Servis */
.dsvc-btn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--olive); font-size: .92rem; }
.dsvc-btn--press { animation: dpress 3.2s ease-in-out infinite; }
@keyframes dpress { 0%,18%,42%,100% { transform: none; background: var(--surface); } 28% { transform: scale(.96); background: var(--olive-soft); } }
.dsvc-msg { text-align: center; color: var(--olive); font-weight: 600; font-size: .86rem; background: var(--olive-soft); border-radius: 10px; padding: 11px; opacity: 0; animation: dmsg 3.2s ease-in-out infinite; }
@keyframes dmsg { 0%,32% { opacity: 0; transform: translateY(6px); } 46%,86% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }

/* 4 — Hesap böl & bahşiş */
.db-amt { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--ink-2); }
.db-amt b { color: var(--olive); font-size: 1.15rem; } .db-amt i { font-style: normal; font-variant-numeric: tabular-nums; }
.db-row { display: flex; justify-content: space-between; color: var(--ink-2); }
.db-row b { font-variant-numeric: tabular-nums; color: var(--ink); }
.db-tips { display: flex; gap: 6px; }
.db-tips s { text-decoration: none; font-size: .78rem; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); background: var(--surface); transition: all .25s; }
.db-tips s.on { background: var(--olive); color: #fff; border-color: var(--olive); }
.db-out { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--line); }
.db-out span { color: var(--ink-2); font-weight: 600; }
.db-out b { color: var(--gold); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; transition: transform .3s; }
.db-out b.pop { transform: scale(1.14); }

/* 5 — Tema */
.dmo-theme { display: grid; gap: 16px; justify-items: center; --tbg: #faf7f2; --tink: #1c1917; --tac: #1c3a2e; }
.dmo-theme.t-dark { --tbg: #1b1917; --tink: #f4efe7; --tac: #85b39a; }
.dmo-theme.t-bordo { --tbg: #faf7f2; --tink: #1c1917; --tac: #7a2b3a; }
.dmo-theme.t-gold { --tbg: #faf7f2; --tink: #1c1917; --tac: #9a6b2f; }
.dt-card { width: 220px; background: var(--tbg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow); transition: background .45s ease; }
.dt-emblem { width: 32px; height: 32px; display: inline-block; background: var(--tac); -webkit-mask: url("assets/emblem.svg") center/contain no-repeat; mask: url("assets/emblem.svg") center/contain no-repeat; transition: background .45s; }
.dt-name { font-family: var(--serif); font-size: 1.2rem; color: var(--tink); margin-top: 6px; transition: color .45s; }
.dt-chip { width: 64px; height: 9px; border-radius: 999px; background: var(--tac); margin: 14px auto 10px; transition: background .45s; }
.dt-line { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--tink) 14%, transparent); margin: 7px 0; transition: background .45s; }
.dt-line--s { width: 60%; margin-inline: auto; }
.dt-dots { display: flex; gap: 8px; }
.dt-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dmo-theme.t-light .dt-dots i:nth-child(1), .dmo-theme.t-dark .dt-dots i:nth-child(2), .dmo-theme.t-bordo .dt-dots i:nth-child(3), .dmo-theme.t-gold .dt-dots i:nth-child(4) { background: var(--tac); transform: scale(1.15); }

/* 6 — Çevrimdışı */
.dmo--off { display: grid; justify-items: center; gap: 18px; }
.doff-top { display: flex; align-items: center; gap: 10px; }
.doff-wifi { color: var(--ink-3); }
.doff-slash { stroke: #c0605a; stroke-dasharray: 27; stroke-dashoffset: 27; animation: dslash 3.4s ease-in-out infinite; }
@keyframes dslash { 0%,18% { stroke-dashoffset: 27; } 34%,100% { stroke-dashoffset: 0; } }
.doff-lbl { font-size: .86rem; font-weight: 600; color: #c0605a; }
.dgrid--on i { opacity: 0; animation: dfadein .5s ease forwards; }
.dgrid--on i:nth-child(1) { animation-delay: .7s; } .dgrid--on i:nth-child(2) { animation-delay: .85s; } .dgrid--on i:nth-child(3) { animation-delay: 1s; } .dgrid--on i:nth-child(4) { animation-delay: 1.15s; }
.doff-ok { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; font-size: .6rem; font-weight: 600; color: var(--olive); background: var(--olive-soft); border-radius: 8px; padding: 5px; opacity: 0; animation: dfadein .5s ease forwards 1.5s; }
@keyframes dfadein { to { opacity: 1; } }

/* 8 — Çoklu kullanıcı & güvenlik */
.dmo-users { max-width: 300px; }
.du-roles { display: flex; gap: 6px; }
.du-roles span { flex: 1; text-align: center; font-size: .76rem; font-weight: 600; padding: 9px 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-3); background: var(--surface); transition: all .3s; }
.du-roles span.on { background: var(--olive); color: #fff; border-color: var(--olive); transform: translateY(-2px); }
.du-2fa { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.du-2fa b { font-size: .7rem; font-weight: 700; color: var(--gold); background: var(--gold-soft); padding: 3px 9px; border-radius: 6px; }
.du-code { font-family: monospace; font-weight: 700; letter-spacing: 3px; color: var(--ink); }
.du-ip { margin-top: 10px; font-size: .82rem; color: var(--ink-2); }
.du-ip span { color: var(--olive); font-weight: 600; }

/* =========================================================================
   ÜST ŞERİT · REFERANSLAR · SSS · İLETİŞİM/HARİTA · STICKY CTA · FOOTER LİNK
   ========================================================================= */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; background: var(--olive); color: #fff; font-size: .84rem; font-weight: 500; text-decoration: none; text-align: center; }
.topbar b { color: var(--gold-soft); font-weight: 700; white-space: nowrap; }
body.has-topbar { padding-top: 36px; }
body.has-topbar .nav { top: 36px; }

/* Referanslar / vaka çalışmaları */
.cases { padding: clamp(50px, 8vw, 90px) 0; }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.case blockquote { margin: 0; font-family: var(--serif); font-size: 1.16rem; line-height: 1.5; color: var(--ink); }
.case figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.case figcaption b { font-weight: 600; }
.case figcaption span { color: var(--ink-3); font-size: .9rem; }
.case__metric { margin-top: 10px; font-style: normal; align-self: flex-start; background: var(--olive-soft); color: var(--olive); font-weight: 600; font-size: .82rem; padding: 6px 13px; border-radius: 999px; }

/* SSS */
.faq { padding: clamp(50px, 8vw, 90px) 0; background: var(--surface-2); }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; padding: 0 20px; overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--gold); font-weight: 400; transition: transform .2s ease; flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px; color: var(--ink-2); line-height: 1.65; }

/* İletişim: adres + harita (koyu CTA kutusu içinde) */
.cta__contact { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta__addr { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: .95rem; margin: 0; }
.cta__map { width: 100%; max-width: 560px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.cta__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta__maplink { color: var(--gold-soft); font-weight: 600; font-size: .92rem; text-decoration: none; }
.cta__maplink:hover { text-decoration: underline; }

/* Sabit (sticky) iletişim CTA */
.stickycta { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--olive); color: #fff; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.stickycta.show { transform: none; opacity: 1; }

/* Footer alt linkler */
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 6px 0 2px; }
.foot__links a { color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.foot__links a:hover { color: var(--olive); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { order: 1; }
  .hero__device { order: 2; margin-top: 10px; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__chips { justify-content: center; }
  .demo__inner, .panel__inner { grid-template-columns: 1fr; }
  .panel__visual { order: 2; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; text-align: center; }
  .show__visual, .show--rev .show__visual { order: -1; }
  .show__text { display: grid; justify-items: center; }
  .vcard { margin-inline: auto; }
  .reveal--left, .reveal--right { transform: translateY(24px); }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0 16px; transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 24px; width: 100%; color: var(--ink-2) !important; }
  .nav:not(.is-solid) .nav__links a { color: var(--ink-2) !important; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .foot__inner { flex-direction: column; text-align: center; }
  .cases__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stickycta span { display: none; }
  .stickycta { padding: 13px; right: 12px; bottom: 12px; }
  .topbar { font-size: .76rem; }
}
@media (max-width: 400px) { body { font-size: 16px; } }
