/* PandaCam — one stylesheet for every page. */

:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece3;
  --surface: #ffffff;
  --ink: #1c1a1a;
  --ink-2: #5d5552;
  --ink-3: #7a716d;
  --line: #e4ddd3;
  --accent: #9a5a56;
  --accent-soft: #ead8d2;
  --focus: #9a5a56;
  --phone: #141313;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141212;
    --bg-alt: #1c1919;
    --surface: #221f1e;
    --ink: #f3ede6;
    --ink-2: #c3b9b2;
    --ink-3: #9d938c;
    --line: #34302e;
    --accent: #d39a93;
    --accent-soft: #3a2a28;
    --focus: #e3b0a9;
    --phone: #050505;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

.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;
}

/* Small-caps label. Uppercasing is safe for Turkish because every page sets lang. */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-size: 1.02rem; font-weight: 500; letter-spacing: 0.01em; }
.brand:hover { color: inherit; }

.lang { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; letter-spacing: 0.16em; font-weight: 500; }
.lang a, .lang span[aria-current] { padding: 6px 4px; text-decoration: none; color: var(--ink-3); }
.lang span[aria-current] { color: var(--ink); }
.lang a:hover { color: var(--accent); }
.lang .dot { color: var(--ink-3); }

/* ---------- App Store badge (Apple's official artwork, unmodified) ---------- */

.store {
  display: inline-block; line-height: 0; border-radius: 9px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.store img { height: 50px; width: auto; }

.fine { font-size: 0.82rem; color: var(--ink-3); line-height: 1.5; }

/* ---------- Sections ---------- */

section { padding: clamp(72px, 12vw, 140px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .label { margin-bottom: 18px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; }
.alt { background: var(--bg-alt); }

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 10vw, 120px); }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero-copy .label { margin-bottom: 22px; }
.hero-copy p { margin: 24px 0 34px; max-width: 30ch; font-size: clamp(1.12rem, 2.4vw, 1.3rem); color: var(--ink-2); font-weight: 300; line-height: 1.5; }
.hero-copy p.fine { margin: 16px 0 0; font-size: 0.82rem; color: var(--ink-3); font-weight: 400; }
.hero-visual { display: flex; justify-content: center; }
@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

/* ---------- Phone mockup ---------- */

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  padding: 11px;
  background: var(--phone);
  box-shadow: 0 0 0 1.5px #2e2b2a inset, 0 40px 80px -30px rgba(40, 20, 10, .45), 0 18px 36px -18px rgba(40, 20, 10, .3);
}
.phone .screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 38px;
  background: #d9c2b2;
}
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 26px; border-radius: 20px; background: #000; z-index: 3;
}
.phone .status {
  position: absolute; top: 12px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; padding: 0 24px 0 28px;
  font-size: 12px; font-weight: 600; color: #1c1a1a; letter-spacing: 0;
}
.phone .status svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.phone .status .icons { display: flex; gap: 5px; align-items: center; }

/* In-app UI overlay on the mockup */
.ui-bottom {
  position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-size: 10px; font-weight: 500; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 20px;
  color: #fff; background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip.on { background: #fff; color: #1c1a1a; }
.swatches { display: flex; gap: 8px; padding: 8px 10px; border-radius: 22px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.swatches i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7) inset; }
.swatches i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0,0,0,.25); }
.shutter { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; padding: 3px; }
.shutter::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }

/* ---------- Privacy pillars ---------- */

.local { background: var(--ink); color: var(--bg); }
.local .label { color: var(--accent-soft); }
@media (prefers-color-scheme: dark) { .local { background: #0b0a0a; color: var(--ink); } .local .label { color: var(--accent); } }
.local .section-head p { color: color-mix(in srgb, currentColor 70%, transparent); }
.local-grid { display: grid; gap: 48px; align-items: center; }
.pillars { display: grid; gap: 34px 40px; margin: 0; padding: 0; list-style: none; }
.pillars li { border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding-top: 22px; }
.pillars svg { width: 26px; height: 26px; margin-bottom: 16px; color: var(--accent-soft); }
@media (prefers-color-scheme: dark) { .pillars svg { color: var(--accent); } }
.pillars p { margin-top: 8px; color: color-mix(in srgb, currentColor 68%, transparent); font-size: 0.98rem; }
.how-possible { margin-top: 48px; font-size: 0.95rem; color: color-mix(in srgb, currentColor 62%, transparent); max-width: 60ch; }
.local .phone { width: min(260px, 70vw); }
.local-visual { display: flex; justify-content: center; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .local-grid { grid-template-columns: 1.3fr 0.7fr; gap: 72px; } }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block; margin-bottom: 18px;
  font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--accent);
}
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ---------- Effects ---------- */

