/* TenTen açılış sayfası — mobil uygulamanın dünyası: koyu zemin, mercan vurgu, 9:16 kartlar */

@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  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;
}
@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin.woff2") format("woff2");
  font-weight: 400 900;
  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;
}

:root {
  --bg: #111418;
  --panel: #21262e;
  --panel-2: #252b33;
  --line: #343b46;
  --line-2: #434b57;
  --text: #ffffff;
  --body: #eeeeee;
  --muted: #a5adb8;
  --coral: #ff4458;
  --coral-soft: #ff8f9d;
  --ink-on-coral: #111418;
  --wa: #25d366;
  --radius-card: 8px;
  --radius-pill: 999px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Urbanist", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); line-height: 0.98; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); line-height: 1.05; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
b, strong { color: var(--text); font-weight: 800; }
::selection { background: var(--coral); color: var(--ink-on-coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--bg); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--bg); border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--coral); color: var(--ink-on-coral); font-weight: 800;
  padding: 8px 14px; border-radius: var(--radius-pill);
}
.skip:focus { top: 12px; }

/* ---------- üst çubuk ---------- */
.top {
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.top__logo img { width: 112px; height: auto; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; color: var(--muted); }
.top__nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.top__nav a:hover { color: var(--text); border-color: var(--coral); }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: var(--ink-on-coral); }
.btn--primary:hover { background: #ff5d6e; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); min-height: 40px; padding: 0 18px; }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--muted); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; min-height: 60px; padding: 8px 20px 8px 16px;
  border: 1px solid var(--line-2); border-radius: 14px; background: #0b0d10;
  color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .15s var(--ease);
}
.store:hover { border-color: var(--muted); background: #000; }
.store:active { transform: translateY(1px); }
.store:focus-visible { border-radius: 14px; }
.store__mark { width: 28px; height: 28px; flex: none; }
.store__text { display: flex; flex-direction: column; line-height: 1.1; }
.store__text small { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.store__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.store-note { margin-top: 12px; font-size: .9rem; color: var(--muted); max-width: 44ch; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 30px;
  color: var(--text); font-weight: 700; border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px; transition: border-color .2s var(--ease);
}
.textlink svg { width: 18px; height: 18px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.textlink:hover { border-color: var(--coral); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- ilk ekran ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__copy { max-width: 36rem; }
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--muted); max-width: 34rem; }
.lead b { color: var(--text); }
.hero .stores { margin-top: 36px; }

/* yayın kapısı: adımlar + kart */
.gate {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(240px, 330px);
  grid-template-areas: "steps card" "replay card"; column-gap: clamp(18px, 3vw, 36px); row-gap: 10px;
  align-items: center; justify-self: end; width: 100%;
}
.steps { grid-area: steps; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px;
  background: var(--line);
}
.steps::after {
  content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px;
  background: var(--coral); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .6s var(--ease);
}
.step { position: relative; }
.step + .step { margin-top: 6px; }
.step__btn {
  all: unset; display: grid; grid-template-columns: 20px 1fr; column-gap: 14px;
  padding: 10px 10px 10px 0; width: 100%; cursor: pointer; border-radius: 10px;
  transition: background-color .2s var(--ease);
}
.step__btn:hover { background: rgba(255, 255, 255, .03); }
.step__btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.step__dot {
  grid-row: 1 / span 2; align-self: start; margin-top: 4px; position: relative; z-index: 1;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step__dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); transform: translate(-50%, -50%) scale(0); transition: transform .3s var(--ease);
}
.step__title { font-weight: 800; color: var(--muted); font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; transition: color .3s var(--ease); }
.step__more { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.step__desc { overflow: hidden; min-height: 0; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.step.is-active .step__more { grid-template-rows: 1fr; margin-top: 4px; }
.step.is-active .step__title, .step.is-done .step__title { color: var(--text); }
.step.is-active .step__dot { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 68, 88, .18); }
.step.is-active .step__dot::after { transform: translate(-50%, -50%) scale(1); }
.step.is-done .step__dot { border-color: var(--coral); background: var(--coral); }
.step.is-done .step__dot::after { transform: translate(-50%, -50%) scale(1); background: var(--ink-on-coral); width: 6px; height: 6px; }
.replay {
  grid-area: replay; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 700;
  padding: 6px 8px 6px 2px; cursor: pointer; border-radius: 8px; transition: color .2s var(--ease);
}
.replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.replay:hover { color: var(--text); }

.card {
  grid-area: card; position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius-card);
  overflow: hidden; background: var(--panel); isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.card__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: saturate(.25) brightness(.72); transition: filter 1s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .95) 100%);
}
.card__tag, .card__status {
  position: absolute; top: 14px; z-index: 2; font-size: .72rem; font-weight: 800; letter-spacing: .01em;
  padding: 6px 10px; border-radius: var(--radius-pill); line-height: 1;
}
.card__tag { left: 14px; background: rgba(0, 0, 0, .55); color: var(--muted); border: 1px solid rgba(255, 255, 255, .12); }
.card__status { right: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .55); color: var(--body); border: 1px solid rgba(255, 255, 255, .12); }
.card__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; }
.card__name { font-size: clamp(1.3rem, 1.6vw, 1.5rem); font-weight: 800; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.card__loc { margin-top: 8px; font-size: .85rem; color: var(--body); }
.card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: var(--radius-pill);
  background: rgba(51, 59, 70, .9); color: var(--text); font-size: .72rem; font-weight: 800; line-height: 1;
  opacity: 0; transform: translateY(6px) scale(.96);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.badge::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: #4a9eff;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.4 2.2 3.2-.4 1 3.1 2.9 1.5-1.3 3 1.3 3-2.9 1.5-1 3.1-3.2-.4L12 22l-2.4-2.2-3.2.4-1-3.1-2.9-1.5 1.3-3-1.3-3 2.9-1.5 1-3.1 3.2.4z' fill='black'/><path d='M8.5 12.2l2.4 2.4 4.6-4.8' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.4 2.2 3.2-.4 1 3.1 2.9 1.5-1.3 3 1.3 3-2.9 1.5-1 3.1-3.2-.4L12 22l-2.4-2.2-3.2.4-1-3.1-2.9-1.5 1.3-3-1.3-3 2.9-1.5 1-3.1 3.2.4z' fill='black'/><path d='M8.5 12.2l2.4 2.4 4.6-4.8' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.card__price { display: flex; flex-direction: column; }
.card__price small { font-size: .78rem; color: var(--muted); }
.card__price b { font-size: .98rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; margin-top: 2px; }
.card__arrow { width: 24px; height: 24px; fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* aşamalar */
.gate[data-stage="1"] { --p: 0; }
.gate[data-stage="2"] { --p: .34; }
.gate[data-stage="3"] { --p: .67; }
.gate[data-stage="4"] { --p: 1; }
.gate[data-stage="2"] .badge--phone, .gate[data-stage="3"] .badge--phone, .gate[data-stage="4"] .badge--phone,
.gate[data-stage="3"] .badge--photo, .gate[data-stage="4"] .badge--photo { opacity: 1; transform: none; }
.gate[data-stage="4"] .card__photo { filter: none; }
.gate[data-stage="4"] .card__status { color: var(--text); }
.gate[data-stage="4"] .card__status i { background: var(--coral); box-shadow: 0 0 0 3px rgba(255, 68, 88, .25); }
.gate[data-stage="2"] .card__status i, .gate[data-stage="3"] .card__status i { background: var(--coral-soft); }

/* ---------- bölüm başlıkları ---------- */
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }

/* ---------- üç ekran ---------- */
.how { padding: clamp(56px, 8vw, 110px) 0 0; border-top: 1px solid var(--line); }
.screens {
  list-style: none; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--gutter);
  max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.screen-item h3 { margin-top: 22px; }
.screen-item p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.phone {
  aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--line);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--chat { display: flex; margin: 0; padding: 18px; background: var(--bg); }
.chat { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; width: 100%; }
.chat__head { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.chat__head strong { font-size: 1.15rem; letter-spacing: -0.01em; }
.chat__head span { font-size: .82rem; color: var(--muted); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc__row {
  display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.svc__row.is-selected { border-color: var(--coral); background: #36212a; }
.svc__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); grid-row: 1 / span 2; }
.svc__row.is-selected .svc__dot { border-color: var(--coral); background: var(--coral); box-shadow: inset 0 0 0 3px #36212a; }
.svc__name { font-weight: 800; color: var(--text); font-size: .95rem; line-height: 1.2; }
.svc__meta { grid-column: 2; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chat__bubble { margin-top: auto; }
.chat__bubble {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px;
  padding: 14px 16px; font-size: .95rem; line-height: 1.45; color: var(--text);
}
.chat__hint { font-size: .8rem; color: var(--muted); }
.chat__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: var(--radius-pill); background: var(--wa); color: #06220f; font-weight: 800; font-size: .95rem;
}
.chat__wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ---------- güven ---------- */
.trust { padding: clamp(64px, 9vw, 120px) 0 0; }
.rules {
  max-width: var(--max); margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--gutter);
}
.rule {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.rule:last-child { border-bottom: 1px solid var(--line); }
.rule dt { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; color: var(--text); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.rule dd { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 52ch; }
.rule--honest dt { color: var(--muted); }
.pill { display: inline-block; padding: 3px 9px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 800; line-height: 1.3; vertical-align: 2px; }
.pill--coral { background: var(--coral); color: var(--ink-on-coral); }

/* ---------- masözler ---------- */
.pro { padding: clamp(64px, 9vw, 120px) 0 0; }
.pro__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter);
  background: var(--panel); border-radius: 24px;
  display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.phone--pro { border: 0; }
.pro .lead { max-width: 38rem; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding-left: 22px; position: relative; color: var(--muted); font-size: 1.02rem; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.fine { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.pro .btn--primary { margin-top: 22px; }

/* ---------- kapanış ---------- */
.close { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(56px, 8vw, 96px); text-align: center; }
.close p { margin: 14px auto 0; color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.close .stores { margin-top: 32px; }

/* ---------- alt bilgi ---------- */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: .9rem;
}
.foot img { width: 84px; height: auto; }
.foot__copy { margin-left: auto; }

/* ---------- bildirim ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 8px); z-index: 20;
  background: var(--panel-2); color: var(--text); border-radius: 12px;
  padding: 12px 16px; font-size: .95rem; font-weight: 600; max-width: calc(100vw - 32px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- duyarlılık ---------- */
@media (max-width: 1024px) {
  .gate { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .gate { justify-self: stretch; grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); }
  .screens { grid-template-columns: 1fr 1fr; }
  .screen-item:last-child { grid-column: 1 / -1; max-width: 420px; }
  .pro__inner { grid-template-columns: 1fr; }
  .phone--pro { max-width: 280px; }
}
@media (max-width: 720px) {
  .top { gap: 16px; }
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .gate { grid-template-columns: 1fr; grid-template-areas: "card" "steps" "replay"; row-gap: 22px; }
  .card { width: min(100%, 300px); justify-self: center; }
  .steps::before, .steps::after { top: 12px; bottom: 12px; }
  .screens { grid-template-columns: 1fr; }
  .screen-item { max-width: 420px; }
  .rule { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .store { flex: 1 1 100%; justify-content: center; }
  .foot__copy { margin-left: 0; }
}
@media (max-width: 400px) {
  body { font-size: 16px; }
  .store { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
