/* ==================================================================
   DİJİTAL MENÜ · dmenu.tr ana sayfası
   Marka: koyu kahve #2B211B, krem #F3E9DA, turuncu #E8743B
   Yazı: Fraunces (başlık), Space Mono (etiket), Inter (metin)
   ================================================================== */
:root {
  --ink: #2B211B;
  --ink-2: #3A2D25;
  --cream: #F3E9DA;
  --paper: #FBF6EE;
  --orange: #E8743B;
  --orange-ink: #B9521F;
  --muted: rgba(43, 33, 27, .7);
  --muted-on-dark: rgba(243, 233, 218, .74);
  --line: rgba(43, 33, 27, .14);
  --wa: #1FA855;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; margin: 0; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--orange); color: var(--ink); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 14px;
  font: 700 12.5px/1.2 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--dark { color: var(--orange-ink); }
h2 { font-size: clamp(32px, 7.5vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.sub { margin: 14px 0 0; max-width: 620px; color: var(--muted); font-size: 17.5px; }

/* ---------- marka ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1.5px rgba(243, 233, 218, .18); }
.brand__word { display: grid; line-height: 1; }
.brand__dij { font: 700 10.5px/1 var(--mono); letter-spacing: .3em; }
.brand__menu { font: 800 25px/.95 var(--serif); letter-spacing: -.01em; margin-top: 1px; }
/* logo C: ü'nün noktaları turuncu kareler */
.u { position: relative; display: inline-block; }
.u::before, .u::after { content: ''; position: absolute; top: .02em; width: .17em; height: .17em; border-radius: .04em; background: var(--orange); }
.u::before { left: .08em; }
.u::after { right: .08em; }

/* ---------- üst şerit ---------- */
.top {
  background: var(--ink);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 6px;
}
@media (min-width: 640px) { .top { padding-inline: max(16px, calc((100% - 1100px) / 2)); } }
.top__nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.top__nav a { text-decoration: none; padding: 8px 10px; border-radius: 999px; color: var(--muted-on-dark); }
.top__nav a:hover { color: var(--cream); }
.top__nav a.top__cta { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243, 233, 218, .35); padding-inline: 14px; }
@media (max-width: 520px) { .top__nav a[href="#nasil"] { display: none; } }

/* ---------- açılış ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  gap: 8px;
  padding: 40px 16px 56px;
  overflow: hidden;
}
.hero::after {   /* alttaki yumuşak geçiş: fincan tabağı gibi */
  content: '';
  position: absolute;
  left: 50%; bottom: -1px;
  width: 140%; height: 46px;
  transform: translateX(-50%);
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__text { position: relative; z-index: 1; max-width: 640px; }
.hero h1 {
  font-size: clamp(46px, 13.5vw, 92px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.025em;
  font-variation-settings: 'opsz' 144;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.lead { margin: 20px 0 0; font-size: clamp(18px, 4.6vw, 21px); line-height: 1.5; color: var(--muted-on-dark); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--orange); color: var(--ink); }
.btn--accent:hover { background: #F08550; }
.btn--ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243, 233, 218, .4); }
.btn--ghost:hover { background: rgba(243, 233, 218, .08); }

.hero__art { position: relative; z-index: 1; display: grid; place-items: center; margin-top: 8px; }
.cup { position: relative; width: min(300px, 72vw); aspect-ratio: 1; }
.cup__svg { width: 100%; height: 100%; }
.cup__steam { position: absolute; inset: 0; pointer-events: none; }
.js .cup__static { display: none; }
.cup__steam i {
  position: absolute;
  left: var(--x);
  top: 40%;
  width: 4.5%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--orange);
  opacity: 0;
  animation: rise var(--t) steps(6, end) var(--d) infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 1; }
  50% { transform: translate(var(--dx), -330%); opacity: .6; }
  100% { transform: translate(0, -660%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cup__steam { display: none; } .js .cup__static { display: inline; } }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 72px max(16px, calc((100% - 1100px) / 2)) 110px; min-height: min(760px, 88vh); }
  .hero__art { margin-top: 0; }
  .cup { width: 380px; }
}

