/* design-v2 · giriş ve şifre sayfaları ortak stilleri (layouts/auth.blade.php) */
/* ───────── Tokens (ebegümeci logo + frontend/mobil ile ortak) ───────── */
:root{
  --petal-orange: #f07a17;
  --petal-yellow: #f6b40b;
  --petal-red:    #e8173f;
  --petal-rose:   #ef4a8a;
  --petal-blush:  #f6a3c0;

  --brand:        #e84577;
  --brand-hover:  #d13a6a;
  --brand-ring:   rgba(232, 69, 119, .22);
  --brand-grad:   linear-gradient(100deg, var(--petal-yellow), var(--petal-orange) 28%, var(--petal-red) 62%, var(--petal-rose));

  --bg:           #fbf1e9;
  --surface:      #ffffff;
  --surface-2:    #fdf8f4;
  --heading:      #212121;
  --text:         #3a3a3a;
  --muted:        #707070;
  --border:       rgba(33, 33, 33, .10);
  --border-strong:rgba(33, 33, 33, .18);
  --danger:       #c8233f;
  --danger-bg:    rgba(232, 23, 63, .07);
  --success:      #1f7a4d;
  --success-bg:   rgba(61, 153, 112, .10);

  --stage:        #1a0c14;
  --stage-2:      #2a1220;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 28px;
  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.077 24.6%, 1.055 28%, 1.006 34.9%, .989 39.5%, .999 50%, 1);
  --shadow-card: 0 1px 2px rgba(26, 12, 20, .04), 0 12px 40px -12px rgba(26, 12, 20, .14);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --base: .05s; /* sayfa giriş animasyonunun başlangıç gecikmesi */
}
html.intro-on{ --base: 1.75s; }
html.intro-skipped{ --base: 0s; }

@media (prefers-color-scheme: dark){
  :root{
    --bg:           #140b10;
    --surface:      #1d1218;
    --surface-2:    #22161d;
    --heading:      #f7eff3;
    --text:         #e4d8de;
    --muted:        #a8979f;
    --border:       rgba(255, 255, 255, .09);
    --border-strong:rgba(255, 255, 255, .18);
    --danger:       #ff7b93;
    --danger-bg:    rgba(255, 90, 120, .10);
    --success:      #6fd3a2;
    --success-bg:   rgba(111, 211, 162, .10);
    --brand-ring:   rgba(239, 74, 138, .30);
    --shadow-card:  0 1px 2px rgba(0,0,0,.3), 0 18px 50px -16px rgba(0,0,0,.6);
  }
}

*, *::before, *::after{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img{ display: block; max-width: 100%; }
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--brand); outline-offset: 2px; }

