/* ── Fontlar (self-hosted — Google CDN kullanılmıyor, KVKK uyumlu) ── */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/caveat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/patrick-hand-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Patrick Hand SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/patrick-hand-sc-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/kalam-700.woff2') format('woff2');
}

/* ── Değişkenler ── */
:root {
  --ink:          #1d1c1a;
  --ink-soft:     #4a4842;
  --paper:        #faf7f1;
  --paper-warm:   #f3eee2;
  --line:         #2a2826;
  --accent:       #1a3a6e;
  --accent-light: #5a8fc4;
  --accent-mid:   #2e5a96;
  --highlight:    #ffe88a;
  --pen-thin:  1.5px;
  --pen-mid:   2.25px;
  --pen-thick: 3.5px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: 'Patrick Hand', sans-serif; font-size: 16px; }

.test-banner {
  background: #fffbe6;
  border-bottom: 1px solid #e8d87a;
  color: #7a6800;
  text-align: center;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 13px;
  padding: 7px 16px;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ───────────────────────────────────
   ORTAK BİLEŞENLER
─────────────────────────────────── */

/* El çizgisi kutular */
.box {
  border: var(--pen-mid) solid var(--line);
  border-radius: 7px 9px 8px 6px / 8px 6px 9px 7px;
  background: var(--paper);
  position: relative;
}
.box.thin  { border-width: var(--pen-thin); }
.box.thick { border-width: var(--pen-thick); }
.fill-accent-light { background: var(--accent-light) !important; color: #fff !important; border-color: var(--accent-light) !important; }

/* Hafif eğim */
.tilt-l { transform: rotate(-0.5deg); }
.tilt-r { transform: rotate(0.4deg); }

/* Yer tutucu (diyagonal çizgili) */
.placeholder {
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,.07) 8px 9px), var(--paper-warm);
  border: var(--pen-thin) solid var(--line);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Patrick Hand SC', monospace;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

/* Tipografi yardımcıları */
.h-hand   { font-family: 'Caveat', cursive; font-weight: 700; letter-spacing: -0.01em; line-height: 0.95; color: var(--ink); }
.h-marker { font-family: 'Kalam', cursive; font-weight: 700; }

/* Dalgalı alt çizgi */
.squig {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6' preserveAspectRatio='none'><path d='M0 3 Q 10 0 20 3 T 40 3 T 60 3 T 80 3' stroke='%231a3a6e' stroke-width='2' fill='none'/></svg>");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 80px 6px;
  padding-bottom: 7px;
}

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: var(--pen-mid) solid var(--line);
  border-radius: 22px 26px 24px 28px / 24px 28px 22px 26px;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.82; }
