/* bi el at — bielat.site
   Palet kilidi (docs/05-ui-design.md): krem, lacivert, mercan, altın + türetilmiş tonlar.
   Degrade yok, blur yok, gölge yerine ofset renk bloğu. */

:root {
  --cream: #FFF8EC;
  --cream-light: #FFFDF7;
  --cream-deep: #F1E2C6;
  --night: #1D2030;
  --night-light: #2A2E44;
  --coral: #FF6B4A;
  --coral-deep: #D8452A;
  --coral-soft: #FFD3C6;
  --gold: #FFC145;
  --gold-deep: #C98C1E;
  --gold-soft: #FFE7AE;
  --ink: var(--night);
  --ink-soft: #6C6A78;
  --turq: #2EC4B6;
  --purple: #9B5DE5;
  --green: #4CC66E;
  --pink: #FF6FB5;
  --blue: #4D96FF;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--coral-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.01em; margin: 0; font-weight: 900; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.muted { color: var(--ink-soft); }
.accent { color: var(--coral); }
.gold { color: var(--gold-deep); }
.wrap { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
.todo {
  background: var(--gold-soft);
  border-bottom: 3px dashed var(--gold-deep);
  padding: 0 .3em;
  font-weight: 800;
}

/* ---------- sticker dili ---------- */
.sticker {
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: 26px 12px 26px 12px;
  box-shadow: 6px 7px 0 var(--coral);
  padding: 1.35rem 1.5rem;
}
.sticker.gold { box-shadow: 6px 7px 0 var(--gold); color: var(--ink); }
.sticker.turq { box-shadow: 6px 7px 0 var(--turq); }
.sticker.purple { box-shadow: 6px 7px 0 var(--purple); }
.sticker.green { box-shadow: 6px 7px 0 var(--green); }
.sticker.night { background: var(--night); color: var(--cream); box-shadow: 6px 7px 0 var(--gold); }
.sticker.alt { border-radius: 12px 26px 12px 26px; }
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.5deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .8rem 1.8rem;
  font: 900 1.1rem/1 var(--font);
  color: var(--cream); background: var(--coral);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn.secondary { background: var(--cream-light); color: var(--ink); box-shadow: 0 6px 0 var(--coral); }
.btn.secondary:hover { color: var(--ink); box-shadow: 0 8px 0 var(--coral); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { color: var(--ink); }
.btn svg { width: 22px; height: 22px; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--gold); font-weight: 900; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 3px solid var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 900; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.brand .mark { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; font-weight: 800; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--coral-deep); }
.lang { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; font-size: .85rem; }
.lang a { padding: .3rem .7rem; color: var(--ink); text-decoration: none; }
.lang a.on { background: var(--ink); color: var(--cream); }
@media (max-width: 720px) { .nav-links .hide-m { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 3rem; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 .line2 { color: var(--coral); display: block; }
.hero .lead { font-size: 1.3rem; margin-top: 1.4rem; max-width: 34rem; font-weight: 600; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }
.hero .cta .note { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .lead { font-size: 1.15rem; } }

/* telefon + canlı ev haritası */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(340px, 86vw); aspect-ratio: 9 / 19;
  background: var(--night); border: 4px solid var(--ink); border-radius: 46px;
  padding: 12px; box-shadow: 12px 14px 0 var(--coral); transform: rotate(-3deg);
}
.screen { width: 100%; height: 100%; border-radius: 34px; background: var(--cream); overflow: hidden; display: flex; flex-direction: column; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1rem .4rem; font-weight: 900; font-size: .95rem; }
.screen .bar .season { font-size: .7rem; padding: .2rem .55rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--gold); }
.plan {
  margin: .5rem .8rem; flex: 1; background: var(--cream-deep); border: 3px solid var(--ink); border-radius: 18px 8px 18px 8px;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(8, 1fr); gap: 6px; padding: 8px;
}
.room {
  position: relative; border: 2.5px solid var(--ink); border-radius: 12px 5px 12px 5px;
  display: flex; align-items: flex-end; padding: 6px; font-weight: 900; font-size: .72rem; overflow: hidden;
  transition: filter 1.2s ease, background-color 1.2s ease;
}
.room .who {
  position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--ink); display: grid; place-items: center; font-size: .6rem; background: var(--cream-light);
}
.room.dirty { filter: saturate(.35) brightness(.92); }
.room .web { position: absolute; left: -2px; top: -2px; width: 46%; opacity: 0; transition: opacity 1.2s ease; }
.room.dirty .web { opacity: .9; }
.room .dust { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.room.dirty .dust { opacity: 1; }
.room .dust i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .35; }
.screen .claim {
  margin: .4rem .8rem .9rem; min-height: 46px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--coral); color: var(--cream); font-weight: 900; display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink);
  font-size: .95rem; letter-spacing: .02em;
}
.toast {
  position: absolute; left: 50%; bottom: 14%; transform: translate(-50%, 20px) rotate(2deg); opacity: 0;
  background: var(--cream-light); border: 3px solid var(--ink); border-radius: 14px 6px 14px 6px; box-shadow: 5px 6px 0 var(--gold);
  padding: .5rem .8rem; font-weight: 900; font-size: .85rem; white-space: nowrap; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) rotate(2deg); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetti i { position: absolute; width: 10px; height: 14px; border: 2px solid var(--ink); border-radius: 3px; opacity: 0; }
@keyframes pop {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(540deg); }
}
.confetti.go i { animation: pop 1.1s cubic-bezier(.2,.8,.3,1) forwards; }