/* ───────── Layout ───────── */
.shell{
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px){
  .shell{ grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}

/* ───────── Sahne (sol marka alanı) ───────── */
.stage{
  display: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 14px 0 14px 14px;
  min-height: calc(100dvh - 28px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 100%, var(--stage-2), transparent 60%),
    var(--stage);
  color: #fff;
  padding: 40px 48px 36px;
  flex-direction: column;
}
@media (min-width: 1024px){ .stage{ display: flex; } }

.aurora{ position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
  animation: drift 22s var(--ease-out) infinite alternate;
}
.blob.b1{ width: 46%; aspect-ratio: 1; left: -10%; bottom: -16%; background: var(--petal-red); }
.blob.b2{ width: 38%; aspect-ratio: 1; left: 30%; bottom: -22%; background: var(--petal-orange); opacity: .45; animation-duration: 26s; animation-delay: -6s; }
.blob.b3{ width: 34%; aspect-ratio: 1; right: -6%; top: -8%; background: var(--petal-rose); opacity: .5; animation-duration: 19s; animation-delay: -3s; }
.blob.b4{ width: 22%; aspect-ratio: 1; right: 22%; top: 30%; background: var(--petal-yellow); opacity: .22; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift{
  0%  { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, -8%, 0) scale(1.12); }
  100%{ transform: translate3d(-5%, 4%, 0) scale(.94); }
}

/* ince ızgara + film greni */
.stage::before{
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 75%);
}
.stage::after{
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage-top{
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.stage-top .wordmark{ height: 34px; width: auto; }
.badge{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.badge .pulse{
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: #5be3a2;
}
.badge .pulse::after{
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid #5be3a2; opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping{ 0%{ transform: scale(.4); opacity: .9; } 80%,100%{ transform: scale(1.6); opacity: 0; } }

/* büyük çiçek */
.stage-flower{
  position: absolute;
  top: -5%; right: -8%;
  width: min(40%, 360px);
  aspect-ratio: 1;
  z-index: 0;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0);
  transition: transform .9s var(--ease-out);
}
.stage-flower::before{
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,74,138,.55), rgba(240,122,23,.25) 45%, transparent 70%);
  filter: blur(40px);
}
.stage-flower img{
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
  animation: spin 90s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.stage-body{
  position: relative; z-index: 2;
  margin-top: auto;
  max-width: 520px;
}
.eyebrow{
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}
.stage h2{
  margin: 0 0 18px;
  font-size: clamp(34px, 3.3vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}
.grad-text{
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stage-lead{
  margin: 0 0 32px;
  max-width: 440px;
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.68);
  text-wrap: pretty;
}
.features{
  list-style: none; margin: 0 0 36px; padding: 0;
  display: grid; gap: 10px;
  max-width: 440px;
}
.features li{
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9);
}
.features small{ display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.55); margin-top: 1px; }
.f-icon{
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  color: #fff;
}
.f-icon svg{ width: 18px; height: 18px; }
.f-icon.c1{ background: linear-gradient(135deg, var(--petal-orange), var(--petal-yellow)); }
.f-icon.c2{ background: linear-gradient(135deg, var(--petal-red), var(--petal-rose)); }
.f-icon.c3{ background: linear-gradient(135deg, var(--petal-rose), var(--petal-blush)); }

.stage-foot{
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.roles{ display: flex; flex-wrap: wrap; gap: 6px; }
.roles span{
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.72); font-weight: 600;
}

/* ───────── Form paneli ───────── */
.panel{
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100dvh;
  padding: 20px 20px 28px;
}
@media (min-width: 640px){ .panel{ padding: 28px 40px 32px; } }

/* mobilde üst marka bandı */
.mobile-hero{
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: -20px -20px 8px;
  padding: 44px 20px 36px;
}
.mobile-hero::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 15% 10%, rgba(246,180,11,.22), transparent 70%),
    radial-gradient(55% 60% at 90% 0%, rgba(239,74,138,.22), transparent 70%),
    radial-gradient(60% 60% at 60% 100%, rgba(240,122,23,.14), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
}
.mobile-hero .flower{ width: 76px; height: 76px; filter: drop-shadow(0 14px 22px rgba(232,69,119,.28)); }
.mobile-hero .wordmark{ height: 30px; width: auto; }
@media (min-width: 640px){ .mobile-hero{ margin: -28px -40px 8px; } }
@media (min-width: 1024px){ .mobile-hero{ display: none; } }

.panel-top{
  display: none;
  justify-content: flex-end; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted);
}
@media (min-width: 1024px){ .panel-top{ display: flex; } }
.panel-top a{
  font-weight: 700; color: var(--heading); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .2s, transform .2s var(--ease-out);
}
.panel-top a:hover{ border-color: var(--border-strong); transform: translateY(-1px); }

.form-area{
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0 24px;
}
.form-wrap{ width: 100%; max-width: 400px; }

.form-head{ margin-bottom: 28px; }
.form-head .mark{
  display: none;
  width: 44px; height: 44px; margin-bottom: 22px;
  filter: drop-shadow(0 10px 18px rgba(232,69,119,.25));
}
@media (min-width: 1024px){ .form-head .mark{ display: block; } }
.form-head h1{
  margin: 0 0 8px;
  font-size: 30px; line-height: 1.15;
  font-weight: 800; letter-spacing: -.03em;
  color: var(--heading);
}
.form-head p{ margin: 0; color: var(--muted); font-size: 15px; }

.alert{
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin-bottom: 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
}
.alert svg{ flex: none; width: 18px; height: 18px; margin-top: 1px; }
.alert ul{ margin: 0; padding-left: 16px; }
.alert-danger { color: var(--danger);  background: var(--danger-bg);  border-color: color-mix(in srgb, var(--danger) 22%, transparent); }
.alert-success{ color: var(--success); background: var(--success-bg); border-color: color-mix(in srgb, var(--success) 22%, transparent); }

