/* Fırsat tanıtım sayfası. Panel tokenları burada tekrar tanımlanır; style.css içe alınmaz. */
:root {
  --bg: #f4f6f8;
  --paper: #fff;
  --soft: #e7efec;
  --ink: #182a30;
  --muted: #55676e;
  --green: #15594f;
  --button: #15594f;
  --button-hover: #24664f;
  --lime: #dceee7;
  --line: #dfe7e8;
  --ring: #cddcd4;
  --accent: #86a65b;
  --hero-ring: #d3e0d9;
  --hero-fill: #e2ebe6;
  --shadow: 0 18px 50px #15291e1a;
  --radius: 14px;
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e171a;
    --paper: #152328;
    --soft: #12201f;
    --ink: #e4ecea;
    --muted: #a4b5b7;
    --green: #7dcab3;
    --button: #1f7a66;
    --button-hover: #278b75;
    --lime: #1c3a33;
    --line: #26393e;
    --ring: #2a4540;
    --accent: #a5c47a;
    --hero-ring: #20373a;
    --hero-fill: #142624;
    --shadow: 0 18px 50px #00000059;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-padding-top: 84px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, p { margin-top: 0; }
a { color: inherit; }

a:focus-visible, summary:focus-visible, main:focus-visible {
  outline: 3px solid #88ad6d;
  outline-offset: 3px;
}
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: var(--button);
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 750;
  color: var(--green);
  margin-bottom: 10px;
}

.muted { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Marka */
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 26px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--button);
  color: #fff;
  border-radius: 11px;
  font-size: 26px;
  letter-spacing: -3px;
  padding-right: 4px;
}
.brand-dot { font-size: 12px; color: var(--accent); }

/* Düğmeler */
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.primary { background: var(--button); color: #fff; }
.primary:hover { background: var(--button-hover); }
.secondary { background: var(--paper); border-color: var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--green); }
.primary-light { background: #fff; color: #15594f; }
.primary-light:hover { background: #eef5f1; }
.secondary-light { background: transparent; border-color: #cfe6dc; color: #fff; }
.secondary-light:hover { background: #1c6a5e; border-color: #fff; }

/* Üst şerit */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--green); background: var(--lime); }
.header-cta { min-height: 40px; padding: 9px 15px; font-size: 14px; }

/* Giriş */
.hero {
  background: var(--soft);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid var(--hero-ring);
  border-radius: 50%;
  right: -210px;
  top: -120px;
  box-shadow: 0 0 0 65px var(--hero-fill), 0 0 0 66px var(--hero-ring);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: clamp(48px, 8vw, 104px);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -2.4px;
  line-height: 1.1;
  font-weight: 650;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--green); }
.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  border: 1px solid var(--ring);
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}
.chips-soft li { background: var(--lime); border-color: transparent; color: var(--green); }

