/* ============================================================
   YURT ATLAS — AUTH ÖRNEKLERİ
   Beyaz bg · Ortada DEV logo · Sol-üst wordmark · Alt-sol stats
   Sağ tarafta başvuru/giriş formu
   ============================================================ */

:root {
  --ya-navy:     #0E3D59;
  --ya-navy-2:   #15527A;
  --ya-navy-3:   #1B6890;
  --ya-teal:     #20818C;
  --ya-teal-2:   #2BA0AD;
  --ya-orange:   #F27D16;
  --ya-orange-2: #FF9533;
  --ya-orange-3: #FFB347;

  --bg:          #FFFFFF;
  --bg-2:        #FAFAFA;
  --bg-3:        #F5F5F5;

  --ink:         #0F1E2E;
  --ink-2:       #475569;
  --ink-3:       #94A3B8;
  --line:        #E5E7EB;
  --line-2:      #EEF0F3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; }
button { font-family: inherit; }
img, svg { max-width: 100%; display: block; }

/* ============ SHELL ============ */
.shell {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  min-height: 100vh;
  position: relative;
}

/* ============================================================
   LEFT PANEL (2/3) — beyaz, ortada büyük logo
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #15527aa1;
  color: var(--ink);
  isolation: isolate;
  min-height: 100vh;
  border-right: 1px solid var(--line);
}

/* ───────────── BIG CENTER LOGO — sabit, filtresiz ───────────── */
.hero-logo-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(56%, 540px);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  line-height: 0;
}
.hero-logo-base {
  width: 100%;
  height: auto;
  display: block;
}
.hero-logo-tint { display: none; }

/* hero inner — sadece stats kartları alta */
.hero-inner {
  position: relative;
  z-index: 5;
  height: 100%;
  min-height: 100vh;
  padding: 44px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ─── STATS — 5 cards ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.stat-card {
  position: relative;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 1px 0 rgba(14,61,89,.02);
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--ya-orange);
  box-shadow: 0 14px 30px rgba(14,61,89,.10);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ya-orange), var(--ya-orange-2));
  opacity: 0;
  transition: opacity .25s;
}
.stat-card:hover::before { opacity: 1; }

.stat-card .ic {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  background: rgba(242,125,22,.10);
  border-radius: 0;
  margin-bottom: 10px;
}
.stat-card .ic svg {
  width: 14px; height: 14px;
  color: var(--ya-orange);
  stroke-width: 2.2;
}
.stat-card.is-navy .ic { background: rgba(14,61,89,.10); }
.stat-card.is-navy .ic svg { color: var(--ya-navy); }
.stat-card.is-teal .ic { background: rgba(32,129,140,.10); }
.stat-card.is-teal .ic svg { color: var(--ya-teal); }

.stat-card .v {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--ya-navy);
  line-height: 1;
  font-feature-settings: "tnum";
}
.stat-card .v em {
  font-style: normal;
  font-size: .65em;
  color: var(--ya-orange);
  font-weight: 800;
  margin-left: 1px;
}
.stat-card .l {
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.25;
}
.stat-card .sub {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.25;
}

/* ============================================================
   RIGHT PANEL (1/3) — form
   ============================================================ */
.panel {
  position: relative;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  isolation: isolate;
  overflow: hidden;
}
.panel-top {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.back-link {
  text-decoration: none;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.back-link:hover { color: var(--ya-orange); }
.back-link .arr { display: inline-block; transition: transform .25s; }
.back-link:hover .arr { transform: translateX(-3px); }

.panel-pgs {
  display: inline-flex; align-items: center; gap: 6px;
}
.panel-pgs em { color: var(--ya-orange); font-style: normal; font-weight: 900; }

.card {
  position: relative; z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
}
.card-inner {
  width: 100%;
  padding: 16px 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242,125,22,.09);
  border: 1px solid rgba(242,125,22,.28);
  border-radius: 0;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ya-orange);
  margin-bottom: 12px;
}
/* Sağ panelde adım eyebrow + headline gizle — sol hero panelde gösteriyoruz */
.card .eyebrow { display: none !important; }
.card .step.active > h1.h-display,
.card .step.active > p.sub { display: none !important; }

