@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --text: #2B2A28;
  --muted: #7A756E;
  --line: #E8E2D8;
  --accent: #7D9A84;
  --accent-dk: #647D6B;
  --deep: #2F3B33;
  --gold: #B8955A;
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --reveal: 760ms;
  --section: 64px;
  --head-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + env(safe-area-inset-top) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dk); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 700; }
p { margin: 0; }

.wrap { width: min(100%, 1120px); margin: 0 auto; padding: 0 20px; }
.hero-copy, .compare, .get-grid > * { min-width: 0; }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: 32px; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }

/* ── Üst bar ── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; width: 100%;
  height: calc(var(--head-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgb(255 255 255 / .92); border-bottom: 1px solid var(--line);
  transition: height 240ms var(--ease-out), background-color 240ms var(--ease), box-shadow 240ms var(--ease), backdrop-filter 240ms var(--ease), -webkit-backdrop-filter 240ms var(--ease);
}
.top-bar {
  width: min(100%, 1120px); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.top.is-scrolled {
  height: calc(58px + env(safe-area-inset-top));
  background: rgb(250 247 242 / .62);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 8px 28px rgb(43 42 40 / .07);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; }
.logo b { font-weight: 700; }
.login-link {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 9px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.login-link:hover { border-color: var(--accent); background: #fff; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap; }
@media (max-width: 399px) {
  .top-bar { padding-inline: 12px; gap: 8px; }
  .top-bar .logo { font-size: 15px; gap: 6px; }
  .top-bar .logo img { width: 24px; height: 24px; }
}

/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent-dk); color: #fff; box-shadow: 0 6px 18px rgb(100 125 107 / .28); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-light { background: #fff; color: var(--deep); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgb(47 59 51 / .28); }
  .btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
  .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgb(0 0 0 / .25); }
}

/* ── Hero ── */
.hero { padding-top: calc(var(--head-h) + env(safe-area-inset-top) + var(--section)); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(36px, 8vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent-dk); }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); margin-top: 18px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 200px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgb(43 42 40 / .08); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.shot-after img { object-fit: contain; background: #fff; }
.shot figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: rgb(255 255 255 / .94); color: var(--text); border: 1px solid var(--line);
}
.shot-after figcaption { background: var(--accent-dk); color: #fff; border-color: transparent; }
.arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--gold); box-shadow: 0 4px 12px rgb(43 42 40 / .06); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Adımlar ── */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step-list li {
  position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); counter-increment: step;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step-list li::after { content: "0" counter(step); position: absolute; top: 22px; right: 24px; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.step-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--accent-dk); margin-bottom: 18px; }
