/* OTOMATİK ÜRETİLDİ: node sync-pn-css.js — ParentNext style.css + Kampanella rengi.
   Elle düzenlemeyin; Kampanella'ya özgü kurallar css/kampanella.css'te. */
/* ========================================
   ParentNext Marketing Website
   ======================================== */

/* Renkler ve olculer mobil uygulamanin Bento arayuzuyle ayni
   (src/bento/bento.css). Sayfaya ozel kurallar bu dosyanin sonundaki
   "Bento" katmaninda; eski Carbon kurallarinin ustune yaziyor. */
:root {
  --bn-bg: #ECEEF1;
  --bn-card: #FFFFFF;
  --bn-ink: #121417;
  --bn-mut: #5A606B;
  --bn-body: #2E333B;
  --bn-line: #E6E8EC;
  --bn-brd: #D3D7DD;
  --bn-tint: #E2E5EA;
  --bn-soft: #F4F5F7;
  --bn-dark: #121417;
  --bn-accent: #D1AD4B;
  --bn-accent-press: #BF9B3A;
  --bn-accent-on-dark: #D1AD4B;
  --bn-red: #B3261E;
  --bn-red-ink: #8E1B20;
  --bn-red-bg: #FDE2E3;
  --bn-org: #C25E00;
  --bn-org-ink: #8A4200;
  --bn-org-bg: #FFF0DC;
  --bn-grn: #0E7A55;
  --bn-grn-ink: #0A5C40;
  --bn-grn-bg: #E3F4EC;

  --primary: #D1AD4B;
  --primary-dark: #BF9B3A;
  --primary-light: #F6EED6;
  --text: #121417;
  --text-light: #5A606B;
  --text-helper: #5A606B;
  --bg: #ECEEF1;
  --white: #ffffff;
  --border: #E6E8EC;
  --border-strong: #D3D7DD;
  --success: #0E7A55;
  --error: #B3261E;
  --warning: #C25E00;
  --shadow: none;
  --shadow-lg: 0 12px 32px rgba(18, 20, 23, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-tile: 24px;
  --radius-big: 30px;
  --layer-01: #ECEEF1;
  --layer-02: #ffffff;
  --spacing-03: 8px;
  --spacing-05: 16px;
  --spacing-06: 24px;
  --spacing-07: 32px;
  --spacing-09: 48px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.12s ease;
  gap: 8px;
  letter-spacing: 0.16px;
  line-height: 1.3;
}

.btn-primary {
  background: var(--primary);
  color: #262626;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg);
}

.btn-danger {
  background: var(--error);
  color: var(--white);
}

.btn-danger:hover {
  background: #ba1b23;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--primary);
  color: #7A5C0F;
}

.btn-outline:hover {
  background: var(--primary-light);
}

.navbar-links a.btn-nav {
  background: #fff;
  color: #7A5C0F;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25rem;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.16px;
  height: auto;
}

.navbar-links a.btn-nav:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #7A5C0F;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  padding: 14px;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: auto;
}

.btn-disabled:hover {
  background: transparent !important;
}

.btn-tooltip-wrap {
  position: relative;
  display: inline-flex;
}

.btn-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  letter-spacing: 0.16px;
}

.btn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text);
}

.btn-tooltip-wrap:hover .btn-tooltip {
  opacity: 1;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
  background: var(--primary);
  padding: 0;
  border-bottom: none;
  /* Menu JS ile uretiliyor; yuksekligi bastan ayrilmazsa sayfa once bos bir
     serit, sonra menu ile boyaniyor ve icerik asagi kayiyordu. */
  min-height: 96px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  height: 100%;
  padding: 0;
}

.navbar-logo {
  max-height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.navbar-close {
  display: none;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25rem;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  letter-spacing: 0.16px;
  border-bottom: 2px solid transparent;
}

.navbar-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Menu bes dilde ("Preguntas frecuentes", "Comment ça marche") iki satira
   kiriliyordu. Kirilmasin; hamburger menuye kadar olan dar aralikta da
   bosluklar daralsin. */
.navbar-links a { white-space: nowrap; }

@media (min-width: 993px) and (max-width: 1240px) {
  .navbar-links a,
  .navbar-links a.btn-nav { padding: 8px 10px; }
}

.navbar-links a.active {
  color: #fff;
  border-bottom-color: #fff;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   Language Selector
   ======================================== */

.lang-selector {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  letter-spacing: 0.16px;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lang-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-selector.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  border: 1px solid var(--border);
}

.lang-selector.open .lang-dropdown {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
  letter-spacing: 0.16px;
}

.lang-option:hover {
  background: var(--primary-light);
}

.lang-option.active {
  background: var(--primary-light);
  color: #7A5C0F;
  font-weight: 600;
}

.lang-option-code {
  font-weight: 600;
  text-transform: uppercase;
  min-width: 24px;
  font-size: 0.75rem;
  color: var(--text-helper);
}

.lang-option.active .lang-option-code {
  color: #7A5C0F;
}

/* ========================================
   Notifications (navbar bell + history)
   ======================================== */

.notif-menu {
  position: relative;
}

.notif-toggle {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.notif-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.notif-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.notif-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--error);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.notif-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.notif-menu.open .notif-dropdown {
  display: block;
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  position: sticky;
  top: 0;
  background: var(--white);
}

.notif-mark-all {
  background: none;
  border: none;
  padding: 0;
  color: #7A5C0F;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 0.16px;
}

.notif-mark-all:hover {
  text-decoration: underline;
}

.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.25rem;
  color: var(--text);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.unread {
  background: var(--primary-light);
}

.notif-dot {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  flex-shrink: 0;
  background: var(--primary);
}

.notif-item.read .notif-dot {
  background: transparent;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.notif-item-text {
  display: block;
  word-break: break-word;
}

.notif-time {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-helper);
}

.notif-empty {
  padding: 24px 16px;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-helper);
}

[dir="rtl"] .notif-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .notif-badge {
  right: auto;
  left: 8px;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  padding: 80px 0 40px;
  background: var(--white);
  color: var(--text);
  overflow: visible;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.highlight {
  color: #7A5C0F;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Phone Mockup Slider — 3D Perspective
   ======================================== */

.hero-visual {
  position: relative;
  z-index: 10;
  margin-bottom: -120px;
}

.phone-slider-container {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  perspective: 1400px;
}

.phone-frame {
  position: relative;
  width: 300px;
  height: 652px; /* 288px screen x 20/9 + 12px padding/border: 9:20 screenshots fit uncropped */
  margin: 0 auto;
  background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 40%, #0a0a0a 100%);
  border-radius: 36px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Multi-layer shadow for depth */
  box-shadow:
    -8px 12px 20px rgba(0, 0, 0, 0.15),
    -16px 24px 45px rgba(0, 0, 0, 0.12),
    -24px 36px 80px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.phone-frame:hover {
  transform: rotateY(-6deg) rotateX(2deg) rotateZ(0.5deg);
}

/* Side edge for 3D depth */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: -3px;
  width: 3px;
  background: linear-gradient(180deg,
    #444 0%, #222 30%, #111 70%, #222 100%);
  border-radius: 0 2px 2px 0;
  transform: rotateY(90deg);
  transform-origin: left center;
}

/* Bottom edge for 3D depth */
.phone-frame::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg,
    #333 0%, #1a1a1a 50%, #333 100%);
  border-radius: 0 0 2px 2px;
  transform: rotateX(90deg);
  transform-origin: center top;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
}

/* Glass reflection overlay */
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.0) 25%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.0) 50%,
    rgba(255, 255, 255, 0.0) 100%
  );
  z-index: 5;
  pointer-events: none;
}

.phone-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  /* Cikan kare hemen solmuyor. Ikisi ayni anda solunca aralarindan telefonun
     siyah zemini goruniyor ve her gecis bir kararma gibi algilaniyordu. Burada
     cikan kare, gireni tam opak olana kadar (0.5s) oldugu gibi bekliyor ve
     ancak sonra, gorunmez haldeyken kapaniyor. */
  transition: opacity 0s linear 0.5s;
}

.phone-slide.active {
  opacity: 1;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
}

/* Floor reflection */
.hero-visual::after {
  content: '';
  display: block;
  width: 300px;
  height: 140px;
  margin: -10px auto 0;
  background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    transparent 70%
  );
  filter: blur(4px);
  transform: perspective(800px) rotateX(60deg) scaleX(1.1);
  pointer-events: none;
}

.phone-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.phone-slider-nav svg {
  width: 18px;
  height: 18px;
}

.phone-slider-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #262626;
  transform: translateY(-50%) scale(1.05);
}

.phone-slider-prev {
  left: -16px;
}

.phone-slider-next {
  right: 16px;
}

.phone-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.phone-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.phone-slider-dot.active {
  background: var(--primary);
  width: 18px;
  border-radius: 3px;
}

/* ========================================
   Section Header
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ========================================
   Features
   ======================================== */

.features {
  position: relative;
  background: var(--layer-01);
  color: var(--text);
  padding: 80px 0;
}

.features .section-header h2 {
  color: var(--text);
}

.features .section-header p {
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.feature-cell {
  background: var(--white);
  padding: 32px;
  transition: background 0.12s ease;
  border-left: 3px solid transparent;
}

.feature-cell:hover {
  background: #e8e8e8;
  border-left-color: var(--primary);
}

.feature-cell h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.16px;
}

.feature-cell p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
  letter-spacing: 0.16px;
}

/* ========================================
   How It Works
   ======================================== */

.how-it-works {
  padding: 96px 0;
  padding-top: 160px;
  position: relative;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 260px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #262626;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-arrow {
  width: 32px;
  height: 32px;
  color: #7A5C0F;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ========================================
   Auth Modal
   ======================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 0;
  width: 100%;
  max-width: 400px;
  /* Uzun içerik (sürüm geçmişi) ekrandan taşıyordu ve kaydırılamıyordu:
     pencere ekran yüksekliğiyle sınırlı, içi kendi içinde kayıyor. */
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  position: relative;
  border-top: 3px solid var(--primary);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.modal-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 65px;
}

.btn-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  background: none;
  border: none;
  color: #7A5C0F;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-link:hover {
  text-decoration: underline;
}

.step-info-content {
  text-align: center;
  padding: 16px 0 24px;
}

.info-icon {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin: 0 auto 16px;
}

.step-info-content p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

/* Form Elements */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--layer-01);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color 0.12s;
  outline: none;
  letter-spacing: 0.16px;
}

.form-group input:focus {
  border-bottom: 2px solid var(--primary);
}

.form-group input::placeholder {
  color: #aab4be;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 0.875rem;
  display: none;
  line-height: 1.5;
  letter-spacing: 0.16px;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-message.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f8bbd0;
}

/* Spinner */
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   Footer — IBM Carbon Style
   ======================================== */
/* ── ORIGINAL FOOTER (keep for rollback) ──
.footer {
  background: #1a1e2a;
  color: rgba(255, 255, 255, 0.4);
}
.footer-main { padding-top: 56px; }
.footer-top {
  display: flex; justify-content: space-between; gap: 60px; padding-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo {
  height: 24px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px;
}
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer-columns { display: flex; gap: 64px; }
.footer-col h4 {
  font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.peda-logo { height: 16px; width: auto; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity 0.2s; }
.peda-logo:hover { opacity: 1; }
── END ORIGINAL FOOTER ── */

/* — Footer (Boxed Cards — Hover Accent) — */
.footer {
  background: #0d0d0d;
  color: #c6c6c6;
}

.footer-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-cards {
  display: flex;
  gap: 16px;
  padding: 48px 0 32px;
}

.footer-card {
  background: #1a1a1a;
  border: none;
  padding: 32px;
  flex: 1;
}

.footer-card:hover {
}

.footer-card-brand {
  flex: 2;
}

.footer-logo {
  width: 147px;
  height: 29px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.75rem;
  line-height: 1.7;
  color: #6f6f6f;
  letter-spacing: 0.32px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: #a8a8a8;
  letter-spacing: 0.16px;
  transition: color 0.12s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  height: 72px;
  display: flex;
  align-items: center;
}

.footer-bottom-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  color: #6f6f6f;
  letter-spacing: 0.32px;
  margin: 0;
  line-height: 1rem;
}

.footer-bottom-inner a {
  display: inline-flex;
  align-items: center;
}

.peda-logo {
  height: 16px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.2s;
}

.peda-logo:hover {
  opacity: 0.7;
}

/* ========================================
   Nav Auth Items
   ======================================== */

#navGuestItems {
  display: contents;
}

/* Hesap menusu. Giris yapilinca tanitim baglantilarinin yerini almaz, yanina
   eklenir; panel ogeleri kullanicinin adinin altinda toplanir, cikis en altta
   durur. Boylece menu her iki durumda da ayni gorunur. Dil secicisiyle ayni
   token'lari kullanir: navbar var(--primary), yani mavi uzerine acik renk. */

.user-menu {
  position: relative;
}

.user-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0.16px;
  cursor: pointer;
  max-width: 220px;
  transition: background 0.12s, color 0.12s;
}

.user-toggle:hover,
.user-menu.open .user-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.user-toggle #userMenuName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.user-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.12s;
}

.user-menu.open .user-chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.user-menu.open .user-dropdown {
  display: block;
}

.navbar-links .user-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.25rem;
  letter-spacing: 0.16px;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.navbar-links .user-option:hover {
  background: var(--primary-light);
  color: #7A5C0F;
}

.navbar-links .user-option.active {
  background: var(--primary-light);
  color: #7A5C0F;
  font-weight: 600;
}

/* Cikis her zaman en altta ve cizgiyle ayrilmis: yanlislikla tiklanmasin. */
.navbar-links .user-option-logout {
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

.navbar-links .user-option-logout:hover {
  background: var(--bg);
  color: var(--text);
}


/* Hesap menusunun icindeki dil alt menusu. Giris yapilinca dil secimi buraya
   tasiniyor; navbar'daki bagimsiz secici gizleniyor. 15 dil oldugu icin liste
   varsayilan olarak kapali ve acildiginda kendi icinde kayiyor. */
.user-submenu {
  border-top: 1px solid var(--border);
}

.navbar-links .user-option-toggle {
  width: 100%;
  gap: 10px;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.user-option-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-helper);
}

.user-option-value {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-helper);
}

.user-option-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-helper);
  transition: transform 0.12s;
}

.user-submenu.open .user-option-chevron {
  transform: rotate(180deg);
}

.user-sublist {
  display: none;
  max-height: 240px;
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.user-submenu.open .user-sublist {
  display: block;
}

.user-sublist .lang-option {
  padding-left: 24px;
}

/* ========================================
   Dashboard
   ======================================== */

.dashboard {
  padding: 64px 0 48px;
  background: var(--bg);
  min-height: 80vh;
}

.dash-welcome {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dash-welcome h1,
.dash-welcome h2 {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0;
}

.dash-welcome p {
  color: var(--text-light);
  font-size: 0.875rem;
  letter-spacing: 0.16px;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.dash-stats-row {
  display: flex;
  gap: 1px;
  margin-bottom: 24px;
  background: var(--border);
}

.dash-stats {
  display: flex;
  gap: 1px;
  flex: 1;
  background: var(--border);
}

.stat-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px;
  text-align: left;
  border: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.15s;
}

.stat-card:hover::after {
  background: var(--primary);
}

.stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 0 12px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none !important;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-icon-children {
  color: #7A5C0F;
}

.stat-icon-scanned {
  color: #8a3ffc;
}

.stat-icon-safe {
  color: var(--success);
}

.stat-icon-risky {
  color: var(--error);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-helper);
  margin-top: 4px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.dash-usage {
  background: var(--white);
  border-radius: 0;
  padding: 20px 24px;
  border-top: 3px solid var(--primary);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.dash-usage-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-usage-right {
  flex: 1;
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.dash-usage h3 {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.usage-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 8px;
}

.usage-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 0;
  transition: width 0.5s ease;
}

.usage-text {
  font-size: 0.75rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}

.usage-divider {
  display: none;
}

.sub-info-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.sub-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-label {
  font-size: 0.75rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}

.sub-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.dash-children-section {
  margin-bottom: 32px;
}

.dash-children-section .section-title {
  margin-bottom: 16px;
}

.children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
}

.no-children {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-helper);
  font-size: 0.875rem;
  padding: 48px 20px;
  background: var(--white);
  border-radius: 0;
  border: 1px dashed var(--border-strong);
  letter-spacing: 0.16px;
}

.child-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
  position: relative;
}

.child-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.12s;
}

.child-card:hover {
  background: #e8e8e8;
}

.child-card:hover::before {
  background: var(--primary);
}

.child-card-emoji {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.child-card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: 0.16px;
}

.child-card-age {
  font-size: 0.75rem;
  color: var(--text-helper);
  margin-bottom: 12px;
  letter-spacing: 0.32px;
}

.child-card-stats {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}

.child-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.child-card-risk {
  color: var(--error);
  font-weight: 600;
}

.dash-education {
  margin-bottom: 32px;
}

.education-placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: 0;
  padding: 40px;
  text-align: center;
  background: var(--white);
  position: relative;
}

.coming-soon-badge {
  display: inline-block;
  background: #393939;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 2px 8px;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  margin-bottom: 12px;
}

.education-placeholder h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.education-placeholder p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========================================
   Profile Section
   ======================================== */

.profile-section {
  padding: 100px 0 60px;
  background: var(--bg);
  min-height: 80vh;
}

.profile-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.profile-form {
  max-width: 480px;
  background: var(--white);
  border-radius: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.profile-form .form-group {
  margin-bottom: 16px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--layer-01);
  outline: none;
  cursor: pointer;
  transition: border-color 0.12s;
  letter-spacing: 0.16px;
}

.form-select:focus {
  border-bottom: 2px solid var(--primary);
}

/* ========================================
   Child Detail Section (full page)
   ======================================== */

.child-detail-section {
  max-width: 1340px;
  margin: 64px auto 40px;
  padding: 0 20px;
}

.child-detail-container {
  background: var(--white);
  border-radius: 0;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #7A5C0F;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  transition: background 0.12s;
}

.btn-back:hover {
  background: var(--primary-light);
  color: #7A5C0F;
}

.child-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.child-emoji {
  font-size: 3rem;
  line-height: 1;
}

.child-detail-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.child-detail-header p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.risk-badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 0;
  letter-spacing: 0.32px;
  border: none;
  color: var(--white);
}

.risk-badge.risk-low {
  background: var(--success);
}

.risk-badge.risk-medium {
  background: #b28600;
}

.risk-badge.risk-high {
  background: var(--error);
}

.child-detail-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
}

.child-assessment {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--layer-01);
  border-radius: 0;
  border-left: 3px solid var(--primary);
}

.child-assessment p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

