/* Takoz — uygulamanın beton tasarım dili (src/theme.ts) */
:root {
  --bg: #e4e0d9;
  --surface: #efece6;
  --text: #1f1f1f;
  --muted: #6b6760;
  --faint: #9a958c;
  --line: #cfcac1;
  --night: #141414;
  --night-2: #1b1b1a;
  --paper: #f2efe9;
  --night-muted: #8a857c;
  --night-line: #2a2826;
  --accent: #c8873a;
  --radius: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Beton dokusu (uygulamadaki gibi çok hafif) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/assets/noise.png");
  opacity: 0.05;
  pointer-events: none;
  z-index: 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--text); padding: 8px 12px; z-index: 200; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.dark { background: var(--night); color: var(--paper); }

/* Tipografi */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.dark .eyebrow { color: var(--night-muted); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin: -2px 12px 0 0;
}
.display { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.h3 { font-size: 22px; letter-spacing: -0.01em; }
.body { color: var(--muted); max-width: 560px; }
.body-lg { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 28px; max-width: 680px; }
.dark .body, .dark .body-lg { color: var(--night-muted); }

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--paper); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--text); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-ghost-light { color: var(--paper); border-color: rgba(242, 239, 233, 0.28); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn-small { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* Menü */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--paper);
  transition: background-color 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(20, 20, 20, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--night-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo img { width: 104px; height: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242, 239, 233, 0.72); }
.nav-links a:hover { color: var(--paper); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 50%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, 0.82) 0%, rgba(14, 14, 14, 0.35) 55%, rgba(14, 14, 14, 0) 100%),
    linear-gradient(0deg, rgba(14, 14, 14, 0.7) 0%, rgba(14, 14, 14, 0) 45%);
}
.hero-content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero h1 { font-size: clamp(52px, 9vw, 120px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 500; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 480px; margin-top: 28px; color: rgba(242, 239, 233, 0.78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 239, 233, 0.6); }
.hero-facts li::before { content: "·"; color: var(--accent); margin-right: 10px; }
@media (max-width: 640px) {
  .hero-bg img { object-position: 78% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.55) 55%, rgba(14, 14, 14, 0.2) 100%); }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Bölümler */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .body { margin-top: 18px; }

/* Nasıl çalışır */
.how .wrap { display: grid; grid-template-columns: 1fr; gap: 0 64px; }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-size: 13px; color: var(--accent); grid-row: span 2; padding-top: 6px; }
.step h3 { font-size: 26px; letter-spacing: -0.01em; }
.step p { color: var(--muted); max-width: 460px; }
.how-figure { margin-top: 48px; border-radius: var(--radius); overflow: hidden; }
.how-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 960px) {
  .how .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .how .section-head { grid-column: 1; }
  .steps { grid-column: 1; }
  .how-figure { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* Anlar */
.moment-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.moment { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-2); }
.moment img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.moment:hover img { transform: scale(1.03); }
.moment figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 22px 20px;
  font-size: 15px;
  color: rgba(242, 239, 233, 0.75);
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0));
}
.moment figcaption strong { display: block; font-weight: 500; font-size: 19px; color: var(--paper); margin-bottom: 2px; }
.m-tall img { aspect-ratio: 4 / 5; }
@media (min-width: 960px) {
  .moment-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
  .moment img, .m-tall img { aspect-ratio: auto; }
  .m-tall { grid-row: span 2; }
  .m-wide { grid-column: span 2; }
}

/* Uygulama */
.phones { display: flex; gap: clamp(12px, 3vw, 40px); justify-content: center; align-items: flex-start; margin: 0 auto; max-width: 980px; }
.phone { flex: 1 1 0; max-width: 300px; }
.phone img {
  width: 100%;
  border-radius: clamp(18px, 3vw, 36px);
  border: clamp(4px, 0.8vw, 8px) solid #0e0e0e;
  background: #0e0e0e;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.45);
}
.phone figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.phone-raise { transform: translateY(-28px); }
@media (max-width: 640px) {
  .phones { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .phone { flex: 0 0 64%; scroll-snap-align: center; }
  .phone-raise { transform: none; }
}
.widget-row { display: grid; gap: 32px; align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.widget-text .body { margin-top: 14px; }
.widget-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.widget-pair img { width: 100%; border-radius: clamp(14px, 2vw, 24px); box-shadow: 0 24px 48px -28px rgba(20, 20, 20, 0.5); }
@media (min-width: 960px) { .widget-row { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.feature-list li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.feature-list h3 { font-size: 19px; margin-bottom: 8px; }
.feature-list p { color: var(--muted); font-size: 15px; }

/* İki sütun */
.split { display: grid; gap: 48px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; object-fit: cover; }
.split-text .body { margin-top: 20px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split-reverse .split-media { order: 0; }
}
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); }
.dark .checks li { color: var(--night-muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 2px; background: var(--accent); }
.checks a { color: inherit; }

.specs { margin: 32px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.specs dd { margin: 0; }

/* Satın al */
.buy { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-card { display: grid; gap: 40px; align-items: center; }
.buy-media { border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.buy-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.02em; }
.price small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.qty { display: flex; align-items: center; gap: 4px; margin: 32px 0 16px; }
.qty-btn { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; font-size: 20px; color: var(--text); cursor: pointer; }
.qty-btn:hover { border-color: var(--text); }
.qty output { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 16px; }
.qty-total { margin-left: auto; color: var(--muted); }
.qty-total strong { color: var(--text); font-weight: 500; }
.note { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.fine { margin-top: 18px; font-size: 13px; color: var(--faint); }
.box-row { display: grid; gap: 40px; align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.box-media { border-radius: var(--radius); overflow: hidden; }
@media (min-width: 960px) {
  .buy-card { grid-template-columns: 1.05fr 1fr; gap: 80px; }
  .box-row { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* SSS */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 19px; display: inline; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 20px; color: var(--accent); transition: transform 200ms ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 40px 26px 0; color: var(--muted); max-width: 680px; }

/* Son çağrı */
.final { padding: clamp(96px, 14vw, 180px) 0; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.final-mark { width: 56px; height: 56px; border-radius: 14px; }

/* Alt bilgi */
.footer { border-top: 1px solid var(--night-line); padding: 56px 0 48px; font-size: 14px; color: var(--night-muted); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-grid ul { display: grid; gap: 10px; }
.footer a { color: var(--night-muted); text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-tag { margin-top: 14px; }
.footer-fine { margin-top: 8px; font-size: 12px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Yasal sayfalar */
.legal { padding: 140px 0 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.015em; margin-bottom: 12px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 48px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: #3d3a35; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .fill { background: rgba(200, 135, 58, 0.16); padding: 0 4px; border-radius: 3px; }
.legal-nav { position: fixed; top: 0; left: 0; right: 0; background: var(--night); z-index: 50; }

/* Görünüm animasyonu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .moment img { transition: none; }
}