.step-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-list h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.step-list p { color: var(--muted); }
@media (hover: hover) {
  .step-list li:hover { transform: translateY(-4px); border-color: #d9d0c2; box-shadow: 0 18px 40px rgb(43 42 40 / .07); }
}

/* ── Elinize geçenler ── */
.get-grid { display: grid; gap: 40px; align-items: center; }
.get-grid .section-head { margin-bottom: 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.caption-card { margin: 0; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; box-shadow: 0 20px 50px rgb(43 42 40 / .07); display: grid; gap: 12px; font-size: 15px; }
.caption-card .tag { position: absolute; top: -12px; left: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: var(--bg); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.cap-title { font-weight: 700; font-size: 18px; }
.caption-card .tags { color: var(--accent-dk); font-weight: 500; overflow-wrap: anywhere; }

/* ── Fiyat ── */
.price-card { display: grid; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; }
.price-card h2 { font-size: clamp(24px, 3.6vw, 32px); }
.price-card p:not(.eyebrow) { color: var(--muted); margin-top: 12px; max-width: 40em; }

/* ── SSS ── */
.faq-wrap { max-width: 800px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 17px; transition: color var(--dur-fast) var(--ease);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease-out), margin var(--dur) var(--ease-out);
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
summary:hover { color: var(--accent-dk); }
details p { color: var(--muted); padding: 0 0 20px; }
details[open] p { animation: faq-in var(--dur) var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Son çağrı ── */
.final {
  background: var(--deep); color: #fff; border-radius: 28px; text-align: center;
  padding: 56px 24px; display: grid; justify-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgb(125 154 132 / .35), transparent 70%);
  pointer-events: none;
}
.final > * { position: relative; }
.final p { color: rgb(255 255 255 / .78); max-width: 30em; }
.final .btn { margin-top: 10px; min-width: 240px; }
.contact-line { font-size: 15px; margin-top: 4px; }
.contact-line a { color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .35); }

/* ── Alt bilgi ── */
.foot { padding: 8px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.foot-inner { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ── Kaydırınca belirme ── */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--reveal) var(--ease-out), transform var(--reveal) var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.d1 { --delay: 80ms; } .d2 { --delay: 160ms; } .d3 { --delay: 240ms; } .d4 { --delay: 320ms; } .d5 { --delay: 400ms; }

/* Önce/sonra: katalog görseli soldan sağa "açılır", ardından bir ışık geçer */
.js-reveal .shot-after[data-reveal] { transform: none; clip-path: inset(0 100% 0 0 round var(--radius)); transition: opacity 300ms var(--ease), clip-path 1100ms var(--ease-out); transition-delay: 420ms; }
.js-reveal .shot-after[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.shot-after::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .7) 50%, transparent 65%);
  transform: translateX(-120%);
}
.js-reveal .shot-after.is-in::after { animation: sheen 1200ms var(--ease) 1500ms both; }
@keyframes sheen { to { transform: translateX(120%); } }
.js-reveal .arrow[data-reveal] { transform: scale(.6); }
.js-reveal .arrow[data-reveal].is-in { transform: none; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }

/* ── Tablet / masaüstü ── */
@media (min-width: 760px) {
  :root { --section: 88px; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .price-card { grid-template-columns: 1fr auto; padding: 40px 44px; }
  .final { padding: 72px 40px; }
  .foot-inner { grid-template-columns: 1fr auto; align-items: center; }
  .foot-brand { justify-content: flex-start; gap: 24px; }
  .foot small { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .hero { padding-top: calc(var(--head-h) + env(safe-area-inset-top) + var(--section)); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
  .get-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .cta-row .btn { flex: 0 0 auto; }
}

/* Görsel büyütme: mevcut karşılaştırma yerleşimine yalnızca üst simge eklenir. */
.shot img[role="button"] { cursor: zoom-in; }
.shot img[role="button"]:focus-visible { outline: 3px solid var(--accent-dk); outline-offset: -5px; }
.shot-zoom { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgb(0 0 0 / .55); pointer-events: none; }
.shot-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.landing-viewer { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(10 12 12 / .96); color: #fff; overflow: hidden; overscroll-behavior: contain; }
.landing-viewer::backdrop { background: rgb(10 12 12 / .96); }
.landing-viewer[open] { display: block; animation: landing-viewer-in 160ms ease-out; }
.landing-viewer-content { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; min-height: 0; }
.landing-viewer-head { display: flex; align-items: center; min-width: 0; padding: calc(env(safe-area-inset-top) + 16px) calc(env(safe-area-inset-right) + 80px) 12px calc(env(safe-area-inset-left) + 20px); }
.landing-viewer-head h2 { font-size: clamp(17px, 3vw, 22px); line-height: 44px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-viewer .lb-btn, .examples .lb-btn { box-sizing: border-box; width: 44px; height: 44px; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; line-height: 0; flex: none; background: rgb(255 255 255 / .14); color: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / .25); cursor: pointer; touch-action: manipulation; }
.landing-viewer .lb-btn svg, .examples .lb-btn svg { display: block; width: 20px; height: 20px; margin: 0; pointer-events: none; }
.landing-viewer .landing-viewer-close { position: fixed; z-index: 2; top: calc(env(safe-area-inset-top) + 16px); right: calc(env(safe-area-inset-right) + 16px); }
.landing-viewer .lb-btn:hover, .examples .lb-btn:hover { background: rgb(255 255 255 / .24); }
.landing-viewer .lb-btn:focus-visible, .examples .lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.landing-viewer-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 100%; padding: 8px 88px calc(env(safe-area-inset-bottom) + 24px); min-width: 0; min-height: 0; overflow: hidden; touch-action: none; user-select: none; }
.landing-viewer-stage img { display: block; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: center; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.landing-viewer-stage.is-zoomed img { cursor: grab; }
.landing-viewer-stage.is-dragging img { cursor: grabbing; }
.landing-viewer .landing-viewer-arrow { position: fixed; z-index: 1; top: 50%; translate: 0 -50%; }
.landing-viewer-prev { left: calc(env(safe-area-inset-left) + 20px); }
.landing-viewer-next { right: calc(env(safe-area-inset-right) + 20px); }
.landing-viewer #landingViewerHelp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 699px) { .landing-viewer-stage { padding-inline: 12px; } .landing-viewer .landing-viewer-arrow { display: none; } }
@keyframes landing-viewer-in { from { opacity: 0; } to { opacity: 1; } }

/* JSON'dan yüklenen örnekler. */
.examples[hidden], .examples-filters[hidden], .example-photo[hidden] { display: none; }
.examples-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.examples-filters button { font: inherit; font-size: 14px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.examples-filters button[aria-pressed="true"] { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); }
.examples-rail { position: relative; min-width: 0; padding: 0 56px; }
.examples-track { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.examples-track::-webkit-scrollbar { display: none; }
.example-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.example-media { position: relative; aspect-ratio: 4 / 5; background: #fff; }
.example-photo { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: contain; cursor: zoom-in; }
.example-photo:focus-visible { outline: 3px solid var(--accent-dk); outline-offset: -4px; }
.example-toggle { position: absolute; top: 12px; left: 12px; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / .95); }
.example-toggle button { border: 0; padding: 6px 12px; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.example-toggle button[aria-pressed="true"] { color: #fff; background: var(--accent-dk); }
.examples button:focus-visible, .examples-track:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 3px; }
.example-caption { padding: 16px; }
.example-caption h3 { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.example-mode { font-size: 13px; color: var(--muted); margin-top: 4px; }
.examples-arrow { position: absolute; top: 45%; translate: 0 -50%; border-radius: 50%; }
.examples-arrow[hidden] { display: none; }
.examples .lb-btn.lb-btn--light { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgb(0 0 0 / .08); color: var(--text); }
.examples .lb-btn.lb-btn--light:hover:not(:disabled) { background: #f5f3ef; }
.examples .lb-btn.lb-btn--light:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 3px; }
.examples-prev { left: 0; }.examples-next { right: 0; }
.examples .lb-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 699px) {
  .examples-rail { padding: 0; }
  .examples-track { gap: 16px; }
  .example-card { flex-basis: calc((100% - 16px) / 1.2); }
  .examples-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