/* Risk Chart */
.risk-factors {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-factor-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.risk-factor-label {
  font-size: 0.75rem;
  color: var(--text-light);
  width: 110px;
  flex-shrink: 0;
}

.risk-factor-track {
  flex: 1;
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
}

.risk-factor-fill {
  height: 100%;
  background: #b91c1c;
  border-radius: 3px;
}

.risk-factor-count {
  font-size: 0.72rem;
  color: var(--text-light);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.child-games-table-wrap {
  overflow-x: auto;
}

.games-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.games-table th {
  text-align: left;
  padding: 12px 16px;
  background: #e0e0e0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  border-bottom: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
}

.games-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
}

.games-table tbody tr:hover {
  background: #e8e8e8;
}

.no-games {
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
  padding: 24px;
}

/* Suitability badges */
.suitability-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 0;
  letter-spacing: 0.32px;
  border: none;
  color: var(--white);
}

.suitability-badge.suit-yes {
  background: var(--success);
}

.suitability-badge.suit-no {
  background: var(--error);
}

/* Game Detail Popup */
.game-detail-modal {
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
}

.game-detail-modal h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.suitability-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 0;
  letter-spacing: 0.32px;
  border: none;
  color: var(--white);
  margin-bottom: 20px;
}

.suitability-tag.suit-yes {
  background: var(--success);
}

.suitability-tag.suit-no {
  background: var(--error);
}

.game-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.game-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.game-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

.game-detail-value {
  font-size: 0.88rem;
  color: var(--text);
}

.game-detail-reason {
  padding: 16px;
  background: var(--layer-01);
  border-radius: 0;
  border-left: 3px solid var(--error);
}

.game-detail-reason strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text);
}

.game-detail-reason ul {
  margin: 0;
  padding-left: 20px;
}

.game-detail-reason li {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

.reason-safe {
  font-size: 0.88rem;
  color: #2e7d32;
  margin: 0;
}

.game-detail-source {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: right;
  margin-top: 12px;
  opacity: 0.6;
}

.game-detail-desc {
  margin-bottom: 14px;
}

.game-detail-desc strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--text);
}

.game-detail-desc p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}



/* ========================================
   Download Page
   ======================================== */

.download-hero {
  padding: 120px 0 48px;
  text-align: center;
}

.download-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0 auto;
}

.dl-picker {
  padding: 0 0 80px;
}

.dl-groups {
  display: grid;
  grid-template-columns: 2fr 5fr;
  align-items: start;
  gap: 24px;
}

/* Iki grup da mavi zeminde acik renk. Secilen platformun ayrintisi kendi
   grubunun icinde aciliyor; gruplar bu yuzden ayri yukseklikte, kartlar ayni
   hizada baslasin diye aciklama iki satirlik yer tutuyor. */
.dl-group {
  padding: 24px;
  background: var(--primary);
  color: #262626;
}

.dl-group-head {
  margin-bottom: 20px;
}

.dl-group-head h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.dl-group-head p {
  font-size: 0.88rem;
  line-height: 1.5;
  min-height: 3em;
  opacity: 0.85;
}

/* Platform kartlari: kucuk, tek satir */

.dl-platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dl-group-parent .dl-platforms {
  grid-template-columns: repeat(2, 1fr);
}

/* Mavi zeminde ince satirlar: ikon ve ad yan yana. Durum ("Yakinda",
   "Onerilen") kartta degil, acilan ayrintida yaziyor. */
.dl-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.dl-platform:hover {
  border-color: #fff;
}

.dl-platform:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dl-platform svg {
  flex-shrink: 0;
}

.dl-platform-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.dl-platform-tag {
  padding: 2px 8px;
  background: var(--border);
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dl-platform-tag[hidden] {
  display: none;
}

/* Secilen platformun ayrintisi (pencere) */

.dl-detail {
  color: var(--text);
}

/* Bilgi solda, dugmeler sagda; ikisi de ustten hizali. Ortalanmis
   hizalamada uzun panelin (Windows: iki dugme, baglantilar) dugmeleri kisa
   panelinkinden (Android) farkli yukseklikte duruyordu. */
.dl-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  /* Ustteki kapatma dugmesine yer (RTL'de dugme solda) */
  padding-inline-end: 32px;
}

.dl-detail-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.dl-detail-product {
  font-weight: 400;
  color: var(--text-light);
  white-space: nowrap;
}

.dl-detail-product[hidden] {
  display: none;
}

.dl-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.dl-detail-btn {
  flex-shrink: 0;
}

/* Dugmeler metinleri kadar genis, panelin sagina hizali. */
.dl-detail-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* .btn bir display degeri verdigi icin hidden ozniteligi tek basina yetmiyor. */
.dl-detail-actions [hidden] {
  display: none;
}

.dl-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 10px;
}

.dl-link {
  padding: 0;
  border: 0;
  background: none;
  color: #7A5C0F;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dl-link:hover {
  color: var(--primary-dark);
}

.dl-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 400px'lik giriş penceresi genişliğinde maddeler 3-4 satıra kırılıyor ve
   pencere ekran boyu uzuyordu; geniş ve daha kısa bir pencere daha az kaydırma
   istiyor. */
.modal.modal-wide {
  max-width: 640px;
  max-height: min(80vh, 720px);
  max-height: min(80dvh, 720px);
}

.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-entry + .changelog-entry {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Yayinlanmamis surum gizliyken altindaki ilk girdi en ustte kaliyor. */
.changelog-entry[hidden] + .changelog-entry {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.changelog-entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.changelog-version {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.changelog-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.changelog-badge {
  padding: 2px 8px;
  background: var(--primary);
  color: #262626;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.changelog-changes {
  padding: 0 0 0 20px;
  margin: 0;
}

.changelog-changes li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Install Modal Steps */

.install-modal-steps {
  padding: 0 0 0 20px;
  margin: 0;
}

.install-note {
  margin-top: 20px;
  padding: 16px;
  background: #fff8e1;
  border-left: 3px solid var(--warning);
}

.install-note h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.install-note p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
}

.install-modal-steps li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .dl-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dl-group-head p {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .dl-platforms,
  .dl-group-parent .dl-platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .dl-detail-head {
    flex-direction: column;
    align-items: stretch;
    padding-inline-end: 0;
  }

  .dl-detail-info h2 {
    padding-inline-end: 32px;
  }

  .dl-detail-btn {
    text-align: center;
  }

  .dl-detail-actions {
    align-items: stretch;
  }

  .download-hero h1 {
    font-size: 1.5rem;
  }
}

/* ========================================
   RTL Support
   ======================================== */

[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] .navbar-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-inner {
  direction: rtl;
}

[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

[dir="rtl"] .steps {
  flex-direction: row-reverse;
}

[dir="rtl"] .step-arrow {
  transform: rotate(180deg);
}

[dir="rtl"] .footer-bottom-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

[dir="rtl"] .phone-frame {
  transform: rotateY(12deg) rotateX(4deg) rotateZ(-1deg);
}

[dir="rtl"] .phone-frame:hover {
  transform: rotateY(6deg) rotateX(2deg) rotateZ(-0.5deg);
}

[dir="rtl"] .phone-slider-prev {
  left: auto;
  right: -16px;
}

[dir="rtl"] .phone-slider-next {
  right: auto;
  left: 16px;
}

/* ========================================
   API Management Section
   ======================================== */

.api-section {
  padding: 100px 0 64px;
  min-height: 80vh;
}

.api-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 16px;
}

.api-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.api-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
}

.api-keys-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.api-no-keys {
  background: var(--white);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-helper);
  font-size: 0.9rem;
}

.api-key-card {
  background: var(--white);
  padding: 20px 24px;
  position: relative;
  transition: background 0.12s;
}

.api-key-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.15s;
}

.api-key-card:hover {
  background: var(--layer-01);
}

.api-key-card:hover::before {
  background: var(--primary);
}

.api-key-card.revoked {
  opacity: 0.6;
}

.api-key-card.revoked:hover::before {
  background: var(--text-helper);
}

.api-key-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.api-key-card-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.api-status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  padding: 2px 8px;
}

.api-status-badge.active {
  background: #defbe6;
  color: var(--success);
}

.api-status-badge.revoked {
  background: #fff1f1;
  color: var(--error);
}

.api-key-card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.api-key-masked {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--layer-01);
  padding: 4px 10px;
  letter-spacing: 0.5px;
}

.api-scopes {
  display: flex;
  gap: 6px;
}

.scope-badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 8px;
  background: var(--primary-light);
  color: #7A5C0F;
  letter-spacing: 0.16px;
}

.api-key-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.78rem;
  color: var(--text-helper);
  margin-bottom: 12px;
}

.api-key-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.api-key-card-actions {
  display: flex;
  gap: 8px;
}

.api-key-card-actions button {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 6px 14px;
  cursor: pointer;
  border: none;
  transition: background 0.12s;
  letter-spacing: 0.16px;
}

.btn-api-copy {
  background: var(--primary-light);
  color: #7A5C0F;
}

.btn-api-copy:hover {
  background: #EADDB0;
}

.btn-api-revoke {
  background: #fff1f1;
  color: var(--error);
}

.btn-api-revoke:hover {
  background: #ffd7d9;
}

/* API Create Modal */
.api-scope-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.api-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
}

.api-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.api-rate-inputs {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.api-rate-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-rate-field input {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  background: var(--layer-01);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.12s;
  outline: none;
}

.api-rate-field input:focus {
  border-bottom: 2px solid var(--primary);
}

.api-rate-hint {
  font-size: 0.72rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}

/* API Key Created Modal */
.api-key-created-content {
  text-align: center;
}

.api-key-warning {
  font-size: 0.85rem;
  color: var(--error);
  background: #fff1f1;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.api-key-display {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  background: var(--layer-01);
  padding: 14px 16px;
  margin-bottom: 16px;
  word-break: break-all;
  text-align: left;
  color: var(--text);
  border: 1px solid var(--border);
  user-select: all;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  [dir="rtl"] .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  [dir="rtl"] .step-arrow {
    transform: rotate(90deg);
  }

  .step {
    max-width: 360px;
  }
}

/* Menu 992px altinda hamburgere doner. Yedi baglantiyken (2026-10-23)
   769-992px araliginda uzun dillerde tek satira sigmiyor, logoyu disari
   itiyordu; mobil menu kurallari bu yuzden 768 blogundan buraya tasindi. */
@media (max-width: 992px) {
  #navGuestItems {
    display: contents;
  }

  .user-menu {
    width: 100%;
  }

  .user-toggle {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    padding: 14px 24px;
  }

  .user-dropdown {
    position: static;
    min-width: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    background: rgba(0, 0, 0, 0.12);
  }

  .navbar-links .user-option {
    padding: 12px 36px;
    color: rgba(255, 255, 255, 0.85);
  }

  .navbar-links .user-option:hover,
  .navbar-links .user-option.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .navbar-links .user-option-logout {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
  }

  .navbar-links .user-option-logout:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .user-submenu {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .user-sublist {
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .user-sublist .lang-option {
    padding-left: 48px;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
  }

  .user-sublist .lang-option:hover,
  .user-sublist .lang-option.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .user-option-icon,
  .user-option-value,
  .user-option-chevron {
    color: rgba(255, 255, 255, 0.7);
  }

  /* Menu tam ekran aciliyor. Onceki hali navbar'in altina 96px yuksekligi olan
     mutlak konumlu bir panel aciyordu; .navbar-links'in temel kuralindaki
     height:100% burada sifirlanmadigi icin panel navbar boyunda kaliyor,
     icerik disina tasiyor ve menu acilmamis gibi gorunuyordu. */
  .navbar-links {
    display: none;
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px 0 32px;
    gap: 0;
    z-index: 1500;
    border-bottom: none;
  }

  /* Menu navbar'in altindan basliyor, yani logo acikken de gorunur kaliyor.
     Navbar akista duruyordu; menu ustune cikmasin diye konumlandiriliyor. */
  .navbar {
    position: relative;
    z-index: 1600;
  }

  .navbar-links.open {
    display: flex;
  }

  /* Menu acikken arka plan kaymasin. */
  body.nav-open {
    overflow: hidden;
  }

  /* Kapatma dugmesi navbar satirinda, hamburgerin yerinde duruyor: menu
     acikken hamburger gizleniyor, yerini X aliyor. Boylece logo hic
     kapanmiyor ve kapatma her zaman ayni noktada. */
  .navbar-close {
    position: fixed;
    top: 26px;
    right: 16px;
    z-index: 1700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .navbar-close svg {
    width: 26px;
    height: 26px;
  }

  /* Tam ekranda dokunmatik hedefler buyusun. */
  .navbar-links a,
  .navbar-links .lang-toggle,
  .navbar-links .user-toggle {
    padding: 16px 24px;
    font-size: 1rem;
  }

  [dir="rtl"] .navbar-links {
    flex-direction: column;
  }

  .navbar-toggle {
    display: flex;
  }

  body.nav-open .navbar-toggle {
    display: none;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .lang-selector {
    align-self: center;
  }

  .lang-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  [dir="rtl"] .lang-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .dash-stats-row {
    flex-direction: column;
  }

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

  .dash-usage {
    flex-direction: column;
    gap: 0;
  }

  .dash-usage-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 16px;
  }

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

  .child-detail-body {
    grid-template-columns: 1fr;
  }

  .api-header {
    flex-direction: column;
  }

  .api-rate-inputs {
    flex-direction: column;
  }

  .api-key-card-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .child-detail-header {
    flex-wrap: wrap;
  }

  .risk-badge {
    margin-left: 0;
  }

  .games-table {
    font-size: 0.78rem;
  }

  .games-table th,
  .games-table td {
    padding: 8px;
  }

  .dashboard {
    padding: 80px 0 40px;
  }

  .profile-section {
    padding: 80px 0 40px;
  }

  .profile-form {
    padding: 24px;
  }

  .hero {
    padding: 48px 0 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  [dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: -80px;
  }

  .phone-slider-container {
    max-width: 320px;
    perspective: 1000px;
  }

  .phone-frame {
    width: 240px;
    height: 521px; /* 230px screen x 20/9 + 10px padding/border */
    border-radius: 30px;
    padding: 4px;
    transform: rotateY(-8deg) rotateX(3deg) rotateZ(0.5deg);
  }

  .phone-frame:hover {
    transform: rotateY(-4deg) rotateX(1.5deg) rotateZ(0.3deg);
  }

  [dir="rtl"] .phone-frame {
    transform: rotateY(8deg) rotateX(3deg) rotateZ(-0.5deg);
  }

  [dir="rtl"] .phone-frame:hover {
    transform: rotateY(4deg) rotateX(1.5deg) rotateZ(-0.3deg);
  }

  .phone-screen {
    border-radius: 27px;
  }

  .phone-screen::after {
    border-radius: 27px;
  }

  .phone-slide img {
    border-radius: 27px;
  }

  .phone-slider-nav {
    display: none;
  }

  .hero-visual::after {
    width: 240px;
    height: 90px;
  }

  .how-it-works {
    padding: 120px 0 64px;
  }

  .features {
    padding: 64px 0;
  }

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

  .feature-cell {
    padding: 32px 24px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .footer-cards {
    flex-direction: column;
  }

  .footer-card-brand {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .modal {
    padding: 24px;
  }

  .dash-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .dash-welcome h1,
.dash-welcome h2 {
    font-size: 1.4rem;
  }
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-hero {
  padding: 120px 0 48px;
  text-align: center;
  background: var(--white);
}

.legal-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0 auto;
}

.legal-last-updated {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.legal-nav a {
  padding: 12px 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.16px;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border-color 0.12s;
}

.legal-nav a:hover {
  color: var(--text);
}

.legal-nav a.active {
  color: #7A5C0F;
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.legal-content {
  max-width: 1340px;
  margin: 0 auto;
  padding: 48px 1rem 80px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 12px;
  letter-spacing: 0.16px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  letter-spacing: 0.16px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.legal-content ul li {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 6px 0 6px 16px;
  position: relative;
  letter-spacing: 0.16px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 4px;
  height: 4px;
  background: var(--primary);
}

.legal-content ol {
  padding-left: 20px;
  margin: 0 0 20px;
}

.legal-content ol li {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 4px 0;
  letter-spacing: 0.16px;
}

.contact-box {
  background: var(--layer-01);
  border-left: 3px solid var(--primary);
  padding: 20px 24px;
  margin-top: 24px;
}

.contact-box p {
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

.contact-box a {
  color: #7A5C0F;
  font-weight: 500;
}

.contact-box a:hover {
  text-decoration: underline;
}

.cookie-table {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}

.cookie-table-item {
  background: var(--layer-01);
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
}

.cookie-table-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.cookie-table-item p {
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.cookie-table-item strong {
  color: var(--text);
}

.legal-note {
  background: #fff8e1;
  border-left: 3px solid var(--warning);
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-note strong {
  color: var(--text);
  font-size: 0.85rem;
}

.legal-note p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 80px 0 32px;
  }

  .legal-hero h1 {
    font-size: 1.5rem;
  }

  .legal-nav {
    flex-wrap: wrap;
  }

  .legal-nav a {
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .legal-content {
    padding: 32px 16px 60px;
  }
}

/* ========================================
   Paired Device (child detail)
   ======================================== */

.device-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 24px;
}

.device-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.device-card-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.device-status {
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text-light);
}

.device-status.online {
  background: #defbe6;
  color: var(--success);
}

.device-status.offline {
  background: #fff1f1;
  color: var(--error);
}

.device-meta {
  margin: 0 0 16px;
  font-size: 0.85rem;
}

.device-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.device-meta div:last-child {
  border-bottom: none;
}

.device-meta dt {
  color: var(--text-light);
}

.device-meta dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.device-empty {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
}

.device-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.device-actions .btn {
  flex: 1 1 auto;
}

/* ========================================
   Parental Approval Modal
   ======================================== */

.approval-modal {
  text-align: center;
}

.approval-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #fff8e1;
  color: #b28600;
}

.approval-modal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.approval-message {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.approval-meta {
  margin: 0 0 16px;
  font-size: 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
}

.approval-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.approval-meta div:last-child {
  border-bottom: none;
}

.approval-meta dt {
  color: var(--text-light);
}

.approval-meta dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.approval-expiry {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.approval-error {
  margin-bottom: 16px;
  padding: 10px 12px;
  background: #fff1f1;
  color: var(--error);
  border: 1px solid #ffd7d9;
  font-size: 0.85rem;
  text-align: left;
}

.approval-actions {
  display: flex;
  gap: 8px;
}

.approval-actions .btn {
  flex: 1;
}

/* ========================================
   Pairing Code Input
   ======================================== */

.pair-code-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pair-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
}

.pair-digit:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

@media (max-width: 420px) {
  .pair-digit {
    width: 40px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/* ── SSS ──────────────────────────────────────────────────────────────────
   Uzun kuyruk aramalar icin gorunur soru-cevap. FAQPage yapisal verisiyle
   metinleri birebir ayni: gorunmeyen bir cevabi isaretlemek ihlal sayiliyor.
   details/summary kullaniliyor, boylece JavaScript olmadan da acilip kapaniyor
   ve arama motoru cevabi kapali haldeyken de okuyabiliyor. */
.faq {
  background: var(--white);
  color: var(--text);
  padding: 96px 0;
}

/* Carbon "lead-in" duzeni: baslik solda, liste sagda. Tam genislikte
   cevap satirlari 1300px'e yayiliyor ve okunmuyordu. */
.faq .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

/* Carbon accordion: kutu yok, ogeler arasinda ince cizgi. */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: 0.16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Asagi bakan ok; acikken yukari doner (Carbon chevron). */
.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-question:hover {
  background: #e8e8e8;
  border-left-color: var(--primary);
}

.faq-item[open] .faq-question {
  font-weight: 600;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-answer {
  margin: 0;
  max-width: 640px;
  padding: 0 16px 24px 19px;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.16px;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .faq .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .faq {
    padding: 56px 0;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .faq-answer {
    padding-right: 16px;
  }
}

/* ── Fiyatlandirma ────────────────────────────────────────────────────────
   Marka rengi var(--primary); kose ve zemin Bento katmaninda. Ortadaki plan tek vurgulu kart; ucuncu sutundaki Kurumsal
   plan zaten dogal bir ust capa oldugu icin ayrica pahali bir bireysel
   katman uydurmaya gerek yok. */
.pricing-hero {
  background: var(--white);
  padding: 80px 0 40px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}

.pricing-hero > .container > p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 64ch;
  margin: 0 auto 32px;
}

.billing-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
}

.billing-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.billing-option:hover { color: var(--text); }

.billing-option.active {
  background: var(--primary);
  color: #262626;
  font-weight: 600;
}

.billing-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--primary-light);
  color: #7A5C0F;
}

.billing-option.active .billing-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pricing-plans { background: var(--white); padding: 24px 0 64px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.plan-card {
  position: relative;
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan-card-featured { background: var(--primary-light); }

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: #262626;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16px;
  padding: 4px 12px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 24px;
  min-height: 2.6em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 4px;
}

.plan-amount {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.plan-amount-quote { font-size: 1.5rem; }

.plan-unit { font-size: 0.95rem; color: var(--text-light); }

.plan-period {
  font-size: 0.82rem;
  color: var(--text-helper);
  margin: 0 0 24px;
  min-height: 1.4em;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  background: var(--primary);
  color: #262626;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0;
  transition: background 0.12s;
}

.btn-plan:hover { background: var(--primary-dark); color: #262626; }

.btn-plan-ghost {
  background: transparent;
  color: #7A5C0F;
  border: 1px solid var(--primary);
}

.btn-plan-ghost:hover { background: var(--primary-light); color: #7A5C0F; }

.plan-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

/* Onay isareti yazi tipinden bagimsiz olsun diye CSS ile ciziliyor. */
.plan-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-helper);
  margin: 20px 0 0;
}

.credits-section,
.tiers-section {
  background: var(--layer-01);
  padding: 64px 0;
}

.tiers-section { background: var(--white); }

.credits-section h2,
.tiers-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}

.credits-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 28px;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.credit-card {
  background: var(--white);
  padding: 24px;
  text-align: center;
}

.credit-amount {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 8px;
}

.credit-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.enterprise-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 28px;
  background: var(--primary-light);
}

.enterprise-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.enterprise-cta .btn-plan { width: auto; }

.tiers-section .enterprise-cta { margin-top: 0; }

@media (max-width: 992px) {
  .plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pricing-hero { padding: 56px 0 32px; }
  .pricing-hero h1 { font-size: 1.75rem; }
  .credit-grid { grid-template-columns: 1fr; }
  .credits-section, .tiers-section { padding: 48px 0; }
  .plan-desc, .plan-period { min-height: 0; }
  .enterprise-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .enterprise-cta .btn-plan { width: 100%; }
}

/* Tehlikeli bolge: hesap silme. Kirmizi cerceve ve ayri blok, yanlislikla
   tiklanmasini zorlastirmak icin. Silme geri alinamaz. */
.danger-zone {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid #da1e28;
  background: #fff1f1;
}

.danger-zone h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #da1e28;
}

.danger-zone p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-light);
  max-width: 70ch;
}

.btn-danger {
  background: #da1e28;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-danger:hover { background: #ba1b23; }
.btn-danger:disabled { opacity: 0.6; cursor: default; }

/* Klavye ile gezinenler icin "icerige atla". Gorunmez duruyor, sekme ile
   odaklaninca beliriyor; boylece her sayfada menuyu bastan gecmek gerekmiyor. */
/* Yukari tasinarak gizleniyor: left:-9999px sagdan sola (ar) sayfada
   yatay kaydirma cubugu aciyordu. */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-120%);
  z-index: 2000;
  padding: 12px 20px;
  background: var(--primary);
  color: #262626;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

#main-content:focus {
  outline: none;
}

/* Veri disa aktarma. KVKK/GDPR tasinabilirlik hakki. */
.export-zone {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--layer-01);
}

.export-zone h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.export-zone p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-light);
  max-width: 70ch;
}

.btn-secondary {
  background: transparent;
  color: #7A5C0F;
  border: 1px solid var(--primary);
  border-radius: 0;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-secondary:hover { background: var(--primary-light); }
.btn-secondary:disabled { opacity: 0.6; cursor: default; }

/* Onay kutusu. confirm() yerine: tarayicinin kutusu tasarim sisteminin disinda
   kaliyor, ceviriyi izlemiyor ve ana is parcacigini blokluyordu. */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 22, 22, 0.55);
}

.confirm-box {
  width: 100%;
  max-width: 440px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.confirm-box h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.confirm-box p {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-light);
}

.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Bildirim gecmisinde "daha eskilerini goster". Onceden 50 kayitla sinirliydi
   ve daha eskisine ulasmanin hicbir yolu yoktu. */
.notif-more {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.82rem;
  color: #7A5C0F;
  cursor: pointer;
}

.notif-more:hover { background: var(--primary-light); }

@media (max-width: 480px) {
  .confirm-actions { flex-direction: column-reverse; }
  .confirm-actions .btn { width: 100%; }
}

/* ── Profil: cocuk yonetimi ve sifre degistirme ───────────────────────────
   Panel cocuklari yalnizca gosteriyordu; ekleme, duzenleme ve silme yalnizca
   mobil uygulamada vardi. */
.profile-block {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--white);
}

