/* ==========================================================
   Giriş sayfası
   ========================================================== */
.login-page { min-height: 100vh; overflow-x: hidden; position: relative; }

/* Arka plan */
.aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45;
  animation: drift 26s ease-in-out infinite;
}
.aurora span:nth-child(1) { width: 620px; height: 620px; background: #2C4BFF; top: -180px; left: -120px; }
.aurora span:nth-child(2) { width: 520px; height: 520px; background: #7A3DFF; bottom: -200px; left: 30%; animation-delay: -8s; opacity: .3; }
.aurora span:nth-child(3) { width: 420px; height: 420px; background: #00B3A4; top: 20%; right: -140px; animation-delay: -16s; opacity: .22; }
.grid-lines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

.login-layout {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr 1fr;
}

/* ---------- Sol taraf ---------- */
.showcase-side {
  padding: 48px 64px;
  display: flex; flex-direction: column; gap: 48px;
  animation: fadeIn .8s var(--ease);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px rgba(91, 140, 255, .8);
  font-size: 24px; color: #fff;
}
.brand strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.brand span { font-size: 13px; color: var(--muted); }

.hero { max-width: 600px; }
.hero-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 13px; border-radius: 999px;
  background: rgba(47, 211, 154, .08); border: 1px solid rgba(47, 211, 154, .2);
  color: #9FF0CF; font-size: 13px; font-weight: 600;
}
.mega-free-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 8px 18px 8px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 211, 154, .18), rgba(91, 140, 255, .22));
  border: 1.5px solid rgba(47, 211, 154, .5);
  box-shadow: 0 0 25px rgba(47, 211, 154, .25), inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: pulse-glow 3.5s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 18px rgba(47, 211, 154, .2); border-color: rgba(47, 211, 154, .45); }
  100% { box-shadow: 0 0 34px rgba(47, 211, 154, .45); border-color: rgba(47, 211, 154, .85); }
}
.mfb-icon {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #2FD39A, #22C3C3); color: #052117; font-size: 16px;
  box-shadow: 0 4px 12px rgba(47, 211, 154, .4); flex: none;
}
.mfb-text strong {
  display: block; font-size: 14.5px; font-weight: 800; letter-spacing: .04em; color: #7BFFD1; line-height: 1.15;
}
.mfb-text small {
  display: block; font-size: 11.5px; color: #D3E0FA; font-weight: 600; letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800;
  margin: 22px 0 18px;
}
.grad-text {
  background: linear-gradient(90deg, #7FA6FF, #B28CFF 50%, #6FE3D0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 520px; }

.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.feature-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: #C9D1F0;
  animation: fadeUp .6s var(--ease) both;
}
.feature-chips li .icon { color: var(--accent); font-size: 16px; }
.feature-chips li:nth-child(2) { animation-delay: .06s; }
.feature-chips li:nth-child(3) { animation-delay: .12s; }
.feature-chips li:nth-child(4) { animation-delay: .18s; }
.feature-chips li:nth-child(5) { animation-delay: .24s; }

/* Mini pano */
.showcase { position: relative; max-width: 640px; height: 330px; margin-top: auto; }
.sc-main {
  position: absolute; inset: 0 60px 20px 0;
  background: rgba(16, 23, 45, .85); border: 1px solid var(--border-2);
  border-radius: 20px; padding: 18px; backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  display: flex; flex-direction: column; gap: 14px;
  animation: fadeUp .9s .15s var(--ease) both;
}
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-dots { display: flex; gap: 6px; }
.sc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.sc-dots i:first-child { background: #FF5C7A; } .sc-dots i:nth-child(2) { background: #F7B23B; } .sc-dots i:nth-child(3) { background: #2FD39A; }
.sc-title { font-weight: 700; font-size: 14px; }
.sc-clock { margin-left: auto; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.sc-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sc-grid div {
  border-radius: 12px; padding: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(255,255,255,.02));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: fadeUp .5s var(--ease) both;
}
.sc-grid div:nth-child(n) { animation-delay: calc(.3s + var(--d, 0s)); }
.sc-grid b { font-size: 17px; }
.sc-grid span { font-size: 12px; font-weight: 600; color: var(--c); }
.sc-progress { height: 5px; border-radius: 9px; background: rgba(255,255,255,.07); overflow: hidden; }
.sc-progress i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); animation: grow 8s linear infinite; }
@keyframes grow { from { width: 10%; } to { width: 100%; } }

.sc-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(21, 29, 55, .92); border: 1px solid var(--border-2);
  padding: 12px 16px 12px 12px; border-radius: 14px; backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
  animation: float 6s ease-in-out infinite;
}
.sc-float small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sc-float b { font-size: 14px; }
.sc-float .mono { font-family: var(--mono); }
.sc-ic {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
}
.f1 { right: 0; top: 30px; }
.f2 { right: 20px; bottom: 0; animation-delay: -2s; }
.f3 { left: -24px; bottom: 70px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sağ taraf ---------- */
.form-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 40px 28px; gap: 28px;
}
.login-card {
  width: 100%; max-width: 440px;
  background: rgba(16, 23, 45, .72); border: 1px solid var(--border-2);
  border-radius: 24px; padding: 34px 34px 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  animation: fadeUp .7s .1s var(--ease) both;
  margin-top: auto;
}
.login-card.shake { animation: shake .5s; }

