/* ===== SINAPS ARKA PLAN — Canvas tabanlı (bkz. landing.js _initBgCanvas) ===== */
/* Arka plan artık canvas#sinaps-bg-canvas üzerinden JS ile çiziliyor */
.sinaps-bg { display: none; }


/* Landing ve tüm alt sayfalar için z-index düzenlemesi */
.landing > *:not(.sinaps-bg) { position: relative; z-index: 1; }
.landing-nav { z-index: 100 !important; }

/* ===== LANDING PAGE ===== */
.landing {
  min-height: 100vh;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* NAV */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: rgba(10,20,40,0.65); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(59,130,246,0.12);
}
[data-theme="light"] .landing-nav {
  background: rgba(219,234,254,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(99,102,241,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo .logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: #FFFFFF; letter-spacing: 0.5px; }
[data-theme="light"] .nav-logo .logo-text { color: #0A1428; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-link:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Landing hamburger — mobilde görünür, masaüstünde gizli */
.nav-mobile-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(59,130,246,0.12);
  border: 1.5px solid rgba(59,130,246,0.30);
  color: var(--text-primary);
  align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.nav-mobile-btn svg { width: 22px; height: 22px; }
.nav-mobile-btn:hover { background: rgba(59,130,246,0.22); border-color: rgba(59,130,246,0.55); transform: scale(1.05); }
.nav-mobile-btn:active { transform: scale(0.93); }
[data-theme="light"] .nav-mobile-btn { background: rgba(91,138,240,0.10); border-color: rgba(91,138,240,0.28); color: #0A1428; }

/* Mobil nav menü (hamburgerdan açılan) */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 58px; left: 0; right: 0;
  background: rgba(10,20,40,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.18);
  padding: 16px 20px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  animation: navMenuSlide 0.22s ease;
}
.nav-mobile-menu.open { display: flex; }
[data-theme="light"] .nav-mobile-menu {
  background: rgba(219,234,254,0.98);
  border-bottom-color: rgba(99,102,241,0.15);
}
@keyframes navMenuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-menu .nav-link {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  transition: background 0.15s;
}
.nav-mobile-menu .nav-link:hover { background: rgba(59,130,246,0.10); color: var(--accent); }
.nav-mobile-menu .nav-link-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 0;
}
[data-theme="light"] .nav-mobile-menu .nav-link-divider { background: rgba(0,0,0,0.08); }

@media (max-width: 768px) {
  .landing-nav {
    padding: 10px 16px !important;
    min-height: 56px;
  }
  /* Masaüstü linkleri gizle */
  .landing-nav .nav-links { display: none !important; }
  /* Ghost btn gizle */
  .landing-nav .nav-actions .btn-ghost { display: none !important; }
  /* Hamburger göster */
  .nav-mobile-btn { display: flex !important; }
  /* Birincil buton boyutu */
  .nav-actions .btn-primary {
    padding: 9px 16px !important;
    font-size: 0.88rem !important;
    min-height: 42px !important;
    border-radius: 10px !important;
  }
}

/* SCROLL INDICATOR */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 0 8px; cursor: pointer; opacity: 0.6;
  animation: bounce-hint 2s ease-in-out infinite;
  transition: opacity 0.2s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint-text { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-hint svg { width: 20px; height: 20px; color: var(--text-muted); }
@keyframes bounce-hint { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* HERO SLIDER */
.hero-slider-section {
  position: relative;
  padding-top: 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex: 1;
}

.hero-slide {
  min-width: 100%;
  padding: 80px 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  justify-content: center;
  min-height: 70vh;
}

/* slide-promo-badge removed */

/* ===== SLIDE DECORATIONS ===== */

/* Tag badges */
.slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px;
  animation: hero-fade 0.5s ease;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.tag-purple { background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4); color: #a78bfa; }
.tag-purple .tag-dot { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }
.tag-orange { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.4); color: #fbbf24; }
.tag-orange .tag-dot { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
.tag-green { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #34d399; }
.tag-green .tag-dot { background: #34d399; box-shadow: 0 0 6px #34d399; }
.tag-blue { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.4); color: #60a5fa; }
.tag-blue .tag-dot { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }

@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.7); } }

/* Gradient text variants */
.gradient-text-orange {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gradient-text-green {
  background: linear-gradient(135deg, #10b981, #06b6d4, #84cc16);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Floating particles (slide 1) */
.slide-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; font-size: 1.6rem; opacity: 0.13;
  animation: float-particle 8s ease-in-out infinite;
}
.p1 { top: 15%; left: 8%; animation-delay: 0s; }
.p2 { top: 25%; right: 10%; animation-delay: 1.5s; }
.p3 { bottom: 30%; left: 6%; animation-delay: 3s; }
.p4 { top: 60%; right: 7%; animation-delay: 4.5s; }
.p5 { bottom: 20%; right: 15%; animation-delay: 2s; }
@keyframes float-particle {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.13; }
  50% { transform: translateY(-24px) rotate(15deg); opacity: 0.22; }
}

/* Big emoji bg */
.slide-emoji-bg {
  position: absolute; font-size: 14rem; opacity: 0.045;
  right: -20px; top: 50%; transform: translateY(-50%);
  pointer-events: none; user-select: none; line-height: 1;
}

/* Glow button */
.slide-btn-glow { box-shadow: 0 0 28px rgba(var(--accent-rgb,99,102,241),0.45); }

/* Feature pills (slide 1) */
.slide-feature-pills {
  display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: center;
}
.feature-pill {
  padding: 6px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.feature-pill:hover { border-color: var(--border-accent); color: var(--accent); }

/* Slide CTA buttons (colored) */
.btn-slide {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 14px; font-size: 1rem;
  font-weight: 700; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-slide-orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; box-shadow: 0 0 32px rgba(245,158,11,0.4);
}
.btn-slide-orange:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(245,158,11,0.6); }
.btn-slide-green {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff; box-shadow: 0 0 32px rgba(16,185,129,0.4);
}
.btn-slide-green:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(16,185,129,0.6); }
.btn-slide-blue {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff; box-shadow: 0 0 32px rgba(59,130,246,0.4);
}
.btn-slide-blue:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(59,130,246,0.6); }

/* Leaderboard preview (slide 2) */
.slide-leaderboard-preview {
  margin-top: 28px; width: 100%; max-width: 340px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 600; transition: background 0.2s;
}
.lb-row:last-child { border-bottom: none; }
.lb-gold { background: rgba(245,158,11,0.08); }
.lb-silver { background: rgba(148,163,184,0.06); }
.lb-bronze { background: rgba(180,120,60,0.06); }
.lb-rank { font-size: 1.1rem; min-width: 28px; }
.lb-name { flex: 1; color: var(--text-primary); }
.lb-pts { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; }

/* Level bars (slide 3) */
.slide-level-bars {
  margin-top: 24px; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 7px;
}
.level-bar {
  display: flex; align-items: center; gap: 10px;
}
.level-bar.active-level .level-label { font-weight: 800; color: var(--text-primary); }
.level-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); min-width: 110px; text-align: right; }
.level-track { flex: 1; height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.level-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }
.lf-red { background: linear-gradient(90deg, #ef4444, #f87171); }
.lf-orange { background: linear-gradient(90deg, #f97316, #fb923c); }
.lf-yellow { background: linear-gradient(90deg, #eab308, #fde047); }
.lf-green { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.lf-blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.lf-purple { background: linear-gradient(90deg, #8b5cf6, #e879f9); }

/* Class cards (slide 4) */
.slide-class-cards {
  display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; justify-content: center;
}
.class-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  max-width: 200px; text-align: left;
  transition: all 0.2s;
}
.class-card:hover { border-color: rgba(59,130,246,0.5); color: var(--text-primary); transform: translateY(-2px); }
.cc-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Orb colors for slides */
.slide-2 .orb-3 { width: 450px; height: 450px; background: #f59e0b; top: -60px; right: -80px; }
.slide-3 .orb-4 { width: 400px; height: 400px; background: #10b981; bottom: -80px; left: -80px; }
.slide-4 .orb-5 { width: 420px; height: 420px; background: #3b82f6; top: 0; right: -100px; }

/* Mobile tweaks for new elements */
@media (max-width: 768px) {
  .slide-emoji-bg { font-size: 8rem; opacity: 0.04; right: -10px; }
  .slide-leaderboard-preview { max-width: 100%; }
  .slide-level-bars { max-width: 100%; }
  .level-label { min-width: 80px; font-size: 0.68rem; }
  .slide-class-cards { gap: 8px; }
  .class-card { padding: 10px 14px; font-size: 0.75rem; }
  .btn-slide { padding: 12px 24px; font-size: 0.9rem; width: 100%; max-width: 300px; justify-content: center; }
  .slide-feature-pills { gap: 6px; }
  .feature-pill { font-size: 0.72rem; padding: 5px 11px; }
}

/* Slider Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px 0 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  width: 28px;
  height: 12px;
  background: var(--accent);
}

/* Stats Bar */
.hero-stats-bar {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  padding: 20px 48px 32px;
  flex-wrap: wrap;
  gap: 0;
}
.hero-stat-divider {
  width: 1px; height: 36px;
  background: var(--border);
  margin: 0 32px;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Keep old hero for compat */
.hero {
  padding: 160px 48px 80px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 99px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  margin-bottom: 24px; animation: hero-fade 0.8s ease;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
  animation: hero-fade 0.8s ease 0.1s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.7; margin-bottom: 36px;
  animation: hero-fade 0.8s ease 0.2s both;
}
.hero-ctas { display: flex; gap: 12px; animation: hero-fade 0.8s ease 0.3s both; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  animation: hero-fade 0.8s ease 0.4s both;
}

/* GLOW ORBS */
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; left: -150px; }
.orb-2 { width: 400px; height: 400px; background: var(--accent-2); top: 100px; right: -100px; }
.orb-3 { width: 450px; height: 450px; background: #818cf8; top: -80px; right: -100px; }
.orb-4 { width: 400px; height: 400px; background: #f59e0b; bottom: -80px; left: -100px; }
.orb-5 { width: 420px; height: 420px; background: #10b981; top: 0; right: -120px; }

@keyframes hero-fade { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* FEATURES */
.features-section {
  padding: 80px 48px;
  max-width: 1200px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
}
.section-sub { color: var(--text-secondary); font-size: 1rem; margin-top: 12px; max-width: 500px; margin-inline: auto; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.25s ease; cursor: default;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.feature-desc { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }

/* HOW IT WORKS */
.how-section {
  padding: 80px 48px;
  background: var(--bg-1);
}
.steps { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; max-width: 220px; position: relative; }
.step:not(:last-child)::after { content:'→'; position: absolute; right: -12px; top: 38px; color: var(--text-muted); font-size: 1.5rem; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 16px; }
.step-title { font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* AUTH MODAL */
.auth-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  overflow-y: auto;
}
.auth-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow); animation: modal-in 0.25s ease;
  position: relative; margin: auto;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo .logo-icon { font-size: 2rem; }
.auth-logo .logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #FFFFFF; letter-spacing: 0.5px; display: block; margin-top: 4px; } [data-theme="light"] .auth-logo .logo-text { color: #0A1428; }
.auth-tabs { display: flex; background: var(--bg-2); border-radius: var(--radius); padding: 4px; margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 8px; text-align: center; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.875rem; transition: all 0.15s; color: var(--text-muted); }
.auth-tab.active { background: var(--accent); color: #fff; }
.role-selector { display: flex; gap: 10px; margin-bottom: 16px; }
.role-btn { flex: 1; padding: 12px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--bg-2); cursor: pointer; text-align: center; transition: all 0.15s; }
.role-btn.selected { border-color: var(--accent); background: var(--accent-glow); }
.role-btn .role-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.role-btn .role-label { font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); }
.role-btn.selected .role-label { color: var(--accent); }
.auth-divider { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content:''; position:absolute; top:50%; width:42%; height:1px; background: var(--border); }
.auth-divider::before { left:0; }
.auth-divider::after { right:0; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-stack .form-label { color: var(--text-secondary); }
.form-stack .input, .form-stack .select {
  color: var(--text-primary) !important;
  background: var(--bg-2);
}
.form-stack .input::placeholder { color: var(--text-muted); opacity: 1; }

/* CTA SECTION */
.cta-section { padding: 80px 48px; text-align: center; }
.cta-box {
  max-width: 640px; margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-glow), rgba(124,92,191,0.15));
  border: 1px solid var(--border-accent); border-radius: 24px; padding: 48px;
}
.cta-box h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 28px; }

/* FOOTER */
.landing-footer {
  padding: 24px 48px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-muted); font-size: 0.82rem;
}

@media (max-width: 768px) {
  /* NAV */
  .landing-nav { padding: 14px 16px; }
  .nav-links { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-ghost { display: none; }

  /* SLIDER */
  .hero-slider-section { padding-top: 70px; }
  .hero-slide { padding: 40px 20px 24px; min-height: 60vh; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; }
  .hero-ctas .btn-lg { width: 100%; max-width: 300px; justify-content: center; }
  .slider-btn { width: 36px; height: 36px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .hero-stats-bar { padding: 16px 12px 24px; }
  .hero-stat-divider { margin: 0 14px; height: 28px; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.7rem; }

  /* OLD HERO (compat) */
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }

  /* SECTIONS */
  .features-section, .how-section, .cta-section { padding: 48px 16px; }
  .step:not(:last-child)::after { display: none; }

  /* AUTH — mobilde kayboluyor düzeltmesi */
  .auth-overlay {
    align-items: flex-start;
    padding: 16px 12px 32px;
    overflow-y: auto;
  }
  .auth-box {
    padding: 24px 20px;
    margin: auto 0;
    border-radius: 16px;
    max-height: none;
  }
  .auth-logo { margin-bottom: 18px; }
  .auth-logo .logo-text { font-size: 1.25rem; }
  .role-btn { padding: 10px 8px; }
  .role-btn .role-icon { font-size: 1.3rem; }
}

@media (max-width: 420px) {
  .hero-stats-bar { flex-wrap: wrap; gap: 12px; }
  .hero-stat-divider { display: none; }
  .hero-stat { flex: 1; min-width: 70px; }
}

/* ===== LIGHT THEME — Slider arka plan hafif gri ===== */
[data-theme="light"] .hero-slider-section {
  background: transparent;
}
[data-theme="light"] .hero-slide {
  background: transparent;
}
[data-theme="light"] .glow-orb {
  opacity: 0.07;
}
[data-theme="light"] .hero-title {
  color: var(--text-primary);
}
[data-theme="light"] .hero-sub {
  color: var(--text-secondary);
}
[data-theme="light"] .slider-btn {
  background: rgba(255,255,255,0.9);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .hero-stats-bar {
  background: rgba(255,255,255,0.6);
}
[data-theme="light"] .slide-leaderboard-preview {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .lb-row {
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .class-card {
  background: rgba(255,255,255,0.8);
}

/* Landing body must scroll */
body.landing-page {
  overflow-y: auto !important;
  overflow-x: hidden;
  height: auto !important;
}

/* Landing sayfa içeriği — alt boşluk yok */
.landing {
  padding-bottom: 0;
}
.landing-footer {
  margin-bottom: 0;
  padding-bottom: 24px;
}

/* Dark temada form alanları okunabilir */
[data-theme="dark"] .auth-box .input,
[data-theme="dark"] .auth-box .select,
[data-theme="dark"] .auth-box textarea {
  background: rgba(22, 32, 64, 0.9);
  color: #f0f2f8 !important;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .auth-box .input::placeholder {
  color: rgba(138,145,170,0.8);
}
[data-theme="dark"] .auth-box .form-label {
  color: #8891aa;
}
[data-theme="dark"] .auth-box {
  background: rgba(18, 24, 50, 0.97);
  border-color: rgba(255,255,255,0.1);
}

/* ===== LANDING RESPONSIVE ===== */
@media (max-width: 768px) {
  .landing-nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }

  .hero-slider-section { padding-top: 64px; min-height: 95svh; }
  .hero-slide { padding: 32px 16px 20px; min-height: 70svh; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.6rem) !important; }
  .hero-sub { font-size: 0.92rem; max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; }
  .hero-ctas .btn-lg, .hero-ctas .btn-slide { width: 100%; max-width: 300px; justify-content: center; }
  .slider-btn { width: 34px; height: 34px; }
  .slider-prev { left: 6px; } .slider-next { right: 6px; }
  .hero-stats-bar { padding: 14px 10px 20px; gap: 0; }
  .hero-stat-divider { margin: 0 12px; height: 24px; }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.68rem; }
  .slide-emoji-bg { font-size: 7rem; right: -8px; }
  .slide-leaderboard-preview { max-width: 100%; }
  .slide-level-bars { max-width: 100%; }
  .level-label { min-width: 76px; font-size: 0.68rem; }
  .slide-class-cards { gap: 8px; }
  .class-card { padding: 10px 12px; font-size: 0.76rem; }
  .btn-slide { padding: 12px 20px; font-size: 0.88rem; }
  .slide-feature-pills { gap: 6px; margin-top: 16px; }
  .feature-pill { font-size: 0.7rem; padding: 5px 10px; }

  .features-section, .how-section, .cta-section { padding: 48px 16px; }
  .step:not(:last-child)::after { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .auth-box { padding: 24px 16px; }
  .landing-footer { padding: 20px 16px; flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Mobil auth ek düzeltmeler ── */
@media (max-width: 480px) {
  .auth-overlay {
    padding: 12px 10px 28px;
    align-items: flex-start;
  }
  .auth-box {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .form-stack { gap: 10px; }
  .role-selector { gap: 8px; }
  .role-btn { padding: 9px 6px; }
  .role-btn .role-icon { font-size: 1.2rem; }
  .role-btn .role-label { font-size: 0.72rem; }
  .auth-logo { margin-bottom: 14px; }
  .auth-tabs { margin-bottom: 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .landing-nav { padding: 14px 28px; }
  .hero-slide { padding: 60px 40px 32px; }
  .features-section, .how-section, .cta-section { padding: 60px 32px; }
  .hero-stats-bar { padding: 16px 32px 24px; }
}

@media (max-width: 400px) {
  .hero-stats-bar { flex-wrap: wrap; gap: 10px; }
  .hero-stat-divider { display: none; }
  .hero-stat { flex: 1; min-width: 60px; }
}

/* ===== SLIDE-1 — 2 SÜTUN LAYOUT ===== */
.slide-1 {
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 0;
  padding: 100px 6vw 60px !important;
}
.slide-1-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  padding-right: 40px;
}
.slide-1 .hero-title { text-align: left; }
.slide-1 .hero-sub { text-align: left; }
.slide-1 .hero-ctas { justify-content: flex-start; }
.slide-1 .slide-feature-pills { justify-content: flex-start; }

/* Sinaps görsel animasyon */
.sv-svg {
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 320px;
  overflow: visible;
}
.sv-body-blue {
  filter: drop-shadow(0 0 18px rgba(59,130,246,0.7));
  animation: svPulseBlue 3s ease-in-out infinite;
  transform-origin: 122px 160px;
}
.sv-body-pink {
  filter: drop-shadow(0 0 18px rgba(236,72,153,0.7));
  animation: svPulsePink 3s ease-in-out infinite;
  animation-delay: 1.5s;
  transform-origin: 298px 160px;
}
.sv-glow-blue { animation: svGlow 3s ease-in-out infinite; }
.sv-glow-pink { animation: svGlow 3s ease-in-out infinite; animation-delay: 1.5s; }
@keyframes svGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1.3; }
}
.slide-1-visual {
  flex: 1;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(59,130,246,0.18);
  pointer-events: none;
}
.sv-orbit-1 { width: 320px; height: 320px; }
.sv-orbit-2 { width: 220px; height: 220px; border-color: rgba(236,72,153,0.18); }

/* İki nöron + axon birlikte merkeze hizalı bir grup oluşturur */
.sv-neuron {
  width: 72px; height: 72px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.sv-neuron-blue {
  background: #3B82F6;
  left: calc(50% - 130px);
  box-shadow: 0 0 40px rgba(59,130,246,0.55), 0 0 80px rgba(59,130,246,0.2);
  animation: svPulseBlue 3s ease-in-out infinite;
}
.sv-neuron-pink {
  background: #EC4899;
  left: calc(50% + 58px);
  box-shadow: 0 0 40px rgba(236,72,153,0.55), 0 0 80px rgba(236,72,153,0.2);
  animation: svPulsePink 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Axon iki nöron arasını tam bağlar: nöron genişliği 72px, merkez mesafe 260px → arası 188px */
.sv-axon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 188px;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, rgba(251,191,36,0.6), #EC4899);
  border-radius: 2px;
}
.sv-spark {
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 18px #FBBF24, 0 0 36px rgba(251,191,36,0.4);
  transform: translateY(-50%);
  animation: svSpark 2.2s ease-in-out infinite;
}
.sv-mini {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sv-mini-1 { width: 10px; height: 10px; background: #FBBF24; top: 20px; left: 50%; margin-left: -80px; opacity: 0.7; animation: svFloat 4s ease-in-out infinite; }
.sv-mini-2 { width: 8px; height: 8px; background: #94A3B8; top: 40px; right: 50%; margin-right: -60px; opacity: 0.5; animation: svFloat 5s ease-in-out infinite; animation-delay: 1s; }
.sv-mini-3 { width: 6px; height: 6px; background: #3B82F6; bottom: 40px; left: 50%; margin-left: 30px; opacity: 0.5; animation: svFloat 3.5s ease-in-out infinite; animation-delay: 2s; }

@keyframes svPulseBlue {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.08); }
}
@keyframes svPulsePink {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.08); }
}
@keyframes svSpark {
  0% { left: 0; opacity: 0; transform: translateY(-50%) scale(0.5); }
  10% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { left: calc(50% - 7px); transform: translateY(-50%) scale(1.4); opacity: 1; }
  90% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { left: calc(100% - 14px); opacity: 0; transform: translateY(-50%) scale(0.5); }
}
@keyframes svFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mobil: slide-1 tek sütuna dön */
@media (max-width: 768px) {
  .slide-1 {
    flex-direction: column !important;
    text-align: center !important;
    padding: 80px 20px 32px !important;
  }
  .slide-1-content { padding-right: 0; align-items: center; }
  .slide-1 .hero-title, .slide-1 .hero-sub { text-align: center; }
  .slide-1 .hero-ctas, .slide-1 .slide-feature-pills { justify-content: center; }
  .slide-1-visual { height: 220px; width: 100%; margin-top: 24px; }
  .sv-orbit-1 { width: 200px; height: 200px; }
  .sv-orbit-2 { width: 140px; height: 140px; }
  .sv-neuron { width: 48px; height: 48px; }
  .sv-neuron-blue { left: calc(50% - 86px); }
  .sv-neuron-pink { left: calc(50% + 38px); }
  .sv-axon { width: 124px; }
}

/* Landing butonları — cam efekti (bg animate ile uyumlu) */
.landing .btn-secondary {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59,130,246,0.25);
  color: #fff;
}
.landing .btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(59,130,246,0.5);
  color: #fff;
}
[data-theme="light"] .landing .btn-secondary {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(99,102,241,0.25);
  color: #1e2d50;
}
[data-theme="light"] .landing .btn-secondary:hover {
  background: rgba(255,255,255,0.75);
  border-color: rgba(99,102,241,0.5);
  color: #1e2d50;
}

/* Feature pill cam efekti */
.landing .feature-pill {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59,130,246,0.18);
  color: rgba(255,255,255,0.75);
}
.landing .feature-pill:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.4);
  color: #fff;
}
[data-theme="light"] .landing .feature-pill {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(99,102,241,0.2);
  color: #334155;
}

/* Auth modal arkaplanı bg ile uyumlu */
.auth-modal-overlay {
  backdrop-filter: blur(8px) !important;
  background: rgba(10,20,40,0.7) !important;
}

/* ── FAQ / SSS Accordion ──────────────────────────── */
.faq-section {
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-a p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   MOBİL OPTİMİZASYON — Landing Sayfası (≤ 768px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── NAV ─────────────────────────────────────────────── */
  .landing-nav {
    padding: 10px 14px;
    min-height: 56px;
    gap: 8px;
  }
  .nav-logo .logo-text { font-size: 1.2rem; }
  .landing-nav .nav-links,
  .nav-links {
    display: none !important;
    visibility: hidden;
    width: 0;
    overflow: hidden;
  }
  .landing-nav .nav-actions .btn-ghost,
  .nav-actions .btn-ghost { display: none !important; }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-actions .btn-primary {
    padding: 9px 14px;
    font-size: 0.85rem;
    min-height: 40px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .nav-mobile-btn { display: flex !important; }
  .landing-nav .theme-toggle { flex-shrink: 0; }

  /* ── HERO SLIDER ─────────────────────────────────────── */
  .hero-slider-section {
    padding-top: 56px;
    min-height: 100svh;
  }
  .hero-slide {
    padding: 32px 18px 20px;
    min-height: auto;
    justify-content: flex-start;
  }

  /* Slide-1: iki sütun → tek sütun */
  .slide-1 {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 72px 18px 28px !important;
    gap: 20px;
  }
  .slide-1-content {
    width: 100%;
    padding-right: 0;
    align-items: center;
  }
  .slide-1 .hero-title,
  .slide-1 .hero-sub { text-align: center; }
  .slide-1 .hero-ctas,
  .slide-1 .slide-feature-pills { justify-content: center; }
  .slide-1-visual {
    width: 100%;
    height: 200px;
    margin-top: 8px;
  }

  /* ── HERO BAŞLIK ─────────────────────────────────────── */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* ── CTA BUTONLARI ───────────────────────────────────── */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-ctas .btn,
  .hero-ctas .btn-lg,
  .hero-ctas .btn-slide,
  .btn-slide {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.97rem;
    min-height: 50px;
    border-radius: 14px;
  }

  /* ── SLIDER KONTROLLERİ ──────────────────────────────── */
  .slider-btn { width: 40px; height: 40px; }
  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }
  .slider-dot { width: 8px; height: 8px; }
  .slider-dot.active { width: 28px; }
  .slider-dots { padding: 12px 0 6px; gap: 8px; }

  /* ── STATS BAR ───────────────────────────────────────── */
  .hero-stats-bar {
    padding: 14px 10px 22px;
    gap: 0;
    flex-wrap: nowrap;
  }
  .hero-stat-divider { margin: 0 10px; height: 24px; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.72rem; }

  /* ── SLIDE ELEMANLARı ────────────────────────────────── */
  .slide-tag {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  .slide-feature-pills {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }
  .feature-pill {
    font-size: 0.78rem;
    padding: 7px 13px;
    min-height: 34px;
  }
  .slide-leaderboard-preview {
    max-width: 100%;
    border-radius: 14px;
  }
  .lb-row {
    padding: 11px 14px;
    font-size: 0.9rem;
    min-height: 44px;
  }
  .lb-rank { font-size: 1.1rem; }
  .slide-level-bars { max-width: 100%; gap: 8px; }
  .level-label { min-width: 82px; font-size: 0.72rem; }
  .level-track { height: 9px; }
  .slide-class-cards { gap: 9px; }
  .class-card {
    padding: 11px 14px;
    font-size: 0.8rem;
    border-radius: 13px;
    min-height: 46px;
  }
  .cc-icon { font-size: 1.3rem; }
  .slide-emoji-bg { font-size: 7rem; opacity: 0.04; right: -8px; }

  /* ── BÖLÜMLER ────────────────────────────────────────── */
  .features-section,
  .how-section,
  .cta-section,
  .faq-section {
    padding: 48px 16px;
  }
  .section-title { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .section-sub { font-size: 0.92rem; }

  /* ── FEATURE CARDS ───────────────────────────────────── */
  .feature-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .feature-icon { font-size: 2rem; margin-bottom: 12px; }

  /* ── HOW SECTION ─────────────────────────────────────── */
  .how-steps { flex-direction: column; gap: 20px; }
  .how-step { padding: 20px 16px; border-radius: 16px; }

  /* ── CTA SECTION ─────────────────────────────────────── */
  .cta-section .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-section .hero-ctas { align-items: stretch; }

  /* ── FAQ ─────────────────────────────────────────────── */
  .faq-section { padding: 40px 14px; }
  .faq-q { padding: 16px 18px; font-size: 0.95rem; }
  .faq-a p { padding: 0 18px 16px; font-size: 0.9rem; }

  /* ── FOOTER ──────────────────────────────────────────── */
  .landing-footer {
    padding: 32px 16px 24px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── Çok küçük ekranlar (≤ 400px) ───────────────────────── */
@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.75rem, 8.5vw, 2.5rem); }
  .nav-actions .btn-primary {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .hero-stats-bar { gap: 0; }
  .hero-stat-divider { margin: 0 6px; }
  .hero-stat-num { font-size: 1.25rem; }
}