.profile-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.profile-block h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.profile-block-head h3 { margin: 0; }

.profile-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-helper);
}

.child-rows {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.child-rows:empty { display: none; }

.child-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  flex-wrap: wrap;
}

.child-row-emoji { font-size: 1.5rem; line-height: 1; }

.child-row-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.child-row-age {
  font-size: 0.85rem;
  color: var(--text-helper);
}

.child-row-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.child-row-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.child-row-btn:hover { background: var(--bg); }

.child-row-btn-danger { color: #da1e28; border-color: #da1e28; }
.child-row-btn-danger:hover { background: #fff1f1; }

.child-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 22, 22, 0.55);
  overflow-y: auto;
}

.child-modal {
  width: 100%;
  max-width: 480px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.child-modal h3 {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* Simge secimi. Mobildeki listeyle ayni mantik: gorunur bir izgara, secili
   olan marka rengiyle isaretli. */
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.emoji-option {
  padding: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.emoji-option:hover { background: var(--white); }

.emoji-option.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.child-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .child-row-actions { margin-left: 0; width: 100%; }
  .child-row-btn { flex: 1; }
  .child-modal-actions { flex-direction: column-reverse; }
  .child-modal-actions .btn { width: 100%; }
}

/* ── Profil bolumu: tum kutular ayni genislikte ───────────────────────────
   .profile-form 480px ile sinirliydi, sonradan eklenen cocuk yonetimi, sifre,
   veri indirme ve hesap silme bloklari ise kapsayicinin tamamini kapliyordu.
   Sonuc, ust uste duran ama farkli genislikte kutulardi. Hepsi artik ayni
   hizada; alanlar genis kutuda bos gorunmesin diye iki sutuna aliniyor. */
/* Kapsayici sitenin geri kalaniyla ayni kalsin (1340px): 900px'e sabitleyince
   panel genis ekranda ortada dar bir kutuya sikisiyordu. Alanlar bunun yerine
   otomatik sutunlara yayiliyor, boylece genislik bos durmuyor. */
.profile-form {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 20px;
}

/* Dugme ve mesaj her zaman tam satir. */
.profile-form > button[type="submit"],
.profile-form > .form-message {
  grid-column: 1 / -1;
}

.profile-form > button[type="submit"] {
  justify-self: start;
  margin-top: 8px;
}

/* Sonradan eklenen bloklar profil formuyla ayni govdeyi tasisin. */
.profile-block,
.export-zone {
  border-top: 3px solid var(--primary);
}

/* Profil bilgileri ve sifre degistirme ust satirda yan yana: ikisi de hesabin
   kendisiyle ilgili, alt bloklar ise cocuklar ve hesap islemleri. Sifre daha
   az alan istedigi icin dar sutunda duruyor. */
.profile-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-top .profile-block {
  margin-top: 0;
}

/* Sifre formu tek sutun kalsin: iki alan yan yana durunca "mevcut" ve "yeni"
   siklikla karistiriliyor. */
#passwordForm {
  display: block;
  max-width: none;
  border: none;
  border-top: none;
  padding: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .profile-top {
    grid-template-columns: 1fr;
  }
}



/* ── Profil: yan yana duran kutular esit yukseklikte ──────────────────────
   Yan yana kutular icerik uzunluguna gore farkli yukseklikte kaliyordu; satir
   boyunca uzanmalari icin stretch. Icerik yukarida toplaniyor, eyleme goturen
   dugme ise kutunun altina sabitleniyor, boylece iki kutunun dugmeleri ayni
   hizada duruyor. */
.profile-top,
.profile-bottom {
  align-items: stretch;
}

.profile-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.profile-bottom > .export-zone,
.profile-bottom > .danger-zone {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

/* Aciklama fazla alani yutsun ki dugmeler dibe otursun. */
.profile-bottom > .export-zone p,
.profile-bottom > .danger-zone p {
  margin-bottom: auto;
  padding-bottom: 20px;
}

.profile-bottom .btn-secondary,
.profile-bottom .btn-danger {
  align-self: flex-start;
}

.profile-top > .profile-form,
.profile-top > .profile-block {
  display: flex;
  flex-direction: column;
}

/* Profil formunun alan izgarasi flex kutusunun icinde kalsin. */
.profile-top > .profile-form {
  display: grid;
  align-content: start;
}

@media (max-width: 900px) {
  .profile-bottom {
    grid-template-columns: 1fr;
  }
}

/* Profil formunun ic basligi. Yanindaki ve altindaki butun kutularda baslik
   vardi, yalnizca bu kutu bos gorunuyordu. Izgarada tam satir kaplar. */
.profile-form-title {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* Bos durum: panelde cocuk yokken kullaniciyi ilk adima goturur. Metin
   "mobil uygulamadan ekleyebilirsiniz" diyordu, oysa artik panelden de
   eklenebiliyor. */
.no-children {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
}

.no-children p { margin: 0; font-size: 0.95rem; }
.no-children .btn { text-decoration: none; }

/* Oturum durumu Firebase'den gelene kadar "Başla" ile hesap menusunden hangisi
   dogruysa onu biliyoruz sayilmaz. Son bilinen durum localStorage'da tutuluyor
   ve menu ona gore aciliyor; gercek durum gelince duzeltiliyor. Bu olmadan
   giris yapmis kullaniciya once "Başla" gorunup sonra hesap menusune
   donusuyordu. */
html.auth-unknown #openAuth,
html.auth-unknown #navUserMenu {
  visibility: hidden;
}

/* ── Fiyatlandirma: ek notlar ─────────────────────────────────────────────── */
.plan-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-helper);
  letter-spacing: 0.16px;
}

.plan-more-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.875rem;
  color: #7A5C0F;
  letter-spacing: 0.16px;
}

.plan-more-link:hover { text-decoration: underline; }

/* ── Giris penceresi: kosullar onayi ─────────────────────────────────────── */
.modal-consent {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-helper);
  text-align: center;
  letter-spacing: 0.16px;
}

.modal-consent a { color: #7A5C0F; }
.modal-consent a:hover { text-decoration: underline; }

/* Google / Apple ile devam et (giris penceresi). Carbon tertiary
   dugme: beyaz zemin, ince kenar, marka isareti solda. */
.social-auth { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.btn-social {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  color: #161616;
  border: 1px solid #8d8d8d;
  font-weight: 600;
  gap: 12px;
}
.btn-social:hover { background: #f4f4f4; }
.btn-social:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.btn-social svg { flex-shrink: 0; }
.btn-social[hidden] { display: none; }
.social-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  font-size: 0.75rem;
  color: var(--text-helper);
  letter-spacing: 0.32px;
}
.social-or::before, .social-or::after { content: ''; flex: 1; height: 1px; background: #c6c6c6; }
#socialMessage:empty { display: none; }

.form-message.info {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #EADDB0;
}

.form-message a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.not-found { padding-bottom: 96px; }

.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Ana sayfa: kurumlar bandi ────────────────────────────────────────────
   Ozellikler (gri) ile SSS (beyaz) arasinda; marka mavisi, menuyle ayni. */
.institutions-band {
  background: var(--primary);
  color: #262626;
  padding: 56px 0;
}

.institutions-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.institutions-band-eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  opacity: 0.85;
}

.institutions-band h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 28ch;
}

.institutions-band p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.institutions-band-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.btn-band-primary {
  background: #fff;
  color: #7A5C0F;
  font-weight: 600;
}

.btn-band-primary:hover { background: var(--primary-light); }

.btn-band-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-band-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ── Kurumlar sayfasi ─────────────────────────────────────────────────────── */
/* Fiyatlandirma ve Indirmeler sayfalarinin basligiyla ayni */
.inst-hero {
  background: var(--white);
  padding: 80px 0 40px;
  text-align: center;
}

.inst-hero h1 {
  margin: 0 0 12px;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.inst-hero p {
  margin: 0 auto;
  max-width: 64ch;
  font-size: 1.05rem;
  color: var(--text-light);
}

.inst-section {
  background: var(--white);
  padding: 80px 0;
}

.inst-section-alt { background: var(--layer-01); }

.inst-section-head { margin-bottom: 40px; }

.inst-section-head h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.inst-section-head p {
  margin: 0;
  max-width: 64ch;
  font-size: 1rem;
  color: var(--text-light);
}

.inst-grid-3 { grid-template-columns: repeat(3, 1fr); }

.inst-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
}

.inst-quote-intro h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

.inst-quote-intro p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.inst-quote-alt a { color: #7A5C0F; }

.inst-form {
  background: var(--white);
  padding: 32px;
}

.inst-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.inst-form .form-group select,
.inst-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--layer-01);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  letter-spacing: 0.16px;
  outline: none;
}

.inst-form .form-group textarea { resize: vertical; min-height: 96px; }

.inst-form .form-group select:focus,
.inst-form .form-group textarea:focus {
  border-bottom: 2px solid var(--primary);
}

.inst-optional {
  font-weight: 400;
  color: var(--text-helper);
}

.inst-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 20px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-light);
  cursor: pointer;
}