/* Belirgin Ücretsiz Banner */
.card-free-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 16px; margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(47, 211, 154, .18), rgba(34, 195, 195, .12) 60%, rgba(91, 140, 255, .15));
  border: 1.5px solid rgba(47, 211, 154, .45);
  box-shadow: 0 10px 30px -10px rgba(47, 211, 154, .3), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.card-free-banner::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-25deg); animation: shine-sweep 4.5s ease-in-out infinite;
}
@keyframes shine-sweep { 0%, 65% { left: -100%; } 100% { left: 200%; } }
.cfb-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2FD39A, #22C3C3); color: #062419; font-size: 20px;
  flex: none; box-shadow: 0 6px 18px -4px rgba(47, 211, 154, .5);
}
.cfb-body { flex: 1; min-width: 0; }
.cfb-title {
  font-size: 15.5px; font-weight: 800; letter-spacing: .03em; color: #7BFFD1;
  display: flex; align-items: center; gap: 8px;
}
.cfb-desc {
  font-size: 12px; color: #C2D2F2; font-weight: 500; margin-top: 2px; line-height: 1.3;
}
.cfb-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 9px;
  border-radius: 6px; background: #2FD39A; color: #062419; flex: none;
}

.lc-head { margin-bottom: 26px; }
.lc-badge {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 24px; margin-bottom: 18px;
  border: 1px solid rgba(91,140,255,.25);
}
.lc-head h2 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.lc-head p { color: var(--muted); font-size: 14.5px; margin-top: 5px; }

.free-assurance {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 20px; font-size: 12.5px; font-weight: 600; color: #9AA8D0; flex-wrap: wrap;
}
.free-assurance span { display: inline-flex; align-items: center; gap: 6px; }
.free-assurance .icon { color: var(--success); font-size: 14px; }

.field { display: block; margin-bottom: 18px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: #C3CAE6; margin-bottom: 8px; }
.input-wrap { position: relative; display: block; }
.input-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 18px; display: flex; transition: color .2s; pointer-events: none; }
.input-wrap input {
  width: 100%; height: 52px; padding: 0 48px 0 46px;
  background: rgba(8, 12, 26, .6); border: 1px solid var(--border-2); border-radius: 13px;
  font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap input::placeholder { color: var(--dim); }
.input-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,140,255,.15); background: rgba(8, 12, 26, .9); }
.input-wrap:focus-within .input-ic { color: var(--accent); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,92,122,.12); }
.toggle-pass {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  color: var(--muted); font-size: 18px; transition: background .2s, color .2s;
}
.toggle-pass:hover { background: rgba(255,255,255,.06); color: var(--text); }

.form-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 13.5px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: #C3CAE6; user-select: none; }
.check input { display: none; }
.check .box {
  width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--border-2); background: rgba(8,12,26,.6);
  display: grid; place-items: center; transition: .2s;
}
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.link { color: #8FB0FF; font-weight: 600; }
.link:hover { color: #B8CCFF; }

.form-error {
  display: none; align-items: center; gap: 10px;
  background: rgba(255,92,122,.1); border: 1px solid rgba(255,92,122,.25); color: #FFB3C1;
  padding: 11px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px;
}
.form-error.show { display: flex; animation: fadeUp .3s var(--ease); }

.btn-block { width: 100%; height: 52px; font-size: 15.5px; position: relative; }
.spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .btn-label { display: none; }
.btn.loading .spinner { display: block; }
.btn.success { background: linear-gradient(135deg, #22B07D, #2FD39A); }

.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--dim); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }

.demo-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 15px;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
              linear-gradient(135deg, rgba(91,140,255,.7), rgba(139,108,255,.5), rgba(47,211,154,.6)) border-box;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.demo-btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: skewX(-20deg); animation: sweep 4s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.demo-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(91,140,255,.6); }
.demo-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 18px;
}
.demo-ic .icon { fill: currentColor; }
.demo-text { flex: 1; }
.demo-text b { display: block; font-size: 15.5px; }
.demo-text small { color: var(--muted); font-size: 13px; }
.demo-arrow { color: var(--muted); font-size: 20px; display: flex; transition: transform .25s var(--ease), color .2s; }
.demo-btn:hover .demo-arrow { transform: translateX(4px); color: var(--text); }

.login-foot { margin-top: auto; color: var(--dim); font-size: 12.5px; }
.foot-highlight { color: #6EE7BE; font-weight: 700; }

/* Sayfa geçişi */
.page-transition {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: var(--bg); opacity: 0; transition: opacity .5s var(--ease);
}
.page-transition.on { opacity: 1; pointer-events: all; }

@media (max-width: 1080px) {
  .login-layout { grid-template-columns: 1fr; }
  .showcase-side { padding: 32px 28px 0; gap: 28px; }
  .showcase { display: none; }
  .form-side { padding: 32px 20px; }
  .login-card { margin-top: 0; }
}