.field{ margin-bottom: 18px; }
.field-label{
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.field-label label{ font-size: 13.5px; font-weight: 700; color: var(--heading); }
.control{ position: relative; }
.control .lead-icon{
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted);
  pointer-events: none;
  transition: color .2s;
}
.control input{
  width: 100%; height: 50px;
  padding: 0 14px 0 44px;
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  box-shadow: 0 1px 2px rgba(26,12,20,.04);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.control input::placeholder{ color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 400; }
.control input:hover{ border-color: color-mix(in srgb, var(--brand) 35%, var(--border-strong)); }
.control input:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}
.control:focus-within .lead-icon{ color: var(--brand); }
.control input:-webkit-autofill{
  -webkit-text-fill-color: var(--heading);
  box-shadow: 0 0 0 100px var(--surface) inset;
  caret-color: var(--heading);
}
.control input:-webkit-autofill:focus{ box-shadow: 0 0 0 100px var(--surface) inset, 0 0 0 4px var(--brand-ring); }
.control.has-pw input{ padding-right: 50px; }

.field.invalid input{ border-color: var(--danger); }
.field.invalid input:focus{ box-shadow: 0 0 0 4px var(--danger-bg); }
.field.invalid .lead-icon{ color: var(--danger); }
.field.invalid .control{ animation: shake .42s var(--ease-out) both; animation-delay: calc(var(--base) + .45s); }
@keyframes shake{
  0%,100%{ transform: translateX(0); }
  20%{ transform: translateX(-6px); } 40%{ transform: translateX(5px); }
  60%{ transform: translateX(-3px); } 80%{ transform: translateX(2px); }
}
.field-error{
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--danger);
}
.field-error svg{ width: 15px; height: 15px; flex: none; }

.pw-toggle{
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 10px; padding: 0;
  background: transparent; color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pw-toggle:hover{ background: color-mix(in srgb, var(--heading) 6%, transparent); color: var(--heading); }
.pw-toggle svg{ width: 18px; height: 18px; }
.pw-toggle .off{ display: none; }
.pw-toggle[aria-pressed="true"] .on{ display: none; }
.pw-toggle[aria-pressed="true"] .off{ display: block; }

.caps{
  display: none; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--petal-orange);
}
.caps.show{ display: flex; animation: fadeIn .25s var(--ease-out); }
.caps svg{ width: 14px; height: 14px; }

.row-between{
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 4px 0 24px;
}
.check{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer; user-select: none;
}
.check input{
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin: 0; flex: none;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.check input::after{
  content: ""; width: 10px; height: 10px;
  background: #fff;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 69%);
  transform: scale(0); transition: transform .25s var(--ease-spring);
}
.check input:checked{ background: var(--brand); border-color: var(--brand); }
.check input:checked::after{ transform: scale(1); }
.check input:focus-visible{ outline: none; box-shadow: 0 0 0 4px var(--brand-ring); }

.link{
  font-size: 14px; font-weight: 700;
  color: var(--brand); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
.link:hover{ background-size: 100% 1.5px; color: var(--brand-hover); }

.btn-primary{
  position: relative; overflow: hidden;
  width: 100%; height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--radius);
  font: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: -.005em;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)) , var(--brand);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 1px 2px rgba(209,58,106,.3),
    0 10px 24px -8px rgba(232,69,119,.55);
  cursor: pointer;
  transition: background-color .2s, box-shadow .25s, transform .15s var(--ease-out);
}
.btn-primary:hover{
  background-color: var(--brand-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(209,58,106,.3), 0 14px 30px -8px rgba(232,69,119,.6);
}
.btn-primary:active{ transform: scale(.985); }
.btn-primary::before{ /* parıltı */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease-out);
}
.btn-primary:hover::before{ left: 130%; }
.btn-primary .arrow{ width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn-primary:hover .arrow{ transform: translateX(3px); }
.btn-primary .spinner{ display: none; width: 22px; height: 22px; animation: spin .9s linear infinite; }
.btn-primary.loading{ pointer-events: none; }
.btn-primary.loading .arrow{ display: none; }
.btn-primary.loading .spinner{ display: block; }

.divider{
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.divider::before, .divider::after{ content: ""; flex: 1; height: 1px; background: var(--border); }

.cta{
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.cta:hover{ transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.cta-icon{
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--petal-yellow) 18%, transparent);
  color: var(--petal-orange);
}
.cta-icon svg{ width: 20px; height: 20px; }
.cta-text{ flex: 1; min-width: 0; }
.cta-text strong{ display: block; font-size: 14.5px; font-weight: 700; color: var(--heading); }
.cta-text span{ display: block; font-size: 13px; color: var(--muted); }
.cta .chev{ width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease-out), color .2s; }
.cta:hover .chev{ transform: translateX(3px); color: var(--brand); }

.panel-foot{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: 12.5px; color: var(--muted);
}
.panel-foot .secure{ display: inline-flex; align-items: center; gap: 6px; }
.panel-foot svg{ width: 14px; height: 14px; }

/* ───────── Sayfa giriş animasyonu ───────── */
.rv{
  animation: rise .8s var(--ease-out) both;
  animation-delay: calc(var(--base) + var(--i, 0) * 65ms);
}
.rv-fade{
  animation: fadeIn 1.1s var(--ease-out) both;
  animation-delay: calc(var(--base) + var(--i, 0) * 65ms);
}
@keyframes rise{ from{ opacity: 0; transform: translateY(14px); filter: blur(4px); } to{ opacity: 1; transform: none; filter: none; } }
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }
.stage.rv-stage{ animation: stageIn 1.2s var(--ease-out) both; animation-delay: var(--base); }
@keyframes stageIn{ from{ opacity: 0; transform: scale(.97); clip-path: inset(4% 4% 4% 4% round 40px); } to{ opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius-lg)); } }

