/* Daykeep web sitesi — uygulamanın "balanced" paletiyle aynı değerler
   (js/pro-theme.js → STYLE_PACKS.balanced). Marka: salvia #6F8265, krem #F1E9D8. */

@font-face { font-family: 'Roboto Slab'; font-weight: 400 800; font-display: swap; src: url('../fonts/roboto-slab-latin-400-800.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: 'Roboto Slab'; font-weight: 400 800; font-display: swap; src: url('../fonts/roboto-slab-latin-ext-400-800.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-weight: 400 800; font-display: swap; src: url('../fonts/roboto-slab-cyrillic-400-800.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin-400-800.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: 'Inter'; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin-ext-400-800.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-cyrillic-400-800.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cairo'; font-weight: 400 800; font-display: swap; src: url('../fonts/cairo-arabic-400-800.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bg: #f4f1e7;
  --surface: #fdfbf6;
  --surface-2: #ece7d9;
  --text: #22271e;
  --muted: #5d6456;
  --border: #e3ddce;
  --ana: #55684b;
  --on-ana: #ffffff;
  --salvia: #6f8265;
  --krem: #f1e9d8;
  --hero-bg: #4d5f44;
  --hero-text: #f1e9d8;
  --hero-muted: #d9d3c2;
  --prio-normal: #8a9384;
  --prio-gunluk: #4b7f6b;
  --prio-onemli: #b4762a;
  --prio-acil: #b4453a;
  --shadow: 0 1px 2px rgba(34,39,30,.06), 0 8px 24px rgba(34,39,30,.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --edge: 20px;
  --maxw: 1120px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Roboto Slab', Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15180f;
    --surface: #1f2318;
    --surface-2: #282d20;
    --text: #ece9de;
    --muted: #a3a99a;
    --border: #31362a;
    --ana: #a3b795;
    --on-ana: #1a1e14;
    --hero-bg: #2a3324;
    --hero-text: #f1e9d8;
    --hero-muted: #c9c4b4;
    --prio-gunluk: #6fb396;
    --prio-onemli: #d9a353;
    --prio-acil: #e0736a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #15180f;
    --surface: #1f2318;
    --surface-2: #282d20;
    --text: #ece9de;
    --muted: #a3a99a;
    --border: #31362a;
    --ana: #a3b795;
    --on-ana: #1a1e14;
    --hero-bg: #2a3324;
    --hero-text: #f1e9d8;
    --hero-muted: #c9c4b4;
    --prio-gunluk: #6fb396;
    --prio-onemli: #d9a353;
    --prio-acil: #e0736a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
}
html[lang="ar"] { --font-body: 'Cairo', 'Inter', system-ui, sans-serif; --font-head: 'Cairo', 'Roboto Slab', serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ana); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ana); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--edge); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ana); color: var(--on-ana); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { background: var(--surface-2); }
.nav-links a[aria-current="page"] { background: var(--surface-2); font-weight: 700; }
.lang-select { position: relative; }
.lang-select select {
  appearance: none; -webkit-appearance: none;
  font: 500 14px/1 var(--font-body);
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 30px 9px 14px; cursor: pointer;
}
html[dir="rtl"] .lang-select select { padding: 9px 14px 9px 30px; }
.lang-select::after { content: ''; position: absolute; inset-inline-end: 13px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--border); border-radius: 999px; width: 42px; height: 42px; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px var(--edge) 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .lang-select { margin-inline-start: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ana); color: var(--on-ana); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-krem { background: var(--krem); color: #2f3a2a; }
.btn svg { width: 20px; height: 20px; flex: none; }
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.play-badge img { height: 58px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: 0; background: var(--hero-bg); color: var(--hero-text); overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 0; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; color: var(--hero-text); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--hero-muted); margin-top: 20px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; padding: 0; list-style: none; color: var(--hero-muted); font-size: 15px; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--krem); flex: none; }
.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; padding-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ana); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.hero .eyebrow { color: var(--krem); opacity: .9; margin-bottom: 18px; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; gap: 8px; }
  .hero-copy { padding-bottom: 32px !important; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero .lead { margin-top: 14px; }
  .hero-cta { margin-top: 24px; }
  .hero-meta { margin-top: 20px; }
}

