/* =========================================================
   Laundry Plus — Tanıtım Sitesi
   Palet: WEBSITE-PLAN §4.1 · Tipografi: §4.2 · Hareket: §4.4
   Native modern CSS: custom properties, Grid, clamp(),
   color-mix(), :has(). Build aracı / framework YOK.
   ========================================================= */

/* ---------- 1. Token'lar ---------- */
:root {
  --c-lacivert:   #0A3866;
  --c-mavi:       #185FA5;
  --c-mavi-parlak:#378ADD;
  --c-buz:        #EDF4FC;
  --c-kagit:      #FBFCFE;
  --c-murekkep:   #12202E;
  --c-kirmizi:    #C0342B;
  --c-yesil:      #12855C;

  --c-murekkep-70: #45525f;
  --c-cizgi:       #d7e3f2;
  --c-mavi-koyu:   #124b82;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --fs-300: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --fs-400: clamp(1rem,    0.96rem + 0.2vw,  1.12rem);
  --fs-500: clamp(1.18rem, 1.08rem + 0.5vw,  1.4rem);
  --fs-600: clamp(1.4rem,  1.2rem + 1vw,     1.9rem);
  --fs-700: clamp(1.75rem, 1.4rem + 1.8vw,   2.7rem);
  --fs-900: clamp(2.4rem,  1.7rem + 3.6vw,   4.2rem);

  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --sp-6: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --sp-section: clamp(3rem, 2rem + 5vw, 6rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 2px 8px -4px rgba(10,56,102,.35);
  --shadow-md: 0 18px 40px -26px rgba(10,56,102,.55);
  --shadow-lg: 0 30px 60px -30px rgba(10,56,102,.55);

  --wrap-max: 1120px;
  --wrap-pad: clamp(1.1rem, 0.6rem + 2.4vw, 2rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--c-murekkep);
  background: var(--c-kagit);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--c-lacivert);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
p { margin: 0 0 var(--sp-3); }
a { color: var(--c-mavi); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-mavi-parlak); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Yerleşim ---------- */
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }
.section { padding-block: var(--sp-section); }
.section-intro { font-size: var(--fs-500); color: var(--c-murekkep-70); max-width: 48ch; margin-bottom: var(--sp-5); }

/* Bölüm ayracı — zarif ince çizgi (ortada marka aksanı) */
.section-rule {
  height: 3px; border: 0; max-width: var(--wrap-max);
  margin: 0 auto; border-radius: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--c-cizgi) 18%,
    var(--c-mavi-parlak) 50%,
    var(--c-cizgi) 82%,
    transparent 100%);
}

/* ---------- 4. Butonlar ---------- */
.btn {
  --btn-bg: var(--c-mavi); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  font: 600 var(--fs-400)/1 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { --btn-bg: var(--c-mavi); box-shadow: var(--shadow-sm); }
.btn-primary:hover { --btn-bg: var(--c-mavi-koyu); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--c-mavi); border-color: var(--c-cizgi); }
.btn-ghost:hover { --btn-bg: var(--c-buz); border-color: var(--c-mavi-parlak); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: var(--fs-300); }
.btn-block { width: 100%; }