.chef-hero { position: absolute; right: -8px; bottom: -10px; width: 120px; transform: rotate(6deg); }

/* ---------- bölümler ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head .kicker { display: inline-block; margin-bottom: .8rem; }
.section-head p { margin-top: .8rem; font-size: 1.1rem; color: var(--ink-soft); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* dırdır üretici */
.nag { background: var(--night); color: var(--cream); }
.nag .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.nag h2 .accent { color: var(--gold); }
.nag p.muted { color: #A9A6B6; }
.nag-form { display: grid; gap: .9rem; margin-top: 1.6rem; }
.nag-form label { font-weight: 800; font-size: .9rem; }
.nag-form input, .nag-form select {
  width: 100%; min-height: 52px; padding: .6rem .9rem; font: 700 1rem var(--font);
  border: 3px solid var(--ink); border-radius: 14px; background: var(--cream-light); color: var(--ink);
}
.nag-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.bubble {
  position: relative; background: var(--cream-light); color: var(--ink); border: 3px solid var(--ink);
  border-radius: 24px; padding: 1.4rem 1.5rem 1.6rem; box-shadow: 7px 8px 0 var(--coral); min-height: 150px;
  font-weight: 800; font-size: 1.25rem; line-height: 1.35;
}
.bubble::after {
  content: ""; position: absolute; left: 34px; bottom: -22px; border: 12px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}
.bubble .lvl { display: inline-block; margin-bottom: .6rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--gold); border: 2px solid var(--ink); }
.bubble-wrap { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.bubble-wrap .chef { width: 110px; transform: rotate(-4deg); }
@media (max-width: 860px) { .nag .wrap { grid-template-columns: 1fr; } .nag-form .row { grid-template-columns: 1fr; } }

/* özellikler */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.feature { display: grid; gap: .5rem; }
.feature .ico { width: 46px; height: 46px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 14px 6px 14px 6px; background: var(--gold-soft); margin-bottom: .4rem; }
.feature .ico svg { width: 26px; height: 26px; }
.feature p { color: var(--ink-soft); font-weight: 600; }
.feature:nth-child(3n+2) { transform: rotate(.8deg); }
.feature:nth-child(3n) { transform: rotate(-.8deg); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ödül fişi */
.receipt-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.receipt {
  background: var(--cream-light); border: 3px solid var(--ink); border-bottom: 0; padding: 1.6rem 1.4rem 2rem; max-width: 380px; margin-inline: auto;
  font-family: var(--font); transform: rotate(2deg); position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 96% 100%, 92% calc(100% - 10px), 88% 100%, 84% calc(100% - 10px), 80% 100%, 76% calc(100% - 10px), 72% 100%, 68% calc(100% - 10px), 64% 100%, 60% calc(100% - 10px), 56% 100%, 52% calc(100% - 10px), 48% 100%, 44% calc(100% - 10px), 40% 100%, 36% calc(100% - 10px), 32% 100%, 28% calc(100% - 10px), 24% 100%, 20% calc(100% - 10px), 16% 100%, 12% calc(100% - 10px), 8% 100%, 4% calc(100% - 10px), 0 100%);
}
.receipt h3 { text-align: center; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; }
.receipt .line { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 2px dashed var(--cream-deep); font-weight: 700; font-size: .95rem; }
.receipt .line span:last-child { text-align: right; }
.receipt .total { font-size: 1.6rem; font-weight: 900; padding-top: .8rem; }
.receipt .thanks { text-align: center; margin-top: 1rem; font-size: .8rem; letter-spacing: .1em; color: var(--ink-soft); }
.receipt .sig { margin-top: .8rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.receipt .sig span { padding: .2rem .6rem; border: 2px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 900; }
@media (max-width: 860px) { .receipt-section .wrap { grid-template-columns: 1fr; } }

/* SSS */
.faq { display: grid; gap: .9rem; max-width: 46rem; }
.faq details { border: 3px solid var(--ink); border-radius: 18px 8px 18px 8px; background: var(--cream-light); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 900; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-weight: 600; }

/* final CTA */
.final { text-align: center; }
.final .sticker { display: inline-block; max-width: 44rem; padding: 2.4rem 2rem; }
.final h2 { margin-bottom: 1rem; }

/* footer */
footer { border-top: 3px solid var(--ink); padding: 2rem 0 3rem; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font-weight: 800; }
footer nav a { color: var(--ink); text-decoration: none; }
footer nav a:hover { color: var(--coral-deep); }

/* ---------- yasal sayfalar ---------- */
.doc { padding: 3rem 0 4rem; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.doc .meta { color: var(--ink-soft); font-weight: 700; margin-bottom: 2rem; }
.doc h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.doc h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.doc p, .doc li { margin-bottom: .7rem; }
.doc ul { padding-left: 1.3rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: .6rem .7rem; border: 2px solid var(--ink); vertical-align: top; }
.doc th { background: var(--gold-soft); }
.doc .callout { margin: 1.4rem 0; }
.doc code { background: var(--cream-deep); padding: .1em .4em; border-radius: 6px; font-size: .9em; }

/* join */
.join { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.join .code { font-size: clamp(2.4rem, 9vw, 4.5rem); letter-spacing: .2em; font-weight: 900; margin: 1rem 0; }

/* hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
  .room, .room .web, .room .dust, .toast { transition: none; }
  .confetti.go i { animation: none; }
}

@media (max-width: 600px) {
  .bubble-wrap { grid-template-columns: 1fr; }
  .bubble-wrap .chef { width: 84px; justify-self: end; margin-top: -1.2rem; }
  .bubble { font-size: 1.1rem; }
}