/* Interactive "today" card in hero */
.today-card {
  width: min(380px, 100%);
  background: var(--surface); color: var(--text);
  border-radius: 28px 28px 0 0; padding: 22px 20px 26px;
  box-shadow: 0 -10px 40px rgba(0,0,0,.18);
  border: 1px solid var(--border); border-bottom: 0;
}
.today-head { display: flex; align-items: center; gap: 14px; }
.ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--ana) calc(var(--p) * 1%), var(--surface-2) 0); transition: --p .4s ease; }
.ring span { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 700 14px/1 var(--font-body); }
.today-head h2 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.today-head p { font-size: 14px; color: var(--muted); }
.task-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.task { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); border-inline-start: 4px solid var(--c, var(--prio-normal)); cursor: pointer; user-select: none; }
.task input { position: absolute; opacity: 0; pointer-events: none; }
.task .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ana); flex: none; display: grid; place-items: center; transition: background .15s; }
.task .box svg { width: 14px; height: 14px; color: var(--on-ana); opacity: 0; }
.task input:checked + .box { background: var(--ana); }
.task input:checked + .box svg { opacity: 1; }
.task input:checked ~ .t { text-decoration: line-through; color: var(--muted); }
.task input:focus-visible + .box { outline: 3px solid var(--ana); outline-offset: 2px; }
.task .t { flex: 1; font-size: 15px; font-weight: 500; }
.task .chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.task .chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.today-hint { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Sections ---------- */
section { padding-block: 88px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-media { order: -1; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); margin-top: 10px; }
.feature > div > p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--ana); flex: none; margin-top: 3px; }
.feature-media { display: flex; justify-content: center; }
.phone { width: min(300px, 80%); border-radius: 36px; border: 8px solid #1b1f17; background: #1b1f17; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 1082 / 2402; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-pair { display: flex; gap: 18px; align-items: flex-start; justify-content: center; }
.phone-pair .phone { width: min(240px, 46%); }
.phone-pair .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-media { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

/* Mini cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ana); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-top: 16px; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Gallery (localized store graphics) */
.gallery-sec { background: var(--surface); border-block: 1px solid var(--border); }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 20px; margin-inline: calc(var(--edge) * -1); scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
.gallery img { border-radius: 18px; aspect-ratio: 9/16; object-fit: cover; box-shadow: var(--shadow); background: var(--surface-2); }
.gallery-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: -24px; margin-bottom: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
html[dir="rtl"] .icon-btn svg { transform: scaleX(-1); }

/* Privacy band */
.privacy-band { background: var(--hero-bg); color: var(--hero-text); }
.privacy-band .section-head p { color: var(--hero-muted); }
.privacy-band .eyebrow { color: var(--krem); }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy-points div { border: 1px solid rgba(241,233,216,.25); border-radius: var(--radius-md); padding: 22px; }
.privacy-points h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--hero-text); }
.privacy-points p { color: var(--hero-muted); font-size: 15.5px; margin-top: 6px; }
.privacy-band a { color: var(--krem); }
@media (max-width: 760px) { .privacy-points { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin-inline: auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--ana); }
.plan h3 { font-size: 26px; }
.plan .sub { color: var(--muted); margin-top: 6px; }
.plan .ticks { margin-top: 20px; flex: 1; align-content: start; }
.plan .note { font-size: 14px; color: var(--muted); margin-top: 20px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ana); color: var(--on-ana); margin-inline-start: 8px; vertical-align: middle; font-family: var(--font-body); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .inner { background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 64px 24px; }
.cta-band img.app-icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); }
.cta-band p { color: var(--muted); margin: 14px auto 28px; max-width: 46ch; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: 64px 24px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 10px; }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 60ch; }
.page-body { padding-block: 24px 88px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: var(--text); }
.prose p { margin-top: 12px; }
.prose ul { padding-inline-start: 22px; margin: 12px 0 0; }
.prose li + li { margin-top: 6px; }
.meta-line { font-size: 14px; color: var(--muted); }
.callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; margin-top: 24px; }

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.faq-tools button { font: 600 14px/1 var(--font-body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.faq-tools button[aria-pressed="true"] { background: var(--ana); color: var(--on-ana); border-color: var(--ana); }
.faq-search { width: 100%; max-width: 760px; font: 400 17px/1.4 var(--font-body); padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); margin-bottom: 16px; }
.faq-list { max-width: 760px; display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--ana); line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 20px 20px; color: var(--muted); }
.faq-empty { color: var(--muted); display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid .card a.big { display: inline-block; margin-top: 14px; font-weight: 700; word-break: break-all; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.copy-btn { font: 600 14px/1 var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 48px 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
html[lang="ar"] .foot-grid h4 { letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-about p { color: var(--muted); margin-top: 12px; max-width: 36ch; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* Reveal on scroll */
.js .reveal { transform: translateY(14px); transition: transform .6s ease; }
.js .reveal.in { transform: none; }

/* Store graphic as feature media */
.store-shot { width: min(340px, 86%); border-radius: 24px; box-shadow: var(--shadow); }

/* Interactive scan demo */
.scan-demo { width: min(380px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.scan-stage { background: repeating-linear-gradient(45deg, #6b5a48 0 14px, #725f4c 14px 28px); border-radius: 16px; padding: 34px 30px; display: grid; place-items: center; overflow: hidden; }
.paper { position: relative; width: 100%; max-width: 250px; background: #fbf8f1; color: #26221c; padding: 20px 18px 18px; font: 500 13px/1.5 ui-monospace, 'SFMono-Regular', Menlo, monospace; border-radius: 3px; transition: filter .35s ease, transform .5s ease, box-shadow .35s; transform: rotate(-4deg) skewX(-2deg); box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 -40px 60px rgba(60,40,20,.18); direction: ltr; }
.paper-head { text-align: center; margin-bottom: 12px; display: grid; }
.paper-head span { font-size: 11px; opacity: .7; }
.paper .row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(0,0,0,.15); padding: 3px 0; }
.paper .total { font-weight: 800; border-bottom: 0; margin-top: 6px; }
.barcode { height: 30px; margin-top: 12px; background: repeating-linear-gradient(90deg, #26221c 0 2px, transparent 2px 4px, #26221c 4px 5px, transparent 5px 8px); }
.corner { position: absolute; width: 16px; height: 16px; border: 3px solid #a6e05f; opacity: 0; transition: opacity .3s; }
.corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.paper.f-magic, .paper.f-vivid, .paper.f-gray, .paper.f-doc { transform: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.paper.f-magic .corner, .paper.f-vivid .corner, .paper.f-gray .corner, .paper.f-doc .corner { opacity: 1; }
.paper.f-magic { filter: brightness(1.06) contrast(1.12) saturate(1.05); }
.paper.f-vivid { filter: contrast(1.25) saturate(1.5); background: #fff6e4; }
.paper.f-gray { filter: grayscale(1) contrast(1.1); }
.paper.f-doc { filter: grayscale(1) contrast(1.9) brightness(1.08); background: #fff; }
.scan-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.scan-filters button { font: 600 13px/1 var(--font-body); padding: 9px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; }
.scan-filters button[aria-pressed="true"] { background: var(--ana); color: var(--on-ana); border-color: var(--ana); }

/* Cihaz dili önerisi */
.lang-offer { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 15px; }
.lang-offer-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
.lang-offer-in span { flex: 1 1 220px; min-width: 0; }
.lang-offer .btn { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.lang-offer .icon-btn { width: 38px; height: 38px; }
.lang-offer .icon-btn svg { width: 18px; height: 18px; }
.lang-offer[lang="ar"] { font-family: 'Cairo', sans-serif; }

/* Tema düğmesi (varsayılan koyu) */
.theme-btn { flex: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
@media (max-width: 420px) {
  .nav { gap: 8px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .menu-btn, .theme-btn { width: 38px; height: 38px; }
  .lang-select select { padding: 8px 26px 8px 11px; font-size: 13px; }
  html[dir="rtl"] .lang-select select { padding: 8px 11px 8px 26px; }
  .lang-select::after { inset-inline-end: 10px; }
}