/* ───────── Açılış (intro) ───────── */
.intro{ display: none; }
html.intro-on .intro{
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
  animation: introOut .7s var(--ease-out) forwards;
  animation-delay: 1.55s;
  cursor: pointer;
}
html.intro-skipped .intro{ animation: introOut .35s var(--ease-out) forwards; }
.intro::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 50% 50%, rgba(239,74,138,.16), transparent 70%),
    radial-gradient(30% 30% at 42% 46%, rgba(246,180,11,.14), transparent 70%);
  animation: fadeIn 1s var(--ease-out) both;
}
@keyframes introOut{ to{ opacity: 0; visibility: hidden; } }

.lockup{
  position: relative;
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 22px);
  animation: lockupOut .7s var(--ease-out) forwards;
  animation-delay: 1.5s;
}
@keyframes lockupOut{ to{ transform: scale(.94) translateY(-6px); opacity: 0; filter: blur(6px); } }

.lockup .bloom{
  position: relative;
  width: clamp(80px, 12vw, 148px); aspect-ratio: 1;
}
.lockup .bloom img{
  width: 100%; height: 100%;
  animation: bloom 1.1s var(--ease-spring) both;
  filter: drop-shadow(0 16px 28px rgba(232,69,119,.28));
}
@keyframes bloom{
  0%  { transform: scale(.15) rotate(-140deg); opacity: 0; filter: blur(10px); }
  35% { opacity: 1; filter: blur(0); }
  100%{ transform: scale(1) rotate(0deg); opacity: 1; filter: drop-shadow(0 16px 28px rgba(232,69,119,.28)); }
}
.lockup .ring{
  position: absolute; inset: -14%;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: ring 1s var(--ease-out) .25s both;
}
@keyframes ring{ 0%{ transform: scale(.5); opacity: .55; } 100%{ transform: scale(1.6); opacity: 0; } }

/* çiçekten saçılan taç yaprağı noktaları */
.spark{
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; margin: -4.5px;
  border-radius: 50%;
  opacity: 0;
  animation: spark .9s var(--ease-out) .3s both;
}
.spark:nth-child(1){ background: var(--petal-orange); --a: -90deg; }
.spark:nth-child(2){ background: var(--petal-red);    --a: -18deg; }
.spark:nth-child(3){ background: var(--petal-rose);   --a: 54deg; }
.spark:nth-child(4){ background: var(--petal-blush);  --a: 126deg; }
.spark:nth-child(5){ background: var(--petal-yellow); --a: 198deg; }
@keyframes spark{
  0%  { opacity: 0; transform: rotate(var(--a)) translateX(10px) scale(.4); }
  25% { opacity: 1; }
  100%{ opacity: 0; transform: rotate(var(--a)) translateX(clamp(74px, 11vw, 140px)) scale(1); }
}

