.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  color: #4b5563;
}
.checkout-consent input { margin-top: 3px; flex-shrink: 0; }
.checkout-consent a { color: #7c3aed; text-decoration: underline; }

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --accent: #F59E0B;
  --dark: #0F172A;
  --light: #F8FAFC;
}
* { font-family: 'Inter', sans-serif; }
h1, h2, h3, .display { font-family: 'Space Grotesk', sans-serif; }
body { margin: 0; background: #FAFAFA; }

.hero-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: auto;           /* mouse etkileşimi için */
  overflow: visible;
  cursor: grab;
}
.hero-canvas:active { cursor: grabbing; }
.hero-canvas canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #6366F1 0%, #EC4899 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
}
.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
}
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .p-4 {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}
.btn-primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.page { display: none; animation: fadeIn 0.4s; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.badge-new { background: linear-gradient(135deg, #10B981, #059669); }
.badge-hot { background: linear-gradient(135deg, #EF4444, #DC2626); }
.badge-sale { background: linear-gradient(135deg, #F59E0B, #D97706); }

.cart-drawer {
  position: fixed; top: 0; right: -500px; width: 100%; max-width: 480px; height: 100vh;
  background: white; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 100;
}
.cart-drawer.open { right: 0; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.modal { position: fixed; inset: 0; background: rgba(15,23,42,0.7); z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.open { display: flex; }
.modal-content { background: white; border-radius: 1.5rem; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; }

.logo-3d {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #6366F1, #EC4899);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 20px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
  transform: rotate(-5deg);
  transition: transform 0.3s;
}
.logo-mark:hover { transform: rotate(0deg) scale(1.1); }

.category-pill {
  padding: 0.5rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  background: white; border: 1px solid #E5E7EB; cursor: pointer; transition: all 0.2s;
}
.category-pill:hover { border-color: #6366F1; color: #6366F1; }
.category-pill.active { background: #6366F1; color: white; border-color: #6366F1; }

input, select, textarea { transition: all 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #6366F1; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }

.toast {
  position: fixed; bottom: 2rem; right: 2rem; background: #10B981; color: white;
  padding: 1rem 1.5rem; border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(16,185,129,0.3);
  z-index: 300; transform: translateY(100px); opacity: 0; transition: all 0.3s;
  display: flex; align-items: center; gap: 0.75rem;
}
.toast.show { transform: translateY(0); opacity: 1; }

.admin-tab { padding: 0.75rem 1.25rem; border-radius: 0.5rem; cursor: pointer; font-weight: 500; color: #64748B; }
.admin-tab.active { background: #6366F1; color: white; }
.admin-tab:hover:not(.active) { background: #F1F5F9; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

.img-grad-1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.img-grad-2 { background: linear-gradient(135deg, #EC4899, #F59E0B); }
.img-grad-3 { background: linear-gradient(135deg, #10B981, #06B6D4); }
.img-grad-4 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.img-grad-5 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.img-grad-6 { background: linear-gradient(135deg, #06B6D4, #6366F1); }
.img-grad-7 { background: linear-gradient(135deg, #F43F5E, #8B5CF6); }
.img-grad-8 { background: linear-gradient(135deg, #14B8A6, #3B82F6); }
.img-grad-9 { background: linear-gradient(135deg, #F97316, #EAB308); }
.img-grad-10 { background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #a855f7 100%); }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product cover */
.prod-cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: inherit;
}
.prod-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.18) 0%, transparent 35%),
    radial-gradient(circle at 80% 75%, rgba(0,0,0,.12) 0%, transparent 40%);
  z-index: 1;
}
.prod-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 1;
}
.prod-cover-icon {
  position: relative;
  z-index: 2;
  font-size: 5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  transition: transform .35s ease;
}
.product-card:hover .prod-cover-icon { transform: scale(1.08) rotate(-3deg); }
.prod-cover-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  color: #1f2937;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.prod-cover-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  transform: translateX(-100%) rotate(18deg);
  transition: transform .6s ease;
  pointer-events: none;
}
.product-card:hover .prod-cover-shine { transform: translateX(400%) rotate(18deg); }

/* References marquee */
.refs-mask {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.refs-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: refs-scroll 60s linear infinite;
}
.refs-mask:hover .refs-track { animation-play-state: paused; }
@keyframes refs-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ref-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter .2s, opacity .2s, transform .2s;
  flex-shrink: 0;
}
.ref-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

.neon-edu {
  color: #F97316;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 0.15rem;
  text-shadow:
    0 0 1px #FB923C,
    0 0 3px rgba(249, 115, 22, 0.6);
  animation: neon-pulse 2.8s ease-in-out infinite;
}
@keyframes neon-pulse {
  0%, 100% {
    text-shadow:
      0 0 1px #FB923C,
      0 0 3px rgba(249, 115, 22, 0.6);
  }
  50% {
    text-shadow:
      0 0 2px #FDBA74,
      0 0 5px rgba(234, 88, 12, 0.85);
  }
}
@media (prefers-reduced-motion: reduce) {
  .neon-edu { animation: none; }
}

/* ============ USER DROPDOWN (navbar) ============ */
.user-dropdown-wrapper { position: relative; display: inline-block; }
.user-dropdown-trigger {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(236,72,153,.08));
  border: 1px solid rgba(99,102,241,.2);
  color: #1F2937; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s;
}
.user-dropdown-trigger:hover {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(236,72,153,.15));
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 4px 16px rgba(99,102,241,.18);
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 10px rgba(139, 92, 246, .35);
  flex-shrink: 0;
}
.dropdown-chevron {
  width: 14px; height: 14px; color: #6B7280;
  transition: transform .2s ease;
}
.user-dropdown-wrapper.open .dropdown-chevron { transform: rotate(180deg); }

.user-dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,23,42,.18), 0 4px 14px rgba(15,23,42,.06);
  border: 1px solid rgba(229,231,235,.9);
  padding: 8px;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 60;
}
.user-dropdown-wrapper.open .user-dropdown-menu {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.user-dropdown-header {
  padding: 10px 12px 12px; margin-bottom: 6px;
  border-bottom: 1px solid #F3F4F6;
}
.user-dropdown-name {
  font-weight: 700; font-size: 14px; color: #111827;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-dropdown-email {
  font-size: 12px; color: #6B7280; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #374151;
  cursor: pointer; text-decoration: none;
  transition: background .12s, color .12s;
}
.user-dropdown-item svg { width: 16px; height: 16px; color: #6B7280; transition: color .12s; }
.user-dropdown-item:hover {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(236,72,153,.06));
  color: #4F46E5;
}
.user-dropdown-item:hover svg { color: #6366F1; }
.user-dropdown-item--danger { color: #B91C1C; }
.user-dropdown-item--danger svg { color: #EF4444; }
.user-dropdown-item--danger:hover {
  background: #FEF2F2; color: #991B1B;
}
.user-dropdown-item--danger:hover svg { color: #DC2626; }
.user-dropdown-divider { height: 1px; background: #F3F4F6; margin: 6px 0; }

/* Panel sidebar — admin panel gradient button */
.panel-admin-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
  box-shadow: 0 6px 18px rgba(139, 92, 246, .35);
  transition: transform .15s, box-shadow .15s, opacity .15s;
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
}
.panel-admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(139, 92, 246, .45);
  opacity: .97;
}
.panel-admin-btn svg { width: 18px; height: 18px; color: #fff; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  padding-top: 80px;
  box-sizing: content-box;
}
.slides-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform .7s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}
.slides-track.no-transition { transition: none; }

.slide {
  position: relative;
  flex: 0 0 calc(100% / 3);
  height: 100%;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  height: 100%;
  display: flex;
  align-items: center;
}
.slide-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.slide-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Slide 1 — light background + 3D hero */
.slide-1-bg {
  background:
    radial-gradient(ellipse at top right, rgba(236, 72, 153, .12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(99, 102, 241, .12), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #fdf2f8 100%);
}
.slide-1-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* Slide 2 — AI dark gradient */
.slide-2-bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, .35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, .4), transparent 45%),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #0f172a 100%);
}
.slide-2-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.slide-2 .slide-sub { color: rgba(255,255,255,.85); }
.slide-2-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-pill {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
}
.ai-orb {
  position: relative;
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.ai-orb-ring {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, .4);
  animation: orb-spin 8s linear infinite;
}
.ai-orb-ring-2 {
  width: 78%; height: 78%;
  border-color: rgba(167, 139, 250, .5);
  border-style: dashed;
  animation-duration: 12s;
  animation-direction: reverse;
}
.ai-orb-core {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  box-shadow: 0 0 80px rgba(139, 92, 246, .6), inset 0 0 40px rgba(255,255,255,.2);
  animation: orb-pulse 3s ease-in-out infinite;
}
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 80px rgba(139, 92, 246, .6), inset 0 0 40px rgba(255,255,255,.2); }
  50%      { transform: scale(1.06); box-shadow: 0 0 120px rgba(139, 92, 246, .8), inset 0 0 50px rgba(255,255,255,.3); }
}

/* Slide 3 — Metropol discount warm gradient */
.slide-3-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(250, 204, 21, .3), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(239, 68, 68, .25), transparent 50%),
    linear-gradient(135deg, #9a3412 0%, #c2410c 40%, #ea580c 100%);
}
.metropol-logo-wrap {
  background: white;
  padding: 14px 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
.metropol-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .metropol-logo { height: 44px; }
  .metropol-logo-wrap { padding: 12px 18px; margin-bottom: 14px; }
}
.slide-3-accent {
  background: linear-gradient(135deg, #fde047 0%, #fff7ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.discount-badge {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fef3c7, #fbbf24 60%, #f59e0b 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 14px rgba(255,255,255,.15),
    0 25px 60px rgba(0,0,0,.35);
  transform: rotate(-6deg);
  animation: badge-bob 4s ease-in-out infinite;
}
.discount-badge-inner {
  text-align: center;
  color: #7c2d12;
  transform: rotate(6deg);
}
.discount-pct {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 0 rgba(255,255,255,.4);
}
.discount-label {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .3em;
  margin-top: 4px;
}
@keyframes badge-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-12px); }
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  color: #1f2937;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all .25s;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.slider-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.slider-arrow-prev { left: 20px; }
.slider-arrow-next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}
.slider-dot:hover { background: rgba(255,255,255,.8); }
.slider-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 999px;
}

/* ============ SPRINT 5.2: WALLET & CREDIT ============ */

/* Yakında Rozeti */
.badge-coming-soon {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}

/* Cüzdan Widget (Header) */
.wallet-widget {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border: 1px solid #C7D2FE;
  border-radius: 9999px;
  padding: 0.35rem 0.6rem 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4338CA;
  white-space: nowrap;
  transition: box-shadow 0.2s;
}
.wallet-widget:hover {
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.wallet-widget .wallet-icon {
  font-size: 1rem;
}
.wallet-widget .wallet-label {
  font-weight: 400;
  color: #6B7280;
  font-size: 0.75rem;
}
.wallet-buy-btn {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.15rem;
  transition: opacity 0.2s;
}
.wallet-buy-btn:hover {
  opacity: 0.9;
}

/* Kontör Paketi Kartları */
.credit-package-card {
  position: relative;
  border: 2px solid #E5E7EB;
  transition: transform 0.2s, box-shadow 0.2s;
}
.credit-package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}
.credit-package-featured {
  border-color: #818CF8;
  box-shadow: 0 4px 20px rgba(99,102,241,0.1);
}
.credit-package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Transfer Geçmişi Tipleri */
.tx-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.tx-purchase {
  background: #DCFCE7;
  color: #166534;
}
.tx-transfer_out {
  background: #FEE2E2;
  color: #991B1B;
}
.tx-transfer_in {
  background: #DBEAFE;
  color: #1E40AF;
}
.tx-refund {
  background: #FEF3C7;
  color: #92400E;
}
.tx-admin_adjust {
  background: #F3E8FF;
  color: #6B21A8;
}

/* ============ STATIC PAGES (Sprint 5.3) ============ */
.static-page-container { max-width: 900px; margin: 2rem auto; padding: 2rem 1rem; }
.static-page-content { background: white; padding: 3rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); line-height: 1.7; color: #1f2937; }
@media (max-width: 768px) { .static-page-content { padding: 1.5rem; } }
.static-page-content h1 { font-size: 2.2rem; margin-bottom: 1rem; color: #1a1a1a; }
.static-page-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: #2a2a2a; border-bottom: 2px solid #f0f0f0; padding-bottom: 0.5rem; }
.static-page-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; color: #374151; }
.static-page-content .lead { font-size: 1.15rem; color: #555; margin-bottom: 2rem; }
.static-page-content ul, .static-page-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.static-page-content li { margin-bottom: 0.5rem; }
.static-page-content a { color: #6366f1; text-decoration: none; }
.static-page-content a:hover { text-decoration: underline; }
.static-page-content details { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; cursor: pointer; transition: all 0.2s; }
.static-page-content details:hover { background: #f3f4f6; }
.static-page-content details[open] { background: white; border-color: #818cf8; }
.static-page-content summary { font-weight: 600; color: #1f2937; list-style: none; position: relative; padding-right: 2rem; }
.static-page-content summary::-webkit-details-marker { display: none; }
.static-page-content summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: #6b7280; transition: transform 0.2s; }
.static-page-content details[open] summary::after { content: '−'; }
.static-page-content details p { margin-top: 0.75rem; color: #4b5563; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; margin-top: 2rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-item { margin-bottom: 1.25rem; padding: 0.85rem 1rem; background: #f9fafb; border-radius: 8px; }
.contact-item strong { display: block; margin-bottom: 0.25rem; color: #374151; font-size: 0.95rem; }
.contact-summary { background: #f9fafb; padding: 1rem 1.25rem; border-radius: 8px; border-left: 4px solid #6366f1; margin: 1.5rem 0; }
.contact-summary p { margin: 0.35rem 0; }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 500; color: #374151; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.95rem; margin-top: 0.35rem; font-family: inherit; box-sizing: border-box; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.contact-form .checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: normal; font-size: 0.9rem; }
.contact-form .checkbox-label input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.form-result { margin-top: 1rem; padding: 1rem; border-radius: 6px; }
.form-result.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-result.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.legal-notice { background: #fef3c7; border: 1px solid #fcd34d; color: #78350f; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 2rem; font-size: 0.95rem; }
.footer-static-pages { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; padding: 1.5rem 0; border-top: 1px solid #e5e7eb; font-size: 0.9rem; }
.footer-static-pages a { color: #6b7280; text-decoration: none; }
.footer-static-pages a:hover { color: #6366f1; }
.loading { text-align: center; padding: 3rem; color: #6B7280; }

/* Responsive */
@media (max-width: 768px) {
  .hero-slider { height: 400px; }
  .slide-inner { padding: 36px 20px; }
  .slide-title { margin-bottom: 16px; }
  .slide-sub { margin-bottom: 22px; font-size: 15px; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow-prev { left: 10px; }
  .slider-arrow-next { right: 10px; }
  .slider-arrow svg { width: 20px; height: 20px; }
  .slider-dots { bottom: 16px; padding: 6px 12px; }
  .slide-1 .grid > div:last-child { display: none; }
  .wallet-widget { font-size: 0.7rem; padding: 0.25rem 0.45rem; }
  .wallet-widget .wallet-label { display: none; }
}

.google-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2937;
  transition: all 0.15s;
  margin: 0.75rem 0 0 0;
}
.google-oauth-btn:hover {
  border-color: #6366f1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  background: #f9fafb;
}
.google-oauth-btn svg { flex-shrink: 0; }

/* ============ KART TİPOGRAFİ (Faz 2) ============ */
.product-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Cover image varsa tam kaplasın, baş harf/badge üstüne binsin */
.product-card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Görsel başarıyla yüklendiğinde baş harfi gizle */
.product-card-image[data-has-cover="true"] .card-initial {
  display: none;
}

/* Görsel 404 olduğunda onerror data-has-cover=false yapar,
   gradient + baş harf otomatik görünür */

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: #181D23;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card-badge-coming-soon {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}

.card-product-name {
  color: white;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.card-category-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.25);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* ============ KART BAŞ HARF (Faz 3) ============ */
.card-initial {
  font-size: 88px;
  font-weight: 800;
  color: white;
  letter-spacing: -3px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1;
  z-index: 1;
}

/* ============ ADMIN UPLOAD UI ============ */
.image-upload-section {
  margin-bottom: 20px;
}

.image-preview {
  width: 100%;
  height: 100px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
}
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.no-image {
  font-size: 12px;
  color: #9ca3af;
}
.image-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239,68,68,0.9);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

/* ============================
   ZEKA İKSİRİ — Sınıf Seçim Modal
   ============================ */
.zi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 96, 243, 0.55), rgba(182, 84, 187, 0.55));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.zi-modal {
  width: 100%;
  max-width: 720px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: ziModalIn 0.25s ease-out;
}

@keyframes ziModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zi-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-family: inherit;
  line-height: 1;
}
.zi-modal-close:hover { background: rgba(0,0,0,0.12); }

/* Hero */
.zi-hero {
  background: linear-gradient(135deg, #2d1810 0%, #4a2818 50%, #1a4d2e 100%);
  padding: 32px 32px 28px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.zi-hero::before, .zi-hero::after {
  content: '\1F33F';
  position: absolute;
  font-size: 32px;
  opacity: 0.5;
}
.zi-hero::before { top: 14px; left: 18px; }
.zi-hero::after { bottom: 14px; right: 18px; transform: scaleX(-1); }

.zi-hero-badge {
  display: inline-block;
  background: rgba(0,0,0,0.4);
  border: 2px solid #ffd966;
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 14px;
}
.zi-hero-badge-sub {
  font-size: 9px;
  color: #ff8c1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
  font-weight: 700;
}
.zi-hero-badge-text {
  font-size: 14px;
  color: #ffd966;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.zi-hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  color: white;
}
.zi-hero-sub {
  font-size: 13px;
  color: rgba(255, 217, 102, 0.85);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Body */
.zi-body {
  padding: 28px 32px 24px;
}
.zi-step-eyebrow {
  text-align: center;
  margin-bottom: 14px;
}
.zi-pill {
  display: inline-block;
  background: #F9F4FB;
  color: #7C60F3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.zi-step-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #181D23;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}
.zi-step-sub {
  text-align: center;
  font-size: 12px;
  color: #6B7280;
  margin: 0 0 20px 0;
}

/* 3 Fiyat kademesi */
.zi-pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.zi-tier {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.zi-tier:hover {
  border-color: #7C60F3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 96, 243, 0.1);
}
.zi-tier.selected {
  border-color: #7C60F3;
  background: linear-gradient(135deg, #F9F4FB, #FCF3F8);
  box-shadow: 0 8px 24px rgba(124, 96, 243, 0.18);
}
.zi-tier.selected::after {
  content: '\2713';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #7C60F3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.zi-tier-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.zi-tier:nth-child(1) .zi-tier-label { color: #0FB98C; }
.zi-tier:nth-child(2) .zi-tier-label { color: #7C60F3; }
.zi-tier:nth-child(3) .zi-tier-label { color: #F78839; }
.zi-tier-title {
  font-size: 13px;
  font-weight: 800;
  color: #181D23;
  margin-bottom: 8px;
}
.zi-tier-price {
  font-size: 16px;
  font-weight: 800;
  color: #7C60F3;
  letter-spacing: -0.3px;
}
.zi-tier-price small {
  font-size: 10px;
  color: #6B7280;
  font-weight: 600;
  margin-left: 4px;
}

/* 12 sınıf butonu */
.zi-grade-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.zi-grade-btn {
  aspect-ratio: 1;
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #181D23;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
}
.zi-grade-btn small {
  font-size: 8px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.3px;
}
.zi-grade-btn:hover {
  border-color: #7C60F3;
  background: #F9F4FB;
  transform: translateY(-1px);
}
.zi-grade-btn.selected {
  background: linear-gradient(135deg, #7C60F3, #B654BB);
  border-color: transparent;
  color: white;
}
.zi-grade-btn.selected small { color: rgba(255,255,255,0.85); }
.zi-grade-btn.exam {
  background: linear-gradient(135deg, #FFF4E6 0%, #FFE8D1 100%);
  border-color: #F78839;
}
.zi-grade-btn.exam small {
  color: #F78839;
  font-weight: 700;
}
.zi-grade-btn.exam.selected {
  background: linear-gradient(135deg, #F78839, #F2762C);
  border-color: transparent;
  color: white;
}
.zi-grade-btn.exam.selected small { color: rgba(255,255,255,0.95); }

/* Ders preview */
.zi-lesson-preview {
  background: #F9F4FB;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 96, 243, 0.15);
}
.zi-lesson-title {
  font-size: 11px;
  font-weight: 700;
  color: #7C60F3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
.zi-lessons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.zi-lesson-card {
  background: white;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #E5E7EB;
}
.zi-lesson-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.zi-lesson-name {
  font-size: 10px;
  font-weight: 700;
  color: #181D23;
}
.zi-lesson-count {
  font-size: 8px;
  color: #6B7280;
  margin-top: 1px;
}
.zi-no-content {
  text-align: center;
  font-size: 12px;
  color: #6B7280;
  padding: 20px;
}

/* Footer */
.zi-footer {
  background: #F9F9FB;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E5E7EB;
  flex-wrap: wrap;
  gap: 12px;
}
.zi-footer-info {
  font-size: 12px;
  color: #181D23;
}
.zi-footer-info strong { color: #7C60F3; }
.zi-footer-actions {
  display: flex;
  gap: 8px;
}
.zi-btn {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.zi-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.zi-btn-secondary {
  background: white;
  color: #181D23;
  border: 1px solid #E5E7EB;
}
.zi-btn-secondary:hover:not(:disabled) {
  border-color: #7C60F3;
  color: #7C60F3;
}
.zi-btn-primary {
  background: linear-gradient(135deg, #7C60F3, #B654BB);
  color: white;
  box-shadow: 0 4px 12px rgba(124, 96, 243, 0.3);
}
.zi-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 96, 243, 0.4);
}

.zi-loading {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  padding: 20px;
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 640px) {
  .zi-modal { max-width: 100%; }
  .zi-hero { padding: 24px 20px; }
  .zi-body { padding: 20px; }
  .zi-pricing-tiers { grid-template-columns: 1fr; }
  .zi-grade-buttons { grid-template-columns: repeat(4, 1fr); }
  .zi-lessons-grid { grid-template-columns: repeat(2, 1fr); }
  .zi-footer { flex-direction: column; align-items: stretch; }
  .zi-footer-actions { width: 100%; }
  .zi-btn { flex: 1; }
}
