/* ================================
   SOCIAFY — Kayıt Sayfası Stili
   Geliştirici: Proda Medya
   ================================ */

/* ================================
   CSS DEĞİŞKENLERİ
   ================================ */
:root {
  --violet:       #6D28D9;
  --violet-2:     #7C3AED;
  --violet-3:     #8B5CF6;
  --rose:         #DB2777;
  --ink:          #0D0A14;
  --ink-2:        #1A1033;
  --grad:         linear-gradient(135deg, #6D28D9 0%, #DB2777 100%);
  --text-muted:   #A1A1AA;
  --text-dim:     #52506A;
  --border-dim:   rgba(255,255,255,0.08);
  --radius:       12px;
  --radius-lg:    20px;
}

/* ================================
   BASE
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.kayit-body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

/* ================================
   PROGRESS BAR
   ================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

/* ================================
   ADIM SAYACI
   ================================ */
.step-counter {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  z-index: 90;
  letter-spacing: 0.04em;
}

/* ================================
   LOGO
   ================================ */
.kayit-logo {
  display: flex;
  align-items: center;
}

.kayit-logo img {
  height: 32px;
  width: auto;
}

/* Fixed sol üst — adım 1+ */
.kayit-logo-fixed {
  position: fixed;
  top: 16px;
  left: 24px;
  z-index: 90;
}

.kayit-logo-fixed.hidden {
  display: none;
}

/* Ortalı — sadece intro (adım 0) */
.kayit-logo-inline {
  justify-content: center;
  margin-bottom: 32px;
}

.kayit-logo-inline img {
  height: 40px;
}

/* ================================
   BLOB EFEKTLERİ
   ================================ */
.kayit-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.kayit-blob-1 {
  width: 480px;
  height: 480px;
  background: rgba(109, 40, 217, 0.18);
  top: -120px;
  right: -80px;
  animation: blobFloat1 9s ease-in-out infinite;
}

.kayit-blob-2 {
  width: 380px;
  height: 380px;
  background: rgba(219, 39, 119, 0.12);
  bottom: -80px;
  left: -60px;
  animation: blobFloat2 12s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(30px, 20px) scale(1.06); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-20px, 30px) scale(1.04); }
}

/* ================================
   ONBOARDING WRAP
   ================================ */
.onboarding-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 80px 16px 80px;
}

/* ================================
   STEP CONTAINER
   ================================ */
.step-container {
  width: 100%;
  max-width: 640px;
  text-align: center;
  display: none;
  opacity: 0;
}

.step-container.active {
  display: block;
  opacity: 1;
}

/* ================================
   SORU METNİ
   ================================ */
.step-question {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.step-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 400;
}

/* ================================
   INTRO ADIMI (ADIM 0)
   ================================ */
.intro-lines {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}

.intro-line {
  font-family: 'Bricolage Grotesque', sans-serif;
  opacity: 0;
  position: absolute;
  width: 100%;
  transition: none;
}

.intro-line-1 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
}

.intro-line-2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #E2E0EA;
  font-weight: 700;
}

.intro-line-3 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* ================================
   INPUT — UNDERLINE STİL
   ================================ */
.step-input-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.step-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
  caret-color: var(--violet-3);
}

.step-input::placeholder {
  color: rgba(255,255,255,0.22);
}

.step-input:focus {
  border-bottom-color: var(--violet-3);
}

.step-input-lg {
  font-size: 1.15rem;
  max-width: 480px;
  text-align: left;
  padding: 14px 0;
}

/* ================================
   DEVAM BUTONU
   ================================ */
.btn-devam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 14px 40px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  margin-top: 28px;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.4);
  text-decoration: none;
}

.btn-devam:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(109, 40, 217, 0.5);
}

.btn-devam:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1.05rem;
  margin-top: 20px;
}

/* ================================
   GERİ BUTONU
   ================================ */
.btn-back {
  position: fixed;
  bottom: 28px;
  left: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  z-index: 90;
  visibility: hidden;
}

.btn-back:hover {
  color: var(--text-muted);
}

.btn-back.visible {
  visibility: visible;
}