/* ---------- 5. Marka / Üst çubuk ---------- */
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-display); font-weight: 800; color: var(--c-lacivert); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 4px rgba(10,56,102,.25)); }
.brand-name { font-size: 1.18rem; letter-spacing: -0.02em; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-kagit) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-cizgi);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-4); min-height: 66px; }
.brand { margin-right: auto; }
.header-nav { display: none; gap: var(--sp-4); font-size: var(--fs-300); font-weight: 500; }
.header-nav a { color: var(--c-murekkep); position: relative; padding-block: 4px; }
.header-nav a:hover { color: var(--c-mavi); text-decoration: none; }
.header-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--c-mavi-parlak); transition: right .2s var(--ease); }
.header-nav a:hover::after { right: 0; }
@media (min-width: 800px) { .header-nav { display: flex; } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 90% at 88% -10%, var(--c-buz) 0%, transparent 62%),
    radial-gradient(40% 60% at 0% 110%, color-mix(in srgb, var(--c-mavi-parlak) 12%, transparent) 0%, transparent 60%),
    var(--c-kagit);
  padding-block: clamp(2.5rem, 1.5rem + 6vw, 6.5rem);
}
.hero-grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; } }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-300);
  text-transform: uppercase; letter-spacing: .14em; color: var(--c-mavi);
  background: color-mix(in srgb, var(--c-mavi-parlak) 12%, transparent);
  padding: .4em .8em; border-radius: 999px; margin-bottom: var(--sp-3);
}
.hero h1 { font-size: var(--fs-900); font-weight: 800; }
.hero .lead { font-size: var(--fs-500); color: var(--c-murekkep-70); max-width: 46ch; margin-top: var(--sp-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* Hero görsel + imza tarama animasyonu */
.hero-visual { display: flex; justify-content: center; }
.scan-card {
  position: relative;
  width: min(100%, 350px);
  background: #fff; border: 1px solid var(--c-cizgi); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-lg);
}
.scan-card-top { display: flex; flex-direction: column; gap: .2em; margin-bottom: var(--sp-4); }
.scan-firma { font-family: var(--font-display); font-weight: 700; color: var(--c-lacivert); font-size: 1.3rem; }
.scan-urun { color: var(--c-murekkep-70); font-size: var(--fs-300); }
.scan-barcode {
  position: relative; overflow: hidden;
  height: 66px; border-radius: 6px;
  background: repeating-linear-gradient(90deg,
    var(--c-murekkep) 0 2px, transparent 2px 4px,
    var(--c-murekkep) 4px 5px, transparent 5px 9px,
    var(--c-murekkep) 9px 12px, transparent 12px 14px);
}
.scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-kirmizi) 20%, var(--c-kirmizi) 80%, transparent);
  box-shadow: 0 0 12px 2px color-mix(in srgb, var(--c-kirmizi) 60%, transparent);
  opacity: 0;
}
.scan-code { font-family: var(--font-mono); font-size: var(--fs-300); letter-spacing: .08em; margin-top: var(--sp-2); text-align: center; }
.scan-ok {
  position: absolute; inset-inline: var(--sp-5); bottom: calc(var(--sp-5) * -0.6);
  display: flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--c-yesil); color: #fff; font-weight: 600; font-size: var(--fs-300);
  padding: .6em 1em; border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px) scale(.92);
}
.scan-ok svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Tarama + onay: yumuşak döngü. Kart görünürken oynar (.playing), çıkınca durur. */
.scan-line, .scan-ok, .scan-barcode { animation-duration: 3.8s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-play-state: paused; }
.scan-line { animation-name: scanline; }
.scan-ok  { animation-name: scanok; }
.scan-barcode { animation-name: scanflash; }
.scan-card.playing .scan-line,
.scan-card.playing .scan-ok,
.scan-card.playing .scan-barcode { animation-play-state: running; }
@keyframes scanline {
  0% { opacity: 0; top: 0; }
  4% { opacity: 1; }
  22% { top: 100%; opacity: 1; }
  26%, 100% { opacity: 0; top: 100%; }
}
@keyframes scanok {
  0%, 26% { opacity: 0; transform: translateY(8px) scale(.92); }
  36% { opacity: 1; transform: translateY(0) scale(1); }
  84% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(8px) scale(.92); }
}
@keyframes scanflash { 0%, 100% { filter: none; } 14% { filter: brightness(1.06); } }

