/* Sendene tanıtım sayfası. Renkler ve köşe dili uygulama temasıyla (apps/mobile/src/tema.ts) aynı. */
:root {
  --zemin: #faf6f2;
  --kagit: #fcf8f3;
  --yuzey: #f2ede5;
  --cizgi: #e6dfd5;
  --metin: #11100e;
  --metin2: #504b44;
  --soluk: #958375;
  --yesil: #24513f;
  --yesil-koyu: #0d3328;
  --adacayi: #6e7f71;
  --adacayi-zemin: #e8ede7;
  --seftali: #a8693f;  --seftali-zemin: #f6e6da;
  --lavanta: #7a6596;  --lavanta-zemin: #ebe5f2;
  --gok: #4f7393;      --gok-zemin: #e2ebf2;
  --altin: #e0b04a;

  --baslik: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --govde: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-buyuk: 32px;
  --r-kart: 24px;
  --kenar: clamp(20px, 5vw, 72px);
  --genislik: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--zemin); color: var(--metin);
  font-family: var(--govde); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--baslik); margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yesil); outline-offset: 3px; border-radius: 8px; }

/* ---------- üst çubuk ---------- */
.ust {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--kenar); background: var(--zemin); box-shadow: 0 1px 0 var(--cizgi);
}
.ust__logo img { height: 30px; width: auto; }
.ust__menu { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
.ust__menu a { text-decoration: none; color: var(--metin2); }
.ust__menu a:hover { color: var(--yesil); }
.dugme {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
}
.dugme--koyu { background: var(--yesil); color: #fff; }
.dugme--koyu:hover { background: var(--yesil-koyu); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px;
  max-width: var(--genislik); margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--kenar) clamp(56px, 8vw, 110px);
}
.hero h1 { font-size: clamp(54px, 9vw, 112px); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; color: var(--yesil); }
.hero__alt { margin-top: 26px; max-width: 30em; font-size: clamp(17px, 2vw, 20px); color: var(--metin2); }
.hero__not { margin-top: 14px; font-size: 14px; color: var(--soluk); }

.magaza { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.magaza--ortali { justify-content: center; }
.magaza__dugme {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px 0 20px; border-radius: 18px;
  background: var(--metin); color: #fff; text-decoration: none; font-family: var(--baslik); font-weight: 700; font-size: 20px; line-height: 1.1;
}
.magaza__dugme small { display: block; font-family: var(--govde); font-weight: 500; font-size: 12px; opacity: .7; }
.magaza__dugme[aria-disabled="true"] { cursor: default; }
.magaza__dugme--acik { background: #fff; color: var(--yesil-koyu); padding-left: 24px; }

/* sahne: telefon + sohbet */
.sahne { position: relative; min-height: 640px; display: flex; justify-content: flex-end; }
.telefon {
  position: relative; width: min(300px, 70vw); aspect-ratio: 640 / 1384; flex: none;
  border-radius: 46px; padding: 9px; background: #1c1b19;
  box-shadow: 0 40px 80px -24px rgba(36, 81, 63, .45), 0 0 0 1.5px #2f2d2a inset;
}
.telefon img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.telefon--hero { transform: rotate(3deg); margin-right: 4%; }

.sohbet {
  position: absolute; left: 0; bottom: 6%; width: min(360px, 92%); display: grid; gap: 10px; justify-items: start;
}
.balon {
  margin: 0; padding: 14px 18px; border-radius: 22px; font-size: 16px; line-height: 1.4;
  box-shadow: 0 14px 30px -14px rgba(17, 16, 14, .35);
}
.balon--ben { background: var(--adacayi-zemin); color: var(--yesil-koyu); border-bottom-right-radius: 8px; justify-self: end; }
.balon--stilist { background: #fff; border-top-left-radius: 8px; }
.balon-satir { display: flex; align-items: flex-end; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 12px; flex: none; background: #fff; box-shadow: 0 0 0 1px var(--cizgi); }
.yazıyor { display: flex; gap: 5px; padding: 12px 16px; background: #fff; border-radius: 18px; border-top-left-radius: 6px; box-shadow: 0 14px 30px -14px rgba(17, 16, 14, .35); }
.yazıyor i { width: 7px; height: 7px; border-radius: 50%; background: var(--adacayi); animation: nokta 1s infinite ease-in-out; }
.yazıyor i:nth-child(2) { animation-delay: .15s; }
.yazıyor i:nth-child(3) { animation-delay: .3s; }
@keyframes nokta { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.kombinler { display: flex; gap: 10px; }
.kombinler figure { margin: 0; width: 104px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px -14px rgba(17, 16, 14, .4); }
.kombinler img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.kombinler figcaption { padding: 7px 9px 9px; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--metin2); }

/* Tek yükleme anı: soru → yazıyor → cevap → kombinler. Hareket azaltma tercihinde hepsi hazır görünür. */
@media (prefers-reduced-motion: no-preference) {
  .balon--ben, .yazıyor, .balon-satir, .kombinler figure { opacity: 0; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(.2, .9, .3, 1.2); }
  .balon--ben { animation: gel .6s .5s forwards; }
  .yazıyor { animation: gel-git 1.4s 1.5s forwards; }
  .balon-satir { animation: gel .6s 2.7s forwards; }
  .kombinler figure:nth-child(1) { animation: gel .6s 3.3s forwards; }
  .kombinler figure:nth-child(2) { animation: gel .6s 3.5s forwards; }
  .kombinler figure:nth-child(3) { animation: gel .6s 3.7s forwards; }
  .yazıyor { position: relative; }
}
@keyframes gel { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes gel-git { 0% { opacity: 0; transform: translateY(10px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; height: 0; padding: 0; margin: -5px 0; } }
@media (prefers-reduced-motion: reduce) { .yazıyor { display: none; } }

/* ---------- bölümler ---------- */
.bolum { max-width: var(--genislik); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--kenar); }
.bolum--dar { max-width: 820px; }
.bolum__baslik { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); }
.bolum__baslik h2 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; color: var(--yesil); }
.bolum__baslik p { margin-top: 16px; font-size: 19px; color: var(--metin2); }

.ozellik { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 7vw, 96px); margin-bottom: clamp(72px, 10vw, 140px); }
.ozellik--ters { grid-template-columns: auto minmax(0, 1fr); }
.ozellik--ters .ozellik__metin { order: 2; }
.ozellik h3, .magazada h3 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--yesil-koyu); }
.ozellik__metin p, .magazada p { margin-top: 18px; font-size: 18px; color: var(--metin2); max-width: 32em; }

.liste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.liste li { position: relative; padding-left: 30px; color: var(--metin2); font-size: 16.5px; }
.liste li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--yesil); }
.liste li::after {
  content: ""; position: absolute; left: 6px; top: calc(.42em + 3px); width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg);
}