.effects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.effects li { background: var(--bg); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; font-size: 1rem; }
.effects i { width: 28px; height: 28px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 760px) { .effects { grid-template-columns: repeat(4, 1fr); } .effects li { padding: 34px 28px; } }

/* ---------- Looks ---------- */

.looks-group + .looks-group { margin-top: 48px; }
.looks-group h3 { margin-bottom: 20px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.looks { display: flex; gap: 18px; margin: 0; padding: 4px 4px 18px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.looks li { flex: 0 0 132px; scroll-snap-align: start; text-align: center; font-size: 0.95rem; }
.looks figure { margin: 0; }
.looks .face {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: 12px;
  box-shadow: 0 0 0 1px var(--line);
  background: #d9c2b2;
}
.looks .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.5); transform-origin: 50% 40%; }
.looks-note { margin-top: 28px; color: var(--ink-2); }

/* ---------- Before / After ---------- */

.compare-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .compare-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.compare {
  --pos: 50%;
  position: relative; width: 100%; max-width: 480px; margin: 0 auto;
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: #d9c2b2;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.2); pointer-events: none;
}
.compare .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 22px; background-repeat: no-repeat; background-position: center;
}
.compare input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.compare .tag {
  position: absolute; bottom: 16px; z-index: 1;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; padding: 6px 10px; border-radius: 20px; background: rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none;
}
.compare .tag.l { left: 16px; }
.compare .tag.r { right: 16px; }
.compare-copy p { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; }

/* ---------- Also ---------- */

.also { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.also li { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.also li span:first-child { flex: 0 0 auto; min-width: 11ch; font-weight: 500; }
.also li span:last-child { color: var(--ink-2); }
@media (min-width: 760px) { .also { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
@media (max-width: 520px) { .also li { flex-direction: column; gap: 2px; } }

/* ---------- Pricing ---------- */

.pricing-card {
  max-width: 720px; padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.pricing-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pricing-card li { display: flex; gap: 12px; align-items: baseline; }
.pricing-card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.pricing-card .fine { margin-top: 26px; }
.pricing-card .cta { margin-top: 30px; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-size: 1.06rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Final CTA ---------- */

.final { text-align: center; }
.final .wrap > img { width: 64px; height: 64px; margin: 0 auto 28px; }
.final p { margin: 18px auto 34px; max-width: 34ch; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9rem; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a, .site-footer button { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover, .site-footer button:hover { color: var(--accent); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ---------- Legal pages ---------- */

.legal { padding: clamp(40px, 7vw, 88px) 0 clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal .meta { margin-top: 16px; color: var(--ink-3); font-size: 0.95rem; }
.legal .summary {
  margin: 40px 0 8px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.legal .summary h2 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.legal .summary ul { margin: 0; }
.legal .toc { margin: 32px 0 0; font-size: 0.95rem; }
.legal .toc ol { padding-left: 1.3em; margin: 10px 0 0; color: var(--ink-2); columns: 2 220px; column-gap: 32px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.legal h2 { font-size: 1.6rem; font-weight: 400; margin: 56px 0 16px; scroll-margin-top: 84px; }
.legal h3 { margin: 30px 0 10px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 1.2em; margin: 12px 0; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .placeholder {
  margin: 16px 0; padding: 18px 20px; border-radius: 14px;
  border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--ink);
}
.table-scroll { overflow-x: auto; margin: 18px 0; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 500; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; }

/* ---------- Cookie banner ---------- */

.consent {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px;
  max-width: 560px; margin: 0 auto;
  padding: 22px 22px 20px; border-radius: 20px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(30, 15, 10, .35);
  transform: translateY(16px); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.consent.show { transform: none; opacity: 1; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.consent p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.consent .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.consent button.btn {
  height: 46px; border-radius: 12px; font: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  transition: opacity .2s var(--ease);
}
.consent button.btn:hover { opacity: .86; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
