/* SocialDiet site — tek stil dosyası. Renkler SPEC §5; brand/tokens.json varsa build.mjs tokens.css üretir ve bunları ezer. */
:root {
  --bg: #F6F4EF;
  --ink: #111111;
  --accent: #1F7A55;
  --accent-soft: #E3F0E9;
  --loss: #E5484D;
  --loss-text: #C53A3F;
  --card: #FFFFFF;
  --muted: #6B6B6B;
  --line: rgba(17, 17, 17, .09);
  --r-card: 20px;
  --r-pill: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- başlık ---------- */
.hdr { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.hdr-in {
  max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 10px 10px 22px;
  box-shadow: 0 10px 30px -18px rgba(17, 17, 17, .35);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 750; font-size: 20px; letter-spacing: -.03em; }
.logo img { height: 28px; width: auto; }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.logo-dot::after { content: ""; position: absolute; inset: 6px 6px 6px 9px; border-radius: 0 999px 999px 0; background: var(--bg); }
.logo-word b { color: var(--accent); font-weight: inherit; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: #3c3c3c; }
.nav a:hover { color: var(--ink); }
.lang { font-size: 14px; text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: var(--r-pill); border: 0;
  background: var(--ink); color: #fff; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(17, 17, 17, .18); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn .soon { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 4px 8px; border-radius: 999px; }
.btn.ghost .soon { background: var(--accent-soft); color: var(--accent); }
.apple { width: 18px; height: 18px; fill: currentColor; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); font-weight: 800; }
.hero h1 .quiet { color: #a7a39a; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #3d3d3d; max-width: 34ch; margin: 24px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.fine b { color: var(--ink); font-weight: 600; }

/* telefon maketi */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.stage::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(31, 122, 85, .18), rgba(31, 122, 85, 0) 65%);
}
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 48px; background: #0d0d0d; padding: 11px;
  box-shadow: 0 50px 80px -40px rgba(17, 17, 17, .55), inset 0 0 0 2px #2a2a2a;
  transform: rotate(-3deg); transition: transform 1s var(--ease);
}
.phone:hover { transform: rotate(0); }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
.island { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #0d0d0d; border-radius: 999px; z-index: 5; }
.feed { position: absolute; inset: 0; padding: 50px 14px 70px; display: flex; flex-direction: column; gap: 10px; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.feed-top { display: flex; justify-content: space-between; align-items: center; font: 700 17px/1 var(--font); }
.feed-top .ic { display: flex; gap: 8px; }
.feed-top .ic i { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #222; display: block; }
.stories { display: flex; gap: 8px; }
.stories i { width: 42px; height: 42px; border-radius: 50%; display: block; background: conic-gradient(#f2b84b, #e5484d, #b44bd8, #f2b84b); padding: 2px; }
.stories i::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: #e9e5dc; border: 2px solid #fff; }
.post { border-radius: 14px; overflow: hidden; background: #f3f1ec; }
.post-h { display: flex; align-items: center; gap: 8px; padding: 8px; font-size: 11px; font-weight: 600; }
.post-h i { width: 22px; height: 22px; border-radius: 50%; background: #d7d2c7; display: block; }
.post-h em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 9px; padding: 3px 6px; border-radius: 6px; }
.post-img { height: 150px; }
.g1 { background: linear-gradient(135deg, #f7d9a8, #e9a37d); }
.g2 { background: linear-gradient(135deg, #b9d8c6, #6aa58a); }
.g3 { background: linear-gradient(135deg, #c8cff0, #8b97d6); }
.g4 { background: linear-gradient(160deg, #2b2b2b, #575757); }
.g5 { background: linear-gradient(160deg, #e5484d, #f29d6b); }
.g6 { background: linear-gradient(160deg, #6b4bd8, #c04bd8); }
.reels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.reel { height: 118px; border-radius: 10px; position: relative; }
.reel::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent rgba(255, 255, 255, .9); }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--loss-text); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: #fff; border-top: 1px solid #eee; display: flex; justify-content: space-around; align-items: center; padding-bottom: 8px; z-index: 3; }
.tabbar i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #222; display: block; transition: opacity .5s, transform .5s var(--ease); }
.tabbar i.reels-tab { border-color: var(--loss); }
.feed.after { opacity: 0; transform: translateY(18px); }
.phone[data-state="after"] .feed.before { opacity: 0; transform: translateY(-18px); }
.phone[data-state="after"] .feed.after { opacity: 1; transform: none; }
.phone[data-state="after"] .tabbar i.reels-tab { opacity: 0; transform: scale(.4); width: 0; border-width: 0; }
.dm { display: flex; align-items: center; gap: 10px; background: var(--accent-soft); color: var(--accent); border-radius: 14px; padding: 10px 12px; font-size: 12px; font-weight: 600; }
.dm i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: block; }
.badges { position: absolute; inset: 0; pointer-events: none; }
.badge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 30px -14px rgba(17, 17, 17, .35); opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.badge::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.badge.b1 { top: 18%; left: -6%; }
.badge.b2 { top: 46%; right: -10%; }
.badge.b3 { bottom: 16%; left: -2%; }
.stage[data-state="after"] .badge { opacity: 1; transform: none; }
.stage[data-state="after"] .badge.b2 { transition-delay: .12s; }
.stage[data-state="after"] .badge.b3 { transition-delay: .24s; }
.toggle { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 10px 24px -14px rgba(17, 17, 17, .4); z-index: 6; }
.toggle button { border: 0; background: transparent; font: 600 14px/1 var(--font); padding: 10px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- bölümler ---------- */
section.s { padding: 110px 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.s h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; max-width: 18ch; }
.s .sub { font-size: 19px; color: #444; max-width: 52ch; margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.card { background: var(--card); border-radius: var(--r-card); padding: 28px; border: 1px solid var(--line); }
.card h3 { font-size: 21px; margin: 18px 0 8px; letter-spacing: -.015em; }
.card p { color: #4a4a4a; font-size: 16px; }
.num { font: 800 15px/1 var(--font-round); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fbeaea; color: var(--loss); }
.ico svg { width: 22px; height: 22px; }

/* problem: sonsuz akış */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.endless { height: 420px; border-radius: 28px; background: #111; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.endless-col { position: absolute; top: 0; width: 30%; display: flex; flex-direction: column; gap: 10px; animation: drift 14s linear infinite; }
.endless-col:nth-child(1) { left: 4%; }
.endless-col:nth-child(2) { left: 35%; animation-duration: 10s; }
.endless-col:nth-child(3) { left: 66%; animation-duration: 17s; }
.endless-col i { display: block; height: 150px; border-radius: 14px; opacity: .9; }
.endless.paused .endless-col { animation-play-state: paused; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.calc { background: var(--card); border-radius: 24px; padding: 30px; border: 1px solid var(--line); margin-top: 34px; }
.calc label { font-weight: 600; display: block; margin-bottom: 14px; }
.calc output { font: 800 clamp(54px, 7vw, 80px)/1 var(--font-round); font-variant-numeric: tabular-nums; letter-spacing: -.04em; color: var(--loss); display: block; }
.calc .unit { color: var(--muted); font-size: 15px; margin-top: 6px; }
.calc input[type=range] { width: 100%; accent-color: var(--ink); margin: 6px 0 22px; }
.calc .note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* platformlar */
.plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.plat { background: var(--card); border-radius: var(--r-card); padding: 22px 22px 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.plat-h { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.plat-h i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 800 15px/1 var(--font-round); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.chip.off { background: #fbeaea; color: #b4262b; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.chip.on { background: var(--accent-soft); color: var(--accent); }
.disclaim { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* fiyat */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; align-items: start; }
.plan { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; position: relative; overflow: hidden; }
.plan::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(rgba(31, 122, 85, .7), transparent 70%); }
.plan .pill { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 40px; margin: 18px 0 6px; }
.plan .then { color: rgba(255, 255, 255, .72); font-size: 16px; }
.plan .prices { display: flex; gap: 12px; margin: 26px 0; }
.plan .pr { flex: 1; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 16px; }
.plan .pr b { display: block; font: 800 28px/1.1 var(--font-round); }
.plan .pr span { font-size: 13px; color: rgba(255, 255, 255, .65); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; position: relative; z-index: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: #7fd1a8; font-weight: 800; }
.plan .ph { font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 20px; }
.timeline { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.timeline h3 { font-size: 24px; margin-bottom: 18px; }
.tl { list-style: none; padding: 0; margin: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl li { position: relative; padding: 0 0 22px 40px; }
.tl li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); }
.tl li:last-child { padding-bottom: 0; }
.tl b { display: block; font-size: 16px; }
.tl span { color: #555; font-size: 15px; }

/* gizlilik */
.privacy { background: var(--ink); color: #fff; border-radius: 36px; margin: 0 16px; }
.privacy .sub { color: rgba(255, 255, 255, .72); }
.privacy .kicker { color: #7fd1a8; }
.pv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
.pv { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-card); padding: 26px; background: rgba(255, 255, 255, .03); }
.pv h3 { font-size: 20px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.pv h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #7fd1a8; flex: none; }
.pv p { color: rgba(255, 255, 255, .72); font-size: 16px; }

/* SSS */
.faq { margin-top: 44px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 650; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: #444; max-width: 66ch; }

/* kapanış */
.closing { text-align: center; }
.closing h2 { margin: 0 auto; }
.closing .sub { margin: 18px auto 34px; }
.closing .cta-row { justify-content: center; }

/* alt bilgi */
.ftr { padding: 64px 0 48px; border-top: 1px solid var(--line); margin-top: 40px; font-size: 15px; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.ftr h4 { margin: 0 0 12px; font-size: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; color: #444; }
.ftr a:hover { color: var(--ink); }
.ftr .small { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 46ch; }

/* yasal sayfalar */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 40px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-bottom: 12px; }
.doc .upd { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 38px 0 12px; letter-spacing: -.015em; }
.doc p, .doc li { color: #333; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; margin: 22px 0; }
.mail { font-weight: 700; color: var(--accent); }

/* ---------- görünme hareketi ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .phone { transform: none; }
}

/* ---------- duyarlı ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero-grid, .problem-grid, .price-wrap { grid-template-columns: 1fr; }
  .stage { min-height: 600px; }
  .cards, .plats { grid-template-columns: 1fr; }
  .pv-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .badge.b1 { left: 0; }
  .badge.b2 { right: 0; }
  section.s { padding: 80px 0; }
}
@media (max-width: 520px) {
  .hdr-in { padding-left: 16px; gap: 10px; }
  .hdr .btn.sm { display: none; }
  .phone { width: 270px; height: 560px; }
  .post-img { height: 120px; }
  .reel { height: 100px; }
  .plan .prices { flex-direction: column; }
  .ftr-grid { grid-template-columns: 1fr; }
  .privacy { margin: 0 8px; border-radius: 28px; }
}
[data-d="1"] { --d: .08s; }
[data-d="2"] { --d: .16s; }
