/* ============================================================
   Netleselim — Netleşme Kartı stüdyosu (netles.html)
   Sayfa açık temayı sürdürür; kartın kendisi sosyal medya marka
   standardındadır (koyu zemin #161616 + sarı #ffb800) ki
   Instagram/TikTok akışında aynı kimlikle görünsün.
   ============================================================ */

.netles-page main > section { padding: 72px 0; }
.netles-page .netles-hero { padding-top: 48px; }

.netles-nav-link { display: none; }

.netles-head { margin-bottom: 40px; }
.netles-head h1 { margin-bottom: 16px; }

/* ---------- Yerleşim ---------- */

.studio {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.studio-preview { position: sticky; top: 96px; }

.card-stage {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.stage-hint {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- KART ---------- */

.ncard {
  --netlik: 0;
  --blur: 16px;
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  padding: 32px 28px;
  border-radius: 24px;
  background: #161616;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(28, 26, 22, 0.28);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ncard::after {
  /* netlik arttıkça azalan grenli sis */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 22%, rgba(255, 184, 0, 0.18), transparent 60%);
  opacity: calc(1 - var(--netlik) * 0.55);
  transition: opacity 0.5s ease;
}

.ncard-glow {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 90%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 184, 0, 0.30), transparent 65%);
  filter: blur(28px);
  opacity: calc(0.35 + var(--netlik) * 0.65);
  transition: opacity 0.5s ease;
}

.ncard > *:not(.ncard-glow) { position: relative; z-index: 1; }

/* Üst şerit */

.ncard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
}

.ncard-bee { width: 22px; height: 22px; color: var(--accent); flex: none; }

.ncard-brand { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ncard-brand em { font-style: normal; color: var(--accent); }

.ncard-year {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Portre */

.ncard-portrait {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  flex: none;
}

.ncard-photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2620, #1d1b17);
  display: grid;
  place-items: center;
}

.ncard-photo img {
  width: 108%;
  height: 108%;
  margin: -4%;
  object-fit: cover;
  filter: blur(var(--blur)) saturate(calc(0.4 + var(--netlik) * 0.6));
  transform: scale(1.06);
  transition: filter 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ncard-monogram {
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  filter: blur(calc(var(--blur) * 0.55));
  transition: filter 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ncard-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: calc(0.25 + var(--netlik) * 0.75);
  transition: opacity 0.5s ease;
}

/* Kimlik */

.ncard-id { text-align: center; margin-bottom: 20px; width: 100%; }

.ncard-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  filter: blur(calc(var(--blur) * 0.28));
  transition: filter 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ncard-target {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

/* Skor */

.ncard-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.ncard-pct {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.ncard-pct small { font-size: 30px; font-weight: 800; }

.ncard-state {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.ncard-meter {
  width: 100%;
  height: 6px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ncard-meter i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b06e00, var(--accent));
  transition: width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ncard-trend {
  align-self: center;
  margin-bottom: 10px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(30, 142, 87, 0.18);
  color: #7ee2b0;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ncard-trend.dusus { background: rgba(214, 69, 69, 0.16); color: #ff9b9b; }

/* Panelden otomatik doldurma bildirimi */
.panel-sync {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(30, 142, 87, 0.08);
  border: 1px solid rgba(30, 142, 87, 0.28);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.panel-sync svg { width: 18px; height: 18px; flex: none; color: var(--good); margin-top: 2px; }

.ncard-detail {
  width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  min-height: 38px;
}

.ncard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.ncard-url { color: var(--accent); font-weight: 700; }

/* ---------- FORM ---------- */

.studio-form { padding: 32px; }

.studio-steps { list-style: none; display: grid; gap: 28px; }

.studio-step { display: flex; gap: 16px; align-items: flex-start; }

.step-dot {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}

.studio-step .form-field { flex: 1; min-width: 0; }

.studio-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.studio-form input[type="text"],
.studio-form input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.studio-form input[type="text"]:focus,
.studio-form input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.field-note { display: block; margin-top: 8px; font-size: 12px; color: var(--text-faint); }

/* Hedef arama */

.studio-form .combo { position: relative; }

.studio-form .combo-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.studio-form .combo-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition);
}

.studio-form .combo-item:last-child { border-bottom: none; }
.studio-form .combo-item:hover { background: var(--accent-wash); }
.studio-form .combo-item strong { display: block; font-size: 14px; font-weight: 600; }
.studio-form .combo-item span { display: block; font-size: 12px; color: var(--text-muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.chip-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.chip-btn:hover, .chip-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-wash);
  color: var(--accent-ink);
}

/* Net kaydırıcı */

.net-range {
  width: 100%;
  height: 6px;
  margin: 8px 0 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--border) var(--fill, 0%));
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.net-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-soft);
  cursor: grab;
}

.net-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  cursor: grab;
}

.net-readout { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.net-readout input { width: 108px; text-align: center; font-weight: 700; font-size: 18px; }
.net-readout span { font-size: 13px; color: var(--text-faint); }

/* Fotoğraf */

.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upload-btn { min-height: 44px; cursor: pointer; }

.btn-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.privacy-note svg { width: 20px; height: 20px; flex: none; color: var(--good); }

/* Aksiyonlar */

.studio-actions { margin-top: 32px; display: grid; gap: 12px; }
.studio-actions .btn svg { width: 20px; height: 20px; }
.studio-status { min-height: 20px; font-size: 13px; color: var(--good); font-weight: 600; text-align: center; }

/* ---------- Netlik açıklaması ---------- */

.netlik-explain { background: var(--bg-soft); }

.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.explain-card { padding: 28px; }
.explain-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}
.explain-card h3 { margin-bottom: 8px; }
.explain-card p { color: var(--text-muted); font-size: 15px; }

/* ---------- CTA ---------- */

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.cta-card .section-head { margin-bottom: 24px; }
.cta-actions { display: grid; gap: 12px; }
.cta-wall { text-align: center; margin-top: 4px; }

/* ---------- Duyarlılık ---------- */

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; gap: 32px; }
  .studio-preview { position: static; }
  .ncard { max-width: 320px; }
  .cta-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}

@media (max-width: 560px) {
  .netles-page main > section { padding: 48px 0; }
  .studio-form { padding: 24px 20px; }
  .step-dot { display: none; }
  .studio-step { gap: 0; }
  .ncard { padding: 24px 20px; max-width: 300px; }
  .ncard-pct { font-size: 64px; }
  .ncard-name { font-size: 22px; }
  .ncard-monogram { font-size: 52px; }
}

@media (min-width: 901px) {
  .netles-nav-link { display: inline-flex; }
}