.btn-lg  { font-size: 18px; padding: 14px 26px; }
.btn-xl  { font-size: 22px; padding: 18px 36px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent-light { background: var(--accent-light); border-color: var(--accent-light); color: #fff; }
.btn-outline-paper { background: transparent; border-color: rgba(250,247,241,0.45); color: var(--paper); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Yapışkan not */
.sticky {
  background: var(--highlight);
  padding: 8px 12px;
  font-family: 'Caveat', cursive;
  font-size: 17px;
  color: #5a4a2a;
  box-shadow: 2px 3px 0 rgba(0,0,0,.1);
  border-radius: 2px;
  line-height: 1.15;
}

/* ───────────────────────────────────
   LAYOUT
─────────────────────────────────── */
.bg-dark  { background: var(--ink);        color: var(--paper); }
.bg-paper { background: var(--paper); }
.bg-warm  { background: var(--paper-warm); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 56px; }

/* ───────────────────────────────────
   NAV
─────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 56px;
  border-bottom: 1.5px solid rgba(255,255,255,0.15);
  max-width: 1100px;
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.wordmark  { font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; color: var(--paper); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn-nav) {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 15px;
  color: rgba(250,247,241,0.85);
  transition: color 0.15s;
}
.nav-links a:not(.btn-nav):hover { color: var(--paper); }
.btn-nav {
  padding: 6px 14px;
  border: 1.5px solid rgba(250,247,241,0.45);
  border-radius: 20px;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 14px;
  color: var(--paper);
  transition: background 0.15s;
}
.btn-nav:hover { background: rgba(255,255,255,0.1); }

/* ───────────────────────────────────
   HERO
─────────────────────────────────── */
.hero { padding: 90px 56px 80px; }
.hero-eyebrow {
  font-family: 'Kalam', cursive;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  margin-bottom: 32px;
}
.hero-title { display: flex; flex-direction: column; }
.hero-title span {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(64px, 9vw, 110px);
  line-height: 0.9;
  color: var(--paper);
}
.hero-accent { color: var(--accent-light) !important; }
.hero-italic { font-style: italic; text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 4px; }
.hero-body { max-width: 680px; margin-top: 44px; }
.hero-body p {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(250,247,241,0.85);
}
.hero-body p + p { margin-top: 16px; }
.hero-body strong { color: var(--accent-light); font-weight: 700; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }

/* ───────────────────────────────────
   BÖLÜM BAŞLIKLARI
─────────────────────────────────── */
.section-header { padding: 70px 56px 30px; }
.section-header.centered { text-align: center; }
.eyebrow {
  font-family: 'Kalam', cursive;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--accent-light); }
.lead {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 14px auto 0;
  line-height: 1.5;
}

/* ───────────────────────────────────
   CHAT DEMO
─────────────────────────────────── */
.chat-wrap { padding: 0 56px 40px; }
.chat-shell {
  margin: 0 56px;
  overflow: hidden;
  background: #fff;
}
.chat-layout { display: grid; grid-template-columns: 180px 1fr; min-height: 520px; }

.chat-sidebar {
  border-right: 1.5px dashed rgba(0,0,0,0.2);
  padding: 16px;
  background: var(--paper-warm);
}
.sidebar-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.sidebar-brand-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: 16px; }
.sidebar-section-label { font-family: 'Patrick Hand SC', sans-serif; font-size: 11px; color: var(--ink-soft); margin: 14px 0 6px; }
.sidebar-item {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
  border: 1px solid transparent;
  cursor: pointer;
}
.sidebar-item.active {
  background: var(--paper);
  border-color: var(--ink-soft);
  border-style: dashed;
}

.chat-main { display: flex; flex-direction: column; }
.chat-messages { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.msg-row { display: flex; }
.msg-row.user { justify-content: flex-end; }
.msg-row.bot  { justify-content: flex-start; }
.bubble {
  padding: 12px 14px;
  max-width: 78%;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.msg-row.user .bubble { border-color: var(--accent-light); }

.mini-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-family: 'Patrick Hand SC', sans-serif; font-size: 12px; }
.mini-table th, .mini-table td { padding: 4px 6px; border-bottom: 1px dashed rgba(0,0,0,0.15); text-align: left; }
.mini-table th { font-weight: 600; }

.chat-input-bar {
  border-top: 1.5px dashed rgba(0,0,0,0.2);
  padding: 14px;
  display: flex; gap: 10px;
  background: var(--paper-warm);
}
.chat-input-field {
  flex: 1;
  padding: 10px 14px;
  background: #fff;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 15px;
  color: var(--ink-soft);
}

.sticky-corner {
  position: absolute;
  top: -10px;
  right: -22px;
  transform: rotate(6deg);
  text-decoration: none;
  color: inherit;
}
.sticky-corner:hover { opacity: 0.8; }

.demo-live-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 56px 0;
  flex-wrap: wrap;
}
.demo-live-note {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.example-qs {
  margin: 22px 56px 0;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.eq-label { font-family: 'Patrick Hand SC', sans-serif; font-size: 12px; color: var(--ink-soft); }
.eq-chip {
  padding: 6px 12px;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 14px;
  background: var(--paper);
  cursor: pointer;
}

/* ───────────────────────────────────
   DASHBOARD ÖNİZLEME
─────────────────────────────────── */
.two-col {
  padding: 70px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col-text h2 { font-size: 42px; display: inline-block; }
.body-copy {
  font-family: 'Patrick Hand', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 20px;
}
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.check-list li { font-family: 'Patrick Hand', sans-serif; font-size: 15px; color: var(--ink-soft); }

.dashboard-mock { padding: 14px; background: #fff; }
.mock-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red    { background: #e07a6a; }
.dot.yellow { background: #e6c45a; }
.dot.green  { background: #7da76a; }
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.kpi { padding: 8px; }
.kpi-label { font-family: 'Patrick Hand SC', sans-serif; font-size: 10px; color: var(--ink-soft); }
.kpi-val   { font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; color: var(--accent); }
.two-placeholder { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ───────────────────────────────────
   ÖZELLİKLER GRİD
─────────────────────────────────── */
.features-wrap { padding: 0 56px 70px; }
.features-title { font-size: 32px; margin-bottom: 28px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 18px; }
.feature-icon { font-size: 32px; color: var(--accent-light); line-height: 1; }
.feature-title { font-size: 20px; margin-top: 8px; }
.feature-body { font-family: 'Patrick Hand', sans-serif; font-size: 15px; margin-top: 6px; color: var(--ink-soft); line-height: 1.4; }

/* ───────────────────────────────────
   3 CESUR İDDİA
─────────────────────────────────── */
.claims-wrap { padding: 60px 56px; }
.claims-eyebrow { font-family: 'Kalam', cursive; font-size: 13px; letter-spacing: 0.2em; color: var(--accent-light); margin-bottom: 28px; }
.claims-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.claim-num   { font-family: 'Caveat', cursive; font-weight: 700; font-size: 70px; color: var(--accent-light); line-height: 1; }
.claim-title { font-family: 'Kalam', cursive; font-weight: 700; font-size: 26px; margin-top: 6px; color: var(--paper); }
.claim-body  { font-family: 'Patrick Hand', sans-serif; font-size: 17px; margin-top: 8px; color: rgba(250,247,241,0.7); line-height: 1.4; }

/* ───────────────────────────────────
   HİKÂYE
─────────────────────────────────── */
.story-wrap { padding: 70px 56px; }
.story-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; }
.story-title { font-size: 32px; margin-bottom: 20px; display: inline-block; }
.story-logo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

/* ───────────────────────────────────
   SEKTÖRLER
─────────────────────────────────── */
.sectors-wrap { padding: 60px 56px; }
.sectors-title { font-size: 28px; margin-bottom: 28px; }
.sectors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sector { padding: 14px; background: var(--paper-warm); }
.sector-title { font-family: 'Kalam', cursive; font-weight: 700; font-size: 16px; margin-top: 0; }
.sector-sub   { font-family: 'Patrick Hand', sans-serif; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.sector-live { text-decoration: none; color: inherit; border-color: var(--accent); }
.sector-live:hover { opacity: 0.85; }
.sector-live-badge {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Patrick Hand SC', sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 7px;
  border-radius: 2px;
}

/* ───────────────────────────────────
   FİYAT
─────────────────────────────────── */
.pricing-wrap { padding: 60px 56px; }
.pricing-title { font-size: 32px; margin-bottom: 28px; display: inline-block; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { padding: 22px; background: var(--paper); }
.price-card.highlight { border-width: var(--pen-thick); }
.price-name   { font-family: 'Kalam', cursive; font-weight: 700; font-size: 20px; }
.price-amount { font-family: 'Caveat', cursive; font-weight: 700; font-size: 44px; color: var(--accent); margin: 8px 0 4px; line-height: 1; }
.price-sub    { font-family: 'Patrick Hand', sans-serif; font-size: 13px; color: var(--ink-soft); }
.price-divider { height: 1px; background: var(--ink-soft); opacity: 0.25; margin: 14px 0; }
.price-feature { font-family: 'Patrick Hand', sans-serif; font-size: 14px; padding: 3px 0; color: var(--ink); }

/* ───────────────────────────────────
   CTA + ALINTI
─────────────────────────────────── */
.quote-wrap { padding: 60px 56px 0; }
.quote-row { display: flex; align-items: center; gap: 28px; }
.quote-text {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  line-height: 1.25;
  color: var(--paper);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
}
.quote-text cite { display: block; font-size: 18px; margin-top: 8px; color: rgba(250,247,241,0.6); font-style: normal; }

.cta-wrap { padding: 40px 56px 80px; text-align: center; border-top: 1.5px dashed rgba(255,255,255,0.2); }
.cta-title { font-size: 52px; color: var(--paper); }
.cta-sub { font-family: 'Patrick Hand', sans-serif; font-size: 18px; margin: 14px 0 28px; color: rgba(250,247,241,0.7); }

/* ───────────────────────────────────
   FOOTER
─────────────────────────────────── */
.site-footer {
  border-top: 1.5px dashed rgba(255,255,255,0.2);
  padding: 16px 56px;
  display: flex;
  justify-content: space-between;
  font-family: 'Patrick Hand', sans-serif;
  font-size: 13px;
  color: rgba(250,247,241,0.7);
  max-width: 1100px;
  margin: 0 auto;
}

/* ───────────────────────────────────
   MOBİL
─────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { padding: 14px 24px; }
  .nav-links a:not(.btn-nav) { display: none; }

  .hero { padding: 60px 24px 56px; }
  .hero-title span { font-size: clamp(52px, 14vw, 80px); }
  .hero-body p { font-size: 18px; }

  .section-header { padding: 50px 24px 20px; }
  .chat-shell { margin: 0 24px; }
  .example-qs { margin: 16px 24px 0; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }

  .two-col { padding: 50px 24px; grid-template-columns: 1fr; gap: 32px; }
  .features-wrap { padding: 0 24px 50px; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .claims-wrap { padding: 50px 24px; }
  .claims-grid { grid-template-columns: 1fr; gap: 24px; }

  .story-wrap { padding: 50px 24px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-logo { display: none; }

  .sectors-wrap { padding: 50px 24px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }

  .pricing-wrap { padding: 50px 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }

  .quote-wrap, .cta-wrap { padding-left: 24px; padding-right: 24px; }
  .quote-text { font-size: 24px; }
  .cta-title { font-size: 38px; }

  .site-footer { padding: 16px 24px; flex-direction: column; gap: 4px; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .sectors-grid  { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}
