/* Joo Creative: paylaşılan tasarım sistemi (ana sayfa + hizmet sayfaları)
   Yön: açık zemin, mürekkep siyahı, tek vurgu olarak logo turuncusu.
   Şekil kuralı: butonlar ve çipler tam yuvarlak, kart ve görseller 16px, form alanları 12px. */

/* Fontlar kendi sunucumuzda (CSP: font-src 'self'). Değişken fontlar; latin-ext Türkçe karakterler (ğ, ş, İ) ve ₺ için. Lisans: SIL OFL 1.1 */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg:        #F3F3F1;
  --surface:   #FBFBFA;
  --surface-2: #E9E9E6;
  --ink:       #121214;
  --ink-2:     #55555C;
  --ink-3:     #5F5F66;
  --line:      rgba(18, 18, 20, 0.10);
  --line-2:    rgba(18, 18, 20, 0.18);
  --orange:    #F16E1F;
  --orange-hover: #E2600F;
  --orange-ink: #B44A0A;
  --orange-tint: #F6DCCB;               /* ürün görseli zeminleri */
  --orange-wash: #FBE1D0;               /* sohbet balonları, açık karolar */
  --orange-soft: rgba(241, 110, 31, 0.12); /* vurgulanan satırlar */
  --danger:    #B42318;

  --font-d: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-b: 'Geist', ui-sans-serif, system-ui, sans-serif;

  --r-card: 16px;
  --r-field: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;

  /* katmanlar: içerik < sabit menü < mobil menü */
  --z-nav: 50;
  --z-menu: 60;
  --z-consent: 55;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #C4C4BF transparent;
  caret-color: var(--orange-ink);
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -48px;
  z-index: calc(var(--z-menu) + 1);
  background: var(--ink); color: var(--surface);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 0.875rem; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Tipografi ── */
