/* Quizzer tanıtım sayfası. Renkler design/tokens.json ile aynıdır (tasarım dosyası §9). */
:root {
  --ink: #111821;
  --pencil: #FFC600;
  --paper: #FFF8E1;
  --surface: #FFFFFF;
  --slate: #3B4350;
  --muted: #6B7280;
  --line: #E5E7EB;
  --success: #16A34A;
  --review: #7C3AED;
  --canvas: #FBFAF6;
  --radius-card: 12px;
  --radius-btn: 10px;
  --radius-paper: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--pencil); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-btn); z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-btn); font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #222c38; }
.btn-pencil { background: var(--pencil); color: var(--ink); }
.btn-pencil:hover { background: #ffd23d; }

/* ---------- Üst çubuk ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 246, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.top-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.top-nav a { text-decoration: none; color: var(--slate); }
.top-nav a:hover { color: var(--ink); }

/* ---------- Giriş ---------- */
.hero { background: var(--paper); border-bottom: 1px solid #F1E6C2; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 72px 0 88px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.hero mark { background: linear-gradient(transparent 58%, var(--pencil) 58%, var(--pencil) 92%, transparent 92%); color: inherit; padding: 0 .06em; }
.lead { font-size: 19px; color: var(--slate); margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: var(--radius-btn); background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.1; opacity: .92; }
.store svg { width: 24px; height: 24px; fill: #fff; }
.store small { display: block; font-size: 11px; font-weight: 500; color: #C9CDD3; }
a.store { text-decoration: none; }
.store-web { background: var(--pencil); color: var(--ink); opacity: 1; }
.store-web svg { fill: var(--ink); }
.store-web small { color: var(--slate); }

/* Telefon görseli */
.hero-art { position: relative; justify-self: center; padding: 20px 56px; }
.phone { width: 270px; background: var(--ink); border-radius: 38px; padding: 14px 12px 18px; box-shadow: 0 30px 60px -20px rgba(17, 24, 33, .45), 0 0 0 1px rgba(17, 24, 33, .1); transform: rotate(2.5deg); }
.phone-bar { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; font-weight: 600; padding: 6px 8px 12px; }
.chip-ok { background: var(--pencil); color: var(--ink); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.sheet { position: relative; background: #fff; border-radius: 14px; height: 340px; padding: 16px 30px; overflow: hidden; }
.qr-col { position: absolute; top: 14px; bottom: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.qr-left { left: 8px; }
.qr-right { right: 8px; }
.qr-col i { width: 14px; height: 14px; border: 3px solid var(--ink); border-radius: 2px; position: relative; }
.qr-col i::after { content: ""; position: absolute; inset: 2px; background: var(--ink); }
.qr-col i { outline: 2px solid var(--pencil); outline-offset: 2px; }
.sheet-head { display: flex; gap: 8px; margin-bottom: 14px; }
.sheet-head b { height: 10px; flex: 1; border-bottom: 1.5px solid var(--line); }
.q { position: relative; padding: 8px 0 10px 22px; border-radius: 8px; margin-bottom: 8px; }
.q-no { position: absolute; left: 2px; top: 6px; font-size: 11px; font-weight: 800; }
.q em { display: block; height: 7px; border-radius: 4px; background: #EEF0F3; margin-bottom: 8px; }
.q em.short { width: 60%; }
.q-active { background: rgba(255, 198, 0, .16); box-shadow: inset 0 0 0 2px var(--pencil); padding-right: 8px; margin-inline: -8px; padding-left: 30px; }
.q-active .q-no { left: 10px; }
.q-active em { background: #E6D7A3; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--pencil); box-shadow: 0 0 14px 3px rgba(255, 198, 0, .7); top: 10%; animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 90%; } }
.phone-btn { width: 54px; height: 54px; margin: 16px auto 0; border-radius: 50%; border: 4px solid #fff; background: var(--pencil); }

.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-card); padding: 12px 16px; box-shadow: 0 14px 30px -12px rgba(17, 24, 33, .3), 0 0 0 1px var(--line); font-size: 14px; line-height: 1.3; }
.float strong { display: block; }
.float small { color: var(--muted); font-size: 13px; }
.float-result { top: 70px; left: -24px; transform: rotate(-3deg); }
.float-review { bottom: 90px; right: -10px; transform: rotate(2deg); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-success { background: var(--success); }
.dot-review { background: var(--review); }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; max-width: 22em; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow { color: var(--pencil); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-paper); padding: 28px; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pencil); font-weight: 800; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--slate); }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.type { background: var(--surface); border-radius: var(--radius-paper); padding: 32px; box-shadow: 0 0 0 1px #F1E6C2; }
.type-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.type-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.type-icon .fill { fill: var(--pencil); stroke: var(--pencil); }
.type h3 { font-size: 24px; }
.type-tag { display: inline-block; margin: 10px 0 18px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-success { background: #DCFCE7; color: #166534; }
.tag-review { background: #EDE9FE; color: #5B21B6; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--slate); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23111821' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1.5px var(--ink); }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { border-radius: var(--radius-paper); padding: 40px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.role h2 { font-size: 28px; }
.role .eyebrow { margin-bottom: -10px; }
.role-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.role-ink .eyebrow { color: var(--pencil); }
.role-ink .ticks li { color: #D7DAE0; }
.role-ink .ticks li::before { background-color: var(--pencil); box-shadow: none; }
.role .btn { align-self: flex-start; margin-top: auto; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.trust-item svg { width: 36px; height: 36px; fill: none; stroke: var(--pencil); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.trust-item h3 { font-size: 18px; margin-bottom: 8px; }
.trust-item p { color: #C9CDD3; font-size: 15px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 22px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding-bottom: 20px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--pencil); border-radius: var(--radius-paper); padding: 48px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); }
.cta-band p { margin-top: 8px; max-width: 36em; }

/* ---------- Alt bilgi ---------- */
.foot { background: var(--ink); color: #C9CDD3; padding: 48px 0; font-size: 14px; }
.foot-in { display: grid; gap: 14px; }
.logo-light { color: #fff; font-size: 20px; }
.foot-small { color: #8B929C; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero-art { margin-top: 8px; }
  .steps, .types, .roles, .faq-wrap { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .top-nav { display: none; }
  .top-in .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .wrap { width: calc(100% - 32px); }
  .trust { grid-template-columns: 1fr; }
  .role, .type, .cta-band { padding: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-art { padding: 20px 24px; }
  .float-result { left: -12px; }
  .float-review { right: -12px; }
  .top-in .btn { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan-line { animation: none; top: 45%; }
  .btn:hover { transform: none; }
}

/* ---------- Yasal sayfalar (gizlilik politikası) ---------- */
.legal { max-width: 760px; padding: 48px 0 80px; }
.legal article + article { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal h3 { font-size: 16px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--slate); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }
.legal-meta { color: var(--muted) !important; font-size: 14px; margin: 8px 0 24px; }
.foot a { color: #fff; }