/* Temsili ilan kartı */
.mock-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
  justify-self: end;
}
.mock-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mock-badge {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 750;
  color: var(--muted);
  border: 1px dashed var(--ring);
  border-radius: 20px;
  padding: 4px 10px;
}
.mock-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--button);
  border-radius: 20px;
  padding: 4px 10px;
}
.mock-photo {
  background: var(--lime);
  border-radius: 12px;
  color: var(--green);
  display: grid;
  place-items: center;
  padding: 18px 12px;
  margin-bottom: 16px;
}
.mock-car { width: 100%; max-width: 240px; height: auto; }
.mock-title { font-size: 19px; letter-spacing: -.4px; margin-bottom: 2px; }
.mock-meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.mock-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 10px;
}
.mock-prices dt { font-size: 12px; color: var(--muted); }
.mock-prices dd { margin: 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-bars { display: grid; gap: 6px; margin-bottom: 14px; }
.mock-bar { display: block; height: 8px; border-radius: 6px; }
.mock-bar-ask { width: 84%; background: var(--button); }
.mock-bar-est { width: 100%; background: var(--ring); }
.mock-summary {
  font-size: 13px;
  line-height: 1.6;
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.mock-foot { font-size: 12px; color: var(--muted); margin: 0; }

/* Bölümler */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head h2, .final-cta h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -1.2px;
  line-height: 1.18;
  font-weight: 650;
  margin-bottom: 12px;
}
.section-lead { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 0; }
h3 { font-size: 17px; letter-spacing: -.3px; line-height: 1.35; margin-bottom: 8px; }

/* Rakamlar */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
/* Beş kutu: sonuncusu iki sütun kaplar, 3 ve 2 sütunlu ızgarada boşluk kalmaz. */
.stat-wide { grid-column: span 2; }
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.stat-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.stat-value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat small { font-size: 13px; color: var(--muted); }

.stats-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.panel-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.makes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.make-row {
  display: grid;
  grid-template-columns: minmax(70px, 130px) minmax(0, 1fr) 4.2em;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.make-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.make-bar { height: 10px; background: var(--lime); border-radius: 6px; overflow: hidden; }
.make-fill { display: block; height: 100%; width: 0; background: var(--button); border-radius: 6px; }
.make-count { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.make-empty { color: var(--muted); font-size: 14px; }

.model-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  margin-bottom: 10px;
}
.status-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.model-status[data-state="active"] .status-dot { background: #3f9a62; }
.model-status[data-state="learning"] .status-dot { background: #c99a2e; }

.live-line { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.live-note {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--lime);
  color: var(--green);
  font-weight: 600;
}
.live-note[hidden] { display: none; }

/* Akış */
.flow-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  min-width: 0;
}
.step p { font-size: 14px; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -15px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}
.step-optional { border-style: dashed; border-color: var(--green); }
.step-optional .step-num { background: var(--paper); color: var(--green); border: 2px dashed var(--green); }
.step-tag {
  float: right;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--green);
  background: var(--lime);
  border-radius: 20px;
  padding: 3px 9px;
  margin-top: 6px;
}

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 26px;
  background: var(--lime);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.callout p { margin: 0; font-size: 15px; }
.callout h3 { color: var(--green); }
.callout-mark { font-size: 24px; color: var(--green); line-height: 1.2; }

/* Parçalar */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--green);
  font-size: 19px;
  margin-bottom: 14px;
}

/* Panel özellikleri */
.features { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.feature > p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.feature .chips { margin-bottom: 14px; }
.feature .muted { margin: 0; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  border-left: 3px solid var(--lime);
}
.feature-list strong { display: block; color: var(--ink); font-size: 15px; }

/* Güven */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 32px;
}
.trust-item { border-top: 2px solid var(--green); padding-top: 16px; min-width: 0; }
.trust-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* Sınırlar */
.limits { background: var(--paper); border-top: 1px solid var(--line); }
.limit-list {
  list-style: none;
  counter-reset: limit;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.limit-list li {
  counter-increment: limit;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 62px;
  min-width: 0;
}
.limit-list li::before {
  content: counter(limit, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  font-weight: 750;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.limit-list p { font-size: 14px; color: var(--muted); margin: 0; }
.independence {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

/* SSS */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px;
}
.faq-list { display: grid; gap: 10px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 13px;
  font-size: 20px;
  color: var(--green);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

/* Kapanış */
.final-cta { background: #15594f; color: #fff; }
.final-cta .eyebrow { color: #cfe6dc; }
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.final-cta p { color: #d9ebe3; margin: 0; font-size: 16px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand { font-weight: 750; color: var(--ink); font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--green); }

/* Duyarlılık */
@media (max-width: 1100px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3n)::after { display: none; }
  .site-nav a { padding: 8px 7px; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mock-card { justify-self: start; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-lower, .feature-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .limit-list { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { gap: 0; }
  .final-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step:not(:last-child)::after,
  .step:nth-child(3n)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -13px;
    left: 28px;
    transform: rotate(135deg);
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 560px) {
  .brand { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; font-size: 22px; }
  .header-inner { gap: 12px; min-height: 60px; }
  .header-cta { padding: 8px 12px; font-size: 13px; }
  .hero h1 { letter-spacing: -1.4px; }
  .lead { font-size: 16px; }
  .hero-actions .primary, .hero-actions .secondary { width: 100%; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 16px; }
  .stat-value { font-size: 24px; }
  .live-note { display: block; margin: 8px 0 0; border-radius: 10px; padding: 6px 10px; }
  .mock-card { padding: 16px; }
  .mock-prices dd { font-size: 18px; }
  .make-row { grid-template-columns: minmax(60px, 96px) minmax(0, 1fr) 3.8em; gap: 8px; }
  .limit-list li { padding: 18px 16px 18px 52px; }
  .limit-list li::before { left: 16px; top: 17px; }
  .final-actions { width: 100%; }
  .final-inner .primary, .final-inner .secondary { width: 100%; }
}

@media (max-width: 379px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-wide { grid-column: auto; }
}

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