/* ================================
   KART GRİD — SEKTÖR / HEDEF
   ================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.card-grid-sm {
  grid-template-columns: repeat(4, 1fr);
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  color: #E2E0EA;
}

.choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.2s;
}

.choice-card:hover {
  border-color: var(--violet-3);
  background: rgba(255,255,255,0.07);
}

.choice-card.selected {
  border-color: var(--violet);
  background: rgba(109, 40, 217, 0.15);
}

.choice-card.selected::before {
  opacity: 1;
}

.card-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* ================================
   PILL BUTONLAR — TON SEÇİMİ
   ================================ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.pill-btn {
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  color: #E2E0EA;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}

.pill-btn:hover:not(.dimmed) {
  border-color: var(--violet-3);
  background: rgba(255,255,255,0.07);
}

.pill-btn.selected {
  border-color: var(--violet);
  background: rgba(109, 40, 217, 0.2);
  border-width: 1.5px;
  box-shadow: 0 0 0 1px var(--violet);
}

.pill-btn.dimmed {
  opacity: 0.35;
  cursor: not-allowed;
}

.ton-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0;
  font-weight: 500;
}

/* ================================
   GÖRSEL TERCİHİ KARTLARİ
   ================================ */
.gorsel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.gorsel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  font-family: 'DM Sans', sans-serif;
  color: #E2E0EA;
  text-align: center;
}

.gorsel-card:hover {
  border-color: var(--violet-3);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.gorsel-card.selected {
  border-color: var(--violet);
  background: rgba(109, 40, 217, 0.15);
}

.gorsel-icon {
  font-size: 2rem;
  color: var(--violet-3);
}

.gorsel-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.gorsel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.gorsel-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
  margin-top: 4px;
}

.gorsel-badge-premium {
  background: linear-gradient(135deg, #D97706, #F59E0B);
}

/* ================================
   PAKET SEÇİMİ
   ================================ */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.paket-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: #E2E0EA;
  overflow: hidden;
}

.paket-card.paket-featured {
  border-color: rgba(109, 40, 217, 0.4);
  background: rgba(109, 40, 217, 0.07);
}

.paket-card:hover {
  border-color: var(--violet-3);
  background: rgba(255,255,255,0.07);
}

.paket-card.selected {
  border-color: var(--violet);
  background: rgba(109, 40, 217, 0.18);
}

.paket-rozet {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
}

.paket-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.paket-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.paket-fiyat {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet-3);
  margin-top: 4px;
}

.paket-fiyat em {
  font-style: normal;
  color: var(--text-dim);
  font-weight: 400;
}

/* Uzman belirlesin */
.paket-uzman {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: 1.5px dashed rgba(255,255,255,0.14);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 4px;
}

.paket-uzman:hover {
  border-color: var(--violet-3);
  background: rgba(255,255,255,0.04);
  color: #E2E0EA;
}

.paket-uzman.selected {
  border-color: var(--violet);
  border-style: solid;
  background: rgba(109, 40, 217, 0.1);
  color: #E2E0EA;
}

.paket-uzman > i {
  font-size: 1.3rem;
  color: var(--violet-3);
  flex-shrink: 0;
}