/* Mağazada mısın: geniş yeşil şerit */
.magazada {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-buyuk); color: #fff;
  background: linear-gradient(135deg, #2b5d49, var(--yesil) 55%, var(--yesil-koyu));
  margin-bottom: 20px;
}
.magazada h3 { color: #fff; }
.magazada p { color: rgba(255, 255, 255, .8); }
.magazada__ornek { display: grid; gap: 18px; justify-items: start; }
.magazada__sayi { background: #fff; color: var(--yesil-koyu); border-radius: 26px; padding: 20px 28px; display: grid; }
.magazada__sayi b { font-family: var(--baslik); font-size: clamp(64px, 9vw, 104px); line-height: .9; font-weight: 800; letter-spacing: -0.04em; }
.magazada__sayi span { font-weight: 600; color: var(--metin2); }
.magazada__parcalar { display: flex; gap: 10px; }
.parca { width: 84px; height: 104px; border-radius: 18px; object-fit: cover; background: var(--yuzey); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.magazada .magazada__not { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }

.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.mini__kart { padding: 28px; border-radius: var(--r-kart); display: grid; gap: 10px; align-content: start; }
.mini__kart h4 { font-size: 21px; font-weight: 700; margin-top: 8px; }
.mini__kart p { color: var(--metin2); font-size: 15.5px; }
.mini__kart--hava { background: var(--gok-zemin); color: var(--gok); }
.mini__kart--calistir { background: var(--lavanta-zemin); color: var(--lavanta); }
.mini__kart--topluluk { background: var(--seftali-zemin); color: var(--seftali); }
.mini__kart h4, .mini__kart p { color: var(--metin); }
.mini__kart p { color: var(--metin2); }

/* ---------- nasıl çalışır ---------- */
.bolum--yesil { max-width: none; background: var(--yesil-koyu); color: #fff; }
.bolum--yesil > * { max-width: var(--genislik); margin-left: auto; margin-right: auto; }
.bolum__baslik--acik h2 { color: #fff; }
.adimlar { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: a; }
.adimlar li { position: relative; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.adimlar__no {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--altin); color: var(--yesil-koyu);
  font-family: var(--baslik); font-weight: 800; font-size: 20px; margin-bottom: 18px;
}
.adimlar h3 { font-size: 28px; font-weight: 700; }
.adimlar p { margin-top: 10px; color: rgba(255, 255, 255, .75); max-width: 24em; }

/* ---------- krediler ---------- */
.krediler { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-buyuk); background: var(--kagit); border: 1px solid var(--cizgi); }
.krediler__jeton img { width: clamp(140px, 22vw, 260px); height: auto; filter: drop-shadow(0 28px 32px rgba(36, 81, 63, .28)); transform: rotate(-8deg); }
.krediler h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--yesil); }
.krediler__metin > p { margin-top: 16px; font-size: 18px; color: var(--metin2); max-width: 34em; }
.liste b { color: var(--metin); font-weight: 600; }

/* ---------- SSS ---------- */
.sss { display: grid; gap: 12px; }
.sss details { border-radius: 20px; background: var(--kagit); border: 1px solid var(--cizgi); }
.sss summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after { content: "+"; font-family: var(--baslik); font-size: 28px; line-height: 1; color: var(--yesil); transition: transform .25s; }
.sss details[open] summary::after { transform: rotate(45deg); }
.sss details p { padding: 0 24px 22px; color: var(--metin2); max-width: 40em; }

/* ---------- kapanış + alt ---------- */
.kapanis {
  margin: 0 var(--kenar) clamp(48px, 7vw, 96px); padding: clamp(48px, 8vw, 104px) 24px; text-align: center; border-radius: var(--r-buyuk); color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(127, 196, 163, .35), transparent 40%), linear-gradient(140deg, #2b5d49, var(--yesil-koyu));
  display: grid; justify-items: center; gap: 28px;
}
.kapanis__logo { height: 46px; width: auto; }
.kapanis h2 { font-size: clamp(34px, 5.5vw, 64px); font-weight: 800; }
.alt { background: var(--yesil-koyu); color: rgba(255, 255, 255, .72); font-size: 14px; padding: 44px 0 36px; }
.alt__ic { padding: 0 var(--kenar); display: grid; gap: 32px; }
.alt__ust { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: baseline; }
.alt nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.alt a { text-decoration: none; }
.alt a:hover, .alt a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- yasal sayfalar ---------- */
.yasal-ust { max-width: 760px; margin: 0 auto; padding: 28px var(--kenar) 0; display: flex; justify-content: space-between; align-items: center; }
.yasal-ust img { height: 32px; width: auto; }
.yasal-geri { color: var(--yesil); font-weight: 600; text-decoration: none; }
.yasal-geri:hover { text-decoration: underline; text-underline-offset: 4px; }
.yasal { max-width: 760px; margin: 0 auto; padding: 40px var(--kenar) 72px; }
.yasal h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 800; }
.yasal-tarih { color: var(--soluk); margin: 8px 0 32px; }
.yasal h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.yasal p, .yasal li { color: var(--metin2); line-height: 1.7; }
.yasal p { margin: 0 0 14px; }
.yasal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.yasal a { color: var(--yesil); text-underline-offset: 3px; }
.yasal table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.yasal th, .yasal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--cizgi); color: var(--metin2); }
.yasal th { color: var(--metin); }
main[data-metin]:not(.hazir) { visibility: hidden; }
.doldur { background: #fbeec0; color: #5b4300; padding: 0 4px; border-radius: 4px; }
.yasal-sayfa .alt { margin-top: 24px; }

/* ---------- dar ekranlar ---------- */
@media (max-width: 960px) {
  .ust__menu { display: none; }
  .ust .dugme { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .sahne { min-height: 0; flex-direction: column; align-items: center; gap: 24px; }
  .telefon--hero { margin: 0 auto; transform: rotate(2deg); }
  .sohbet { position: static; width: min(380px, 100%); justify-items: stretch; }
  .balon--ben { justify-self: end; }
  .ozellik, .ozellik--ters { grid-template-columns: 1fr; }
  .ozellik--ters .ozellik__metin { order: 0; }
  .ozellik .telefon { margin: 0 auto; }
  .magazada { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr; }
  .adimlar { grid-template-columns: 1fr; }
  .krediler { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 480px) {
  .kombinler figure { width: calc((100% - 20px) / 3); }
  .magaza { flex-direction: column; }
  .magaza__dugme { width: 100%; justify-content: center; }
}
