/* Afisto sitesinin ortak parçaları: üst çubuk, alt etiket, ses, katmanlar, oynatıcı. */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
:root {
  --bg: #0d0d10;
  --surface: #17171c;
  --surface-2: #202027;
  --line: rgba(255, 255, 255, 0.12);
  --field: #74747f; /* form alanı kenarı: zemine 3:1 üstü */
  --text: #f2f2f4;
  --muted: #b4b4be;
  --sun: #ffd02b;
  --ink: #121214;
  --r: 16px;
  --pill: 44px;
  --head: 64px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
img, video { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tek ekran sahnesi */
.screen { position: fixed; inset: 0; overflow: hidden; }

/* ---------- üst çubuk ---------- */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.top {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: var(--head);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; justify-self: start; }
.top-actions { display: flex; gap: 8px; justify-self: end; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--pill); padding: 0 18px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.pill--sun { background: var(--sun); color: var(--ink); }
.pill--sun:hover { background: #ffdb5c; }
.pill--glass { color: var(--text); }
.pill--white { background: #fff; color: var(--ink); }
.pill--wa { background: #25d366; color: #fff; }
.menu-ic { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; display: inline-block; }

.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; }
.seg-btn {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  min-width: 76px; height: 36px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.seg-btn.is-on { color: var(--ink); }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: #fff; transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.2, 1);
}
.seg[data-view="list"] .seg-thumb { transform: translateX(100%); }

/* başlık bloğu: ad zaten logoda, burada tek satır + iki düğme */
.intro { position: absolute; z-index: 15; }
.intro h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.005em; word-spacing: 0.06em; }
.intro p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.intro-cta { display: flex; gap: 8px; margin-top: 18px; }

/* alt şerit: odaktaki işin etiketi + ses */
.dock {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px calc(22px + env(safe-area-inset-bottom)); pointer-events: none;
}
.dock > * { pointer-events: auto; }
.focus {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; max-width: min(420px, 100%);
  padding: 6px 18px 6px 6px; border-radius: 999px; cursor: pointer; text-align: left;
}
.focus-dot {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 15px;
}
.focus-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.focus-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.focus-tag { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sound {
  position: absolute; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.sound svg { width: 20px; height: 20px; }
.sound .s-on { display: none; }
.sound[aria-pressed="true"] .s-on { display: block; }
.sound[aria-pressed="true"] .s-off { display: none; }

/* ---------- katman: Paketler · Teklif al · SSS (Motivo'nun yan paneli; telefonda alttan tam boy) ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.sheet-layer { position: fixed; inset: 0; z-index: 71; overflow: hidden; pointer-events: none; }
.sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); pointer-events: auto; visibility: hidden;
  background: #141418; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.2, 1), visibility 0s 0.4s;
  display: flex; flex-direction: column; touch-action: pan-y; -webkit-user-select: text; user-select: text;
}
body.sheet-open .scrim { opacity: 1; pointer-events: auto; }
body.sheet-open .sheet { transform: none; visibility: visible; transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.2, 1); }
.sheet-head { flex: none; height: var(--head); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.tabs { flex: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 20px; padding: 4px; border-radius: 999px; background: var(--surface); }
.tab { position: relative; z-index: 1; border: 0; background: none; height: 40px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.tab.is-on { color: var(--ink); }
.tab-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--sun); transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.2, 1); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }
.panel { display: none; }
.panel.is-on { display: block; animation: panel-in 0.3s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.panel-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.panel-sub { color: var(--muted); margin-top: 6px; }
.sheet-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sheet-foot a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.sheet-foot .wa { color: #fff; font-weight: 700; }

/* paketler */
.pkgs { display: grid; gap: 12px; margin-top: 20px; }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.pkg-sec { font-size: 18px; font-weight: 800; }
.pkg-price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; text-align: right; }
.pkg-use, .pkg-meta { color: var(--muted); font-size: 14px; }
.pkg-meta { grid-column: 1 / -1; }
.pkg .pill { grid-column: 1 / -1; margin-top: 10px; width: 100%; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* form */
.form { display: grid; gap: 14px; margin-top: 20px; }
.form[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field > span i { font-style: normal; color: var(--sun); }
.field > span small { font-weight: 500; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border-radius: 12px;
  background: var(--bg); border: 1.5px solid var(--field); color: var(--text); font: inherit; font-size: 16px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b4b4be' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus, .drop:focus-within { outline: 2px solid var(--sun); outline-offset: 1px; border-color: var(--sun); }
.field input::placeholder, .field textarea::placeholder { color: #8b8b96; }
.field.is-bad input, .field.is-bad .drop { border-color: #ff6b5e; }
.err { color: #ff8a80; font-size: 13px; font-weight: 600; font-style: normal; display: none; }
.field.is-bad .err { display: block; }
.drop {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px; border-radius: 12px;
  border: 1.5px dashed var(--field); background: var(--bg); cursor: pointer;
}
.drop-ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.drop-ic img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.drop-ic svg { width: 22px; height: 22px; color: var(--sun); }
.drop-t { display: flex; flex-direction: column; min-width: 0; }
.drop-t b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-t span { color: var(--muted); font-size: 13px; }
.hint-line { color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sun); }
.check a, .notice a { color: var(--text); }
.notice { color: var(--muted); font-size: 14px; }
.form-fail { display: none; color: #ff8a80; font-size: 14px; font-weight: 600; }
.form-fail.is-on { display: block; }
.submit:disabled { opacity: 0.6; cursor: progress; }
.submit { height: 52px; border-radius: 999px; border: 0; background: var(--sun); color: var(--ink); font-size: 17px; font-weight: 800; cursor: pointer; }
.form-ok { display: none; margin-top: 20px; }
.form-ok.is-on { display: block; }
.ok-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; }
.ok-ic svg { width: 26px; height: 26px; }
.form-ok h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 16px; }
.form-ok p { color: var(--muted); margin-top: 8px; }
.form-ok .pill { margin-top: 20px; }

/* SSS */
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 58px; padding: 12px 0; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--sun); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 15px; }

/* ---------- oynatıcı ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: rgba(5, 5, 7, 0.86); opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; display: grid; grid-template-columns: auto 300px; gap: 28px; align-items: end; max-height: 100%; }
.modal-media { border-radius: 18px; overflow: hidden; background: #000; }
.modal-media video { max-height: calc(100svh - 80px); max-width: min(62vw, 960px); width: auto; height: auto; }
.modal-close { position: absolute; top: -8px; right: -8px; z-index: 2; background: rgba(13, 13, 16, 0.85); }
.modal-tag { color: var(--muted); font-size: 14px; }
.modal-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.modal-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.modal-body .pill { margin-top: 20px; }
.modal-note { color: #8b8b96; font-size: 13px; margin-top: 14px; }

/* ---------- telefon ---------- */
@media (max-width: 700px) {
  :root { --head: 60px; }
  .top { padding: 0 14px; grid-template-columns: 1fr auto; }
  .top .seg, .top-gap { display: none; }
  .top-actions .pill { padding: 0 14px; }
  .intro h1 { font-size: 30px; }
  .intro p { font-size: 15px; margin-top: 6px; }
  .intro-cta { margin-top: 14px; }
  .dock { justify-content: flex-start; gap: 8px; padding: 0 14px calc(16px + env(safe-area-inset-bottom)); }
  .focus { flex: 1; min-width: 0; min-height: 48px; padding-right: 14px; }
  .focus-dot { width: 34px; height: 34px; }
  .sound { position: static; flex: none; }
  .sheet { top: auto; height: calc(100% - 24px); width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .row2 { grid-template-columns: 1fr; }
  .sheet-foot { gap: 0 14px; padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom)); }
  .sheet-foot > :nth-child(n + 4) { display: none; }
  .modal { padding: 0; align-items: stretch; }
  .modal-card { width: 100%; grid-template-columns: 1fr; gap: 0; align-content: center; background: var(--bg); padding: 56px 16px 20px; overflow: auto; }
  .modal-media { justify-self: center; }
  .modal-media video { max-width: 100%; max-height: 62svh; margin: 0 auto; }
  .modal-body { padding-top: 16px; }
  .modal-title { font-size: 24px; }
  .modal-close { top: 8px; right: 8px; }
  .modal-body .pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