.lockup .word{
  height: clamp(38px, 6vw, 72px); width: auto;
  clip-path: inset(0 100% 0 0);
  animation: wipe .85s var(--ease-out) .45s forwards;
}
@keyframes wipe{
  0%  { clip-path: inset(-10% 100% -10% 0); transform: translateX(-14px); filter: blur(4px); }
  100%{ clip-path: inset(-10% 0 -10% 0);    transform: none;              filter: none; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .stage-flower{ transform: none; }
}

.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  

/* ───────── Şifre sayfaları ───────── */
.back-link{
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 26px;
  font-size: 14px; font-weight: 700;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.back-link svg{ width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.back-link:hover{ color: var(--heading); }
.back-link:hover svg{ transform: translateX(-3px); }

.form-head .step-icon{
  width: 52px; height: 52px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--petal-rose), var(--petal-red));
  box-shadow: 0 12px 26px -10px rgba(232, 69, 119, .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.form-head .step-icon svg{ width: 24px; height: 24px; }
.form-head .step-icon.warm{ background: linear-gradient(135deg, var(--petal-yellow), var(--petal-orange)); box-shadow: 0 12px 26px -10px rgba(240, 122, 23, .6), inset 0 1px 0 rgba(255,255,255,.25); }

/* değiştirilemeyen hesap satırı */
.identity{
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
}
.identity .avatar{
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: #fff;
  background: var(--brand-grad);
}
.identity > div{ min-width: 0; }
.identity small{ display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.identity strong{ display: block; font-size: 14.5px; font-weight: 700; color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* şifre gücü */
.meter{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.meter i{ height: 4px; border-radius: 99px; background: var(--border-strong); opacity: .6; transition: background .35s var(--ease-out), opacity .35s; }
.meter[data-score="1"] i:nth-child(-n+1){ background: var(--petal-red);    opacity: 1; }
.meter[data-score="2"] i:nth-child(-n+2){ background: var(--petal-orange); opacity: 1; }
.meter[data-score="3"] i:nth-child(-n+3){ background: var(--petal-yellow); opacity: 1; }
.meter[data-score="4"] i{ background: #3d9970; opacity: 1; }
.meter-label{ min-height: 18px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.rules{
  list-style: none; margin: 10px 0 0; padding: 0;
  display: grid; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.rules li{ display: flex; align-items: center; gap: 8px; transition: color .2s; }
.rules li::before{
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: center / 10px no-repeat;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease-spring);
}
.rules li.ok{ color: var(--success); }
.rules li.ok::before{
  border-color: var(--success);
  background-color: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  transform: scale(1.06);
}

/* bağlantı gönderildi ekranı */
.sent{ text-align: center; }
.sent .envelope{
  position: relative;
  width: 84px; height: 84px; margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--petal-yellow), var(--petal-orange) 45%, var(--petal-rose));
  box-shadow: 0 18px 40px -14px rgba(240, 122, 23, .6), inset 0 1px 0 rgba(255,255,255,.3);
  animation: pop .9s var(--ease-spring) both;
  animation-delay: calc(var(--base) + .1s);
}
.sent .envelope svg{ width: 36px; height: 36px; }
.sent .envelope::after{
  content: ""; position: absolute; inset: -10px; border-radius: 32px;
  border: 2px solid var(--petal-orange); opacity: 0;
  animation: ringSoft 1.4s var(--ease-out) both;
  animation-delay: calc(var(--base) + .45s);
}
@keyframes pop{ from{ transform: scale(.4) rotate(-12deg); opacity: 0; } to{ transform: none; opacity: 1; } }
@keyframes ringSoft{ 0%{ transform: scale(.7); opacity: .6; } 100%{ transform: scale(1.35); opacity: 0; } }
.sent h1{ margin: 0 0 10px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--heading); }
.sent p{ margin: 0 auto 28px; max-width: 340px; color: var(--muted); }
.sent .hint{ margin: 18px 0 0; font-size: 13.5px; }

.btn-ghost{
  width: 100%; height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius);
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: border-color .2s, transform .2s var(--ease-out);
}
.btn-ghost:hover{ border-color: color-mix(in srgb, var(--brand) 40%, var(--border-strong)); transform: translateY(-1px); }
.field + .btn-primary{ margin-top: 8px; }