.inst-consent input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.inst-consent a { color: #7A5C0F; }

.inst-form .turnstile-container { margin-bottom: 16px; }

@media (max-width: 992px) {
  .institutions-band-inner { flex-direction: column; align-items: flex-start; }
  .inst-grid-3 { grid-template-columns: 1fr; }
  .inst-quote { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .institutions-band { padding: 40px 0; }
  .institutions-band h2 { font-size: 1.4rem; }
  .institutions-band-actions { flex-direction: column; align-self: stretch; }
  .inst-hero { padding: 56px 0 32px; }
  .inst-hero h1 { font-size: 1.75rem; }
  .inst-section { padding: 56px 0; }
  .inst-section-head h2, .inst-quote-intro h2 { font-size: 1.5rem; }
  .inst-form { padding: 20px 16px; }
  .inst-form-row { grid-template-columns: 1fr; }
}

/* ── Ebeveynler sayfasi ─────────────────────────────────────────────────────
   Adimlar yan yana kart: ustte uygulamadan ekran goruntusu, altta metin.
   Izgara diger bolumlerin features-grid'i gibi tam genislik ve 1px cizgili.
   Telefon goruntuleri 960x2132; kartta en fazla 150px genislikte duruyor. */
/* Adimlar tablo gibi cizgilerle bolunmuyor; her adim gri bir sahnede buyuk
   bir ekran goruntusu ve altinda metin. Ekranlarin yalnizca ust kismi
   gorunuyor, adimin anlattigi dugmeler de orada. */
.par-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
}

.par-step {
  display: flex;
  flex-direction: column;
}

.par-step-media {
  display: flex;
  justify-content: center;
  height: 320px;
  padding: 32px 20px 0;
  overflow: hidden;
  background: var(--layer-01);
}

.par-step-shot {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  align-self: flex-start;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.par-step-text { padding: 24px 4px 0; }

.par-step-text .step-number { margin: 0 0 16px; }

.par-step-text h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.par-step-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.par-grid-3 { grid-template-columns: repeat(3, 1fr); }

.par-devices-cta { margin: 24px 0 0; }

@media (max-width: 1200px) {
  .par-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .par-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .par-steps { grid-template-columns: 1fr; }
  .par-step-media { height: 360px; }
}

@media (max-width: 1024px) {
  .par-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .par-step-text { padding: 20px 0 0; }
  .par-grid-2,
  .par-grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BENTO KATMANI (2026-11)
   Site ve panel, mobil uygulamanin Bento arayuzuyle ayni gorunsun diye
   (src/bento/bento.css). Gri zemin (#ECEEF1) uzerinde beyaz, yuvarlak
   koseli kutular; vurgu icin koyu (#121417) ve marka mavisi kutular; hap
   bicimli secimler; 48-56px yuvarlak dugmeler; Inter. Bu katman yukaridaki
   Carbon kurallarinin ustune yaziyor; yeni stil buraya eklenmeli.
   ========================================================================== */

::selection { background: #CFE0FF; color: var(--bn-ink); }

body { letter-spacing: -0.005em; }

h1, h2, h3 { letter-spacing: -0.015em; }

:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }

/* Ortak kutu olculeri. Tam genislikli bolumler kenarlardan 12px iceride,
   en fazla kapsayici genisliginde duran kutulara donusuyor. */
.hero,
.institutions-band {
  width: min(1308px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* ── Dugmeler ─────────────────────────────────────────────────────────────── */
.btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.btn-lg { min-height: 48px; padding: 0 22px; border-radius: 16px; font-size: 0.95rem; }
.btn-block { min-height: 48px; padding: 0 16px; }
.btn-primary { background: var(--bn-accent); color: #262626; }
.btn-primary:hover { background: var(--bn-accent-press); }
.btn-outline,
.btn-secondary {
  background: var(--bn-card);
  color: var(--bn-ink);
  border: 1px solid var(--bn-brd);
  border-radius: 14px;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-outline:hover,
.btn-secondary:hover { background: var(--bn-soft); border-color: #BFC4CC; color: var(--bn-ink); }
.btn-danger,
.btn.btn-danger {
  background: var(--bn-red);
  color: #fff;
  border-radius: 14px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 600;
}
.btn-danger:hover { background: var(--bn-red-ink); }
.btn-link { color: #7A5C0F; font-weight: 600; }
.btn-tooltip { border-radius: 10px; }
.btn-tooltip::after { display: none; }

.btn-plan {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bn-accent);
}
.btn-plan:hover { background: var(--bn-accent-press); }
.btn-plan-ghost { background: var(--bn-card); color: var(--bn-ink); border: 1px solid var(--bn-brd); }
.btn-plan-ghost:hover { background: var(--bn-soft); color: var(--bn-ink); }

.btn-social {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--bn-brd);
  color: var(--bn-ink);
}
.btn-social:hover { background: var(--bn-soft); }
.btn-social:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.social-or { color: var(--bn-mut); font-size: 0.8rem; }
.social-or::before, .social-or::after { background: var(--bn-brd); }

.skip-link { border-radius: 0 0 14px 0; }

/* ── Menu ─────────────────────────────────────────────────────────────────── */
/* Uygulamanin ust satiri gibi: gri zemin, mavi yazi logo, hap bicimli
   baglantilar. Secili sayfa koyu hap (uygulamadaki secili cip). */
.navbar {
  background: var(--bn-bg);
  min-height: 80px;
}
.navbar-inner { height: 80px; gap: 16px; }
.navbar-brand { color: #7A5C0F; }
.navbar-logo { max-height: 28px; filter: none; }

.navbar-links { gap: 4px; }
.navbar-links a,
.lang-toggle,
.user-toggle,
.notif-toggle {
  height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 19px;
  color: var(--bn-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.navbar-links a:hover,
.lang-toggle:hover,
.user-toggle:hover,
.user-menu.open .user-toggle,
.notif-toggle:hover,
.lang-selector.open .lang-toggle,
.notif-menu.open .notif-toggle {
  background: var(--bn-card);
  color: var(--bn-ink);
}
.navbar-links a.active,
.navbar-links a.active:hover {
  background: var(--bn-dark);
  color: #fff;
  border-bottom-color: transparent;
}
.navbar-links a.btn-nav,
.navbar-links a.btn-nav:hover {
  margin-left: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 19px;
  background: var(--bn-accent);
  color: #262626;
  font-weight: 600;
  font-size: 0.875rem;
}
.navbar-links a.btn-nav:hover { background: var(--bn-accent-press); }
.notif-toggle { width: 38px; padding: 0; justify-content: center; }
.notif-badge {
  top: -2px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  border: 2px solid var(--bn-bg);
  background: var(--bn-red);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 16px;
}
[dir="rtl"] .notif-badge { left: -4px; right: auto; }

@media (min-width: 993px) and (max-width: 1240px) {
  .navbar-links a,
  .navbar-links a.btn-nav { padding: 0 10px; }
  .lang-toggle, .user-toggle { padding: 0 10px; }
}

.navbar-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: var(--bn-card);
  padding: 0;
}
.navbar-toggle span { width: 18px; background: var(--bn-ink); }

/* Acilan listeler: beyaz, yuvarlak, golgeli kutu. */
.lang-dropdown,
.user-dropdown,
.notif-dropdown {
  top: calc(100% + 8px);
  border: none;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(18, 20, 23, 0.16), 0 0 0 1px rgba(18, 20, 23, 0.05);
  overflow: hidden;
  padding: 6px;
}
.notif-dropdown { padding: 0; overflow-y: auto; }
.lang-dropdown { overflow-y: auto; }
.lang-option,
.navbar-links .user-option {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--bn-ink);
  height: auto;
}
.lang-option:hover,
.navbar-links .user-option:hover { background: var(--bn-soft); color: var(--bn-ink); }
.lang-option.active,
.navbar-links .user-option.active { background: var(--bn-tint); color: var(--bn-ink); font-weight: 700; }
.lang-option-code { color: var(--bn-mut); }
.lang-option.active .lang-option-code { color: var(--bn-ink); }
.navbar-links .user-option-logout,
.user-submenu { border-top: 1px solid var(--bn-line); border-radius: 0; margin-top: 4px; padding-top: 4px; }
.navbar-links .user-option-logout { border-radius: 12px; margin-top: 4px; color: var(--bn-red); }
.navbar-links .user-option-logout:hover { background: var(--bn-red-bg); color: var(--bn-red-ink); }
.user-sublist { background: transparent; border-top: none; }
.user-option-icon, .user-option-value, .user-option-chevron { color: var(--bn-mut); }

.notif-head { padding: 14px 16px; font-size: 0.9rem; font-weight: 700; border-bottom: 1px solid var(--bn-line); }
.notif-mark-all { color: #7A5C0F; font-weight: 600; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--bn-line); }
.notif-item.unread { background: #FBF6E8; }
.notif-dot { width: 8px; height: 8px; border-radius: 4px; margin-top: 6px; background: var(--bn-accent); }
.notif-time, .notif-empty { color: var(--bn-mut); }
.notif-more { background: var(--bn-card); border-top: 1px solid var(--bn-line); color: #7A5C0F; font-weight: 600; }
.notif-more:hover { background: var(--bn-soft); }

/* Dar ekranda tam ekran menu: gri zemin, beyaz liste satirlari. */
@media (max-width: 992px) {
  .navbar-links {
    top: 80px;
    background: var(--bn-bg);
    padding: 8px 16px 32px;
    gap: 6px;
  }
  .navbar-close {
    top: 18px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--bn-card);
    color: var(--bn-ink);
  }
  .navbar-close svg { width: 22px; height: 22px; }
  [dir="rtl"] .navbar-close { right: auto; left: 16px; }

  .navbar-links a,
  .navbar-links .lang-toggle,
  .navbar-links .user-toggle {
    height: auto;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 18px;
    background: var(--bn-card);
    color: var(--bn-ink);
    font-size: 1rem;
  }
  .navbar-links a.btn-nav { margin: 8px 0 0; min-height: 48px; justify-content: center; border-radius: 16px; font-size: 1rem; }
  .lang-selector { align-self: stretch; }
  .lang-toggle { width: 100%; }
  .lang-dropdown { left: 0; right: 0; transform: none; }
  [dir="rtl"] .lang-dropdown { left: 0; right: 0; transform: none; }

  .notif-menu { align-self: flex-start; }
  .notif-toggle { background: var(--bn-card); width: 56px; height: 56px; border-radius: 18px; }

  .user-dropdown {
    position: static;
    margin-top: 6px;
    background: var(--bn-card);
    border-top: none;
    border-radius: 18px;
    box-shadow: none;
  }
  .navbar-links .user-option {
    padding: 14px 16px;
    color: var(--bn-ink);
  }
  .navbar-links .user-option:hover,
  .navbar-links .user-option.active { background: var(--bn-soft); color: var(--bn-ink); }
  .navbar-links .user-option-logout { border-top: 1px solid var(--bn-line); color: var(--bn-red); }
  .navbar-links .user-option-logout:hover { background: var(--bn-red-bg); color: var(--bn-red-ink); }
  .user-submenu { border-top: 1px solid var(--bn-line); }
  .user-sublist { background: transparent; border-top: none; }
  .user-sublist .lang-option { padding-left: 40px; color: var(--bn-ink); background: transparent; }
  .user-sublist .lang-option:hover,
  .user-sublist .lang-option.active { background: var(--bn-soft); color: var(--bn-ink); }
  .user-option-icon, .user-option-value, .user-option-chevron { color: var(--bn-mut); }
}

/* ── Ana sayfa: kahraman ──────────────────────────────────────────────────── */
/* Uygulamadaki "Şu an" kutusu gibi koyu, buyuk koseli bir kutu. */
.hero {
  margin-top: 4px;
  padding: 72px 0 56px;
  background: var(--bn-dark);
  color: #fff;
  border-radius: var(--radius-big);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { opacity: 0.16; filter: grayscale(0.2); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 20, 23, 0.92) 0%, rgba(18, 20, 23, 0.55) 55%, rgba(18, 20, 23, 0.2) 100%);
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero-inner { padding: 0 32px; gap: 48px; }
.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero-subtitle { color: rgba(255, 255, 255, 0.74); font-size: 1.1rem; line-height: 1.6; max-width: 56ch; }
.hero-buttons { gap: 12px; }
.hero .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
  color: #fff;
}
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.hero .btn:focus-visible { outline-color: var(--bn-accent-on-dark); }

/* Telefon duz duruyor; Bento'da derinlik efekti yok. */
.hero-visual { margin-bottom: 0; }
.hero-visual::after { display: none; }
.phone-slider-container { perspective: none; }
.phone-frame,
.phone-frame:hover,
[dir="rtl"] .phone-frame,
[dir="rtl"] .phone-frame:hover {
  transform: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.phone-frame::before,
.phone-frame::after,
.phone-screen::after { display: none; }
.phone-screen, .phone-slide img { border-radius: 34px; }
.phone-slider-nav {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}
.phone-slider-nav:hover {
  background: #fff;
  color: var(--bn-ink);
  transform: translateY(-50%);
}
.phone-slider-prev { left: 0; }
.phone-slider-next { right: 0; }
[dir="rtl"] .phone-slider-prev { right: 0; left: auto; }
[dir="rtl"] .phone-slider-next { left: 0; right: auto; }
.phone-slider-dots { margin-top: 20px; }
.phone-slider-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.phone-slider-dot.active { width: 22px; border-radius: 4px; background: #fff; }

/* ── Ana sayfa: nasil calisir ─────────────────────────────────────────────── */
/* Diger bolumler gibi bir kutu izgarasi degil, sirali bir rehber: uygulamadaki
   koyu "Şu an" kutusu gibi koyu tek bir panel; numaralar bir cizgiyle bagli
   (masaustunde yatay, 900px altinda dikey). Kahraman da koyu oldugu icin
   baslik panelin ustunde, gri zeminde: iki koyu kutu tek blok gibi gorunmesin.
   Kontrast (#121417 uzerinde): baslik/beyaz 18:1, metin %75 beyaz ~12:1,
   numara #121417/#D1AD4B ~8:1. */
.how-it-works { padding: 56px 0 0; }
.hiw-title {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.hiw-panel {
  background: var(--bn-dark);
  color: #fff;
  border-radius: var(--radius-big);
  padding: 44px 40px 40px;
}
.steps,
[dir="rtl"] .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}
.step {
  position: relative;
  max-width: none;
  text-align: start;
  display: flex;
  flex-direction: column;
}
/* Bir sonraki adimin numarasina uzanan baglanti cizgisi. */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 27px;
  inset-inline-start: 68px;
  inset-inline-end: -20px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.step-arrow { display: none; }
.step-number {
  width: 56px;
  height: 56px;
  margin: 0 0 20px;
  border-radius: 28px;
  background: var(--bn-accent-on-dark);
  color: var(--bn-dark);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-it-works .step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.how-it-works .step p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; }
.step-shot {
  margin-top: auto;
  padding: 20px 20px 0;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: var(--bn-bg);
  border-radius: 22px;
}
.step-body { margin-bottom: 24px; }
.step-shot img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  align-self: flex-start;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.18);
}

@media (max-width: 900px) {
  .how-it-works { padding-top: 40px; }
  .hiw-panel { padding: 28px 20px 24px; border-radius: 28px; }
  .hiw-title { font-size: 1.6rem; margin-bottom: 16px; }
  .steps, [dir="rtl"] .steps { grid-template-columns: 1fr; gap: 28px; }
  .step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .step-number { width: 44px; height: 44px; border-radius: 22px; font-size: 1.15rem; margin: 0; grid-row: 1 / span 2; }
  .step-body { margin-bottom: 16px; }
  .step-shot { grid-column: 2; margin-top: 0; height: 200px; padding: 16px 16px 0; }
  .step-shot img { max-width: 150px; }
  /* Dikey baglanti: numaranin altindan bir sonraki numaraya. */
  .step:not(:last-child)::before {
    top: 52px;
    bottom: -20px;
    inset-inline-start: 21px;
    inset-inline-end: auto;
    width: 2px;
    height: auto;
  }
}

/* ── Ozellik kutulari ─────────────────────────────────────────────────────── */
.features { background: transparent; padding: 12px 0 0; }
.features-grid {
  gap: 12px;
  background: transparent;
}
.feature-cell {
  background: var(--bn-card);
  border-radius: var(--radius-tile);
  border-left: none;
  padding: 28px;
}
.feature-cell:hover { background: var(--bn-card); }
.feature-cell h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-cell p { font-size: 0.92rem; color: var(--bn-mut); line-height: 1.6; letter-spacing: 0; }

/* Ana sayfada alti ozellik ayni agirlikta: uc sutun, hepsi beyaz kutu.
   Tek bir kutuyu koyu ya da mavi yapmak gereksiz vurgu oluyordu. */
.features .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Kurumlar bandi ───────────────────────────────────────────────────────── */
.institutions-band {
  margin-top: 12px;
  padding: 48px 0;
  border-radius: var(--radius-big);
  background: var(--bn-accent);
}
.institutions-band-inner { padding: 0 32px; }
.institutions-band-eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.85;
}
.institutions-band h2 { font-weight: 800; letter-spacing: -0.025em; font-size: 2rem; }
.btn-band-primary { background: #fff; color: var(--bn-ink); }
.btn-band-primary:hover { background: #F6EED6; color: var(--bn-ink); }
.btn-band-ghost { background: rgba(255, 255, 255, 0.14); border: none; color: #fff; }
.btn-band-ghost:hover { background: rgba(255, 255, 255, 0.24); }
.institutions-band .btn:focus-visible { outline-color: #fff; }

/* ── SSS ──────────────────────────────────────────────────────────────────── */
.faq { background: transparent; padding: 72px 0; }
.faq-title { font-weight: 800; letter-spacing: -0.025em; }
.faq-list {
  border-top: none;
  background: var(--bn-card);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--bn-line); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  min-height: 60px;
  padding: 16px 22px;
  border-left: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.faq-question:hover { background: var(--bn-soft); }
.faq-question::after { border-color: var(--bn-mut); }
.faq-item[open] .faq-question { font-weight: 700; }
.faq-question:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: -3px; border-radius: var(--radius-tile); }
.faq-answer {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  color: var(--bn-body);
  letter-spacing: 0;
}

/* ── Sayfa basliklari (ic sayfalar) ───────────────────────────────────────── */
.pricing-hero,
.inst-hero,
.download-hero,
.legal-hero { background: transparent; }
.pricing-hero h1,
.inst-hero h1,
.download-hero h1,
.legal-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.download-hero { padding: 72px 0 40px; }
.legal-hero { padding: 72px 0 24px; }
.pricing-hero > .container > p,
.inst-hero p,
.download-hero p,
.legal-hero p { color: var(--bn-mut); }
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: var(--bn-tint);
  color: var(--bn-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* ── Fiyatlandirma ────────────────────────────────────────────────────────── */
.billing-switch {
  padding: 4px;
  gap: 4px;
  border: none;
  border-radius: 24px;
  background: var(--bn-card);
}
.billing-option {
  height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--bn-body);
}
.billing-option.active { background: var(--bn-dark); color: #fff; }
.billing-badge { border-radius: 10px; padding: 2px 8px; background: var(--bn-grn-bg); color: var(--bn-grn-ink); font-weight: 700; }
.billing-option.active .billing-badge { background: rgba(255, 255, 255, 0.16); color: #fff; }

.pricing-plans { background: transparent; }
.plan-grid,
.credit-grid {
  gap: 12px;
  background: transparent;
  border: none;
}
.plan-card {
  background: var(--bn-card);
  border-radius: 28px;
  padding: 32px 28px;
}
.plan-badge {
  top: 20px;
  right: 20px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--bn-accent);
  font-size: 0.75rem;
  font-weight: 700;
}
[dir="rtl"] .plan-badge { right: auto; left: 20px; }
.plan-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-amount { font-weight: 800; letter-spacing: -0.035em; }
.plan-desc, .plan-unit, .plan-period, .plan-note, .pricing-note, .credits-lead { color: var(--bn-mut); }
.plan-features li { color: var(--bn-body); }
.plan-features li::before { border-color: var(--bn-grn); }

/* One cikan plan: koyu kutu (uygulamadaki koyu kutu). */
.plan-card-featured { background: var(--bn-dark); color: #fff; }
.plan-card-featured .plan-name,
.plan-card-featured .plan-amount { color: #fff; }
.plan-card-featured .plan-desc,
.plan-card-featured .plan-unit,
.plan-card-featured .plan-period,
.plan-card-featured .plan-note { color: rgba(255, 255, 255, 0.7); }
.plan-card-featured .plan-features li { color: rgba(255, 255, 255, 0.9); }
.plan-card-featured .plan-features li::before { border-color: #6FDCA8; }
.plan-card-featured .plan-more-link { color: var(--bn-accent-on-dark); }
.plan-card-featured .btn-plan-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: transparent; }
.plan-card-featured .btn:focus-visible,
.plan-card-featured a:focus-visible { outline-color: var(--bn-accent-on-dark); }

.credits-section,
.tiers-section { background: transparent; padding: 40px 0; }
.credits-section h2,
.tiers-section h2,
.inst-section-head h2,
.inst-quote-intro h2 { font-weight: 800; letter-spacing: -0.025em; }
.credit-card { background: var(--bn-card); border-radius: var(--radius-tile); padding: 28px 24px; }
.credit-price { font-weight: 800; letter-spacing: -0.02em; }
.credit-amount { color: var(--bn-mut); font-weight: 600; }
.enterprise-cta {
  background: var(--bn-card);
  border-radius: var(--radius-tile);
  padding: 28px 32px;
}

/* ── Kurumlar ve Ebeveynler ───────────────────────────────────────────────── */
.inst-section,
.inst-section-alt { background: transparent; padding: 56px 0; }
.inst-section-head p, .inst-quote-intro p { color: var(--bn-mut); }
.inst-form {
  background: var(--bn-card);
  border-radius: 28px;
  padding: 32px;
}
.inst-consent { color: var(--bn-mut); }
.inst-optional { color: var(--bn-mut); }

.par-steps { gap: 12px; }
.par-step {
  background: var(--bn-card);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.par-step-media {
  background: var(--bn-tint);
  margin: 8px 8px 0;
  border-radius: 18px;
  padding: 24px 16px 0;
  height: 300px;
}
.par-step-shot {
  border-radius: 18px 18px 0 0;
  box-shadow: 0 10px 30px rgba(18, 20, 23, 0.16);
}
.par-step-text { padding: 20px 20px 24px; }
.par-step-text .step-number { width: 40px; height: 40px; border-radius: 14px; margin-bottom: 14px; }
.par-step-text h3 { font-weight: 700; }
.par-step-text p { color: var(--bn-mut); }

/* ── Formlar ──────────────────────────────────────────────────────────────── */
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--bn-mut); letter-spacing: 0; }
.form-group input,
.form-select,
.inst-form .form-group select,
.inst-form .form-group textarea,
.api-rate-field input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--bn-brd);
  border-radius: 16px;
  background: var(--bn-card);
  font-size: 1rem;
  color: var(--bn-ink);
  letter-spacing: 0;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.inst-form .form-group textarea { padding: 14px 16px; }
/* Acilir listelerde tarayicinin oku yerine uygulamadaki ince ok. */
.form-select,
.inst-form .form-group select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A606B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
[dir="rtl"] .form-select,
[dir="rtl"] .inst-form .form-group select { background-position: left 16px center; }
.form-group input[type="checkbox"],
.form-group input[type="radio"] { min-height: 0; }
.form-group input:focus,
.form-select:focus,
.inst-form .form-group select:focus,
.inst-form .form-group textarea:focus,
.api-rate-field input:focus {
  border: 1px solid var(--bn-accent);
  box-shadow: 0 0 0 3px rgba(209, 173, 75, 0.18);
  outline: none;
}
.form-group input:disabled { background: var(--bn-soft); color: var(--bn-mut); }
.form-group input::placeholder { color: #8C929C; }

.form-message { border-radius: 14px; border: none; }
.form-message.success { background: var(--bn-grn-bg); color: var(--bn-grn-ink); border: none; }
.form-message.error { background: var(--bn-red-bg); color: var(--bn-red-ink); border: none; }
.form-message.info { background: var(--primary-light); color: var(--primary-dark); border: none; }

/* ── Pencereler ───────────────────────────────────────────────────────────── */
.modal-overlay,
.confirm-overlay,
.child-modal-overlay { background: rgba(18, 20, 23, 0.55); }
.modal,
.confirm-box,
.child-modal {
  border: none;
  border-top: none;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(18, 20, 23, 0.28);
}
.modal-close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--bn-bg);
  color: var(--bn-ink);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--bn-tint); }
[dir="rtl"] .modal-close { right: auto; left: 14px; }
.modal-header h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-subtitle { color: var(--bn-mut); }
.modal-consent { color: var(--bn-mut); }
.install-note,
.legal-note {
  background: var(--bn-org-bg);
  border-left: none;
  border-radius: 18px;
  padding: 16px 20px;
}
.approval-icon { border-radius: 20px; background: var(--bn-org-bg); color: var(--bn-org); }
.approval-meta { border: 1px solid var(--bn-line); border-radius: 16px; overflow: hidden; }
.approval-meta div { border-bottom-color: var(--bn-line); }
.approval-error { border: none; border-radius: 14px; background: var(--bn-red-bg); color: var(--bn-red-ink); }
.pair-digit {
  border: 1px solid var(--bn-brd);
  border-radius: 14px;
  background: var(--bn-card);
}
.pair-digit:focus { outline: none; border-color: var(--bn-accent); box-shadow: 0 0 0 3px rgba(209, 173, 75, 0.18); }

/* ── Indirmeler ───────────────────────────────────────────────────────────── */
.dl-group {
  background: var(--bn-card);
  color: var(--bn-ink);
  border-radius: 28px;
  padding: 28px;
}
/* Ebeveyn uygulamasi uygulamanin amiral gemisi: koyu kutu. */
.dl-group-parent { background: var(--bn-dark); color: #fff; }
.dl-group-head h2 { font-weight: 800; letter-spacing: -0.02em; }
.dl-group-head p { opacity: 1; color: var(--bn-mut); }
.dl-group-parent .dl-group-head p { color: rgba(255, 255, 255, 0.7); }
.dl-platform {
  min-height: 48px;
  border: none;
  border-radius: 18px;
  background: var(--bn-bg);
  color: var(--bn-ink);
}
.dl-platform:hover { background: var(--bn-tint); border-color: transparent; }
.dl-platform:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.dl-group-parent .dl-platform { background: rgba(255, 255, 255, 0.1); color: #fff; }
.dl-group-parent .dl-platform:hover { background: rgba(255, 255, 255, 0.18); }
.dl-group-parent .dl-platform:focus-visible { outline-color: var(--bn-accent-on-dark); }
.dl-platform-tag { border-radius: 10px; background: var(--bn-tint); color: var(--bn-body); text-transform: none; letter-spacing: 0; }
/* Secili platform: uygulamadaki secili cip gibi koyu (koyu grupta beyaz). */
.dl-platform[aria-expanded="true"],
.dl-platform[aria-expanded="true"]:hover { background: var(--bn-dark); color: #fff; }
.dl-group-parent .dl-platform[aria-expanded="true"],
.dl-group-parent .dl-platform[aria-expanded="true"]:hover { background: #fff; color: var(--bn-ink); }

/* Ayrinti: pencere degil, grubun icinde platformlarin altinda acilan kart. */
.dl-detail {
  position: relative;
  margin-top: 16px;
  padding: 24px;
  border-radius: 22px;
  background: var(--bn-bg);
  color: var(--bn-ink);
  animation: dl-reveal 0.22s ease-out;
}
.dl-detail[hidden] { display: none; }
.dl-group-parent .dl-detail { background: var(--bn-card); }
@keyframes dl-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.dl-detail-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 20px;
  background: var(--bn-card);
  color: var(--bn-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dl-group-parent .dl-detail-close { background: var(--bn-bg); }
.dl-detail-close:hover { background: var(--bn-tint); }
.dl-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  padding-inline-end: 48px;
}
.dl-detail-info h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.dl-detail-product, .dl-detail-meta { color: var(--bn-mut); }

/* Kurulum rehberi ve surum gecmisi: ayrintinin icinde acilip kapanan satirlar. */
.dl-more { margin-top: 16px; border-top: 1px solid var(--bn-brd); }
.dl-more + .dl-more { margin-top: 0; }
.dl-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 4px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
}
.dl-more summary::-webkit-details-marker { display: none; }
.dl-more summary::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-inline-end: 6px;
  border-right: 1.5px solid var(--bn-mut);
  border-bottom: 1.5px solid var(--bn-mut);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}
.dl-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.dl-more summary:hover { color: #7A5C0F; }
.dl-more summary:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.dl-more-body {
  padding: 4px 4px 20px;
  animation: dl-reveal 0.2s ease-out;
}
.dl-more .changelog-entry + .changelog-entry { border-top-color: var(--bn-brd); }
.dl-more .install-note { margin-top: 16px; background: var(--bn-org-bg); }
.dl-link { color: #7A5C0F; font-weight: 600; }
.changelog-entry + .changelog-entry { border-top-color: var(--bn-line); }
.changelog-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--bn-grn-bg);
  color: var(--bn-grn-ink);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.changelog-changes li, .install-modal-steps li { color: var(--bn-body); }

/* ── Yasal sayfalar ───────────────────────────────────────────────────────── */
.legal-nav {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 24px;
  border-bottom: none;
  background: transparent;
}
.legal-nav a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 20px;
  border-bottom: none;
  background: var(--bn-card);
  color: var(--bn-body);
  font-weight: 600;
  letter-spacing: 0;
}
.legal-nav a:hover { color: var(--bn-ink); background: var(--bn-soft); }
.legal-nav a.active { background: var(--bn-dark); color: #fff; }
.legal-content {
  max-width: 960px;
  margin: 0 auto 72px;
  padding: 48px 56px;
  background: var(--bn-card);
  border-radius: 28px;
}
.legal-content h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.legal-content p,
.legal-content ul li,
.legal-content ol li { color: var(--bn-body); font-size: 0.95rem; letter-spacing: 0; }
.legal-content ul li::before { width: 6px; height: 6px; border-radius: 3px; top: 15px; }
.legal-content a { color: #7A5C0F; }
.contact-box,
.cookie-table-item {
  background: var(--bn-bg);
  border-left: none;
  border-radius: 18px;
}

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.not-found { padding-top: 96px; }

/* ── Alt bilgi ────────────────────────────────────────────────────────────── */
.footer { background: transparent; color: var(--bn-body); margin-top: 12px; }
.footer-wrap { padding: 0 16px; }
.footer-cards { gap: 12px; padding: 0 0 12px; }
.footer-card { background: var(--bn-card); border-radius: var(--radius-tile); padding: 28px; }
/* Marka kutusu koyu; logo, uygulamadaki koyu kutulardaki baslik gibi altta. */
.footer-card-brand { background: var(--bn-dark); display: flex; align-items: flex-end; min-height: 160px; }
.footer-logo { filter: brightness(0) invert(1); width: 190px; height: 34px; margin: 0; }
.footer-desc { color: rgba(255, 255, 255, 0.66); font-size: 0.85rem; letter-spacing: 0; }
.footer-col h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bn-mut);
}
.footer-col a { color: var(--bn-ink); font-size: 0.92rem; font-weight: 500; letter-spacing: 0; }
.footer-col a:hover { color: #7A5C0F; }
.footer-bottom { border-top: none; height: 64px; }
.footer-copy { color: var(--bn-mut); font-size: 0.8rem; letter-spacing: 0; }
.peda-logo { filter: none; opacity: 0.7; }
.peda-logo:hover { opacity: 1; }

/* ── Panel ────────────────────────────────────────────────────────────────── */
.dashboard,
.profile-section,
.api-section { background: transparent; }
.dashboard { padding: 40px 0 56px; }
.profile-section, .api-section { padding: 40px 0 56px; }
.dash-welcome { border-bottom: none; padding-bottom: 0; margin-bottom: 20px; }
.dash-welcome h1,
.dash-welcome h2,
.profile-section h2,
.api-header h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.dash-welcome p, .api-subtitle { color: var(--bn-mut); font-size: 0.95rem; letter-spacing: 0; }
.section-title {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.dash-stats-row,
.dash-stats { gap: 12px; background: transparent; }
.stat-card {
  border-radius: var(--radius-tile);
  padding: 20px;
  min-height: 120px;
  justify-content: space-between;
}
/* Ilk kutu koyu: uygulamadaki gibi bir vurgu kutusu. */
.dash-stats .stat-card:first-child { background: var(--bn-dark); color: #fff; }
.dash-stats .stat-card:first-child .stat-value { color: #fff; }
.dash-stats .stat-card:first-child .stat-label { color: rgba(255, 255, 255, 0.7); }
.stat-card::after { display: none; }
.stat-value { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; order: 2; }
.stat-label { order: 1; margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 600; color: var(--bn-mut); }
#statRisky { color: var(--bn-red); }
#statSafe { color: var(--bn-grn); }

.dash-usage {
  border: none;
  border-radius: var(--radius-tile);
  padding: 24px;
}
.dash-usage-right { border-left-color: var(--bn-line); border-top-color: var(--bn-line); }
.sub-info-title, .dash-usage h3 { text-transform: none; letter-spacing: 0; }
.usage-bar-wrap { height: 10px; border-radius: 5px; background: var(--bn-tint); overflow: hidden; }
.usage-bar { border-radius: 5px; background: var(--bn-accent); }
.sub-row { border-bottom-color: var(--bn-line); }
.sub-label, .usage-text { color: var(--bn-mut); }

.children-grid { gap: 12px; background: transparent; }
.child-card {
  border-radius: var(--radius-tile);
  padding: 20px;
  font: inherit;
  color: var(--bn-ink);
}
.child-card::before { display: none; }
.child-card:hover { background: var(--bn-soft); }
.child-card:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.child-card-emoji {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--bn-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.child-card-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.child-card-age, .child-card-stats { color: var(--bn-mut); letter-spacing: 0; font-size: 0.82rem; }
.child-card-risk { color: var(--bn-red); }
.child-card-risk.ok { color: var(--bn-grn-ink); }
.no-children,
.education-placeholder,
.api-no-keys {
  border: 1.5px dashed var(--bn-brd);
  border-radius: var(--radius-tile);
  background: var(--bn-card);
  color: var(--bn-mut);
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--bn-tint);
  color: var(--bn-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* Profil */
.profile-form,
.profile-block,
.export-zone {
  border: none;
  border-top: none;
  border-radius: var(--radius-tile);
  background: var(--bn-card);
  padding: 28px;
}
#passwordForm { padding: 0; border-radius: 0; }
.profile-block h3, .profile-form-title, .export-zone h3, .danger-zone h3 { font-weight: 700; letter-spacing: -0.01em; }
.profile-top .profile-block, .profile-bottom { margin-top: 0; }
.profile-top { margin-bottom: 12px; gap: 12px; }
.profile-bottom { gap: 12px; margin-top: 12px; }
#childrenBlock { margin-top: 12px; }
.profile-hint { color: var(--bn-mut); }
.danger-zone {
  border: none;
  border-radius: var(--radius-tile);
  background: var(--bn-red-bg);
  padding: 28px;
}
.danger-zone h3 { color: var(--bn-red-ink); }
.danger-zone p { color: var(--bn-body); }
.danger-zone .form-group label { color: var(--bn-red-ink); }

.child-rows {
  gap: 0;
  background: var(--bn-card);
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  overflow: hidden;
}
.child-row { border-bottom: 1px solid var(--bn-line); min-height: 64px; }
.child-row:last-child { border-bottom: none; }
.child-row-emoji {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--bn-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.child-row-age { color: var(--bn-mut); }
.child-row-btn {
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 18px;
  background: var(--bn-bg);
  font-weight: 600;
  color: var(--bn-ink);
}
.child-row-btn:hover { background: var(--bn-tint); }
.child-row-btn-danger { color: var(--bn-red-ink); background: var(--bn-red-bg); }
.child-row-btn-danger:hover { background: #F9CDD0; }
.child-modal h3, .confirm-box h3 { font-weight: 800; letter-spacing: -0.02em; }
.confirm-box p { color: var(--bn-body); }
.emoji-grid { border: none; border-radius: 18px; background: var(--bn-bg); }
.emoji-option { border-radius: 12px; border: 2px solid transparent; }
.emoji-option.active { border-color: var(--bn-accent); background: var(--bn-card); }

/* Cocuk ayrintisi */
.child-detail-section { padding: 40px 12px 56px; }
.child-detail-container {
  border: none;
  border-top: none;
  border-radius: 28px;
  padding: 28px 32px;
}
.btn-back {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--bn-bg);
  justify-content: center;
}
.btn-back:hover { background: var(--bn-tint); }
.child-detail-header { border-bottom-color: var(--bn-line); }
.child-detail-header h2 { font-weight: 800; letter-spacing: -0.02em; }
.child-detail-header p { color: var(--bn-mut); }
.risk-badge,
.suitability-badge,
.suitability-tag,
.device-status,
.api-status-badge,
.scope-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.risk-badge.risk-low, .suitability-badge.suit-yes, .suitability-tag.suit-yes,
.device-status.online, .api-status-badge.active { background: var(--bn-grn-bg); color: var(--bn-grn-ink); }
.risk-badge.risk-medium { background: var(--bn-org-bg); color: var(--bn-org-ink); }
.risk-badge.risk-high, .suitability-badge.suit-no, .suitability-tag.suit-no,
.device-status.offline, .api-status-badge.revoked { background: var(--bn-red-bg); color: var(--bn-red-ink); }
.device-status { background: var(--bn-tint); color: var(--bn-body); }
.child-assessment,
.game-detail-reason {
  border-left: none;
  border-radius: 18px;
  background: var(--bn-bg);
}
.device-card { border: 1px solid var(--bn-line); border-radius: 22px; }
.device-meta div { border-bottom-color: var(--bn-line); }
.risk-factor-track { background: var(--bn-tint); }
.risk-factor-fill { background: var(--bn-red); }
/* Uygun olmayan oyun sayisi (eski yuzde halkasinin yerine, uygulamadaki gibi) */
.risk-count { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.risk-count-label { font-size: 0.82rem; font-weight: 600; color: var(--bn-mut); }
.risk-count-value { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--bn-red); }
.risk-count-value.ok { color: var(--bn-grn-ink); }
.risk-count-sub { font-size: 0.82rem; color: var(--bn-mut); }
.child-games-table-wrap { border: 1px solid var(--bn-line); border-radius: 18px; overflow: auto; }
.games-table th {
  background: var(--bn-soft);
  border-top: none;
  border-bottom: 1px solid var(--bn-line);
  color: var(--bn-mut);
  text-transform: none;
  letter-spacing: 0;
}
.games-table td { border-bottom-color: var(--bn-line); }
.games-table tbody tr:last-child td { border-bottom: none; }
.games-table tbody tr:hover { background: var(--bn-soft); }
.game-detail-item { border-radius: 14px; }

/* API */
.api-keys-list { gap: 12px; background: transparent; }
.api-key-card { border-radius: var(--radius-tile); padding: 22px 24px; }
.api-key-card::before { display: none; }
.api-key-card:hover { background: var(--bn-card); }
.api-key-masked, .api-key-display { border-radius: 12px; border: none; background: var(--bn-bg); }
.api-key-card-actions button { border-radius: 14px; min-height: 36px; padding: 0 14px; font-weight: 600; }
.btn-api-copy { background: var(--primary-light); }
.btn-api-revoke { background: var(--bn-red-bg); color: var(--bn-red-ink); }
.api-key-warning { border-radius: 14px; border: none; background: var(--bn-red-bg); color: var(--bn-red-ink); }

/* ── Dar ekran ────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .features .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .hero { padding: 32px 0 32px; border-radius: 28px; }
  .hero::before { background: linear-gradient(180deg, rgba(18, 20, 23, 0.4) 0%, rgba(18, 20, 23, 0.85) 60%, rgba(18, 20, 23, 0.95) 100%); }
  .hero-inner { padding: 0 20px; gap: 28px; text-align: start; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { justify-content: flex-start; }
  [dir="rtl"] .hero-buttons { flex-direction: row; justify-content: flex-start; }
  .hero-visual { margin-bottom: 0; }
  .phone-frame,
  .phone-frame:hover,
  [dir="rtl"] .phone-frame,
  [dir="rtl"] .phone-frame:hover { width: 240px; height: 523px; border-radius: 34px; padding: 5px; }
  .phone-screen, .phone-slide img { border-radius: 29px; }

  .features .features-grid { grid-template-columns: 1fr; }
  .feature-cell { padding: 24px; }

  .institutions-band { padding: 32px 0; border-radius: 28px; }
  .institutions-band-inner { padding: 0 20px; }
  .institutions-band h2 { font-size: 1.5rem; }

  .faq { padding: 48px 0; }
  .faq-question { padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }

  .pricing-hero h1,
  .inst-hero h1,
  .download-hero h1,
  .legal-hero h1 { font-size: 2rem; }
  .download-hero { padding: 48px 0 28px; }
  .legal-hero { padding: 48px 0 20px; }
  .legal-content { margin: 0 12px 48px; padding: 28px 20px; border-radius: 24px; }
  .legal-nav { padding: 0 12px 20px; }
  .legal-nav a { padding: 0 14px; font-size: 0.82rem; }

  .inst-section, .inst-section-alt { padding: 40px 0; }
  .inst-form { padding: 22px 18px; border-radius: 24px; }
  .enterprise-cta { padding: 24px 20px; }
  .dl-group { padding: 22px 18px; border-radius: 24px; }
  .plan-card { padding: 28px 22px; border-radius: 24px; }

  .modal, .confirm-box, .child-modal { padding: 24px 20px; border-radius: 24px; }

  .footer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-card-brand { grid-column: 1 / -1; min-height: 112px; }
  .footer-card { padding: 22px 20px; }
  .footer-logo { width: 160px; height: 29px; }

  .dashboard, .profile-section, .api-section { padding: 28px 0 40px; }
  .dash-welcome h1, .dash-welcome h2, .profile-section h2, .api-header h2 { font-size: 1.6rem; }
  .dash-stats-row { flex-direction: column; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { min-height: 104px; padding: 16px; }
  .stat-value { font-size: 1.75rem; }
  .child-detail-section { padding: 20px 12px 40px; }
  .child-detail-container { padding: 20px 16px; border-radius: 24px; }
  .profile-form, .profile-block, .export-zone, .danger-zone { padding: 22px 18px; }
}

/* Hareketi azalt: kaydirma, gecis ve kayan ekran goruntuleri dursun. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ── Dugme olcusu: tek token ──────────────────────────────────────────────────
   Menudeki "Başla" dugmesi yanindaki baglantilarla birebir ayni boyda (yukseklik,
   yazi, ic bosluk; yalnizca renk farkli). Sitedeki hicbir dugme bundan buyuk
   degil: CTA'lar, indirme, fiyat, form, panel ve pencereler bu token'i kullanir.
   992px altinda dokunma hedefi icin 44px. Bu blok dosyanin sonunda kalmali. */
:root {
  --btn-h: 38px;
  --btn-px: 14px;
  --btn-fs: 0.875rem;
}
@media (max-width: 992px) {
  :root { --btn-h: 44px; --btn-px: 16px; }
}

.btn,
.btn-lg,
.btn-block,
.btn-plan,
.btn-social,
.btn-outline,
.btn-secondary,
.btn-danger,
.btn.btn-danger,
.navbar-links a.btn-nav,
.navbar-links a.btn-nav:hover {
  height: auto;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  font-size: var(--btn-fs);
  font-weight: 600;
  line-height: 1.2;
}
.btn, .btn-lg, .btn-block, .btn-plan, .btn-social, .btn-outline, .btn-secondary, .btn-danger { border-radius: 12px; }
.btn-block { width: 100%; }
.navbar-links a,
.lang-toggle,
.user-toggle,
.billing-option,
.legal-nav a { height: var(--btn-h); padding: 0 var(--btn-px); font-size: var(--btn-fs); }
.navbar-links a.btn-nav { margin-left: 4px; border-radius: 19px; }
.notif-toggle,
.phone-slider-nav,
.modal-close,
.dl-detail-close,
.btn-back { width: var(--btn-h); height: var(--btn-h); border-radius: calc(var(--btn-h) / 2); }
.dl-platform { min-height: var(--btn-h); font-size: var(--btn-fs); }
.dl-platform-name { font-size: var(--btn-fs); }
.form-group input,
.form-select,
.inst-form .form-group select,
.api-rate-field input { min-height: 44px; border-radius: 12px; }

@media (max-width: 992px) {
  /* Tam ekran menude satirlar ve "Başla" ayni olcude. */
  .navbar-links a,
  .navbar-links .lang-toggle,
  .navbar-links .user-toggle,
  .navbar-links a.btn-nav,
  .navbar-links a.btn-nav:hover {
    height: auto;
    min-height: var(--btn-h);
    padding: 0 var(--btn-px);
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .navbar-links a.btn-nav { margin: 6px 0 0; }
  .notif-toggle { width: var(--btn-h); height: var(--btn-h); border-radius: 12px; }
}

/* ── SSS sayfasi (sss.html) ──────────────
   Solda konu listesi (beyaz kart, telefonda yatay kayan cipler), sagda secili
   konunun sorulari. Ana sayfada SSS yok; menudeki "SSS" buraya gider. */
.faq-page { padding: 48px 0 72px; }
.faq-page-title { margin: 0 0 24px; font-size: 2.75rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.faq-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 24px;
  align-items: start;
}
.faq-page-grid > * { min-width: 0; }
.faq-page-side { position: sticky; top: 24px; }
.faq-topics {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--bn-card);
  border-radius: var(--radius-tile);
}
.faq-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--bn-ink);
  font: inherit;
  font-size: var(--btn-fs);
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.faq-topic:hover { background: var(--bn-soft); }
.faq-topic.on { background: var(--bn-dark); color: #fff; }
.faq-topic:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.faq-topic-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--bn-tint);
  color: var(--bn-body);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-topic.on .faq-topic-count { background: rgba(255, 255, 255, 0.18); color: #fff; }
.faq-item[hidden] { display: none; }
.faq-page-list .faq-item { scroll-margin-top: 16px; }

.faq-more { margin: 4px 0 0; grid-column: 2; }
.faq-more a { color: #7A5C0F; font-weight: 600; }
.faq-more a::after { content: " →"; }

[dir="rtl"] .faq-more a::after { content: " ←"; }

@media (max-width: 992px) {
  .faq-more { grid-column: auto; }
}
@media (max-width: 768px) {
  .faq-page { padding: 28px 0 48px; }
  .faq-page-title { font-size: 2rem; }
  .faq-page-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-page-side { position: static; }
  /* Konu listesi yatay kayan cip satirina donusur. */
  .faq-topics {
    flex-direction: row;
    gap: 8px;
    padding: 3px;
    margin-inline: -3px;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .faq-topics::-webkit-scrollbar { display: none; }
  .faq-topic { flex-shrink: 0; white-space: nowrap; background: var(--bn-card); border-radius: calc(var(--btn-h) / 2); }
}
/* Ebeveynler adimlarinda numara beyaz kutuda: koyu kalsin (acik mavi yalnizca
   ana sayfanin koyu panelinde). Platform kutulari da dugme olcusunu asmasin. */
.par-step-text .step-number { background: var(--bn-dark); color: #fff; }
.dl-platform { padding: 0 12px; }

/* ── Ana sayfa: tam genislik kahraman ─────────────────────────────────────────
   Kahraman ekranin bir kenarindan digerine uzaniyor; yalnizca alt koseler
   yuvarlak (uygulamadaki koyu kutunun alt kenari gibi). Icerik diger
   bolumlerle ayni kapsayici hizasinda. */
.hero {
  width: 100%;
  margin: 0;
  border-radius: 0 0 var(--radius-big) var(--radius-big);
  padding: 80px 0 64px;
}
.hero-inner { padding: 0 1rem; }
@media (max-width: 768px) {
  .hero { width: 100%; padding: 28px 0 32px; border-radius: 0 0 28px 28px; }
  .hero-inner { padding: 0 16px; }
}

/* ── Ana sayfa: ozellik kaydiricisi ───────────────────────────────────────────
   Tek satir, scroll-snap; masaustunde ~3, telefonda ~1,2 kart gorunur ki
   kaydirilabildigi belli olsun. Sayfa degil satir kayar. */
.features { padding-top: 40px; }
.features-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.features-title { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.features-nav { display: flex; gap: 8px; }
.features-btn {
  width: var(--btn-h);
  height: var(--btn-h);
  border: none;
  border-radius: calc(var(--btn-h) / 2);
  background: var(--bn-card);
  color: var(--bn-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.features-btn:hover:not(:disabled) { background: var(--bn-tint); }
.features-btn:disabled { opacity: 0.4; cursor: default; }
.features-btn:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
[dir="rtl"] .features-btn svg { transform: scaleX(-1); }
.features .features-grid.features-track {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: none;
  /* Odak halkasi kirpilmasin */
  padding: 4px;
  margin: -4px;
}
.features-track::-webkit-scrollbar { display: none; }
.features-track .feature-cell {
  flex: 0 0 calc((100% - 24px) / 3);
  scroll-snap-align: start;
  min-height: 200px;
}
.features-track .feature-cell:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
@media (max-width: 992px) {
  .features-track .feature-cell { flex-basis: calc((100% - 12px) / 2.2); }
}
@media (max-width: 768px) {
  .features { padding-top: 32px; }
  .features-title { font-size: 1.6rem; }
  /* Dokunmatikte kaydirma yeterli; dugmeler yer kaplamasin. */
  .features-nav { display: none; }
  .features-track .feature-cell { flex-basis: 80%; min-height: 0; }
}

/* ── Ana sayfa: kurumlar bandi, iki sutun ─────────────────────────────────────
   Solda metin ve dugmeler, sagda velinin gordugu uygulama ekrani; ekran
   bandin altindan tasip kirpiliyor. */
.institutions-band-split { padding: 0; overflow: hidden; margin-top: 12px; }
.institutions-band-split .institutions-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding: 0 48px;
  min-height: 380px;
}
.institutions-band-split .institutions-band-text { align-self: center; padding: 56px 0; }
.institutions-band-split h2 { font-size: 2.25rem; max-width: 20ch; margin-bottom: 12px; }
.institutions-band-split p { font-size: 1rem; }
.institutions-band-split .institutions-band-actions { margin-top: 28px; flex-wrap: wrap; }
.institutions-band-media {
  display: flex;
  justify-content: center;
  align-self: end;
  padding-top: 40px;
  height: 380px;
  overflow: hidden;
}
.institutions-band-media img {
  display: block;
  width: 290px;
  height: auto;
  align-self: flex-start;
  border: 6px solid var(--bn-dark);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
@media (max-width: 992px) {
  .institutions-band-split .institutions-band-inner { grid-template-columns: 1fr; gap: 0; padding: 0 28px; min-height: 0; }
  .institutions-band-split .institutions-band-text { padding: 40px 0 8px; }
  .institutions-band-media { height: 240px; padding-top: 24px; }
  .institutions-band-media img { width: 230px; border-radius: 32px 32px 0 0; }
}
@media (max-width: 768px) {
  .institutions-band-split .institutions-band-inner { padding: 0 20px; }
  .institutions-band-split h2 { font-size: 1.5rem; }
  .institutions-band-split .institutions-band-actions { flex-direction: column; align-items: stretch; }
}

/* ── Yasal sayfalar: belge duzeni ─────────────────────────────────────────────
   Diger sayfalarla ayni genislik (kapsayici). Solda yapiskan icindekiler,
   sagda duz metin: rozet, renkli kutu ya da sus yok. Paragraflar okunur
   satir uzunlugunda (~72ch). Sekmeler sade, alt cizgili. */
.legal-hero { text-align: start; padding: 56px 0 20px; }
.legal-hero h1 { font-size: 2.5rem; margin-bottom: 8px; }
.legal-hero p { margin: 0; max-width: 72ch; }
.legal-last-updated {
  display: block;
  height: auto;
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--bn-mut);
  font-size: 0.85rem;
  font-weight: 400;
}
.legal-nav {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1rem;
  justify-content: flex-start;
  gap: 4px 24px;
  flex-wrap: wrap;
  background: transparent;
}
.legal-nav a,
.legal-nav a:hover {
  height: auto;
  padding: 10px 0;
  border-radius: 0;
  background: none;
  border-bottom: 2px solid transparent;
  color: var(--bn-mut);
  font-size: 0.9rem;
  font-weight: 500;
}
.legal-nav a:hover { color: var(--bn-ink); }
.legal-nav a.active,
.legal-nav a.active:hover { background: none; color: var(--bn-ink); font-weight: 600; border-bottom-color: var(--bn-ink); }
.legal-nav a:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 72px;
  border-top: 1px solid var(--bn-brd);
  margin-top: -1px;
}
.legal-layout > * { min-width: 0; }
.legal-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.legal-toc summary {
  list-style: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bn-mut);
  margin-bottom: 10px;
  cursor: default;
}
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc-list { list-style: none; margin: 0; padding: 0; }
.legal-toc-list li { margin: 0; }
.legal-toc-list a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--bn-body);
}
.legal-toc-list a:hover { color: #7A5C0F; }
.legal-toc-list a:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }

.legal-content {
  max-width: none;
  margin: 0;
  padding: 40px 48px 48px;
  background: var(--bn-card);
  border-radius: var(--radius-tile);
}
.legal-content > * { max-width: 72ch; }
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 10px;
  scroll-margin-top: 24px;
}
.legal-content h2:first-child, .legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }
.legal-content p,
.legal-content ul li,
.legal-content ol li { font-size: 0.95rem; line-height: 1.7; color: var(--bn-body); }
.legal-content ul { list-style: disc; padding-inline-start: 1.25em; margin: 0 0 16px; }
.legal-content ul li { padding: 3px 0; }
.legal-content ul li::before { display: none; }
.legal-content ol { padding-inline-start: 1.4em; }
.legal-content strong { font-weight: 600; color: var(--bn-ink); }
.legal-content a { color: #7A5C0F; text-decoration: underline; text-underline-offset: 2px; }

/* Iletisim, cerez tanimlari ve not: kutu degil, duz metin bloklari. */
.contact-box,
.cookie-table-item,
.legal-note {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 16px 0;
}
.contact-box { padding-top: 16px; border-top: 1px solid var(--bn-line); }
.contact-box p { margin-bottom: 4px; color: var(--bn-body); }
.cookie-table { display: block; margin: 12px 0 20px; }
.cookie-table-item { padding: 14px 0; margin: 0; border-top: 1px solid var(--bn-line); }
.cookie-table-item:last-child { border-bottom: 1px solid var(--bn-line); }
.cookie-table-item h3 { margin: 0 0 6px; font-size: 1rem; }
.legal-note { padding-inline-start: 14px; border-inline-start: 3px solid var(--bn-brd); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .legal-toc { position: static; max-height: none; background: var(--bn-card); border-radius: 16px; padding: 0 16px; }
  .legal-toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--bn-ink);
    cursor: pointer;
  }
  .legal-toc summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--bn-mut);
    border-bottom: 1.5px solid var(--bn-mut);
    transform: translateY(-2px) rotate(45deg);
  }
  .legal-toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .legal-toc[open] .legal-toc-list { padding-bottom: 10px; }
  .legal-toc summary:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
}
@media (max-width: 768px) {
  .legal-hero { padding: 32px 0 12px; }
  .legal-hero h1 { font-size: 1.9rem; }
  .legal-nav { padding: 0 16px; gap: 4px 18px; }
  .legal-content { margin: 0; padding: 24px 18px 28px; border-radius: 20px; }
}
/* Kahraman: duz kenarli tam genislik bant, hicbir kosesi yuvarlak degil. */
.hero, .hero::before, .hero-bg { border-radius: 0; }
@media (max-width: 768px) { .hero, .hero::before, .hero-bg { border-radius: 0; } }
/* Bolum basliklari kendi panelinin icinde: "Nasıl Çalışır" koyu panelin
   ustunde degil icinde. Kahramanla arasinda gri bosluk birakilir ki iki koyu
   blok ayri okunsun. Ozellik kaydiricisinin gorunur basligi yok; dugmeler sagda. */
.how-it-works { padding-top: 48px; }
.hiw-panel .hiw-title { color: #fff; margin: 0 0 28px; }
.features { padding-top: 12px; }
.features-head { justify-content: flex-end; margin-bottom: 12px; }
@media (max-width: 900px) { .how-it-works { padding-top: 32px; } .hiw-panel .hiw-title { margin-bottom: 20px; } }
@media (max-width: 768px) { .features-head { display: none; } }
/* Hover yalnizca renk degistirir: "Başla"nin hover kuralindaki farkli
   margin-left soldaki ogeleri kaydiriyordu. Iki durumda da ayni bosluk. */
.navbar-links a.btn-nav,
.navbar-links a.btn-nav:hover,
.navbar-links a.btn-nav:focus-visible { margin-left: 4px; margin-right: 0; }
[dir="rtl"] .navbar-links a.btn-nav,
[dir="rtl"] .navbar-links a.btn-nav:hover { margin-left: 0; margin-right: 4px; }
@media (max-width: 992px) {
  .navbar-links a.btn-nav,
  .navbar-links a.btn-nav:hover { margin: 6px 0 0; }
}

/* ── Ozellik kaydiricisi: tam genislik ────────────────────────────────────────
   Satir icerik kutusundan ekranin iki kenarina tasar (--gut, JS'te icerik
   kutusunun ekran kenarina uzakligi). Ilk kart diger bolumlerle ayni hizada;
   kutunun disinda kalan kartlar soluk. Oklar kutunun kenarlarinda, dikey
   ortada; uclarda gizlenir. Sayfa yatay tasmasin diye bolum kirpilir. */
.features { overflow-x: clip; }
.features-head { display: none; }
.features-slider { position: relative; }
.features .features-grid.features-track {
  --gut: max(16px, calc((100vw - 1308px) / 2));
  width: calc(100% + 2 * var(--gut));
  margin: -4px calc(-1 * var(--gut));
  padding: 4px var(--gut);
  scroll-padding-inline: var(--gut);
}
.features-track .feature-cell {
  transition: opacity 0.25s ease;
}
.features-track .feature-cell.is-out { opacity: 0.45; }
.features-track .feature-cell.is-out:focus-visible { opacity: 1; }
.features-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(18, 20, 23, 0.16);
}
.features-btn[hidden] { display: none; }
.features-btn-prev { left: calc(var(--btn-h) / -2); }
.features-btn-next { right: calc(var(--btn-h) / -2); }
[dir="rtl"] .features-btn-prev { left: auto; right: calc(var(--btn-h) / -2); }
[dir="rtl"] .features-btn-next { right: auto; left: calc(var(--btn-h) / -2); }
@media (max-width: 768px) {
  .features-btn { display: none; }
  .features-track .feature-cell.is-out { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .features-track .feature-cell { transition: none; }
}

/* Kurumlar bandi: baslik masaustunde tek satir (metin sutunu genis, gorsel
   sutunu dar). Uzun dillerde tasmadan alt satira iner. */
.institutions-band-split .institutions-band-inner { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.institutions-band-split h2 { max-width: none; font-size: clamp(1.6rem, 2.3vw, 2.1rem); overflow-wrap: break-word; }
@media (max-width: 768px) {
  .institutions-band-split h2 { font-size: 1.5rem; }
}
/* Kutu disindaki kartlar belirgin bicimde soluk; iceri girince tam gorunur. */
.features-track .feature-cell.is-out { opacity: 0.35; }
.features-track .feature-cell { transition: opacity 0.3s ease; }
@media (max-width: 768px) { .features-track .feature-cell.is-out { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .features-track .feature-cell { transition: none; } }

/* ── Kahraman: acik ve ferah ──────────────────────────────────────────────────
   Koyu fotografli bant kasvetli bulundu. Acik mavi yumusak gecis, koyu
   yazi, mavi birincil dugme; gorsel uygulama ekrani. Arka plan fotografi ve
   karartma kaldirildi. Gri sayfa zemininden ve beyaz kartlardan ayrismasi
   icin mavi ton ve ince alt cizgi. Kontrast: baslik #121417/#F6EED6 ~17:1,
   metin #5A606B ~5,7:1. */
.hero {
  background: linear-gradient(180deg, #F6EED6 0%, #F7FAFF 100%);
  color: var(--bn-ink);
  border-bottom: 1px solid #D6E4FF;
}
.hero::before, .hero-bg { display: none; }
.hero h1 { color: var(--bn-ink); }
.hero-subtitle { color: var(--bn-mut); }
.hero .btn-outline,
.hero .btn-outline:hover { background: var(--bn-card); color: var(--bn-ink); border: 1px solid var(--bn-brd); }
.hero .btn-outline:hover { background: var(--bn-soft); }
.hero .btn:focus-visible { outline-color: var(--bn-accent); }
.phone-slider-nav { background: var(--bn-card); color: var(--bn-ink); box-shadow: 0 6px 18px rgba(18, 20, 23, 0.12); }
.phone-slider-nav:hover { background: var(--bn-ink); color: #fff; }
.phone-slider-dot { background: rgba(18, 20, 23, 0.2); }
.phone-slider-dot.active { background: var(--bn-accent); }
.phone-frame, .phone-frame:hover, [dir="rtl"] .phone-frame, [dir="rtl"] .phone-frame:hover {
  background: var(--bn-dark);
  border-color: var(--bn-dark);
  box-shadow: 0 24px 60px rgba(209, 173, 75, 0.18);
}

/* Paragraflar ve basliklar kapsayicinin genisligine kadar akar: eski "ch"
   sinirlari satirlari dolmadan kiriyordu (ör. Kurumlar'daki paket aciklamasi).
   Okunurluk siniri yalnizca yasal metinlerde (72ch) ve kahramanda kaliyor. */
.pricing-hero > .container > p,
.inst-hero p,
.inst-section-head p,
.institutions-band h2,
.institutions-band p,
.danger-zone p,
.export-zone p { max-width: none; }
/* SSS cevaplari da kartin genisligine kadar akar (640px siniri erken kiriyordu). */
.faq-answer { max-width: none; }

/* Kaydirici oklari: uzerine gelince ve klavye odaginda marka mavisi zemin,
   beyaz ok. Yalnizca renk degisir; boyut ve konum ayni. */
.features-btn:hover:not(:disabled),
.features-btn:focus-visible { background: var(--bn-accent); color: #262626; }
.features-btn:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
/* Kahraman: acik gri bant, fotograf ve beyaz perde yok (eski AI uretimi
   aile fotografi 2026-11'de kaldirildi). */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F5F7 100%);
  border-bottom: 1px solid var(--bn-brd);
}
.hero::before, .hero-bg { display: none; }
/* Alt bilgi marka kutusu: acik gri (kahramanla ayni his), mavi logo. */
.footer-card-brand { background: #F4F5F7; border: 1px solid var(--bn-brd); }
.footer-card-brand .footer-logo { filter: none; }
.footer-card-brand .footer-desc { color: var(--bn-mut); }

/* ── Bolum araligi: tek token ─────────────────────────────────────────────────
   Ust duzey bolumler arasinda her yerde ayni bosluk (kahraman → Nasıl Çalışır
   araligi): masaustunde 48px, telefonda 32px. Her bolum yalnizca ustten
   bosluk alir; sayfa basliklari (kahramanlar) alttan bosluk birakmaz, alt
   bilgi de ayni araligla ayrilir. Bu blok dosyanin sonunda kalmali. */
:root { --section-gap: 48px; }
@media (max-width: 768px) { :root { --section-gap: 32px; } }

.how-it-works,
.features,
.inst-section,
.inst-section-alt,
.pricing-plans,
.tiers-section,
.faq,
.dl-picker { padding-top: var(--section-gap); padding-bottom: 0; }
.institutions-band,
.institutions-band-split { margin-top: var(--section-gap); }
.footer { margin-top: var(--section-gap); }
.pricing-hero,
.inst-hero,
.download-hero { padding-bottom: 0; }
.faq-page { padding-bottom: 0; }
.legal-layout { padding-bottom: 0; }
.legal-content { margin-bottom: 0; }
.not-found { padding-bottom: 0; }

/* Alt bilgi marka kutusu: kenarsiz; logo varsayilan olarak soluk gri, uzerine
   gelince ya da klavye odaginda marka mavisi. Yalnizca renk degisir. */
.footer-card-brand { border: none; }
.footer-logo-link { display: inline-block; border-radius: 8px; }
.footer-card-brand .footer-logo {
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s ease;
}
.footer-logo-link:hover .footer-logo,
.footer-logo-link:focus-visible .footer-logo { filter: none; }
.footer-logo-link:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .footer-card-brand .footer-logo { transition: none; } }
/* Kahraman alt cizgisiz; zeminden yalnizca daha acik tonuyla ayrilir. */
.hero { border-bottom: none; }
/* Alt bilginin butun kutulari ayni acik gri zeminde, kenarsiz. Baglanti
   #121417 / #F4F5F7 ~17:1, sutun basligi #5A606B ~5,9:1. */
.footer-card { background: #F4F5F7; border: none; }
/* Alt bilgi kutularinin hepsi beyaz, kenarsiz (marka kutusu dahil). */
.footer-card, .footer-card-brand { background: var(--bn-card); border: none; }

/* ── Menu: beyaz zemin ────────────────────────────────────────────────────────
   Bağlantı hover'i acik gri hap, secili sayfa koyu hap, "Başla" mavi.
   Kahraman artik ustten acik gri (#F2F4F6) basliyor; beyaz menuden ton farki
   ve cok hafif bir golgeyle ayriliyor (cizgi yok). */
.navbar {
  background: var(--bn-card);
  position: relative;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(18, 20, 23, 0.05);
}
.navbar-links a:hover,
.lang-toggle:hover,
.user-toggle:hover,
.user-menu.open .user-toggle,
.notif-toggle:hover,
.lang-selector.open .lang-toggle,
.notif-menu.open .notif-toggle { background: #F2F4F6; color: var(--bn-ink); }
.navbar-links a.active,
.navbar-links a.active:hover { background: var(--bn-dark); color: #fff; }
.navbar-links a.btn-nav:hover { background: var(--bn-accent-press); color: #262626; }
.notif-badge { border-color: var(--bn-card); }
.navbar-toggle { background: #F2F4F6; }
.hero { background: linear-gradient(180deg, #F2F4F6 0%, #F8F9FA 100%); }

@media (max-width: 992px) {
  .navbar { z-index: 1600; }
  .navbar-links { background: var(--bn-card); }
  .navbar-close { background: #F2F4F6; }
  .navbar-links a,
  .navbar-links .lang-toggle,
  .navbar-links .user-toggle,
  .notif-toggle,
  .user-dropdown { background: #F4F5F7; }
  .navbar-links a:hover,
  .navbar-links .lang-toggle:hover,
  .navbar-links .user-toggle:hover { background: #EAECEF; }
  .navbar-links a.active { background: var(--bn-dark); color: #fff; }
  .navbar-links a.btn-nav, .navbar-links a.btn-nav:hover { background: var(--bn-accent); color: #262626; }
  .navbar-links a.btn-nav:hover { background: var(--bn-accent-press); }
}

/* ── Sayfa basligi: tek bilesen ───────────────────────────────────────────────
   Ana sayfa kahramani disinda her sayfanin basligi ayni: menunun altindan
   ayni uzaklikta (--ph-top), icerik kenarina sola hizali (uygulamadaki ekran
   basliklari gibi), ayni boy/kalinlik, ayni alt baslik. Basliktan sonraki
   bolum --section-gap ile gelir. Bu blok dosyanin sonunda kalmali. */
:root { --ph-top: 48px; --ph-title: 2.5rem; --ph-sub: 1.05rem; }
@media (max-width: 768px) { :root { --ph-top: 28px; --ph-title: 2rem; --ph-sub: 1rem; } }

.pricing-hero,
.inst-hero,
.download-hero,
.legal-hero,
.not-found { text-align: start; padding: var(--ph-top) 0 0; }
.faq-page,
.dashboard,
.profile-section,
.api-section { padding-top: var(--ph-top); }
.child-detail-section { padding-top: var(--ph-top); }

.pricing-hero h1,
.inst-hero h1,
.download-hero h1,
.legal-hero h1,
.faq-page-title,
.dash-welcome h1,
.dash-welcome h2,
.profile-section > .container > h2,
.api-header h2 {
  margin: 0;
  font-size: var(--ph-title);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bn-ink);
}
.pricing-hero > .container > p,
.inst-hero p,
.download-hero p,
.legal-hero > .container > p:not(.legal-last-updated),
.not-found p,
.dash-welcome p,
.api-subtitle {
  margin: 10px 0 0;
  max-width: none;
  font-size: var(--ph-sub);
  line-height: 1.5;
  color: var(--bn-mut);
}
.legal-last-updated { margin-top: 8px; }
.billing-switch { margin-top: 24px; }
.not-found-actions { justify-content: flex-start; margin-top: 24px; }
.faq-page-title { margin-bottom: 0; }
.faq-page-grid { margin-top: var(--section-gap); }
.legal-nav { margin-top: 24px; }
.dash-welcome { margin-bottom: 0; }
.profile-section > .container > h2 { margin-bottom: var(--section-gap); }
.api-header { margin-bottom: var(--section-gap); }

/* Kahramandaki telefonun golgesi notr gri (mavi isilti yok). */
.phone-frame, .phone-frame:hover, [dir="rtl"] .phone-frame, [dir="rtl"] .phone-frame:hover {
  box-shadow: 0 24px 56px rgba(18, 20, 23, 0.16);
}
/* Fiyatlandirma: Aylik/Yillik secici kendi satirinda ortali, baslik hizasindan bagimsiz. */
.pricing-hero .billing-switch { display: flex; width: fit-content; max-width: 100%; margin: 32px auto 0; }
@media (max-width: 768px) { .pricing-hero .billing-switch { margin-top: 24px; } }

/* ── Ic sayfalarda one cikan sorular ──────────────────────────────────────────
   Fiyatlandirma, Ebeveynler, Kurumlar: sayfaya ozel 4 soru karti (soru +
   cevabin ilk satirlari) ve "Tüm sorular". Kart sss.html'de o soruyu acar. */
.faq-featured .container { display: block; }
.faq-feat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.faq-feat-head .faq-title { margin: 0; }
.faq-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.faq-feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-tile);
  background: var(--bn-card);
  color: var(--bn-ink);
}
.faq-feat:hover { background: var(--bn-soft); }
.faq-feat:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.faq-feat-topic {
  align-self: flex-start;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--bn-tint);
  color: var(--bn-body);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.faq-feat h3 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.faq-feat p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--bn-mut);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.faq-feat-more { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: #7A5C0F; }
.faq-feat-more::after { content: " →"; }
[dir="rtl"] .faq-feat-more::after { content: " ←"; }
@media (max-width: 992px) { .faq-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .faq-feats { grid-template-columns: 1fr; } }
/* Bolum basligi + sagda tek ikincil dugme (ör. Ebeveynler > cihazlar). */
.section-head-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.section-head-cta > div { flex: 1 1 420px; min-width: 0; }
.section-head-cta > .btn { flex-shrink: 0; }
@media (max-width: 768px) { .section-head-cta { align-items: flex-start; } }

/* ── Ebeveynler: ac-kapa adim kartlari ────────────────────────────────────────
   Kartta numara, baslik ve ekran gorunur. Basinca aciklama ekran alaninin
   uzerinde (ayni yerde) belirir; kart yuksekligi degismez. Uzun aciklama
   panelin icinde kayar. Dugmenin tiklama alani tum karti kaplar. */
.par-step { position: relative; cursor: pointer; }
.par-step-media { position: relative; }
.par-step-text { position: relative; }
.par-step-text h3 { margin: 0; padding-inline-end: 40px; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.par-step-toggle { all: unset; cursor: pointer; color: var(--bn-ink); }
.par-step-toggle::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius-tile); }
.par-step { border-radius: var(--radius-tile); }
.par-step:has(.par-step-toggle:focus-visible) { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.par-step-toggle:focus-visible { outline: none; }
.par-step-plus {
  position: absolute;
  top: 26px;
  inset-inline-end: 20px;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--bn-tint);
  pointer-events: none;
  transition: transform 0.25s ease, background 0.2s ease;
}
.par-step-plus::before,
.par-step-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--bn-ink);
}
.par-step-plus::after { transform: rotate(90deg); }
.par-step:hover .par-step-plus { background: #D6DAE0; }
.par-step.is-open .par-step-plus { transform: rotate(45deg); }

.par-step-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 20px;
  overflow-y: auto;
  border-radius: 18px;
  background: var(--bn-card);
  box-shadow: inset 0 0 0 1px var(--bn-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.par-step-panel p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--bn-body); }
.par-step.is-open .par-step-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.par-step-text > p { display: none; }
@media (prefers-reduced-motion: reduce) {
  .par-step-panel, .par-step-plus { transition: none; transform: none; }
  .par-step.is-open .par-step-plus { transform: rotate(45deg); }
}
.par-step, .par-step-panel { cursor: pointer; }
.par-step-panel a { cursor: pointer; position: relative; z-index: 1; }

/* ── Panel: ekran suresi, aile, salt okunur e-posta ──────────────────────── */
.dash-family {
  display: inline-flex;
  align-items: center;
  margin: 12px 0 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}
.dash-family[hidden] { display: none; }
.form-hint { margin: 6px 0 0; font-size: 0.8rem; color: var(--bn-mut); }
.form-group input.input-readonly,
.form-group input[readonly] { background: var(--bn-soft); color: var(--bn-mut); cursor: default; }
.form-group input[readonly]:focus { border-color: var(--bn-brd); box-shadow: none; }
.form-group input[readonly]:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }

.child-card-screen { margin-top: 8px; font-size: 0.82rem; font-weight: 600; color: var(--bn-body); }
.child-card-screen.over { color: var(--bn-red); }

.st-card {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bn-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px 24px;
}
.st-card:empty { display: none; }
.st-title { grid-column: 1 / -1; margin: 0; font-size: 1.15rem; font-weight: 700; }
.st-empty { margin: 0; font-size: 0.92rem; color: var(--bn-mut); line-height: 1.6; grid-column: 1 / -1; }
.st-lists .st-empty { grid-column: auto; }
.st-today, .st-week { background: var(--bn-bg); border-radius: 18px; padding: 18px; }
.st-today > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.st-label { font-size: 0.82rem; font-weight: 600; color: var(--bn-mut); }
.st-total { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.st-limit { font-size: 0.85rem; color: var(--bn-mut); }
.st-limit.over { color: var(--bn-red); font-weight: 600; }
.st-meter { margin-top: 12px; height: 8px; border-radius: 4px; background: var(--bn-tint); overflow: hidden; }
.st-meter span { display: block; height: 100%; background: var(--bn-accent); border-radius: 4px; }
.st-meter.over span { background: var(--bn-red); }
.st-note { margin: 12px 0 0; font-size: 0.78rem; color: var(--bn-mut); }
.st-week-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.st-avg { font-size: 0.82rem; color: var(--bn-mut); }
.st-chart {
  position: relative;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
}
.st-bar { display: block; min-height: 2px; border-radius: 6px 6px 2px 2px; background: #9DB9F5; }
.st-bar.over { background: var(--bn-accent); }
.st-limit-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed var(--bn-ink); opacity: 0.45; }
.st-chart-labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 6px; font-size: 0.75rem; color: var(--bn-mut); text-align: center; }
.st-lists { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.st-lists h4 { margin: 0 0 8px; font-size: 0.9rem; font-weight: 700; }
.st-apps { list-style: none; margin: 0; padding: 0; border: 1px solid var(--bn-line); border-radius: 14px; overflow: hidden; }
.st-apps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name time" "meta time"; gap: 0 12px; padding: 10px 14px; border-bottom: 1px solid var(--bn-line); }
.st-apps li:last-child { border-bottom: none; }
.st-app-name { grid-area: name; font-size: 0.9rem; font-weight: 600; overflow-wrap: anywhere; }
.st-app-meta { grid-area: meta; font-size: 0.75rem; color: var(--bn-mut); }
.st-app-time { grid-area: time; align-self: center; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.st-apps-games li { background: #FBF6E8; }
@media (max-width: 900px) {
  .st-card { grid-template-columns: 1fr; }
  .st-lists { grid-template-columns: 1fr; }
}

/* ── Panel: sekmeler, konum, ebeveynler, Hesap satirlari ─────────────────── */
.child-tabs {
  display: flex;
  gap: 6px;
  margin: 4px 0 20px;
  padding: 4px;
  border-radius: 22px;
  background: var(--bn-bg);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.child-tabs::-webkit-scrollbar { display: none; }
.child-tab {
  flex-shrink: 0;
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: none;
  border-radius: calc(var(--btn-h) / 2);
  background: transparent;
  color: var(--bn-body);
  font: inherit;
  font-size: var(--btn-fs);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.child-tab:hover { background: var(--bn-card); }
.child-tab[aria-selected="true"] { background: var(--bn-dark); color: #fff; }
.child-tab:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.child-detail-body[hidden], .st-card[hidden], .loc-card[hidden] { display: none; }
.child-detail-container .st-card { margin-top: 0; padding-top: 0; border-top: none; }

.child-card-feature {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 12px;
  background: var(--bn-bg);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.child-card-feature:hover { background: var(--bn-tint); }
.child-card-feature:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }
.ccf-label { font-size: 0.78rem; font-weight: 600; color: var(--bn-mut); }
.ccf-value { font-size: 0.8rem; font-weight: 600; color: var(--bn-ink); text-align: end; }
.child-card-feature.empty .ccf-value { color: var(--bn-mut); font-weight: 500; }
.child-card-feature.over .ccf-value { color: var(--bn-red); }

.loc-overview, .loc-card { display: flex; flex-direction: column; gap: 12px; }
.loc-overview { background: var(--bn-card); border-radius: var(--radius-tile); padding: 16px; }
.loc-map {
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #DCE7F7;
  z-index: 0;
}
.loc-map .leaflet-tile-pane { filter: saturate(0.85); }
.loc-pin {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 0 0 2px var(--bn-accent), 0 2px 8px rgba(11, 27, 51, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 20px Inter, system-ui, sans-serif;
  color: var(--bn-ink);
}
.loc-meta { margin: 0; font-size: 0.85rem; color: var(--bn-mut); }
.loc-empty { background: var(--bn-bg); border-radius: 18px; padding: 18px; }
.loc-empty strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.loc-empty p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--bn-mut); }
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.loc-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.loc-li-name { font-weight: 600; }
.loc-li-status { color: var(--bn-ink); }
.loc-li-status.off { color: var(--bn-mut); }

.dash-family-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: var(--radius-tile);
  background: var(--bn-card);
  color: var(--bn-ink);
  font-weight: 600;
}
.dash-family-card:hover { background: var(--bn-soft); }
.dash-family-card:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: 2px; }

.acc-rows {
  margin-top: 12px;
  background: var(--bn-card);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.acc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--bn-line);
  color: var(--bn-ink);
}
.acc-row:last-child { border-bottom: none; }
.acc-row:hover { background: var(--bn-soft); }
.acc-row:focus-visible { outline: 3px solid var(--bn-accent); outline-offset: -3px; }
.acc-row-label { font-weight: 600; }
.acc-row-value { margin-inline-start: auto; font-size: 0.88rem; color: var(--bn-mut); text-align: end; }
.acc-row svg { flex-shrink: 0; color: #A9B2C3; }
[dir="rtl"] .acc-row svg, [dir="rtl"] .dash-family-card svg { transform: scaleX(-1); }

.sub-back { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--bn-ink); }
.fam-block { display: flex; flex-direction: column; gap: 12px; }
.fam-block .profile-hint { margin: 0; }
.fam-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fam-actions [hidden] { display: none; }
.fam-code {
  margin: 0 0 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bn-bg);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
  user-select: all;
}
#famCodeInput { letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
@media (max-width: 768px) {
  .loc-map { height: 260px; }
  .child-tabs { width: 100%; }
  .child-tab { flex: 1; }
}
.child-card-feature { flex-direction: column; align-items: flex-start; gap: 2px; }
.ccf-value { text-align: start; }
.sub-back { background: var(--bn-card); }
.sub-back:hover { background: var(--bn-tint); }
.acc-rows { margin-top: 0; }

/* ── Telefon ve tablet duzeltmeleri (2026-11) ─────────────────────────────────
   Dar ekranda bozuk ya da sikisik gorunen yerler. Masaustu gorunumu degismez. */

/* Kahraman: telefonda once baslik ve dugmeler, sonra telefon (eskiden telefon
   ustteydi ve baslik ilk ekranin altinda kaliyordu); telefon biraz kuculdu. */
@media (max-width: 768px) {
  .hero-visual { order: 0; }
  .hero-inner { gap: 32px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .phone-frame,
  .phone-frame:hover,
  [dir="rtl"] .phone-frame,
  [dir="rtl"] .phone-frame:hover { width: 220px; height: 474px; border-radius: 32px; }
  .phone-screen, .phone-slide img { border-radius: 27px; }
}

/* Kurumlar bandi: iki sutun kurali (1.9fr/1fr) dar ekran kuralindan sonra
   geldigi icin telefonda metin 190px'lik sutuna sikisiyordu. Telefonda tek
   sutun, ekran metnin altinda; tablette iki sutun ve dugmeler yan yana. */
@media (max-width: 768px) {
  .institutions-band-split .institutions-band-actions { flex-direction: row; align-items: center; }
}
@media (max-width: 640px) {
  .institutions-band-split .institutions-band-inner { grid-template-columns: 1fr; gap: 0; }
  .institutions-band-split .institutions-band-text { padding: 32px 0 8px; }
  .institutions-band-split .institutions-band-actions { flex-direction: column; align-items: stretch; }
  .institutions-band-media { height: 220px; padding-top: 24px; }
  .institutions-band-media img { width: 220px; border-radius: 32px 32px 0 0; }
}

/* Fiyat ve paket kartlari: tek sutuna dusunce tablette ~700px genisliginde
   kutular ve dugmeler oluyordu. Okunur genislikte, ortada. */
@media (max-width: 992px) {
  .plan-grid { max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* Kurumlar / Ebeveynler kutu izgaralari tablette iki sutun. */
@media (min-width: 641px) and (max-width: 992px) {
  .inst-grid-3,
  .par-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ebeveynler adimlari: telefonda ekran alani daha kisa, sayfa daha az uzun. */
@media (max-width: 560px) {
  .par-step-media { height: 250px; }
}

/* Indirmeler: telefonda ayrinti kartinin dugmeleri tam genislik (ust kural
   align-items: flex-start ile esniyordu); ic ice iki dolgu daraltildi. */
@media (max-width: 640px) {
  .dl-group { padding: 20px 14px; }
  .dl-group-head { padding: 0 4px; }
  .dl-detail { padding: 18px 16px; }
  .dl-detail-head { align-items: stretch; padding-inline-end: 0; }
  .dl-detail-info h3 { padding-inline-end: 48px; }
  .dl-detail-actions { align-items: stretch; }
  .dl-detail-btn { justify-content: center; text-align: center; }
  .dl-detail-close { top: 10px; inset-inline-end: 10px; }
}

/* SSS konu cipleri: satir ekranin kenarina kadar kayar, cipler 16px'lik
   kenar boslugunda kesilmez. */
@media (max-width: 768px) {
  .faq-topics { margin-inline: -16px; padding: 3px 16px; scroll-padding-inline: 16px; }
}

/* Yasal sayfalar: telefonda icindekiler baglantilari dokunma hedefi boyunda. */
@media (max-width: 900px) {
  .legal-toc-list a { padding: 10px 0; }
}

/* Alt bilgi: uzun tek kelimeler (ör. "Datenschutzrichtlinie") dar sutunda
   tasiyordu; heceye bolunur. Telefonda kutularin dolgusu daha dar. */
.footer-col a { overflow-wrap: break-word; hyphens: auto; }
.footer-col li { min-width: 0; }
@media (max-width: 480px) {
  .footer-cards { gap: 10px; }
  .footer-card { padding: 20px 16px; }
  .footer-card-brand { min-height: 88px; }
  .footer-col ul { gap: 12px; }
  .footer-bottom { height: auto; padding: 16px 0 24px; }
  .footer-bottom-inner { gap: 16px; }
}

/* Sayfa basliklari: uzun tek kelimeler (ör. "Datenschutzrichtlinie") dar
   ekranda tasmasin. */
.pricing-hero h1, .inst-hero h1, .download-hero h1, .legal-hero h1,
.faq-page-title, .hero h1, .not-found h1 { overflow-wrap: break-word; hyphens: auto; }

/* ── Kurumlar: sirali rehber, kurum turu listesi, guven kutusu (2026-11) ─────
   Sayfa eskiden bastan sona ayni beyaz kart izgarasiydi. "Nasil isler" ana
   sayfadaki koyu paneldeki sirali rehberi (ol.steps) kullanir, ekran
   goruntusu yok; kurum turleri hap listesi; guven maddeleri tek beyaz kutu.
   Kart izgarasi yalnizca paketlerde kaldi. */
.hiw-panel .step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.hiw-panel .step p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; margin: 0; }
.inst-steps .step-body { margin-bottom: 0; }
.inst-who-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.inst-who-list li {
  background: var(--bn-card);
  color: var(--bn-ink);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.inst-who-note { margin: 20px 0 0; max-width: 72ch; color: var(--bn-mut); line-height: 1.6; }
.inst-trust-box {
  list-style: none;
  margin: 0;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  background: var(--bn-card);
  border-radius: var(--radius-big);
}
.inst-trust-box h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--bn-ink); }
.inst-trust-box p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--bn-mut); }
@media (max-width: 900px) {
  .inst-trust-box { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; border-radius: var(--radius-tile); }
}

/* Panel: istatistik bandi uc kutu (cocuk sayisi kaldirildi); telefonda da
   tek satir. */
@media (max-width: 768px) {
  .dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Kahraman telefonu: imleci izleyen hafif egim ve kayma (js/hero-tilt.js).
   Yalnizca ince isaretci + hareket tercihi varken; dokunmatikte ve hareketi
   azaltma tercihinde telefon duz kalir. Golge egimle birlikte kayar. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .phone-frame, .phone-frame:hover, [dir="rtl"] .phone-frame, [dir="rtl"] .phone-frame:hover {
    transform: perspective(1200px)
      translate3d(var(--tilt-tx, 0px), var(--tilt-ty, 0px), 0)
      rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg));
    box-shadow: var(--tilt-sx, 0px) var(--tilt-sy, 24px) 56px rgba(18, 20, 23, 0.16);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
  }
  .phone-frame.is-tilting { transition: transform 0.12s ease-out, box-shadow 0.12s ease-out; }
}

/* Kahraman: aciklama paragrafi yerine uygulamanin sonuc satiri (ornek veri,
   uygulama demosuyla ayni: Fortnite PEGI 12). Tek dugme, indirme metin baglantisi. */
.hero-example {
  background: var(--bn-card); border-radius: var(--radius-tile); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 22px 0 26px;
  box-shadow: 0 1px 2px rgba(18, 20, 23, 0.04);
}
.hx-game { display: flex; align-items: baseline; gap: 10px; }
.hx-game b { font-size: 1.15rem; font-weight: 700; color: var(--bn-ink); }
.hx-rating { font-size: 0.8rem; font-weight: 600; color: var(--bn-mut); background: var(--bn-soft); border-radius: 20px; padding: 2px 9px; }
.hx-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; padding-top: 12px; border-top: 1px solid var(--bn-line); }
.hx-kid { font-weight: 600; color: var(--bn-ink); font-size: 0.95rem; white-space: nowrap; }
.hx-pill { font-size: 0.8rem; font-weight: 600; border-radius: 20px; padding: 3px 10px; white-space: nowrap; justify-self: start; }
.hx-pill.bad { background: var(--bn-red-bg); color: var(--bn-red-ink); }
.hx-pill.ok { background: var(--bn-grn-bg); color: var(--bn-grn-ink); }
.hx-why { grid-column: 1 / -1; color: var(--bn-mut); font-size: 0.9rem; line-height: 1.45; }
.hero-buttons { align-items: center; gap: 18px; flex-wrap: wrap; }
/* Alt cizgi metin dekorasyonu degil, arka plan seridi: uzerine gelince saga
   dogru cekilip kaybolur, sonra soldan yeniden cizilir. */
.hero-dl-link { font-size: var(--btn-fs, 0.875rem); font-weight: 600; color: #7A5C0F; text-decoration: none;
  padding-bottom: 3px; --ul-y: 100%;
  background: linear-gradient(currentColor, currentColor) 0 var(--ul-y) / 100% 1px no-repeat; }
.hero-dl-link:hover { color: var(--bn-accent-press); animation: dlUnderline 0.7s ease-in-out; }
@keyframes dlUnderline {
  0% { background-position: 100% var(--ul-y); background-size: 100% 1px; }
  45% { background-position: 100% var(--ul-y); background-size: 0% 1px; }
  55% { background-position: 0 var(--ul-y); background-size: 0% 1px; }
  100% { background-position: 0 var(--ul-y); background-size: 100% 1px; } }
@media (prefers-reduced-motion: reduce) { .hero-dl-link:hover { animation: none; } }
@media (max-width: 768px) {
  .hero-example { margin: 18px 0 20px; max-width: none; }
}

/* Alt bilgi tek beyaz kutu (2026-11): marka, Keşfet ve Yasal ayni kutuda
   sutun; telif satiri kutunun altinda ince cizgiyle ayrilir. */
.footer-cards { background: var(--bn-card); border-radius: var(--radius-tile) var(--radius-tile) 0 0; padding: 36px 32px 28px; gap: 48px; }
.footer-card, .footer-card-brand { background: transparent; border-radius: 0; padding: 0; min-height: 0; }
.footer-card-brand { flex: 1.4; align-items: flex-start; }
.footer-card { flex: 1; }
@media (min-width: 993px) {
  /* Marka sutunu iki baglanti sutunundan genis. */
  .footer-cards { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.footer-bottom { display: block; height: auto; border-top: none; max-width: 1340px; margin: 0 auto 16px; padding: 0 16px; }
.footer-bottom-inner { max-width: none; background: var(--bn-card); border-top: 1px solid var(--bn-line); border-radius: 0 0 var(--radius-tile) var(--radius-tile); padding: 18px 32px; }
@media (max-width: 992px) {
  .footer-cards { gap: 28px 24px; padding: 28px 24px 24px; }
  .footer-card, .footer-card-brand { padding: 0; min-height: 0; }
  .footer-bottom-inner { padding: 16px 24px; }
}
@media (max-width: 480px) {
  .footer-cards { padding: 24px 20px 20px; gap: 24px 16px; }
  .footer-card { padding: 0; }
  .footer-card-brand { min-height: 0; }
  .footer-bottom { padding: 0 16px; margin-bottom: 16px; }
  .footer-bottom-inner { padding: 16px 20px; }
}

/* Telefon duzeni (2026-11-09). Dokunma hedefleri en az 44px; "Nasil calisir"
   adimlarinda numara basligin yaninda, metin ve ekran tam genislikte;
   Ebeveynler adim kartlarinda numara ve baslik tek satirda; kahraman daha sik. */
@media (max-width: 768px) {
  .footer-col ul { gap: 0; }
  .footer-col a { display: flex; align-items: center; min-height: 44px; }
  .hero-dl-link { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; --ul-y: calc(50% + 0.8em); }
  .phone-slider-dot { position: relative; }
  .phone-slider-dot::after { content: ""; position: absolute; inset: -18px -3px; }

  .hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .hero-example { padding: 16px 18px; gap: 10px; margin: 16px 0 18px; }
  .hx-row { padding-top: 10px; }

  .steps, [dir="rtl"] .steps { gap: 36px; }
  .step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 10px; }
  .step:not(:last-child)::before { display: none; }
  .step-number { width: 36px; height: 36px; border-radius: 18px; font-size: 1rem; grid-row: auto; align-self: center; }
  .step-body { display: contents; }
  .hiw-panel .step h3 { margin: 0; align-self: center; }
  .hiw-panel .step p { grid-column: 1 / -1; }
  .step-shot { grid-column: 1 / -1; height: 170px; padding: 14px 14px 0; border-radius: 18px; }
  .step-shot img { max-width: 130px; }

  .par-step-text { display: flex; align-items: center; gap: 14px; }
  .par-step-text .step-number { margin: 0; flex-shrink: 0; }
}

/* Kahraman: telefonun iki yaninda suzulen kartlar (js/hero-float.js). Sol
   tarafta yalnizca baslik ve dugmeler var; ornek sonuc kutusu kaldirildi. Kartlar
   telefon cercevesinin icinde (egilmeyle birlikte donerler), biraz onde
   (translateZ); oklarin altinda; tiklama almaz. */
#hero .hero-content h1 { margin-bottom: 52px; }
.hero-float { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateZ(40px); }
.phone-slider-nav { z-index: 4; }
.hf-slot { position: absolute; }
.hf-slot.is-leaving { transition: opacity .25s ease, transform .25s ease; opacity: 0; transform: scale(.94); }
.hf-card { width: 260px; background: var(--bn-card); border-radius: 18px; padding: 12px 14px; text-align: start;
  box-shadow: 0 12px 32px rgba(18, 20, 23, 0.16), 0 1px 2px rgba(18, 20, 23, 0.06); }
.hf-app { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; font-weight: 600; color: var(--bn-mut); margin-bottom: 4px; }
.hf-app em { font-style: normal; font-weight: 500; }
.hf-card b { display: block; font-size: 0.9rem; font-weight: 700; color: var(--bn-ink); line-height: 1.3; }
.hf-body { display: block; font-size: 0.82rem; color: var(--bn-mut); line-height: 1.4; margin-top: 2px; }
.hf-card .hx-pill { display: inline-block; font-style: normal; margin-top: 8px; }
.hx-pill.org { background: var(--bn-org-bg); color: var(--bn-org-ink); }
.hf-mini { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bn-card); border-radius: 16px;
  box-shadow: 0 12px 30px rgba(18, 20, 23, 0.14); font-size: 0.85rem; line-height: 1.2; color: var(--bn-ink); white-space: nowrap; }
.hf-mini b { font-weight: 600; }
.hf-mini em { font-style: normal; color: var(--bn-mut); }
.hf-mini .hx-pill { font-style: normal; }
@keyframes hfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hf-bob { animation: hfBob 5s ease-in-out infinite; }
.hf-slow { animation-duration: 6.5s; animation-delay: -2s; }
@media (max-width: 768px) { .hf-card { width: 250px; } }
@media (prefers-reduced-motion: reduce) { .hf-bob { animation: none; } .hf-slot.is-leaving { transition: none; } }

/* Kahraman basligi (js/hero-title.js): vurgudan onceki kisim ("Cocugunuzun
   oynadigi oyun") ustte kucuk, kalin ve gri bir satir; vurgu ("yasina uygun mu?")
   baslik boyutunda ve koyu. Vurgulanacak parca bulunamazsa baslik oldugu gibi kalir. */
.hero-pre { display: block; font-size: 0.7em; line-height: 1.15; letter-spacing: -0.01em;
  color: #A1A6AE; margin-bottom: 0.04em; }
.hero-hl { color: var(--bn-ink); background: none; }
@media (max-width: 768px) {
  #hero h1:has(.hero-pre) { font-size: 2.1rem; }
  .hero-pre { font-size: 0.72em; }
}

/* Su an (cocugun o an oynadigi oyun) ve cocugun cihaz listesi.
   Uygulamadaki ana sayfanin koyu "Su an" kutusu; risk hapi uygulamadaki
   renklerle (home.jsx riskTag). Bir cocugun birden cok cihazi olabilir. */
.child-live {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: var(--radius-tile);
  background: var(--bn-dark);
  color: #fff;
}
.child-live:empty { display: none; }
.child-live-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.child-live-label { font-size: 0.8rem; font-weight: 600; color: #B9BEC7; }
.child-live.playing .child-live-label { color: #8AB4FF; }
.child-live-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.child-live-sub { font-size: 0.875rem; color: #B9BEC7; }
.live-tag { padding: 3px 10px; border-radius: 13px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.live-tag.risk-high { background: #FFB4AB; color: #5C0B07; }
.live-tag.risk-medium { background: #FFB86B; color: #3D1F00; }
.live-tag.risk-low, .live-tag.risk-safe { background: #C8E6C9; color: #0A3D24; }
.child-card-feature.live.playing .ccf-value { color: #7A5C0F; }
.child-card-feature.live.playing.risk-high .ccf-value { color: var(--bn-red); }
.child-card-feature.live.playing.risk-medium .ccf-value { color: var(--bn-org-ink); }

.device-list { list-style: none; margin: 0 0 16px; padding: 0; }
.device-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bn-line); }
.device-row:last-child { border-bottom: none; }
.device-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.device-row-text strong { font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-row-meta { font-size: 0.8rem; color: var(--bn-mut); }
.device-row-meta.online { color: var(--bn-grn-ink); }
.device-list .device-empty { padding: 0; }

/* ── Alt bilgi: ayri beyaz kutular (2026-11-16, Kampanella ile ayni) ─────────
   Marka (logo + tek cumle), Keşfet, Yasal, İletişim ayri beyaz kutular, 12px
   aralik; telif satiri ve Peda logosu kutularin altinda, gri zeminde. Onceki
   "tek beyaz kutu" kurallarinin ustune yazar; bu blok dosyanin sonunda kalmali. */
.footer-wrap { max-width: 1340px; margin: 0 auto; padding: 0 16px; }
.footer-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.footer-card, .footer-card-brand {
  background: var(--bn-card);
  border: none;
  border-radius: var(--radius-tile);
  padding: 28px;
  min-height: 0;
}
.footer-card-brand { display: block; grid-column: auto; }
.footer-card-brand .footer-desc {
  color: var(--bn-mut);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 32ch;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bn-mut);
  text-transform: none;
  letter-spacing: 0;
}
.footer-col ul { gap: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: var(--bn-ink); font-size: 0.9rem; font-weight: 400; }
.footer-col a:hover { color: var(--bn-ink); text-decoration: underline; text-decoration-color: var(--bn-accent); text-underline-offset: 3px; }
.footer-bottom { display: block; height: auto; border-top: none; max-width: 1340px; margin: 0 auto; padding: 0 16px 16px; }
.footer-bottom-inner {
  max-width: none;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px 4px;
}
.footer-copy { color: var(--bn-mut); font-size: 0.84rem; }
.footer-bottom-inner a { margin-inline-start: auto; }
.peda-logo { height: 18px; filter: none; opacity: 0.75; }
.peda-logo:hover { opacity: 1; }
@media (max-width: 992px) {
  .footer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
  .footer-card-brand { grid-column: 1 / -1; }
  .footer-card, .footer-card-brand { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .footer-cards { grid-template-columns: minmax(0, 1fr); }
  .footer-col li { margin: 0; }
}
[dir="rtl"] .footer-bottom-inner { flex-direction: row; }