/* ---------- 7. Sorun ---------- */
.section-sorun { background: var(--c-kagit); }
.section-sorun h2 { font-size: var(--fs-700); }
.sorun-list { display: grid; gap: var(--sp-4); }
@media (min-width: 720px) { .sorun-list { grid-template-columns: repeat(3, 1fr); } }
.sorun-item {
  background: #fff; border: 1px solid var(--c-cizgi); border-left: 4px solid var(--c-kirmizi);
  border-radius: var(--r-md); padding: var(--sp-4); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sorun-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sorun-item h3 { font-size: var(--fs-600); }
.sorun-item p { margin: 0; color: var(--c-murekkep-70); }

/* ---------- 8. Çözüm ---------- */
.section-cozum { background: var(--c-buz); }
.section-cozum h2 { font-size: var(--fs-700); }
.adim-list { display: grid; gap: var(--sp-4); }
@media (min-width: 820px) { .adim-list { grid-template-columns: repeat(3, 1fr); } }
.adim {
  background: #fff; border: 1px solid var(--c-cizgi); border-radius: var(--r-md);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.adim:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.adim-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: #fff; background: linear-gradient(135deg, var(--c-mavi), var(--c-mavi-parlak));
  border-radius: 50%; margin-bottom: var(--sp-3); box-shadow: var(--shadow-sm);
}
.adim-body h3 { font-size: var(--fs-600); }
.adim-body p { margin: 0; color: var(--c-murekkep-70); }

/* ---------- 9. Ekranlar ---------- */
.section-ekranlar { background: var(--c-kagit); }
.section-ekranlar h2 { font-size: var(--fs-700); }
.ekran-galeri {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px);
  gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3); margin-inline: calc(var(--wrap-pad) * -1); padding-inline: var(--wrap-pad);
  scrollbar-width: thin;
}
@media (min-width: 900px) {
  .ekran-galeri { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.ekran { margin: 0; scroll-snap-align: start; }
.ekran figcaption { margin-top: var(--sp-3); font-weight: 600; color: var(--c-lacivert); text-align: center; }

/* Uygulama ekranı mockup'ı (CSS ile, mavi palet) */
.mock {
  aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--c-cizgi); background: #fff;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ekran:hover .mock { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6em .8em; background: var(--c-lacivert); color: #fff; font-size: .72rem;
}
.mock-bar b { font-family: var(--font-display); font-size: .86rem; }
.mock-back { color: color-mix(in srgb, #fff 75%, transparent); }
.mock-bar > span:last-child { width: 3.5em; }
.mock-body { flex: 1; padding: .7em; background: var(--c-buz); font-size: .72rem; }
.mock-label { display: block; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-mavi); margin-bottom: .4em; }

/* Mock: Etiket bas */
.mock-etiket { display: grid; grid-template-columns: 1fr 1.15fr; gap: .6em; }
.mock-firmalar { display: flex; flex-direction: column; gap: .35em; }
.mock-row { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 7px; padding: .5em .6em; font-weight: 600; color: var(--c-murekkep-70); font-size: .68rem; }
.mock-row.is-active { border-color: var(--c-mavi); color: var(--c-lacivert); box-shadow: inset 3px 0 0 var(--c-mavi); }
.mock-urunler { display: flex; flex-direction: column; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; }
.mock-chip { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 7px; padding: .55em .4em; text-align: center; font-weight: 600; color: var(--c-lacivert); font-size: .68rem; }
.mock-cta { margin-top: auto; padding-top: .5em; }
.mock-cta::before { content: ""; }
.mock-cta { background: var(--c-mavi); color: #fff; text-align: center; border-radius: 8px; padding: .6em; font-weight: 700; margin-top: .5em; }

/* Mock: Çuvallama */
.mock-cuval { display: flex; flex-direction: column; gap: .6em; }
.mock-scan-ok {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em;
  background: color-mix(in srgb, var(--c-yesil) 12%, #fff); color: var(--c-yesil);
  border: 1.5px solid color-mix(in srgb, var(--c-yesil) 40%, transparent);
  border-radius: 10px; font-weight: 700; font-size: .95rem; font-family: var(--font-display);
}
.mock-scan-ok svg { width: 22px; height: 22px; fill: none; stroke: var(--c-yesil); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mock-sayaclar { display: grid; grid-template-columns: repeat(3,1fr); gap: .4em; }
.mock-sayac { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 8px; padding: .5em; display: flex; flex-direction: column; align-items: center; gap: .15em; }
.mock-sayac b { color: var(--c-murekkep-70); font-weight: 600; font-size: .62rem; }
.mock-sayac i { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--c-lacivert); font-size: 1.05rem; }

/* Mock: Rapor */
.mock-rapor { display: flex; flex-direction: column; }
.mock-bars { flex: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: .5em; align-items: end; padding: .4em 0; min-height: 90px; }
.mock-bars span { position: relative; height: var(--h); background: linear-gradient(var(--c-mavi-parlak), var(--c-mavi)); border-radius: 5px 5px 0 0; }
.mock-bars i { position: absolute; bottom: -1.4em; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .52rem; color: var(--c-murekkep-70); white-space: nowrap; }
.mock-ozet { display: flex; gap: .6em; margin-top: 1.4em; }
.mock-ozet span { flex: 1; background: #fff; border: 1px solid var(--c-cizgi); border-radius: 8px; padding: .45em .6em; font-size: .64rem; color: var(--c-murekkep-70); }
.mock-ozet b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--c-lacivert); font-size: 1rem; }

/* Mock: Ana menü */
.mock-menu { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; align-content: start; }
.mock-menu-btn { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 8px; padding: .8em .5em; text-align: center; font-weight: 700; color: var(--c-lacivert); font-size: .68rem; }
.mock-menu-btn.is-lead { background: var(--c-mavi); color: #fff; border-color: var(--c-mavi); }

/* Mock: Ayarlar */
.mock-ayarlar { display: grid; grid-template-columns: .82fr 1.35fr; gap: .5em; }
.mock-tabs { display: flex; flex-direction: column; gap: .3em; }
.mock-tabs span { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 6px; padding: .5em; font-size: .64rem; font-weight: 600; color: var(--c-murekkep-70); }
.mock-tabs span.is-active { border-color: var(--c-mavi); color: var(--c-lacivert); box-shadow: inset 3px 0 0 var(--c-mavi); }
.mock-panel { display: flex; flex-direction: column; gap: .45em; }
.mock-field { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 6px; height: 2em; }
.mock-field.short { width: 62%; }
.mock-save { margin-top: auto; background: var(--c-mavi); color: #fff; text-align: center; border-radius: 7px; padding: .55em; font-weight: 700; font-size: .66rem; }

/* Mock: Loglar */
.mock-loglar { display: flex; flex-direction: column; }
.mock-log-rows { display: flex; flex-direction: column; gap: .3em; margin-top: .3em; }
.mock-log { background: #fff; border: 1px solid var(--c-cizgi); border-radius: 6px; padding: .45em .55em; font-size: .62rem; color: var(--c-murekkep-70); }
.mock-log i { font-style: normal; font-family: var(--font-mono); color: var(--c-mavi); margin-right: .45em; }

/* Mockup içi küçük animasyonlar — kart görünürken oynar (.playing), reduced-motion'da kapalı.
   Senaryo hissi: dokunma (tap) -> panel açılır -> satırlar/yazılar belirir. */
.mock-cta, .mock-scan-ok, .mock-bars span, .mock-menu-btn,
.mock-log, .mock-tabs .is-active, .mock-field, .mock-save, .mock-chip, .mock-row.is-active {
  animation-duration: 4s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-play-state: paused;
}
.mock.playing .mock-cta        { animation-name: ctaPress; }
.mock.playing .mock-scan-ok    { animation-name: okPulse; }
.mock.playing .mock-bars span  { animation-name: barWave; }
.mock.playing .mock-menu-btn   { animation-name: menuTap; }
.mock.playing .mock-log        { animation-name: logRow; }
.mock.playing .mock-tabs .is-active { animation-name: tabTap; }
.mock.playing .mock-field      { animation-name: panelIn; }
.mock.playing .mock-save       { animation-name: ctaPress; animation-delay: 1.6s; }
.mock.playing .mock-chip       { animation-name: chipTap; }
.mock.playing .mock-row.is-active { animation-name: tabTap; }
.mock.playing :is(.mock-cta, .mock-scan-ok, .mock-bars span, .mock-menu-btn,
  .mock-log, .mock-tabs .is-active, .mock-field, .mock-save, .mock-chip, .mock-row.is-active) {
  animation-play-state: running;
}

/* Sıralı gecikmeler: dokunuş sırayla geziyor hissi */
.mock-menu-btn:nth-child(1) { animation-delay: 0s; }
.mock-menu-btn:nth-child(2) { animation-delay: .3s; }
.mock-menu-btn:nth-child(3) { animation-delay: .6s; }
.mock-menu-btn:nth-child(4) { animation-delay: .9s; }
.mock-menu-btn:nth-child(5) { animation-delay: 1.2s; }
.mock-menu-btn:nth-child(6) { animation-delay: 1.5s; }
.mock-chip:nth-child(1) { animation-delay: 0s; }
.mock-chip:nth-child(2) { animation-delay: .35s; }
.mock-chip:nth-child(3) { animation-delay: .7s; }
.mock-chip:nth-child(4) { animation-delay: 1.05s; }
.mock-bars span { transform-origin: bottom; }
.mock-bars span:nth-child(1) { animation-delay: 0s; }
.mock-bars span:nth-child(2) { animation-delay: .18s; }
.mock-bars span:nth-child(3) { animation-delay: .36s; }
.mock-bars span:nth-child(4) { animation-delay: .54s; }
/* Loglar: satırlar sırayla "yazılıyor" gibi belirir */
.mock-log:nth-child(1) { animation-delay: 0s; }
.mock-log:nth-child(2) { animation-delay: .5s; }
.mock-log:nth-child(3) { animation-delay: 1s; }
.mock-log:nth-child(4) { animation-delay: 1.5s; }
/* Ayarlar: sekmeye dokunulur, panel alanları sırayla açılır */
.mock-field:nth-child(1) { animation-delay: .5s; }
.mock-field:nth-child(2) { animation-delay: .75s; }
.mock-field:nth-child(3) { animation-delay: 1s; }

@keyframes ctaPress { 0%, 38%, 52%, 100% { transform: scale(1); box-shadow: none; }
  42% { transform: scale(.95); }
  46% { transform: scale(1.02); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-mavi-parlak) 28%, transparent); } }
@keyframes okPulse  { 0%, 100% { transform: scale(1); opacity: 1; } 8% { transform: scale(.97); opacity: .6; } 16% { transform: scale(1.02); opacity: 1; } 50% { transform: scale(1); } }
@keyframes barWave  { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.8); } }
@keyframes menuTap  { 0%, 14%, 100% { background: #fff; transform: scale(1); }
  5% { background: color-mix(in srgb, var(--c-mavi-parlak) 20%, #fff); transform: scale(.96); }
  9% { background: color-mix(in srgb, var(--c-mavi-parlak) 12%, #fff); transform: scale(1); } }
@keyframes chipTap  { 0%, 16%, 100% { background: #fff; transform: scale(1); border-color: var(--c-cizgi); }
  6% { background: color-mix(in srgb, var(--c-mavi-parlak) 18%, #fff); transform: scale(.95); border-color: var(--c-mavi); }
  11% { transform: scale(1); } }
@keyframes logRow   { 0% { opacity: 0; transform: translateY(-6px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes tabTap   { 0%, 100% { box-shadow: inset 3px 0 0 var(--c-mavi); transform: scale(1); }
  6% { transform: scale(.96); box-shadow: inset 3px 0 0 var(--c-mavi-parlak); }
  12% { transform: scale(1); } }
@keyframes panelIn  { 0%, 10% { opacity: 0; transform: translateX(10px); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 1; } }
/* is-lead butonu her zaman mavi kalsın (menuTap'i ezme) */
.mock.playing .mock-menu-btn.is-lead { animation-name: none; }

/* Hero etiket kodu: daktilo gibi yazılır (mono font, tekrar eder) */
.scan-code { width: fit-content; margin-inline: auto; overflow: hidden; white-space: nowrap; }
.scan-card.playing .scan-code {
  animation: typeCode 3.8s steps(14, end) infinite;
  border-right: 2px solid var(--c-mavi-parlak);
}
@keyframes typeCode { 0% { max-width: 0; } 30%, 92% { max-width: 14ch; } 100% { max-width: 14ch; } }

/* ---------- 10. Özellikler ---------- */
.section-ozellikler { background: var(--c-lacivert); color: #fff; position: relative; overflow: hidden; }
.section-ozellikler::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--c-mavi-parlak) 30%, transparent), transparent 60%);
}
.section-ozellikler > .wrap { position: relative; }
.section-ozellikler h2 { color: #fff; font-size: var(--fs-700); margin-bottom: var(--sp-5); }
.ozellik-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .ozellik-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ozellik-grid { grid-template-columns: repeat(4, 1fr); } }
.ozellik {
  background: color-mix(in srgb, #fff 7%, transparent);
  border: 1px solid color-mix(in srgb, #fff 16%, transparent);
  border-radius: var(--r-md); padding: var(--sp-4);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.ozellik:hover { transform: translateY(-3px); background: color-mix(in srgb, #fff 12%, transparent); }
.ozellik h3 { color: #fff; font-size: var(--fs-600); }
.ozellik p { margin: 0; color: color-mix(in srgb, #fff 80%, transparent); font-size: var(--fs-300); }

/* ---------- 11. Teknik ---------- */
.section-teknik { background: var(--c-buz); }
.section-teknik h2 { font-size: var(--fs-700); }
.teknik-list { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .teknik-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .teknik-list { grid-template-columns: repeat(4, 1fr); } }
.teknik-item { background: #fff; border: 1px solid var(--c-cizgi); border-radius: var(--r-md); padding: var(--sp-4); box-shadow: var(--shadow-sm); }
.teknik-item h3 { font-size: var(--fs-500); }
.teknik-item p { margin: 0; color: var(--c-murekkep-70); font-size: var(--fs-300); }

/* ---------- 11b. Sık sorulan sorular ---------- */
/* Yumuşak açılma: modern tarayıcıda yükseklik + saydamlık animasyonu
   (interpolate-size + ::details-content). Eski tarayıcıda animasyonsuz açılır. */
:root { interpolate-size: allow-keywords; }

.section-sss { background: var(--c-kagit); }
.sss-wrap { max-width: 820px; }
.section-sss h2 { font-size: var(--fs-700); margin-bottom: var(--sp-5); }
.sss-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.sss-item {
  background: #fff; border: 1px solid var(--c-cizgi); border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.sss-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.sss-item[open] { border-color: var(--c-mavi-parlak); box-shadow: var(--shadow-md); }
.sss-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display); font-weight: 700; color: var(--c-lacivert); font-size: var(--fs-500);
}
.sss-item summary::-webkit-details-marker { display: none; }
/* Soldaki soru rozeti */
.sss-item summary::before {
  content: "?"; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-buz); color: var(--c-mavi);
  font-weight: 800; font-size: 1.05rem; line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.sss-item[open] summary::before {
  background: linear-gradient(135deg, var(--c-mavi), var(--c-mavi-parlak));
  color: #fff; transform: scale(1.06);
}
/* Sağdaki +/– düğmesi (dönerek değişir) */
.sss-item summary::after {
  content: "+"; flex: none; margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-buz); color: var(--c-mavi);
  font-weight: 700; font-size: 1.2rem; line-height: 1;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.sss-item[open] summary::after { content: "–"; background: var(--c-mavi); color: #fff; transform: rotate(180deg); }
.sss-item summary:hover { color: var(--c-mavi); }
/* Cevap gövdesi: yükseklik + saydamlık ile yumuşakça açılır */
.sss-item::details-content {
  opacity: 0; block-size: 0; overflow-y: clip;
  transition: content-visibility .35s allow-discrete,
              opacity .35s var(--ease),
              block-size .35s var(--ease);
}
.sss-item[open]::details-content { opacity: 1; block-size: auto; }
.sss-item p { margin: 0; padding: 0 var(--sp-4) var(--sp-4) calc(var(--sp-4) + 34px + var(--sp-3)); color: var(--c-murekkep-70); max-width: 62ch; }
@media (max-width: 560px) { .sss-item p { padding-left: var(--sp-4); } }

/* ---------- 12. Demo formu ---------- */
.section-demo { background: var(--c-kagit); }
.demo-wrap { max-width: 720px; }
.section-demo h2 { font-size: var(--fs-700); }
.demo-form {
  display: grid; gap: var(--sp-4); background: #fff;
  border: 1px solid var(--c-cizgi); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-md);
}
@media (min-width: 620px) { .demo-form { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .4em; }
.field label { font-weight: 600; font-size: var(--fs-300); color: var(--c-lacivert); }
.field .req { color: var(--c-kirmizi); }
.field .opt { font-weight: 400; color: var(--c-murekkep-70); }
.field input, .field textarea {
  font: 400 var(--fs-400)/1.5 var(--font-body); color: var(--c-murekkep);
  background: var(--c-kagit); border: 1px solid var(--c-cizgi); border-radius: var(--r-sm);
  padding: .7em .85em; min-height: 48px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--c-mavi); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-mavi-parlak) 30%, transparent);
}
.field-kvkk .kvkk-label { flex-direction: row; align-items: flex-start; gap: .6em; font-weight: 400; font-size: var(--fs-300); color: var(--c-murekkep); cursor: pointer; }
.field-kvkk input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--c-mavi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; font-size: var(--fs-300); font-weight: 600; }
.form-status.err { color: var(--c-kirmizi); }
.form-status.ok  { color: var(--c-yesil); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--c-lacivert); color: color-mix(in srgb, #fff 82%, transparent); padding-block: var(--sp-6) var(--sp-4); }
.footer-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; align-items: start; } }
.brand-footer .brand-name { color: #fff; font-size: 1.2rem; }
.footer-brand p { margin: .7em 0 0; color: color-mix(in srgb, #fff 65%, transparent); max-width: 34ch; font-size: var(--fs-300); }
.footer-col { display: flex; flex-direction: column; gap: .55em; }
.footer-head { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: .2em; }
.footer-col a { color: color-mix(in srgb, #fff 78%, transparent); font-size: var(--fs-300); width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-alt {
  display: flex; flex-wrap: wrap; gap: .5em var(--sp-4); justify-content: space-between;
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid color-mix(in srgb, #fff 15%, transparent);
}
.footer-alt p { margin: 0; font-size: var(--fs-300); color: color-mix(in srgb, #fff 55%, transparent); }

/* ---------- 13b. Yasal / içerik sayfası (gizlilik.html) ---------- */
.legal { padding-block: var(--sp-6); background: var(--c-kagit); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: var(--fs-700); }
.legal h2 { font-size: var(--fs-600); margin-top: var(--sp-5); }
.legal-lead { font-size: var(--fs-500); color: var(--c-murekkep-70); margin-bottom: var(--sp-4); }
.legal p { color: var(--c-murekkep); }
.legal-note { color: var(--c-murekkep-70); font-size: var(--fs-300); margin-top: var(--sp-5); }

/* ---------- 14. Kaydırınca belirme (§4.4) ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
/* JS yoksa içerik görünür kalır */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- 15. Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .scan-card .scan-ok { opacity: 1; transform: none; }
  .scan-card .scan-line { display: none; }
}
