/* Layout: left-aligned single column of bands; hero pairs the pitch with a live "one listing → every channel" panel. */
:root {
  /* Marka: logo mavisi #2D69A7 ana renk, logo turuncusu #F46C25 yalnızca vurgu; nötrler logonun kömür grisinden. */
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #26262a;
  --muted: #5d6570;
  --line: #d8dee6;
  --accent: #2d69a7;
  --accent-ink: #ffffff;
  --accent-soft: #e3ecf6;
  --signal: #c9561c;
  --signal-soft: #fdeadf;
  --brand-orange: #f46c25;
  --band: #e8edf3;
  --ok: #17683c;

  --display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.375rem, 1.4rem + 3.8vw, 4rem);

  --radius: 14px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171b;
    --surface: #1e2126;
    --ink: #ecedef;
    --muted: #a3a9b2;
    --line: #30353d;
    --accent: #6fa2da;
    --accent-ink: #0d1a2a;
    --accent-soft: #1f3047;
    --signal: #f58a4e;
    --signal-soft: #3a2416;
    --brand-orange: #f46c25;
    --band: #1a1d22;
    --ok: #5bc98b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171b;
  --surface: #1e2126;
  --ink: #ecedef;
  --muted: #a3a9b2;
  --line: #30353d;
  --accent: #6fa2da;
  --accent-ink: #0d1a2a;
  --accent-soft: #1f3047;
  --signal: #f58a4e;
  --signal-soft: #3a2416;
  --brand-orange: #f46c25;
  --band: #1a1d22;
  --ok: #5bc98b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 500; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 var(--step-0)/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); line-height: 0; }
.logo { height: 34px; width: auto; color: var(--ink); }
.logo-small { height: 26px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: var(--step--1); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em;
}
.lang:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .header-inner { gap: 10px; }
}
@media (max-width: 374px) {
  .logo { height: 24px; }
  .btn-small { padding: 0 12px; }
  .lang { min-width: 36px; padding: 0 8px; }
  .logo { height: 28px; }
}

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: var(--step--1); }

/* Flow illustration */
.flow {
  margin: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "listing channels" "match match" "cap cap";
  gap: 16px 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  min-width: 0;
}
.listing { grid-area: listing; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.listing-photo {
  position: relative; height: 112px; overflow: hidden;
  background: linear-gradient(180deg, #8fd0e0 0%, #cfeaf0 62%, #2f8fb0 62%, #2a7d9c 100%);
}
.listing-photo span { position: absolute; display: block; }
.sun { width: 26px; height: 26px; border-radius: 50%; background: #f6c453; right: 22px; top: 14px; }
.block { bottom: 38%; background: #f4f1ec; border: 1px solid rgba(15, 35, 51, 0.12); }
.b1 { left: 14%; width: 22%; height: 34%; }
.b2 { left: 38%; width: 18%; height: 46%; }
.b3 { left: 58%; width: 16%; height: 26%; }
.block::after {
  content: ""; position: absolute; inset: 22% 18%;
  background: repeating-linear-gradient(90deg, rgba(15, 35, 51, 0.28) 0 6px, transparent 6px 12px);
}
.sea { left: 0; right: 0; bottom: 0; height: 38%; background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(255, 255, 255, 0.22) 7px 8px); }
.listing-body { padding: 14px 14px 16px; display: grid; gap: 4px; }
.listing-ref { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.listing-title { font-weight: 600; line-height: 1.3; }
.listing-price { font: 700 var(--step-2)/1.2 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.listing-facts { margin: 8px 0 0; display: grid; gap: 4px; font-size: var(--step--1); }
.listing-facts div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 4px; }
.listing-facts dt { color: var(--muted); }
.listing-facts dd { margin: 0; font-weight: 500; text-align: right; }

.channels {
  grid-area: channels;
  list-style: none; margin: 0; padding: 0 0 0 18px;
  display: grid; gap: 8px; align-content: center;
  border-left: 2px solid var(--line);
  position: relative;
}
.channels li {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: var(--step--1);
}
.channels li::before {
  content: ""; position: absolute; left: -20px; top: 50%; width: 19px; height: 2px; background: var(--line);
}
.ch-name { font-weight: 600; min-width: 0; }
.status {
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px;
  color: var(--signal); background: var(--signal-soft);
}
.channels li.is-done .status { color: var(--ok); background: var(--accent-soft); }
.channels li.is-done::before { background: var(--accent); }

.match {
  grid-area: match;
  display: grid; gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.match-title { font-weight: 600; }
.match-line { font-size: var(--step--1); color: var(--muted); }
.flow.is-live .match { animation: nudge 0.5s ease 2.5s both; }
@keyframes nudge { from { transform: translateY(6px); } to { transform: none; } }
.flow-caption { grid-area: cap; font-size: 0.75rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "listing" "channels" "match" "cap"; padding: 14px; }
  .channels { padding-left: 14px; }
  .channels li::before { left: -16px; width: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow.is-live .match { animation: none; }
  .btn { transition: none; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
:where(.section > .wrap) { display: grid; gap: 20px; }
.section-band { background: var(--band); }
.section-lede { color: var(--muted); font-size: var(--step-1); max-width: 38em; }

.groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.group { min-width: 0; border-top: 3px solid var(--accent); padding-top: 18px; }
.group-title { font-size: var(--step-2); font-weight: 700; margin-bottom: 14px; }
.features { margin: 0; display: grid; gap: 6px; }
.features dt { font-weight: 600; margin-top: 12px; }
.features dt:first-child { margin-top: 0; }
.features dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .groups { grid-template-columns: minmax(0, 1fr); } }

.kibris-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.kibris-grid > div { display: grid; gap: 20px; }
.spec {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
}
.spec div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.spec div:first-child { border-top: 0; }
.spec dt { color: var(--muted); font-size: var(--step--1); padding-top: 2px; }
.spec dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .kibris-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.steps {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font: 700 var(--step-1)/1 var(--display);
  margin-bottom: 6px;
}
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.price { justify-items: start; }

.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px;
  font-weight: 600; font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 40em; }

/* Demo form */
.demo { background: var(--surface); border-top: 1px solid var(--line); }
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.demo-copy { display: grid; gap: 16px; }
.form, .form-done {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  min-width: 0;
}
.form-done { grid-column: 2; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--accent); }
.form-done p { color: var(--ink); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: var(--step--1); color: var(--muted); }
.form-status.is-error { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .form-done { grid-column: 1; }
}
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-tag { color: var(--ink); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 28px; color: var(--muted); font-size: var(--step--1);
}