.h1, .h2, .h3 {
  font-family: var(--font-d);
  color: var(--ink);
  text-wrap: balance;
}
.h1 {
  font-weight: 700;
  font-size: clamp(2.75rem, 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h2 {
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 54ch;
  text-wrap: pretty;
}
.muted { color: var(--ink-2); }

/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-b);
  font-size: 1rem; font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { background: #2A2A2E; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--ink); }

/* ── Menü ── */
.site-nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(243, 243, 241, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); }
.nav-link svg { transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-item-dd { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(860px, calc(100vw - 48px));
  transform: translate(-50%, -6px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px -24px rgba(18, 18, 20, 0.25);
  padding: 28px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0s linear 0.22s;
}
.nav-dropdown.open {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0s;
}
.nav-dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.nav-dd-cat { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.nav-dd-item {
  display: block; padding: 5px 0;
  font-size: 0.9375rem; color: var(--ink); text-decoration: none;
}
.nav-dd-item:hover { color: var(--orange-ink); }

.lang-toggle { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  min-width: 34px; height: 30px; padding: 0 8px;
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  background: transparent; color: var(--ink-3);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.lang-btn.active { background: var(--ink); color: var(--surface); }
.lang-btn:not(.active):hover { color: var(--ink); }

.hamburger {
  display: none;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transition: opacity 0.2s ease, visibility 0s; }
.mob-header {
  height: var(--nav-h); flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mob-header img { height: 28px; width: auto; }
.mobile-close {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0; }
.mob-acc-head {
  width: 100%; min-height: 56px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-d); font-size: 1.25rem; font-weight: 600;
}
.mob-acc-head svg { transition: transform 0.25s var(--ease); color: var(--ink-3); }
.mob-acc-item.open .mob-acc-head svg { transform: rotate(180deg); }
.mob-acc-body { display: none; padding: 0 var(--gutter) 12px; }
.mob-acc-item.open .mob-acc-body { display: block; }
.mobile-link {
  display: flex; align-items: center; min-height: 44px;
  color: var(--ink-2); text-decoration: none; font-size: 1rem;
}
.mob-main-link {
  padding: 0 var(--gutter); min-height: 56px;
  font-family: var(--font-d); font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.mob-sep { height: 1px; background: var(--line); margin: 8px var(--gutter); }
.mobile-footer {
  flex-shrink: 0;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

@media (max-width: 1023px) {
  .nav-links, .nav-right .lang-toggle, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 20px; }
.footer-contact { display: grid; gap: 6px; font-size: 0.9375rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--orange-ink); }
.footer-addr { color: var(--ink-3); font-size: 0.875rem; margin-top: 6px; max-width: 30ch; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover { color: var(--ink); border-color: var(--ink); }
.footer-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h3 { font-family: var(--font-b); font-size: 0.875rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.footer-link {
  display: block; padding: 4px 0;
  font-size: 0.9375rem; color: var(--ink); text-decoration: none;
}
.footer-link:hover { color: var(--orange-ink); }
.footer-bar {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.8125rem; color: var(--ink-3);
}
.footer-bar-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bar-links a { color: inherit; text-decoration: none; }
.footer-bar-links a:hover { color: var(--ink); }
.footer-consent { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-consent:hover { color: var(--ink); }

/* ── Çerez onayı (analytics.js) ── */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-consent);
  max-width: 440px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 16px 40px rgba(18, 18, 20, 0.12);
}
.consent[hidden] { display: none; }
.consent-text { margin: 0 0 16px; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-map { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-map { grid-template-columns: 1fr; gap: 24px; }
}


/* ══════ Anlatım animasyonları (assets/js/motion.js) ══════
   JS yoksa veya hareket azaltılmışsa sahnenin son hali görünür.
   Küçük önizleme kareleri 8px köşe kullanır; geri kalanı ana şekil kuralına uyar. */

/* GEO: AI cevap kartı */
.geo-answer {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 40px 80px -48px rgba(18, 18, 20, 0.35);
}
.ga-top { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 16px; }
.ga-engine strong { color: var(--ink); font-weight: 600; }
.ga-q {
  display: flex; align-items: center; flex-wrap: wrap;
  min-height: 72px; padding: 12px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-field);
  font-size: 1rem; font-weight: 500; line-height: 1.5;
}
.ga-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .ga-caret { animation: ga-blink 1s steps(1) infinite; }
  @keyframes ga-blink { 50% { opacity: 0; } }
}
.ga-a { position: relative; margin-top: 18px; }
.ga-think { position: absolute; top: 0; left: 0; margin: 0; font-size: 0.875rem; color: var(--ink-3); visibility: hidden; }
.ga-a-lead { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 10px; }
.ga-list { list-style: none; display: grid; gap: 6px; }
.ga-item { padding: 10px 12px; border-radius: var(--r-field); font-size: 0.9375rem; line-height: 1.45; transition: background-color 0.4s ease; }
.ga-item strong { font-weight: 600; }
.ga-cite {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 0.6875rem; font-weight: 600; vertical-align: 1px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.ga-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ga-src {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 0.8125rem; color: var(--ink-2);
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.ga-src b { font-weight: 600; color: var(--ink); }
.geo-answer.is-cited .ga-item.is-you { background: var(--orange-soft); }
.geo-answer.is-cited .is-you .ga-cite,
.geo-answer.is-cited .ga-src.is-you { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.ga-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); }

/* AI içerik motoru: üretim akışı */
.pipe { list-style: none; display: grid; gap: 32px; margin-top: 48px; counter-reset: pipe; }
.pipe-stage { position: relative; }
.pipe-visual {
  position: relative;
  height: 176px; padding: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 18px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.pipe-text::before {
  counter-increment: pipe; content: counter(pipe, decimal-leading-zero);
  display: block; margin-bottom: 8px;
  font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.pipe-text h3 { font-family: var(--font-d); font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; }
.pipe-text p { color: var(--ink-2); font-size: 0.9375rem; }
.pipe-link { display: none; }
@media (min-width: 640px) and (max-width: 1099px) {
  .pipe-stage { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: center; }
  .pipe-visual { margin-bottom: 0; }
}
@media (min-width: 1100px) {
  .pipe { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .pipe-link {
    display: block; position: absolute; top: 87px; left: 100%;
    width: 24px; height: 2px; background: var(--ink);
    transform-origin: left center;
  }
}

.pv-brief { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.pv-product { width: auto; height: 112px; aspect-ratio: 1; object-fit: contain; }
.pv-file { font-size: 0.75rem; color: var(--ink-3); padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.pipe.is-looped .pipe-stage:first-child .pipe-visual { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241, 110, 31, 0.18); }

.pv-prompt { display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; }
.pv-label { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
.pv-prompt-text {
  flex: 1; margin: 0;
  padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-field);
  font-size: 0.875rem; line-height: 1.5;
}

.pv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.pv-tile { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--tint, var(--surface-2)); transition: box-shadow 0.3s ease; }
.pv-tile img { width: 100%; height: 100%; object-fit: cover; }
.pipe.is-picked .pv-tile.is-pick { box-shadow: 0 0 0 2px var(--orange); }
/* Aynı ürün görseli, her karoda farklı kadraj: ayrı kreatif varyasyonları gibi okunur */
.pv-tile:nth-child(2) img { transform: scale(1.5); object-position: 50% 30%; }
.pv-tile:nth-child(3) img { transform: scale(0.85); }
.pv-tile:nth-child(4) img { transform: scale(1.3) translateY(8%); }
.pv-tile:nth-child(5) img { transform: scale(1.8); object-position: 50% 60%; }
.pv-tile:nth-child(6) img { transform: scale(0.95) rotate(-8deg); }
.pv-tile:nth-child(7) img { transform: scale(1.2) rotate(6deg); }
.pv-tile:nth-child(8) img { transform: scale(1.6) translateX(-10%); }

.pv-account { display: grid; gap: 6px; width: 100%; }
.pv-acc-title { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.pv-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; background: var(--bg); border-radius: var(--r-field); font-size: 0.8125rem; }
.pv-row img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; background: var(--orange-tint); }
.pv-row svg { margin-left: auto; flex-shrink: 0; }

.pv-perf { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; width: 100%; height: 100%; }
.pv-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; height: 104px; }
.pv-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.pv-bar { width: 100%; height: var(--h); background: var(--surface-2); border-radius: 6px 6px 2px 2px; transform-origin: bottom center; }
.pv-col.is-win .pv-bar { background: var(--orange); }
.pv-win { font-style: normal; font-size: 0.75rem; font-weight: 600; }
.pv-loop { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--ink-2); }

/* Hero: bir müşterinin reklamdan siparişe yolculuğu
   .journey ve .jr-phone birer container; içerideki ölçüler cqw ile kendi kutusuna göre ölçeklenir.
   Telefon gövdesi cihaz kuralı gereği kendi köşe yarıçapını kullanır. */
.journey {
  position: relative;
  width: 100%; max-width: 640px; aspect-ratio: 1;
  margin: 0 auto;
  container-type: inline-size;
}

.jr-phone {
  position: absolute; z-index: 1; top: 1.5%; left: 50%;
  width: 44cqw; aspect-ratio: 9 / 19.2;
  transform: translateX(-50%);
  padding: 1.6cqw;
  background: var(--ink);
  border-radius: 7.5cqw;
  box-shadow: 0 40px 80px -36px rgba(18, 18, 20, 0.45);
  container-type: inline-size;
}
.jr-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 13cqw;
  background: var(--surface);
  font-size: 5.2cqw; line-height: 1.35;
}
.jr-status {
  position: relative; z-index: 4;
  height: 13cqw; padding: 0 8cqw;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 4.6cqw; font-weight: 600;
}
.jr-island { position: absolute; left: 50%; top: 3cqw; width: 30cqw; height: 8.5cqw; transform: translateX(-50%); background: var(--ink); border-radius: var(--r-pill); }
.jr-battery { position: relative; width: 7.5cqw; height: 3.8cqw; border: 1.5px solid var(--ink); border-radius: 1.2cqw; }
.jr-battery::after { content: ''; position: absolute; inset: 1px 30% 1px 1px; background: var(--ink); border-radius: 0.6cqw; }

.jr-view {
  position: absolute; inset: 13cqw 0 0 0;
  display: flex; flex-direction: column; gap: 4cqw;
  padding: 3cqw 5cqw 6cqw;
  background: var(--surface);
}
.jr-appbar { font-family: var(--font-d); font-size: 6.4cqw; font-weight: 600; }
.jr-post { display: flex; flex-direction: column; gap: 3.5cqw; }
.jr-who { display: flex; align-items: center; gap: 3cqw; }
.jr-who b { display: block; font-size: 4.6cqw; font-weight: 600; line-height: 1.2; }
.jr-who small { display: block; font-size: 3.8cqw; color: var(--ink-3); }
.jr-avatar {
  flex: none; width: 10cqw; height: 10cqw; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); font-size: 4.6cqw; font-weight: 700;
}
.jr-media { aspect-ratio: 1; border-radius: 4cqw; overflow: hidden; background: var(--orange-tint); }
.jr-media img { width: 100%; height: 100%; object-fit: cover; }
.jr-cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 3cqw 4cqw; border-radius: 3cqw;
  background: var(--orange); font-size: 4.6cqw; font-weight: 600;
}
.jr-cta svg, .jr-link svg { width: 4.4cqw; height: 4.4cqw; }
.jr-caption { font-size: 4.2cqw; color: var(--ink-2); }
.jr-caption b { color: var(--ink); font-weight: 600; }
.jr-tap {
  position: absolute; top: calc(50% - 7cqw); right: 5cqw;
  width: 14cqw; height: 14cqw; border-radius: var(--r-pill);
  background: rgba(18, 18, 20, 0.22);
  opacity: 0; pointer-events: none;
}

.jr-url { align-self: center; padding: 1.8cqw 6cqw; background: var(--bg); border-radius: var(--r-pill); font-size: 3.8cqw; color: var(--ink-2); }
.jr-product { display: flex; justify-content: space-between; align-items: baseline; font-size: 5cqw; }
.jr-product b { font-family: var(--font-d); font-size: 6cqw; font-weight: 600; }
.jr-meta { margin-top: -2cqw; font-size: 3.8cqw; color: var(--ink-3); }
.jr-buy { position: relative; margin-top: auto; height: 13cqw; border-radius: var(--r-pill); background: var(--orange); font-size: 4.8cqw; font-weight: 600; }
.jr-buy-label, .jr-buy-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2cqw; }
.jr-buy-done { visibility: hidden; opacity: 0; }
.jr-buy-done svg { width: 4.4cqw; height: 4.4cqw; }
.jr-buy .jr-tap { right: auto; left: calc(50% - 7cqw); }

.jr-chat { gap: 0; padding: 0; }
.jr-chat-head { padding: 3cqw 5cqw; border-bottom: 1px solid var(--line); }
.jr-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3cqw; padding: 5cqw 5cqw 8cqw; background: var(--surface-2); }
.jr-msg { max-width: 82%; padding: 3cqw 4cqw; border-radius: 4.5cqw; font-size: 4.4cqw; line-height: 1.35; }
.jr-out { align-self: flex-end; background: var(--surface); border-bottom-right-radius: 1.2cqw; }
.jr-in { align-self: flex-start; background: var(--orange-wash); border-bottom-left-radius: 1.2cqw; }
.jr-typing { display: none; align-self: flex-start; gap: 1.6cqw; padding: 3.6cqw 4cqw; border-radius: 4.5cqw; background: var(--orange-wash); }
.jr-typing i { width: 1.8cqw; height: 1.8cqw; border-radius: var(--r-pill); background: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .jr-typing i { animation: jr-dot 1s ease-in-out infinite; }
  .jr-typing i:nth-child(2) { animation-delay: 0.15s; }
  .jr-typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes jr-dot { 0%, 100% { transform: none; opacity: 0.5; } 40% { transform: translateY(-1.2cqw); opacity: 1; } }
}
.jr-link { align-self: flex-start; display: flex; align-items: center; gap: 1.2cqw; font-size: 4.2cqw; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.jr-notif {
  position: absolute; z-index: 3; top: 14cqw; left: 3.5cqw; right: 3.5cqw;
  display: flex; align-items: center; gap: 3cqw;
  padding: 3.2cqw 3.5cqw;
  background: rgba(251, 251, 250, 0.97);
  border: 1px solid var(--line); border-radius: 6cqw;
  box-shadow: 0 16px 32px -16px rgba(18, 18, 20, 0.35);
}
.jr-notif-ico { flex: none; width: 10cqw; height: 10cqw; border-radius: 3cqw; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.jr-notif-ico svg { width: 5.4cqw; height: 5.4cqw; }
.jr-notif b { display: block; font-size: 4.4cqw; font-weight: 600; }
.jr-notif small { display: block; font-size: 3.9cqw; color: var(--ink-2); }
.jr-notif-time { position: absolute; top: 3cqw; right: 4cqw; font-size: 3.4cqw !important; color: var(--ink-3) !important; }

.jr-card {
  position: absolute; z-index: 2;
  width: 31cqw;
  display: flex; align-items: flex-start; gap: 2.4cqw;
  padding: 2.6cqw 3cqw;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: 0 20px 44px -22px rgba(18, 18, 20, 0.38);
  font-size: clamp(11px, 2.4cqw, 13.5px); line-height: 1.35;
}
.jr-card > span:last-child { flex: 1; min-width: 0; }
.jr-card b { display: block; font-weight: 600; }
.jr-card small { display: block; color: var(--ink-2); font-size: 0.92em; }
.jr-ico { flex: none; width: 2.5em; height: 2.5em; border-radius: var(--r-pill); background: var(--bg); display: flex; align-items: center; justify-content: center; }
.jr-ico svg { width: 1.15em; height: 1.15em; }
.jr-c-ai { left: 0; top: 16%; }
.jr-c-bot { left: 0; top: 58%; }
.jr-c-geo { right: 0; top: 6%; }
.jr-c-store { right: 0; top: 36%; }
.jr-c-report { right: 0; bottom: 8%; }
.jr-spark { display: block; width: 100%; height: 2.2em; margin-top: 0.4em; }
.jr-spark-line { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.jr-spark-area { fill: var(--orange); opacity: 0.14; }
/* Dar ekran: telefon üstte, altında tek kart alanı; her adımın kartı öncekinin yerini alır */
@media (max-width: 520px) {
  .journey { aspect-ratio: 3 / 4; }
  .jr-phone { top: 0; width: 52cqw; }
  .jr-card { top: auto; bottom: 0; left: 6cqw; right: 6cqw; width: auto; font-size: 13px; }
  .jr-card:not(.jr-c-report) { opacity: 0; visibility: hidden; }
}

/* ── Animasyon durdurma düğmesi (WCAG 2.2.2) ──
   Kendiliğinden oynayan her döngüye motion.js ekler; hareket azaltılmışsa hiç oluşmaz. */
.motion-toggle {
  position: relative; flex: none;
  width: 32px; height: 32px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.motion-toggle::after { content: ''; position: absolute; inset: -6px; }   /* dokunma alanı 44px */
.motion-toggle:hover { border-color: var(--ink); }
.motion-toggle svg { width: 12px; height: 12px; }
.ga-top > :first-child, .sc-head > :first-child { margin-right: auto; }
.journey > .motion-toggle { position: absolute; z-index: 3; left: 0; bottom: 0; }
@media (max-width: 520px) { .journey > .motion-toggle { left: auto; right: 0; top: 0; bottom: auto; } }
.motion-row { display: flex; justify-content: flex-end; margin-top: 16px; }
