:root {
  --sh-teal: 0 8px 40px rgba(13, 148, 136, 0.3);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--dark);
  display: flex;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/*
  Giriş sayfası sol paneli. Form alanını ekrana soldan kontrollü biçimde taşır.
*/
.panel-left {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  overflow-y: auto;
  transform: translateX(-100%);
  animation: fromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}
@keyframes fromLeft {
  to {
    transform: translateX(0);
  }
}

/*
  Giriş sayfası sağ marka paneli. Tanıtım içeriğini masaüstünde ayrı bir görsel alan olarak sunar.
*/
.panel-right {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px;
  transform: translateX(100%);
  animation: fromRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}
@keyframes fromRight {
  to {
    transform: translateX(0);
  }
}

.rp-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1200&q=60&auto=format")
    center/cover no-repeat;
  opacity: 0.05;
}
.rp-ov {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 30% 40%,
      rgba(13, 148, 136, 0.16) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 80% 75%,
      rgba(13, 148, 136, 0.08) 0%,
      transparent 55%
    );
}
.rp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  animation: drift linear infinite;
}
@keyframes drift {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-80px) scale(1.4);
    opacity: 0;
  }
}
.rp-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 380px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.2s;
  width: fit-content;
}
.back-link:hover {
  color: var(--teal);
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 44px;
  width: fit-content;
}
.logo-row img {
  height: 36px;
  width: auto;
}
.logo-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-name span {
  color: var(--teal);
}

.tabs {
  display: flex;
  background: var(--off);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 36px;
  width: fit-content;
}
.tab-btn {
  padding: 9px 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text3);
  border-radius: 9px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: "Sora", sans-serif;
  transition: all 0.25s;
}
.tab-btn.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 12px rgba(15, 22, 41, 0.09);
}

.pane {
  display: none;
  animation: fadeUp 0.35s ease;
}
.pane.active {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.form-sub {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 28px;
}
.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fg {
  margin-bottom: 16px;
}
.fg label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.inp-wrap {
  position: relative;
}
.inp-wrap .bi {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text3);
  pointer-events: none;
}
.inp {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px 11px 40px;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.inp.no-ic {
  padding-left: 14px;
}
.inp:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.inp::placeholder {
  color: #c0c7d8;
}
.password-field {
  position: relative;
}
.password-field .inp {
  padding-right: 48px;
}
.password-field .bi-lock,
.password-field .bi-lock-fill {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text3);
  pointer-events: none;
  z-index: 2;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  transition: color 0.2s;
  padding: 0;
}
.password-toggle:hover {
  color: var(--teal);
}
.password-toggle i {
  pointer-events: none;
  font-size: 16px;
}

.pw-str {
  margin-top: 7px;
  display: none;
}
.pw-str.show {
  display: block;
}
.str-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.str-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}
.str-bar.w {
  background: var(--danger);
}
.str-bar.m {
  background: var(--amber);
}
.str-bar.s {
  background: var(--teal);
}
.str-lbl {
  font-size: 11px;
  color: var(--text3);
}
.ck-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.ck-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}
.ck-row label {
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  line-height: 1.5;
}
.link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.link:hover {
  text-decoration: underline;
}
.alert {
  display: none;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  align-items: center;
  gap: 8px;
}
.alert.show {
  display: flex;
}
.alert-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.alert-ok {
  background: var(--teal-bg);
  border: 1px solid var(--teal-soft);
  color: var(--teal);
}
.btn-sub {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: var(--r);
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--sh-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-sub:hover {
  background: var(--teal-l);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
}
.sw-row {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text3);
}
.ftr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/*
  Sağ panel içerikleri. Marka, kısa fayda listesi ve istatistiklerin hizasını yönetir.
*/
.rp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-l);
  margin-bottom: 28px;
}
.rp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-l);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.rp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  justify-content: center;
}
.rp-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 28px rgba(13, 148, 136, 0.45));
}
.rp-logo-name {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.rp-logo-name span {
  color: var(--teal-l);
}
.rp-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.rp-title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--teal-l);
}
.rp-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 32px;
}
.rp-steps {
  text-align: left;
  margin-bottom: 28px;
}
.rp-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rp-step:last-child {
  border: none;
}
.rp-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-l);
  flex-shrink: 0;
}
.rp-step-t {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}
.rp-step-d {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.36);
  line-height: 1.5;
}
.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
}
.t-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 12px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.t-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.t-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.t-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-left: auto;
}

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
  }
  .split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }
  .panel-right {
    display: none;
  }
  .panel-left {
    padding: 40px 24px;
    height: auto;
    transform: none;
    animation: none;
  }
}

@media (max-width: 480px) {
  .panel-left {
    padding: 28px 18px;
  }
  .logo-row,
  .back-link {
    align-self: flex-start;
  }
  .logo-row {
    margin-bottom: 28px;
  }
  .pane {
    width: 100%;
  }
  .tabs {
    width: 100%;
  }
  .tab-btn {
    flex: 1;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }
  .form-row2 {
    grid-template-columns: 1fr;
  }
  .ftr-row,
  .sw-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .btn-sub {
    width: 100%;
  }
}
