/* Bayilik başvuru formu — Kuantum görünümü (portalın Dr. Flex temasından bağımsızdır) */
:root {
  --navy-950: #050912;
  --navy-900: #0a1120;
  --navy-800: #111a2f;
  --page: #f5f7fb;
  --card: #ffffff;
  --text: #0f1729;
  --muted: #667085;
  --line: #e3e8f1;
  --line-strong: #cbd3e1;
  --amber: #ffb52e;
  --orange: #ff6a2b;
  --cyan: #2dd4f0;
  --danger: #d92d20;
  --ok: #12a150;
  --grad: linear-gradient(135deg, #ffc44d 0%, #ff7a2f 100%);
  --radius: 16px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.apply {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.apply a { color: inherit; }
.shell { display: grid; grid-template-columns: minmax(360px, 42%) 1fr; min-height: 100vh; }

/* ---------- Sol marka paneli ---------- */
.side {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 52px; color: #eaf0ff;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(255,122,47,.28), transparent 60%),
    radial-gradient(700px 500px at 110% 40%, rgba(45,212,240,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-drflex { width: 46px; height: 46px; border-radius: 50%; flex: none; filter: drop-shadow(0 0 16px rgba(255,80,40,.45)); }
.brand-x { width: 1px; height: 30px; background: rgba(255,255,255,.22); margin: 0 4px; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255,140,50,.7)); }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; color: #fff; }
.brand-name em { font-style: normal; font-weight: 600; color: #ffb52e; margin-left: 6px; font-size: .85em; letter-spacing: .08em; }
.hero { margin-top: clamp(28px, 9vh, 90px); }
.side h1 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; color: #fff; }
.side h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side .lead { font-size: 1.05rem; color: #a9b6d3; max-width: 30em; margin: 0 0 30px; }
.perks { list-style: none; padding: 0; margin: 0 0 96px; display: grid; gap: 14px; position: relative; z-index: 1; }
.side > div { position: relative; z-index: 1; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: #d5def2; font-size: .98rem; }
.perks svg { flex: none; margin-top: 2px; }
.neon-line { position: absolute; left: -4%; bottom: 3%; width: 108%; height: 110px; pointer-events: none; opacity: .85; z-index: 0; }
.neon-line path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s ease forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sağ form alanı ---------- */
.main { display: flex; flex-direction: column; min-height: 100vh; padding: 28px 40px 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; background: none; border: 0; cursor: pointer; padding: 8px 4px; font-family: inherit; }
.back-link:hover { color: var(--text); }
.back-link[hidden] { display: none; }
.counter { color: var(--muted); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.progress { height: 6px; border-radius: 999px; background: #e6ebf4; overflow: hidden; margin: 14px 0 0; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 12px rgba(255,122,47,.6); }
.form-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 640px; margin: 0 auto; padding: 28px 0 8px; }

.step { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.step legend { padding: 0; font-size: clamp(1.55rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 8px; }
.step .hint { margin: 0 0 22px; color: var(--muted); font-size: .98rem; }
.step .hint.empty { margin-bottom: 22px; }
.wiz .step { display: none; }
.wiz .step.active { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* seçenek kartları */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; margin: 0; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.opt .card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 18px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.3;
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.opt:hover .card { border-color: var(--line-strong); box-shadow: 0 6px 20px rgba(16,24,40,.06); transform: translateY(-1px); }
.opt .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all .15s; background: #fff; }
.opt.multi .tick { border-radius: 8px; }
.opt .tick svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: all .15s; }
.opt input:checked + .card { border-color: var(--orange); background: linear-gradient(180deg, #fffaf3, #fff4e8); box-shadow: 0 0 0 3px rgba(255,122,47,.16), 0 8px 24px rgba(255,122,47,.14); }
.opt input:checked + .card .tick { background: var(--grad); border-color: transparent; }
.opt input:checked + .card .tick svg { opacity: 1; transform: none; }
.opt input:focus-visible + .card { outline: 3px solid rgba(45,212,240,.55); outline-offset: 2px; }

/* alanlar */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' stroke='%23667085' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,47,.16); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 6px; font-size: .9rem; color: #344054; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: var(--orange); font-weight: 700; }

/* düğmeler */
.actions { margin-top: 26px; display: flex; gap: 12px; align-items: center; }
.btn { text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border: 0; border-radius: 14px;
  font: inherit; font-weight: 800; font-size: 1.02rem; color: #2b1300; background: var(--grad); cursor: pointer;
  box-shadow: 0 10px 28px rgba(255,122,47,.35); transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { filter: brightness(1.04); box-shadow: 0 14px 34px rgba(255,122,47,.42); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 14px rgba(255,122,47,.3); }
.btn:focus-visible { outline: 3px solid rgba(45,212,240,.6); outline-offset: 3px; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--text); border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: #f3f6fb; box-shadow: none; }

html:not(.wiz) .step:not(.last-step) .actions { display: none; }
html:not(.wiz) .step { margin-bottom: 40px; }
/* hata kutusu */
.alert { border: 1.5px solid #fbc9c3; background: #fff5f4; color: #912018; border-radius: 14px; padding: 14px 18px; margin: 0 0 22px; font-size: .95rem; }
.alert strong { display: block; margin-bottom: 4px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.shake { animation: shake .35s; }
@keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
.step-error { color: var(--danger); font-weight: 600; font-size: .92rem; margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding-top: 22px; }
.foot a { color: var(--muted); }

/* teşekkür + hukuki sayfalar */
.success { text-align: center; }
.success .ring { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 10px rgba(255,122,47,.12), 0 18px 50px rgba(255,122,47,.45); }
.success .ring svg { width: 44px; height: 44px; }
.success h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin: 0 0 12px; }
.success p.sub { color: var(--muted); font-size: 1.05rem; margin: 0 auto 32px; max-width: 30em; }
.next { text-align: left; display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.next li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.next b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: .9rem; color: #2b1300; }
.next span { font-weight: 600; }
.next small { display: block; color: var(--muted); font-weight: 500; }
.article h2 { font-size: 1.05rem; margin: 26px 0 6px; letter-spacing: -0.01em; }
.article p { margin: 0 0 8px; color: #344054; }
.article h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; margin: 0 0 10px; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; padding: 26px 22px 30px; }
  .side .perks, .side .neon-line { display: none; }
  .side { padding: 18px 20px 20px; }
  .brand-drflex { width: 38px; height: 38px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.15rem; }
  .hero { margin-top: 14px; }
  .side h1 { font-size: 1.4rem; margin: 0; }
  .side .lead { display: none; }
  .main { min-height: 0; padding: 20px 18px 34px; }
  .form-wrap { padding-top: 18px; justify-content: flex-start; }
  .opts { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .neon-line path { stroke-dashoffset: 0; }
}