.paket-uzman strong {
  display: block;
  color: #E2E0EA;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.paket-uzman p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ================================
   KİŞİSEL BİLGİ FORMU
   ================================ */
.kisisel-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.kisisel-field {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4px;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
  padding-left: 2px;
}

/* ================================
   ÖZET KARTI
   ================================ */
.ozet-card {
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: left;
  margin-bottom: 16px;
}

.ozet-marka {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.ozet-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 12px 0;
}

.ozet-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ozet-row {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.ozet-row-label {
  color: var(--text-dim);
  min-width: 110px;
  flex-shrink: 0;
}

.ozet-row-val {
  color: #E2E0EA;
  font-weight: 500;
}

.ozet-kisi {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ozet-kisi-item {
  font-size: 0.85rem;
  color: #E2E0EA;
}

.ozet-not {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  text-align: center;
  line-height: 1.5;
}

.ozet-kvkk {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
}

.ozet-kvkk i {
  color: #059669;
  margin-right: 2px;
}

/* ================================
   TEŞEKKÜR EKRANİ
   ================================ */
.tesekkur-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.tesekkur-icon {
  font-size: 4rem;
  color: #059669;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tesekkur-icon.show {
  opacity: 1;
  transform: scale(1);
}

.tesekkur-baslik {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s 0.3s, transform 0.5s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tesekkur-baslik.show {
  opacity: 1;
  transform: translateY(0);
}

.tesekkur-alt {
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.5s 0.5s;
}

.tesekkur-alt.show {
  opacity: 1;
}

.tesekkur-tel {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--violet-3);
  opacity: 0;
  transition: opacity 0.5s 0.65s;
}

.tesekkur-tel.show {
  opacity: 1;
}

.tesekkur-btn {
  opacity: 0;
  transition: opacity 0.4s 0.8s !important;
}

.tesekkur-btn.show {
  opacity: 1 !important;
}

/* ================================
   GRADIENT TEXT UTILITY
   ================================ */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================
   HATA MESAJI
   ================================ */
.error-msg {
  font-size: 0.78rem;
  color: #F87171;
  margin-top: 8px;
  text-align: center;
  display: none;
}

.error-msg.show {
  display: block;
}

/* ================================
   MOBİL
   ================================ */
@media (max-width: 640px) {
  .onboarding-wrap {
    padding: 80px 12px 72px;
    justify-content: flex-start;
    padding-top: 100px;
    overflow-y: auto;
    min-height: 100vh;
  }

  .kayit-body {
    overflow-y: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-sm {
    grid-template-columns: repeat(2, 1fr);
  }

  .gorsel-grid {
    grid-template-columns: 1fr;
  }

  .paket-grid {
    grid-template-columns: 1fr;
  }

  .step-input {
    font-size: 1.2rem;
  }

  .ozet-card {
    padding: 18px 16px;
  }

  .ozet-row-label {
    min-width: 90px;
  }
}

@media (max-width: 400px) {
  .card-grid-sm {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   GÖRSEL KART — DİSABLED & YAKINDA
   ================================ */
.gorsel-card-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.gorsel-badge-yakinda {
  background: #f0f0f0;
  color: #888;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
}

/* ================================
   İÇERİK SEÇİM & FİYAT HESAPLAMA
   ================================ */
.icerik-secim {
  background: #f9f9fb;
  border: 1px solid #e0e0e8;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  width: 100%;
}
.icerik-baslik { font-size: 14px; font-weight: 600; margin-bottom: 1rem; color: #333; }
.icerik-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #eee;
}
.icerik-row:last-of-type { border-bottom: none; }
.icerik-label span { font-size: 14px; font-weight: 500; }
.icerik-label small { display: block; font-size: 12px; color: #888; }
.icerik-counter { display: flex; align-items: center; gap: 12px; }
.icerik-counter button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #ddd; background: #fff;
  font-size: 18px; cursor: pointer; line-height: 1;
}
.icerik-counter span { font-size: 16px; font-weight: 600; min-width: 24px; text-align: center; color: #1a1a2e; }
.icerik-fiyat-wrap { margin-top: 1rem; }
.fiyat-satir {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #555; padding: 5px 0;
}
.fiyat-toplam {
  font-size: 15px; font-weight: 700; color: #1a1a2e;
  border-top: 1px solid #ddd; margin-top: 6px; padding-top: 10px;
}
.fiyat-sonra { font-size: 12px; color: #999; }
.fiyat-sonra span:last-child { text-decoration: line-through; }
.paket-fiyat s { color: #aaa; font-size: 13px; margin-right: 4px; }
.paket-fiyat strong { font-size: 17px; }

/* ================================
   ADIM 0B — HIZLI SEÇİM
   ================================ */
.hizli-secim {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 1.5rem 0 0;
}
.hizli-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid #e0e0e8;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.hizli-card:hover {
  border-color: #7f77dd;
  box-shadow: 0 0 0 3px rgba(127,119,221,0.1);
}
.hizli-card.selected {
  border-color: #7f77dd;
  background: #f5f4ff;
}
.hizli-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.hizli-card p {
  font-size: 13px;
  color: #888;
  margin: 0;
}
.hizli-icon {
  font-size: 22px;
  color: #7f77dd;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.hizli-arrow {
  font-size: 14px;
  color: #ccc;
  margin-left: auto;
  flex-shrink: 0;
}
.hizli-ara-form {
  width: 100%;
  max-width: 480px;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
