/* etkiniko.com — tek ortak stil. Uygulama teması: lib/theme.ts (arka plan #0D0D1A, yüzey #161625, accent #3FCFA8). */
/* Cloudflare bu dosyayı 4 saat önbelleğe alıyor: değiştirince tüm sayfalardaki styles.css?v=N'yi artır. */
/* Fontlar: tek yükleme noktası burası (self-host woff2, /fonts). Başlık Clash Display, metin General Sans (Fontshare), wordmark Darker Grotesque (Google Fonts, OFL). */
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Darker Grotesque"; src: url("/fonts/darker-grotesque-800-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Darker Grotesque"; src: url("/fonts/darker-grotesque-800-latin-ext.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0D0D1A;
  --surface: #161625;
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-strong: #F7F7FA;
  --accent: #3FCFA8;
  --radius: 16px;
  --font-body: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Clash Display", var(--font-body);
  --font-wordmark: "Darker Grotesque", var(--font-body);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text-secondary);
  font: 16px/1.65 var(--font-body);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.site-header,
.site-footer,
main {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand span { font-family: var(--font-wordmark); font-weight: 800; letter-spacing: 0.005em; color: var(--text-strong); line-height: 1; }
.brand span { font-size: 26px; }

.lang {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

main { flex: 1; padding-bottom: 48px; }

/* Ana sayfa (/ ve /en) — daha geniş kolon */
.is-home .site-header,
.is-home .site-footer,
.is-home main { max-width: 1120px; }
.home { padding-top: 16px; }
.home h2 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* align-items: center → metin, kademeli iki telefonun ortak dikey ortasında */
.hero { display: grid; gap: 48px; align-items: center; padding: 32px 0 72px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0 96px; } }
.hero-copy { text-align: center; }
@media (min-width: 900px) { .hero-copy { text-align: left; } }
.hero-title {
  margin: 0 0 20px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero-tag { max-width: 520px; margin: 0 auto 32px; font-size: 18px; }
@media (min-width: 900px) { .hero-tag { margin-left: 0; } }

/* App Store: <body data-app-live="false|true"> tek anahtar. false → "yakında", true → resmi rozet. */
.store-slot { display: flex; justify-content: center; min-height: 52px; align-items: center; }
.hero .eyebrow { margin-bottom: 16px; }
@media (min-width: 900px) { .store-slot { justify-content: flex-start; } }
[data-app-live="false"] .store-badge,
[data-app-live="true"] .store.is-pending { display: none; }
.store-badge { display: inline-block; border-radius: 10px; line-height: 0; }
.store-badge img { height: 52px; width: auto; }
.store {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.store.is-pending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.store.is-pending svg { flex: none; color: var(--text); }

/* Telefon çerçevesi (CSS), ekran oranı iPhone 1179x2556 */
.hero-visual { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 28px); }
.phone {
  position: relative;
  flex: none;
  width: clamp(140px, 36vw, 250px);
  padding: clamp(6px, 1.4vw, 10px);
  border-radius: clamp(28px, 7vw, 46px);
  background: #1E1E30;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 80px -20px rgba(63, 207, 168, 0.25);
}
.phone + .phone { margin-top: clamp(40px, 9vw, 72px); }
.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
  border-radius: clamp(22px, 5.6vw, 37px);
  background: var(--bg);
}
.phone-screen::before { /* Dynamic Island */
  content: "";
  position: absolute;
  z-index: 2;
  top: 3.2%;
  left: 50%;
  width: 30%;
  height: 3.6%;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Ekran görüntüsü yoksa yer tutucu (img onerror → .is-empty) */
.phone-screen.is-empty picture { display: none; }
.phone-screen.is-empty {
  background: radial-gradient(120% 60% at 50% 0%, rgba(63, 207, 168, 0.18), transparent 60%), var(--surface);
}
.phone-screen.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/logo.svg") center / 34% no-repeat;
  opacity: 0.35;
}

/* Özellikler */
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 36px; }
/* Sabit sütun sayısı (içeriğe bırakılmaz): <640 → 1, 640–1023 → 2, ≥1024 → 3 (6 kart = 3x2) */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) and (max-width: 1023.98px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { /* grid öğesi: satır içinde eşit yükseklik (align-items varsayılan stretch) */
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.feature-icon {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(63, 207, 168, 0.12);
  color: var(--accent);
}
.feature h3 { margin: 0 0 8px; color: var(--text); font-size: 18px; font-weight: 600; line-height: 1.3; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Mekanlar için */
.venues-cta {
  display: grid;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(63, 207, 168, 0.25);
  border-radius: 28px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(63, 207, 168, 0.12), transparent 60%), var(--surface);
}
@media (min-width: 900px) { .venues-cta { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.venues-cta p.lead { margin: 16px 0 28px; font-size: 17px; }
.checks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; }
.checks svg { margin-top: 2px; color: var(--accent); }
.checks strong { color: var(--text); font-weight: 600; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s;
}
.button:hover { filter: brightness(1.08); text-decoration: none; }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Metin sayfaları */
.doc h1 { margin: 16px 0 8px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 6vw, 34px); line-height: 1.2; }
.doc h2 { margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; }
.doc h3 { margin: 28px 0 8px; color: var(--text); font-size: 18px; line-height: 1.35; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .lead { font-size: 18px; }
.meta { color: var(--text-muted); font-size: 14px; }
.note {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14px;
}
h2[id], h3[id] { scroll-margin-top: 16px; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer span { margin-left: auto; }
.site-footer .social { display: inline-flex; align-items: center; color: var(--text-secondary); }
.site-footer .social:hover { color: var(--accent); }

/* Mekan başvuru formu (/mekanlar, /venues) */
.features { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 24px 0 16px; }
.features li { margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.free-note { color: var(--accent); font-weight: 600; }

.apply-card {
  --field-bg: var(--bg);
  --field-border: rgba(255, 255, 255, 0.14);
  --danger: #FF7A7A;
  --focus-ring: 0 0 0 3px rgba(63, 207, 168, 0.28);
  position: relative;
  max-width: 560px;
  margin: 40px auto 0;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
@media (min-width: 600px) { .apply-card { padding: 32px; } }
.apply-card [hidden] { display: none !important; }
.doc .apply-card h2 { margin: 0 0 4px; padding-top: 0; border-top: 0; }
.apply-card .form-hint { margin: 0 0 24px; color: var(--text-muted); font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label, .field legend { padding: 0; color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.4; }
.field legend { margin-bottom: 8px; }
.req { color: var(--accent); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Metin alanları ve select */
.input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* iOS odakta yakınlaştırmasın */
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { min-height: 128px; resize: vertical; }
.input::placeholder { color: rgba(255, 255, 255, 0.4); opacity: 1; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
select.input:invalid, select.input option[value=""] { color: rgba(255, 255, 255, 0.4); }
select.input option { color: var(--text); background: var(--surface); }

/* Sabit ön ekli alan (+90, @) */
.affix {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--field-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.affix:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.affix-text { display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--text-muted); font-size: 16px; user-select: none; }
.affix .input { min-height: 46px; padding-left: 6px; border: 0; background: transparent; box-shadow: none; }
.affix .input:focus { box-shadow: none; }

/* Çipler: gerçek radio/checkbox görünmez ama odaklanabilir */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--field-bg);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.3;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover span { border-color: rgba(255, 255, 255, 0.28); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--bg); font-weight: 600; }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* KVKK onay kutusu */
.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--text-secondary); font-size: 15px; line-height: 1.5; cursor: pointer; }
.box {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  background: var(--field-bg);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.box::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bg);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transition: transform 0.12s;
}
.box:checked { border-color: var(--accent); background: var(--accent); }
.box:checked::before { transform: scale(1); }
.box:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hata durumları */
.field.has-error .input,
.field.has-error .affix,
.field.has-error .chip span,
.field.has-error .box { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 14px; line-height: 1.4; }
.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 122, 0.45);
  border-radius: 12px;
  background: rgba(255, 122, 122, 0.1);
  color: var(--text);
  font-size: 15px;
}
/* Bilgi (ör. DUPLICATE_PHONE — başvuru zaten ulaşmış): kırmızı değil, accent */
.form-error.is-info { border-color: rgba(63, 207, 168, 0.45); background: rgba(63, 207, 168, 0.1); }

/* Turnstile + gönder */
.turnstile { min-height: 65px; }
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s;
}
.submit:hover { filter: brightness(1.08); }
.submit:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.submit:disabled { cursor: default; filter: none; opacity: 0.75; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(13, 13, 26, 0.3); border-top-color: var(--bg); border-radius: 50%; animation: spin 0.7s linear infinite; }
.submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* Başarı */
.success { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0 8px; text-align: center; outline: none; }
.success-icon { display: grid; place-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(63, 207, 168, 0.15); color: var(--accent); }
.doc .success h3 { margin: 0; font-size: 20px; }
.success p { max-width: 400px; margin: 0; color: var(--text-secondary); }
