:root {
  --bg: #f6f2ea; --panel: #fffdf9; --line: #e2dbcd; --text: #1a1d26; --muted: #5f6168;
  --accent: #bd4a0b; --accent-hover: #a23f09; --brand: #f26a1b;
  --nav: #14171f; --nav-2: #232732; --nav-text: #f4efe4; --nav-muted: #a7a8ad;
  --wa: #128c4a; --fb: #1877f2;
  --radius: 18px; --shadow: 0 20px 60px rgb(20 23 31 / .18);
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Üst menü */
.top { background: var(--nav); color: var(--nav-text); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 56px; height: 56px; border-radius: 14px; }
.brand:hover { color: inherit; }
.brand-name { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.brand-name .io { color: var(--brand); }
.top nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--nav-text); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.top nav a:hover { background: var(--nav-2); color: var(--nav-text); }
.top nav .lang { color: var(--nav-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn.primary { background: var(--brand); color: #14171f; }
.btn.primary:hover { background: #f7843f; color: #14171f; }
.btn.ghost { border-color: #3a3f4c; color: var(--nav-text); }
.btn.ghost:hover { background: var(--nav-2); color: var(--nav-text); }

/* Giriş bölümü */
.hero {
  background: radial-gradient(900px 520px at 85% -10%, rgb(242 106 27 / .24), transparent 60%), var(--nav);
  color: var(--nav-text); padding: 56px 0 88px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.hero p.lead { color: #d6d3cc; font-size: 18px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.channels { display: flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--nav-muted); font-size: 14px; flex-wrap: wrap; }

.ch { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; flex: none; }
.ch svg { width: 16px; height: 16px; fill: currentColor; }
.ch.wa { background: var(--wa); }
.ch.fb { background: var(--fb); }
.ch.ig { background: linear-gradient(45deg, #f9a43a, #e1306c 50%, #833ab4); }

/* Ürün çizimi: gerçek ekran görüntüsü değil, temsilî bir havuz görünümü */
.mock { background: #fbf8f2; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid #2c303b; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; background: #1d2029; color: var(--nav-text); font-size: 13px; }
.mock-tabs { display: flex; gap: 6px; }
.mock-tabs span { padding: 4px 10px; border-radius: 8px; background: #2c303b; }
.mock-tabs span.on { background: var(--brand); color: #14171f; font-weight: 600; }
.mock-list { list-style: none; margin: 0; padding: 6px; }
.mock-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; }
.mock-item + .mock-item { border-top: 1px solid #ece6da; }
.mock-item.active { background: #fde8d8; }
.mock-item b { display: block; font-size: 14px; }
.mock-item small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-meta { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #efe9dd; color: #4a4c52; margin-top: 4px; }
.tag.hot { background: #fbe4e1; color: #9b2a22; }
.tag.mine { background: #e3efe6; color: #1d5e33; }
.mock-item > div { min-width: 0; }

/* Bölümler */
section.block { padding: 80px 0; }
section.block.alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fde8d8; color: var(--accent); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--nav); color: var(--brand); font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks b { display: block; }
.checks span { color: var(--muted); }

.final { background: var(--nav); color: var(--nav-text); border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.final h2 { margin: 0 0 6px; }
.final p { margin: 0; color: #d6d3cc; }

/* Alt bilgi */
footer { padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot p { margin: 0; }

/* Yasal sayfalar */
.doc { padding: 48px 0 72px; }
.doc article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 5vw, 56px); max-width: 820px; margin-inline: auto; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc h2 { font-size: 20px; margin-top: 2em; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: #f6f1e8; }
.table-scroll { overflow-x: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 48px; height: 48px; border-radius: 12px; }
  .brand-name { font-size: 28px; }
  .top nav { justify-content: flex-start; margin-left: -12px; }
  .hero { padding: 32px 0 56px; }
  section.block { padding: 56px 0; }
  .grid, .steps, .checks { grid-template-columns: 1fr; }
  .final { padding: 32px 24px; }
  .mock-meta { display: none; }
  .mock-item { grid-template-columns: 30px 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Fiyatlandırma */
.hero.hero-small { padding: 48px 0 56px; }
.center { text-align: center; }
.price-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.price-range { font-weight: 600; color: var(--muted); font-size: 15px; }
.price b { font-size: 34px; letter-spacing: -.02em; }
.price small { display: block; color: var(--muted); font-size: 14px; }
.calc, .notes { max-width: 640px; margin: 32px auto 0; }
.calc h2, .notes h2 { font-size: 20px; }
.calc label { display: block; font-weight: 600; margin-bottom: 6px; }
.calc input { width: 100%; max-width: 220px; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.calc input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(242 106 27 / .28); }
.calc #result { margin: 14px 0 0; font-size: 18px; }
.notes ul { margin: 0; padding-left: 20px; color: var(--muted); }
.notes li + li { margin-top: 6px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.tax-note { margin: 4px 0 0; }

/* Ekran galerisi */
.gallery { display: grid; gap: 18px; }
.viewer { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.viewer-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.viewer img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.viewer.phone .viewer-open { display: grid; place-items: center; padding: 18px 0; background: #ece5d8; }
.viewer.phone img { width: auto; max-width: 100%; height: min(72vh, 680px); border-radius: 24px; border: 6px solid #14171f; }
.viewer figcaption { padding: 12px 4px 2px; color: var(--muted); }
.viewer figcaption b { color: var(--text); margin-right: 4px; }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.thumb { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
.thumb:hover { color: var(--accent); }
.thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; border: 2px solid var(--line); background: var(--panel); }
.thumb.phone img { object-position: top center; }
.thumb:hover img { border-color: #e9b48f; }
.thumb[aria-current="true"] img { border-color: var(--brand); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgb(10 12 16 / .88); }
.lightbox img { display: block; max-width: 92vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-caption { color: #f4efe4; text-align: center; margin: 12px auto 0; max-width: 60em; }
.lightbox-caption b { margin-right: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .14); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgb(255 255 255 / .26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) {
  .thumbs { grid-template-columns: repeat(10, 170px); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .thumbs li { scroll-snap-align: start; }
}

/* Demo talep formu */
.demo-form { max-width: 720px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); display: grid; gap: 18px; }
.demo-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.demo-form label small { font-weight: 400; color: var(--muted); }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text);
}
.demo-form textarea { resize: vertical; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(242 106 27 / .28); }
.demo-form [aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-form label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.demo-form label.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.demo-form label.consent[aria-invalid="true"], .demo-form label.consent input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }
.demo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.demo-form .btn:disabled { opacity: .7; cursor: progress; }
.form-status { margin: 0; }
.form-status.ok { color: #1f7a3d; font-weight: 600; }
.form-status.err { color: #b3261e; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