/* Sol hero panelde başlık + alt yazı — logonun sağ üst tarafı */
.hero-headline {
  position: absolute;
  top: 28px;
  right: 36px;
  max-width: 340px;
  text-align: right;
  z-index: 5;
  pointer-events: none;
}
.hero-h {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.4px;
  margin: 0 0 6px;
  color: var(--ya-navy);
}
.hero-h .grad {
  background: linear-gradient(95deg, var(--ya-orange), var(--ya-orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 900px) {
  .hero-headline { display: none; }
  .card .step.active > h1.h-display,
  .card .step.active > p.sub { display: block !important; }
}

/* Sol hero panelde gösterilen adım rozeti */
.hero { position: relative; }
.hero-step-badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 5;
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(242,125,22,.35);
  border-radius: 0;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ya-orange);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(14,61,89,.08);
}
@media (max-width: 900px) {
  .hero-step-badge { top: 14px; left: 14px; font-size: 10px; padding: 6px 10px; }
}

/* Textarea sıkıştır */
.field textarea.input { min-height: 56px; padding-top: 10px; padding-bottom: 10px; line-height: 1.4; }
.eyebrow .dot { display: none; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

h1.h-display {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 0 0 8px;
  color: var(--ya-navy);
}
h1.h-display .grad {
  background: linear-gradient(95deg, var(--ya-orange), var(--ya-orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 22px;
}

/* ============ FIELDS ============ */
.field { margin-bottom: 10px; }
.field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.field-label .hint {
  color: var(--ink-3);
  font-weight: 600;
  text-transform: none;
  letter-spacing: .3px;
  font-size: 11px;
}
.field-label .req {
  color: var(--ya-orange);
  margin-left: 4px;
  font-weight: 900;
}

.field-wrap {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 0;
  transition: all .2s;
  display: flex; align-items: center;
}
.field-wrap:hover { border-color: var(--ink-3); }
.field-wrap:focus-within {
  border-color: var(--ya-orange);
  background: #FFFCF8;
  box-shadow: 0 0 0 4px rgba(242,125,22,.10);
}
.field-wrap .lead-ic {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-left: 14px;
  color: var(--ink-3);
  transition: color .2s;
}
.field-wrap:focus-within .lead-ic { color: var(--ya-orange); }

.input,
.select,
textarea.input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.field-wrap.has-icon .input,
.field-wrap.has-icon .select,
.field-wrap.has-icon textarea.input { padding-left: 12px; }

.input::placeholder, textarea.input::placeholder { color: var(--ink-3); font-weight: 400; }

.select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F27D16' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  color: var(--ink);
}
.select option { background: #fff; color: var(--ink); }

textarea.input {
  resize: vertical;
  min-height: 88px;
  padding-top: 12px;
  line-height: 1.5;
}

.toggle-pw {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: transparent; border: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 0;
  transition: all .15s;
}
.toggle-pw:hover { color: var(--ya-orange); background: rgba(242,125,22,.08); }

/* segmented */
.seg {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 0;
  padding: 4px;
  gap: 4px;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  padding: 11px 14px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 0;
  transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.seg label svg { width: 14px; height: 14px; }
.seg input:checked + label {
  background: linear-gradient(135deg, var(--ya-orange) 0%, var(--ya-orange-2) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242,125,22,.35);
}
.seg label:hover { color: var(--ya-navy); }
.seg input:checked + label:hover { color: #fff; }

/* row */
.row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 4px 0 22px;
}
.check {
  display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.check input { display: none; }
.check .box {
  width: 17px; height: 17px;
  border: 1.5px solid var(--line);
  border-radius: 0;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all .15s;
}
.check:hover .box { border-color: var(--ya-orange); }
.check input:checked + .box {
  background: linear-gradient(135deg, var(--ya-orange), var(--ya-orange-2));
  border-color: var(--ya-orange);
}
.check input:checked + .box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.link {
  color: var(--ya-teal);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: color .15s;
}
.link:hover { color: var(--ya-orange); }

/* primary submit */
.submit {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--ya-orange) 0%, #E56C00 100%);
  color: #fff;
  border: 0;
  padding: 13px 20px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(242,125,22,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .2s;
}
.submit:hover {
  background: linear-gradient(135deg, var(--ya-orange-2) 0%, var(--ya-orange) 100%);
  box-shadow: 0 12px 32px rgba(242,125,22,.55), inset 0 1px 0 rgba(255,255,255,.28);
  transform: translateY(-1px);
}
.submit:active { transform: translateY(0); }
.submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.submit svg { width: 16px; height: 16px; }

.btn-ghost {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 18px;
  border-radius: 0;
  display: grid; place-items: center;
  transition: all .2s;
}
.btn-ghost:hover {
  background: var(--bg-2);
  color: var(--ya-navy);
  border-color: var(--ya-navy);
}
.btn-ghost svg { width: 16px; height: 16px; }

.btn-row { display: flex; gap: 12px; align-items: stretch; }

/* footer */
.foot-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}
.foot-note a {
  color: var(--ya-orange);
  text-decoration: none;
  font-weight: 800;
}
.foot-note a:hover { color: var(--ya-navy); }

.panel-bottom {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 14px;
}
.panel-bottom .lock-ic { display: inline-flex; align-items: center; gap: 7px; }
.panel-bottom .lock-ic svg { width: 12px; height: 12px; color: var(--ya-orange); }

/* notice */
.notice {
  display: flex; gap: 10px;
  background: rgba(32,129,140,.07);
  border: 1px solid rgba(32,129,140,.25);
  border-left: 3px solid var(--ya-teal);
  border-radius: 0;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.notice strong { color: var(--ya-navy); font-weight: 800; }
.notice .ic { flex-shrink: 0; width: 16px; height: 16px; color: var(--ya-teal); margin-top: 1px; }

/* error */
.error-box {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.28);
  border-left: 3px solid #DC2626;
  border-radius: 0;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #B91C1C;
  display: none;
  align-items: center; gap: 8px;
}
.error-box.show { display: flex; }
.error-box svg { width: 16px; height: 16px; flex-shrink: 0; }

/* role cards */
.roles { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 18px; }
.role-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  transition: all .2s;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ya-orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s;
}
.role-card:hover {
  border-color: var(--ya-orange);
  background: #FFFCF8;
  transform: translateX(2px);
}
.role-card.active {
  background: #FFFCF8;
  border-color: var(--ya-orange);
  box-shadow: 0 10px 26px rgba(242,125,22,.15);
}
.role-card.active::before { transform: scaleY(1); }
.role-card .ic-w {
  width: 28px; height: 28px;
  background: transparent;
  border: 0;
  display: grid; place-items: center;
  transition: color .2s;
}
.role-card .ic-w svg { width: 26px; height: 26px; color: var(--ink-2); transition: color .2s; stroke-width: 1.8; }
.role-card.active .ic-w { background: transparent; border: 0; box-shadow: none; }
.role-card.active .ic-w svg { color: var(--ya-orange); }
.role-card .info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.role-card .info .ttl { font-size: 15px; font-weight: 900; letter-spacing: -.3px; color: var(--ya-navy); line-height: 1.2; }
.role-card .info .desc { font-size: 12px; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.role-card .pick { font-size: 16px; color: var(--ink-3); transition: all .2s; }
.role-card.active .pick { color: var(--ya-orange); transform: translateX(3px); }

/* steps */
.step { display: none; animation: stepIn .4s cubic-bezier(.2,.7,.3,1) both; }
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.progress span {
  height: 3px; background: var(--line); border-radius: 0;
  position: relative; overflow: hidden;
}
.progress span::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ya-orange), var(--ya-orange-2));
  border-radius: 0;
  transform: translateX(-100%);
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.progress span.done::after { transform: translateX(0); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .duo { grid-template-columns: 1fr; } }

/* success */
.success-wrap { text-align: center; padding: 12px 0 4px; }
.success-mark {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ya-orange) 0%, var(--ya-orange-2) 100%);
  display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(242,125,22,.40);
  color: #fff;
  position: relative;
  animation: successPop .55s cubic-bezier(.2,1.4,.3,1) both;
}
.success-mark svg { width: 36px; height: 36px; }
@keyframes successPop { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }

/* entrance — sade */
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.card-inner > * {
  opacity: 0;
  transform: translateY(8px);
  animation: rise .65s cubic-bezier(.2,.7,.3,1) forwards;
}
.card-inner > *:nth-child(1)  { animation-delay: .12s; }
.card-inner > *:nth-child(2)  { animation-delay: .17s; }
.card-inner > *:nth-child(3)  { animation-delay: .22s; }
.card-inner > *:nth-child(4)  { animation-delay: .27s; }
.card-inner > *:nth-child(5)  { animation-delay: .32s; }
.card-inner > *:nth-child(6)  { animation-delay: .37s; }
.card-inner > *:nth-child(7)  { animation-delay: .42s; }
.card-inner > *:nth-child(8)  { animation-delay: .47s; }
.card-inner > *:nth-child(9)  { animation-delay: .52s; }
.card-inner > *:nth-child(10) { animation-delay: .57s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .hero-inner { padding: 36px 48px; }
  .stat-card .v { font-size: 26px; }
  .hero-logo-big { width: min(68%, 580px); }
}
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .hero { display: none; }
  .panel { min-height: 100vh; padding: 24px 22px; }
}
@media (max-width: 540px) {
  .panel { padding: 18px 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
