/* Joylives Şoför Partneri — herkese açık tanıtım ve başvuru sayfaları (koyu antrasit + altın; telefon öncelikli) */
:root {
  color-scheme: dark;
  --bg: #101214; --bg-deep: #0a0b0c; --surface: #1b1e21; --surface-2: #23272a; --line: #2f3337; --line-soft: #26292c;
  --text: #f4f3ef; --text-2: #d6d6d2; --muted: #9a9ea2; --faint: #6f7377;
  --gold: #d9b878; --gold-hi: #e8cb92; --gold-soft: #3a3326; --gold-line: #57492f; --gold-ink: #17140f;
  --ok: #7dd3a2; --bad: #ec8379; --bad-soft: #3b2222;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg-deep); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-hi); }
svg.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 680px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 14px; font-weight: 750; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px #fff6, 0 10px 26px #d9b87826; }
.btn.gold:hover { background: var(--gold-hi); }
.btn.ghost { background: transparent; color: var(--text); border-color: #45494d; }
.btn.ghost:hover { border-color: var(--gold-line); }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; border-radius: 11px; }
.btn.block { width: 100%; }

/* Üst şerit */
.ph { position: sticky; top: 0; z-index: 10; background: #101214e6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.ph-in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.ph-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.ph-logo img { height: 22px; width: auto; display: block; }
.ph-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ph-link { display: none; color: var(--text-2); text-decoration: none; font-size: 14px; padding: 8px 10px; }
@media (min-width: 760px) { .ph-link { display: inline-block; } }

/* Giriş bölümü */
.hero { padding: 34px 0 10px; background: radial-gradient(ellipse at 15% 0%, #2a251a 0%, var(--bg) 60%); }
.hero-in { display: grid; gap: 28px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 5px 10px; border-radius: 8px; }
.hero h1 { font-size: clamp(30px, 7.5vw, 50px); margin: 14px 0 12px; font-weight: 800; }
.lead { font-size: 16.5px; color: var(--text-2); margin: 0 0 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.quick { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.quick li { display: flex; align-items: center; gap: 6px; }
.quick svg.i { width: 15px; height: 15px; color: var(--gold); }
@media (min-width: 900px) { .hero { padding: 64px 0 30px; } .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; } }

/* Uygulamadan örnek teklif kartı */
.hero-demo { display: flex; justify-content: center; }
.demo-phone { width: 100%; max-width: 360px; border-radius: 26px; border: 1px solid #34383b; background: var(--bg); padding: 16px 14px 18px; box-shadow: 0 30px 80px #000b; }
.demo-top { font-weight: 800; font-size: 19px; margin: 2px 4px 12px; }
.demo-top b { color: var(--gold); font-size: 13px; }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.demo-row { display: flex; align-items: baseline; gap: 8px; }
.demo-row .t { font-size: 22px; font-weight: 800; }
.demo-row .d { color: var(--muted); font-size: 13px; }
.demo-row .chip { margin-left: auto; font-size: 9px; font-weight: 760; letter-spacing: .6px; color: #dcc08f; background: var(--gold-soft); border: 1px solid #4d4230; padding: 4px 7px; border-radius: 7px; }
.demo-flight { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); margin: 8px 0 10px; }
.demo-flight svg.i { width: 14px; height: 14px; color: var(--gold); }
.demo-route { display: grid; gap: 8px; font-weight: 650; font-size: 14px; }
.demo-route span { display: flex; align-items: center; gap: 10px; }
.demo-route i { width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 50%; flex-shrink: 0; }
.demo-route i.end { background: var(--gold); border-width: 0; width: 9px; height: 9px; }
.demo-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; margin: 10px 0 12px; }
.demo-meta svg.i { width: 14px; height: 14px; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.demo-foot small { display: block; color: var(--muted); font-size: 11px; }
.demo-foot b { font-size: 24px; font-weight: 800; }
.demo-accept { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 13px; padding: 10px 14px; border-radius: 11px; }
.demo-accept svg.i { width: 15px; height: 15px; }
.demo-note { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: #f4f3ef; color: #17140f; font-size: 12.5px; box-shadow: 0 8px 24px #0008; }
.demo-note svg.i { color: #8a6a2e; }
.demo-note b { margin-right: 4px; }

/* Bölümler */
.sec { padding: 34px 0; }
.sec h2 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 16px; font-weight: 800; }
.sub { color: var(--muted); margin: -8px 0 16px; }
.center { text-align: center; margin-top: 22px; }
.grid4, .grid2 { display: grid; gap: 10px; }
@media (min-width: 640px) { .grid4 { grid-template-columns: 1fr 1fr; } .grid2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.box > svg.i { width: 22px; height: 22px; color: var(--gold); margin-bottom: 10px; }
.box h3 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.box h3 svg.i { color: var(--gold); }
.box p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.steps .n { width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 14px; }
.steps h3 { font-size: 15.5px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Gereksinimler: sınıf seçimi (betiksiz) */
.req-r { position: absolute; opacity: 0; pointer-events: none; }
.req-tabs { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow-x: auto; }
.req-tabs label { flex: 1; text-align: center; white-space: nowrap; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.req-panel { display: none; margin-bottom: 10px; }
.req-car { display: flex; align-items: center; gap: 12px; background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 16px; padding: 14px 16px; }
.req-car svg.i { width: 26px; height: 26px; color: var(--gold); }
.req-car b { display: block; font-size: 16px; }
.req-car span { color: #e6cf9e; font-size: 13.5px; }
#sinif-business_van:checked ~ .req-tabs label[for="sinif-business_van"],
#sinif-business_class:checked ~ .req-tabs label[for="sinif-business_class"],
#sinif-first_class:checked ~ .req-tabs label[for="sinif-first_class"] { background: #322f27; color: var(--gold-hi); }
#sinif-business_van:checked ~ .req-panel[data-for="sinif-business_van"],
#sinif-business_class:checked ~ .req-panel[data-for="sinif-business_class"],
#sinif-first_class:checked ~ .req-panel[data-for="sinif-first_class"] { display: block; }
.req-r:focus-visible ~ .req-tabs { outline: 2px solid var(--gold); outline-offset: 2px; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.docs li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 14px; }
.docs li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.docs em { font-style: normal; color: var(--faint); font-size: 12px; margin-left: 4px; }
.note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13.5px; margin: 12px 2px 0; }
.note svg.i { width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }

/* Sık sorulanlar */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 26px 15px 0; font-weight: 700; font-size: 15px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 20px; color: var(--gold); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 15px; color: var(--text-2); font-size: 14.5px; }

/* Son çağrı */
.final { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, #2a251a, var(--surface) 70%); border: 1px solid var(--gold-line); border-radius: 20px; padding: 22px; }
.final h2 { margin-bottom: 6px; }
.final p { margin: 0; color: var(--text-2); }
@media (min-width: 760px) { .final { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; } }

/* Alt bilgi */
.pf { border-top: 1px solid var(--line-soft); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--faint); font-size: 13px; }
.pf-in { display: flex; flex-direction: column; gap: 10px; }
.pf nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pf a { color: var(--muted); text-decoration: none; }
.pf a:hover { color: var(--gold-hi); }
@media (min-width: 760px) { .pf-in { flex-direction: row; justify-content: space-between; } }

/* Başvuru formu */
.apply h1, .legal h1 { font-size: clamp(26px, 6vw, 34px); margin: 10px 0 8px; font-weight: 800; }
.apply .sub, .legal .sub { margin: 0 0 16px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13.5px; }
.back-link svg.i { width: 16px; height: 16px; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 6px; counter-reset: s; }
.mini-steps li { flex: 1; counter-increment: s; font-size: 12px; color: var(--faint); padding-top: 8px; border-top: 3px solid var(--line); }
.mini-steps li::before { content: counter(s) ". "; }
.mini-steps li.on { color: var(--gold-hi); border-color: var(--gold); font-weight: 700; }
.alert { display: flex; gap: 10px; align-items: flex-start; background: var(--bad-soft); border: 1px solid #563131; color: #f5c9c3; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.form fieldset { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 14px 16px 6px; margin: 0 0 12px; min-width: 0; }
.form legend { padding: 0 6px; margin-left: -6px; font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--faint); }
.f { margin-bottom: 12px; }
.f label { display: block; font-size: 13px; font-weight: 650; color: var(--text-2); margin-bottom: 6px; }
.f label em, .f small { font-style: normal; color: var(--faint); font-weight: 500; font-size: 12px; }
.f small { display: block; margin-top: 5px; }
.input { width: 100%; min-height: 48px; padding: 12px 13px; border-radius: 12px; border: 1px solid #3c3f42; background: #16181a; color: var(--text); font: inherit; font-size: 16px; }
.input:focus { outline: none; border-color: var(--gold-line); box-shadow: 0 0 0 3px #d9b87822; }
textarea.input { resize: vertical; min-height: 80px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.err { color: var(--bad); font-size: 13px; margin-top: 6px; }
.choices { display: grid; gap: 8px; margin-bottom: 12px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; border: 1px solid #3c3f42; background: #16181a; border-radius: 13px; padding: 12px 14px; }
.choice b { display: block; font-size: 15px; }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice input:checked + span { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.after { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* Aydınlatma metni */
.legal h2 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-2); font-size: 14.5px; }
.legal ul { padding-left: 18px; }
