/* Kökvera landing. Renkler ve tipografi uygulamanın src/theme.ts dosyasıyla birebir. */
@font-face { font-family: 'Caprasimo'; src: url('fonts/Caprasimo_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --primary: #5d7c3f;
  --primary-dark: #3f5a29;
  --primary-soft: #e8ecdf;
  --accent: #b8562f;
  --accent-dark: #8d3d1f;
  --ink: #22261d;
  --bg: #f2ece0;
  --card: #e5dcc9;
  --text: #22261d;
  --muted: #56604a;
  --on-dark: #f2ece0;
  --border: #d6cab2;
  --divider: #e0d5be;
  --display: 'Caprasimo', 'Georgia', serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 24px 60px -24px rgba(34, 38, 29, 0.35), 0 8px 20px -12px rgba(34, 38, 29, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: 24px; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { padding-block: clamp(72px, 9vw, 128px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--divider); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* buttons: uygulamadaki pill Button */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: transform .5s var(--ease), background .5s var(--ease); font-family: var(--body); }
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(184, 86, 47, 0.6); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,0.18); display: inline-flex; align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -1px); }
.btn-ghost .arrow { background: var(--card); }
.btn svg { width: 16px; height: 16px; }

/* hero */
.hero { padding-block: 48px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--primary); }
.hero h1 { margin-top: 22px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 22px; font-size: 19px; max-width: 46ch; color: var(--muted); }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* phone cascade: krem zeminde koyu "kasa", içinde ekran (double-bezel). Akışta durur, kesilmez. */
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: 24px 12px 32px; }
.phone { width: 100%; max-width: 250px; padding: 8px; background: var(--ink); border-radius: 40px; box-shadow: var(--shadow); }
.phone img { border-radius: 32px; width: 100%; height: auto; }
.phone.a { transform: rotate(-4deg) translate(6%, 28px); z-index: 2; justify-self: end; }
.phone.b { transform: rotate(3deg) translate(-6%, 0); z-index: 1; justify-self: start; }
.phone.b img { filter: saturate(0.92); }

/* map feature: koyu tam genişlik */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .muted { color: rgba(242,236,224,0.72); }
.dark h2 { color: var(--on-dark); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .copy p { margin-top: 18px; max-width: 48ch; font-size: 18px; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.shot { justify-self: center; width: 300px; padding: 8px; background: var(--ink); border-radius: 44px; box-shadow: var(--shadow); }
.dark .shot { background: #33392c; }
.shot img { border-radius: 36px; }

/* evre şeridi: gerçek stageMeta renkleri */
.stages { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; margin-top: 36px; }
.stage { border-radius: 10px; padding: 12px 8px 10px; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; }
.stage b { font-family: var(--body); font-size: 22px; font-weight: 700; opacity: 0.85; }
.stage span { font-size: 12px; font-weight: 600; line-height: 1.2; }

/* 3'lü akış */
.flow h2 { max-width: 20ch; }
.flow .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; align-items: start; }
.step { background: var(--card); border-radius: 28px; padding: 10px 10px 22px; }
.step .screen { padding: 6px; background: var(--ink); border-radius: 30px; }
.step .screen img { border-radius: 24px; }
.step h3 { margin: 22px 16px 6px; }
.step p { margin: 0 16px; color: var(--muted); font-size: 16px; }
.step.mid { transform: translateY(34px); }
.step.last { transform: translateY(68px); }
.dark .step { background: #33392c; }
.dark .step h3 { color: var(--on-dark); }
.dark .step p { color: rgba(242,236,224,0.72); }

/* kapsam */
.scope .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: 15px; color: var(--muted); }
.chip.on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip svg { width: 18px; height: 18px; }

/* erken erişim */
.access { background: var(--primary-soft); }
.access .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.access p { margin-top: 16px; max-width: 42ch; color: var(--muted); font-size: 18px; }
.form { background: var(--bg); border-radius: 28px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 30px 60px -40px rgba(34,38,29,0.4); }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { height: 54px; border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 0 18px; font: inherit; color: var(--text); }
.field input:focus, .field select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form .hint { font-size: 13px; color: var(--muted); }
/* bal küpü: -9999px yerine viewport'u taşırmayan görünmez-ama-layout'ta-yer-kaplamayan gizleme */
.form .hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--divider); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
footer small { color: var(--muted); font-size: 13px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* paketler */
.packs h2 { max-width: 18ch; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; align-items: start; }
.pack { background: var(--card); border-radius: 28px; padding: 28px 26px 24px; position: relative; }
.pack.mid { background: var(--ink); color: var(--on-dark); }
.pack.mid p, .pack.mid .pack-list li { color: rgba(242,236,224,0.72); }
.pack.mid h3 { color: var(--on-dark); }
.pack-no { display: inline-flex; width: 36px; height: 36px; border-radius: 12px; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; }
.pack h3 { margin-top: 18px; font-size: 22px; line-height: 1.2; }
.pack p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.pack-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.pack-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); opacity: 0.55; }
.pack-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 6px; border: 1.5px solid currentColor; }
.pack-list li.on { opacity: 1; color: var(--text); }
.pack-list li.on::before { background: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat; }
.pack.mid .pack-list li.on { color: var(--on-dark); }

@media (max-width: 900px) {
  .hero .wrap, .split, .scope .wrap, .access .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 28px 56px; }
  .hero h1 { max-width: none; }
  .phones { padding: 12px 0 24px; gap: 0; }
  .phone { max-width: none; border-radius: 32px; padding: 6px; }
  .phone img { border-radius: 26px; }
  .phone.a { transform: rotate(-3deg) translate(4%, 20px); }
  .phone.b { transform: rotate(2deg) translate(-4%, 0); }
  .nav-links { display: none; }
  .flow .grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .step.mid, .step.last { transform: none; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shot { width: 260px; }
  .wrap { width: min(1180px, 100% - 32px); }
}

/* form durum satırı */
.form-note { font-size: 14px; margin: 0; min-height: 1.4em; }
.form-note.ok { color: var(--primary-dark); font-weight: 600; }
.form-note.err { color: var(--accent-dark); font-weight: 600; }