/* ---------- örnekler ---------- */
.examples { padding: 56px 0 72px; }
.ex-grid { width: min(1100px, 100% - 32px); margin: 36px auto 0; display: grid; gap: 24px; }
@media (min-width: 900px) { .ex-grid { grid-template-columns: 1fr 1fr; } }
.ex {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(43, 33, 27, .35);
  overflow: hidden;
  display: grid;
}
.phone {
  --pw: 258px;
  --sc: .688;   /* 258 / 375 */
  position: relative;
  width: calc(var(--pw) + 20px);
  height: calc(812px * var(--sc) + 20px);
  border: 10px solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  background: var(--ex);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 30px 50px -20px rgba(0, 0, 0, .45);
}
@media (min-width: 400px) { .phone { --pw: 300px; --sc: .8; } }
.phone iframe {
  display: block;
  width: 375px;
  height: 812px;
  border: 0;
  transform: scale(var(--sc));
  transform-origin: 0 0;
  background: var(--ex);
}
.ex__stage { display: grid; justify-items: center; padding: 28px 12px; background: var(--ex); }
.phone__try {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 22px;
  border: 0;
  background: linear-gradient(transparent 70%, rgba(0, 0, 0, .35));
  cursor: pointer;
}
.phone__try span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: 600 14.5px var(--sans);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5);
}
.phone.is-live .phone__try { display: none; }
.ex__body { padding: 26px 22px 24px; }
.ex h3 { font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.ex__kind { margin: 2px 0 14px; color: var(--muted); }
.swatches { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 6px; }
.swatches li { width: 26px; height: 26px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1.5px rgba(43, 33, 27, .16); }
.theme { margin: 0; display: grid; gap: 10px; }
.theme div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.theme dt { font: 700 11.5px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.theme dd { margin: 0; }
.ex__open { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--orange-ink); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- neler var ---------- */
.features { padding: 24px 0 80px; }
.feat { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 14px; }
@media (min-width: 640px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feat { grid-template-columns: repeat(4, 1fr); } }
.feat li { padding: 22px 20px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.feat h3 { font-size: 21px; font-weight: 700; margin: 14px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
/* piksel ikon: logodaki buhar kareleri */
.px { display: block; width: 30px; height: 30px; position: relative; }
.px::before, .px::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); }
.px::before { left: 0; bottom: 0; box-shadow: 11px -11px 0 rgba(232, 116, 59, .6), 21px 0 0 rgba(232, 116, 59, .85); }
.px::after { left: 10px; top: 0; opacity: .3; }
.feat li:nth-child(2n) .px::before { box-shadow: 11px 0 0 rgba(232, 116, 59, .6), 11px -11px 0 rgba(232, 116, 59, .85); }
.feat li:nth-child(3n) .px::after { left: 21px; }

/* ---------- nasıl çalışır ---------- */
.how { background: var(--ink); color: var(--cream); padding: 72px 0; }
.how h2 { max-width: 640px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { border-top: 1.5px solid rgba(243, 233, 218, .2); padding-top: 16px; }
.steps__n { font: 700 14px var(--mono); color: var(--orange); }
.steps h3 { font-size: 24px; margin: 8px 0 6px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted-on-dark); font-size: 16px; }

/* ---------- iletişim ---------- */
.contact { padding: 76px 0 84px; background: var(--cream); }
.contact h2 { font-size: clamp(36px, 9vw, 64px); }
.channels { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .channels { grid-template-columns: 1fr 1fr; } }
.ch {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ch:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.ch:active { transform: scale(.98); }
.ch svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.ch span { display: grid; }
.ch b { font-weight: 700; font-size: 17.5px; }
.ch small { color: var(--muted); font-size: 14.5px; }
.ch--wa { background: var(--ink); color: var(--cream); box-shadow: none; }
.ch--wa svg { background: var(--wa); color: #fff; }
.ch--wa small { color: var(--muted-on-dark); }

/* ---------- alt bilgi ---------- */
.foot { background: var(--ink); color: var(--cream); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; gap: 10px; justify-items: start; }
.foot p { margin: 0; color: var(--muted-on-dark); }
.foot__small { font: 400 13px var(--mono); }

/* ---------- yüzen WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .4);
  transform: scale(0);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-on { transform: scale(1); }

/* ---------- belirme ---------- */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-rv].rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; }
  .wa-float { transition: none; }
}
