/* =============================================
   Selenga.ai — Ana Stil Dosyası
   assets/css/main.css
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --cream:    #faf7f2;
  --cream2:   #f3ede3;
  --ink:      #1a1510;
  --ink2:     #3d3328;
  --muted:    #7a6e5f;
  --gold:     #c9924c;
  --gold2:    #e8b87a;
  --teal:     #2d7d72;
  --teal2:    #4aada0;
  --rose:     #c9524c;
  --purple:   #6b52a8;
  --navy:     #1a2744;
  --navy2:    #2d4a7a;
  --border:   #e4ddd2;
  --shadow:   0 2px 16px rgba(26,21,16,.08);
  --shadow-md:0 4px 24px rgba(26,21,16,.12);
  --radius:   10px;
  --radius-lg:14px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal2); }
img { max-width: 100%; height: auto; }

/* =============================================
   ICO — CSS Tabanlı İkon Sistemi (emoji yok)
   ============================================= */
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: middle;
  flex-shrink: 0;
}

/* SVG mask ikonları — inline data URI */
.ico-tale     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z'/%3E%3C/svg%3E"); }
.ico-history  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3a9 9 0 0 0-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.954 8.954 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3a9 9 0 0 0-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.954 8.954 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E"); }
.ico-science  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2h1v5L5 13v7h14v-7l-3-4V4h1V2H7zm5 14a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2h1v5L5 13v7h14v-7l-3-4V4h1V2H7zm5 14a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E"); }
.ico-space    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z'/%3E%3C/svg%3E"); }
.ico-dino     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z'/%3E%3C/svg%3E"); }
.ico-activity { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 1 0 0 10A5 5 0 0 0 12 2zM2 21a10 10 0 0 1 20 0H2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 1 0 0 10A5 5 0 0 0 12 2zM2 21a10 10 0 0 1 20 0H2z'/%3E%3C/svg%3E"); }
.ico-book     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E"); }
.ico-ai       { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 10.975V8a2 2 0 0 0-2-2h-6V4a2 2 0 1 0-2 0v2H5a2 2 0 0 0-2 2v2.975A3.5 3.5 0 0 0 5.5 17.5c.362 0 .711-.054 1.04-.154L8 20h8l1.46-2.654c.329.1.678.154 1.04.154a3.5 3.5 0 0 0 2.5-5.525zM9 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 10.975V8a2 2 0 0 0-2-2h-6V4a2 2 0 1 0-2 0v2H5a2 2 0 0 0-2 2v2.975A3.5 3.5 0 0 0 5.5 17.5c.362 0 .711-.054 1.04-.154L8 20h8l1.46-2.654c.329.1.678.154 1.04.154a3.5 3.5 0 0 0 2.5-5.525zM9 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E"); }
.ico-search   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E"); }
.ico-arrow-r  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E"); }
.ico-send     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E"); }
.ico-check    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); }

/* =============================================
   BUTONLAR
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary       { background: var(--teal);  color: #fff; }
.btn-primary:hover { background: var(--teal2); color: #fff; }
.btn-gold          { background: var(--gold);  color: #fff; }
.btn-gold:hover    { background: #b8813c;      color: #fff; }
.btn-ghost         { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover   { border-color: var(--teal); color: var(--teal); }
.btn-premium       { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--ink); font-weight: 600; }
.btn-lg            { padding: 13px 28px; font-size: 16px; }
.btn-sm            { padding: 6px 14px; font-size: 13px; }
.btn-full          { width: 100%; justify-content: center; }

/* =============================================
   HEADER & NAV
   ============================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-icon { color: var(--gold); font-size: 18px; }
.logo-dot  { color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  color: var(--ink2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}
.nav-links a:hover { background: var(--cream2); color: var(--teal); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.user-name { font-size: 14px; color: var(--muted); }
.nav-mobile-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  gap: 4px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 10px 4px; color: var(--ink2); font-size: 15px; border-bottom: 1px solid var(--cream2); }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: block; margin-left: auto; }
}

/* =============================================
   CONTAINER & SECTION TEMEL
   ============================================= */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Eski bölümler için uyumluluk */
.section { padding: 64px 0; }
.section-title { font-family: var(--font-head); font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.section-subtitle { color: var(--muted); margin-bottom: 36px; }

/* =============================================
   KART GRID — Genel (content.php vb.)
   ============================================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--cream2);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.card-body { padding: 20px; }
.card-emoji { font-size: 36px; margin-bottom: 12px; display: block; }
.card-title { font-family: var(--font-head); font-size: 18px; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.card-excerpt { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.card-link { font-size: 14px; font-weight: 500; color: var(--teal); }
.card-link:hover { color: var(--teal2); }

/* =============================================
   HERO — ANA SAYFA
   ============================================= */
.hp-hero {
  background: linear-gradient(135deg, #0f1e3d 0%, #1a2e5a 45%, #12382f 100%);
  color: #fff;
  padding: 48px 0 52px;
  position: relative;
  overflow: hidden;
}
.hp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45,122,114,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,146,76,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 18px;
  opacity: .9;
}
.hp-label-dot {
  width: 6px; height: 6px;
  background: var(--gold2);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
.hp-hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}
.hp-hero-text h1 em { font-style: italic; color: var(--gold2); }
.hp-hero-text p {
  font-size: 16px;
  opacity: .8;
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.65;
}
.hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hp-stat strong { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.hp-stat span   { font-size: 12px; opacity: .6; }
.hp-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,.15); }

/* Arama Paneli */
.hp-search-panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.hp-search-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.hp-search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 0 4px 0 14px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.hp-search-box:focus-within { border-color: var(--gold2); }
.hp-search-ico { color: rgba(255,255,255,.4); font-size: 16px; margin-right: 8px; flex-shrink: 0; }
.hp-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 11px 0;
  outline: none;
  font-family: var(--font-body);
  min-width: 0;
}
.hp-search-box input::placeholder { color: rgba(255,255,255,.35); }
.hp-search-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.hp-search-btn:hover { background: #b8813c; }

/* Hızlı Konu Butonları */
.hp-quick-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid transparent;
}
.hp-topic .ico { width: 14px; height: 14px; }
.hp-topic-tale     { background: rgba(139,92,246,.15); color: #c4b5fd; border-color: rgba(139,92,246,.25); }
.hp-topic-tale:hover { background: rgba(139,92,246,.28); color: #c4b5fd; }
.hp-topic-history  { background: rgba(201,146,76,.15); color: #fcd58a; border-color: rgba(201,146,76,.25); }
.hp-topic-history:hover { background: rgba(201,146,76,.28); color: #fcd58a; }
.hp-topic-science  { background: rgba(45,122,114,.2); color: #6ee7df; border-color: rgba(45,122,114,.3); }
.hp-topic-science:hover { background: rgba(45,122,114,.35); color: #6ee7df; }
.hp-topic-space    { background: rgba(99,102,241,.15); color: #a5b4fc; border-color: rgba(99,102,241,.25); }
.hp-topic-space:hover { background: rgba(99,102,241,.28); color: #a5b4fc; }
.hp-topic-dino     { background: rgba(16,185,129,.12); color: #6ee7b7; border-color: rgba(16,185,129,.22); }
.hp-topic-dino:hover { background: rgba(16,185,129,.25); color: #6ee7b7; }
.hp-topic-activity { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.2); }
.hp-topic-activity:hover { background: rgba(239,68,68,.22); color: #fca5a5; }

/* =============================================
   ANA SAYFA SECTION'LAR
   ============================================= */
.hp-section { padding: 56px 0; }
.hp-section-cream  { background: var(--cream); }
.hp-section-white  { background: #fff; }
.hp-section-tale   { background: linear-gradient(135deg, #1a1240 0%, #2d1e6b 100%); }
.hp-section-ai     { background: linear-gradient(135deg, #0f1e3d 0%, #1a3d35 100%); }

.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-section-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 4px;
}
.hp-title-light { color: #fff; }
.hp-section-sub  { color: var(--muted); font-size: 14px; }
.hp-sub-light    { color: rgba(255,255,255,.6); }
.hp-see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  text-decoration: none;
  transition: gap .2s;
}
.hp-see-all:hover { gap: 8px; color: var(--teal2); }
.hp-see-all .ico  { width: 14px; height: 14px; }
.hp-see-all-light { color: var(--gold2); }
.hp-see-all-light:hover { color: #fff; }

/* =============================================
   KART GRID — ANA SAYFA
   ============================================= */
.hp-card-grid { display: grid; gap: 20px; }
.hp-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hp-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.hp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;
  display: flex;
  flex-direction: column;
}
.hp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.hp-card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.hp-card-dark:hover { background: rgba(255,255,255,.1); }

.hp-card-science { border-top: 3px solid var(--teal); }

.hp-card-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,146,76,.08);
}

/* Kart ikon alanı — renk kodları */
.hp-card-icon-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.hp-card-icon-wrap .ico { width: 28px; height: 28px; }

.hp-card-icon-masallar { background: linear-gradient(135deg, #3b1a8a, #6b3ed6); color: #c4b5fd; }
.hp-card-icon-tarih    { background: linear-gradient(135deg, #78340f, #b45309); color: #fcd58a; }
.hp-card-icon-bilim    { background: linear-gradient(135deg, #065f46, #0f766e); color: #6ee7df; }
.hp-card-icon-uzay     { background: linear-gradient(135deg, #1e1b4b, #4338ca); color: #a5b4fc; }
.hp-card-icon-default  { background: var(--cream2); color: var(--muted); }

.hp-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.hp-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.hp-cat-light { color: rgba(255,255,255,.5); }
.hp-card-title {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.hp-title-dark { color: #fff; }
.hp-card-excerpt { color: var(--muted); font-size: 13px; margin-bottom: 16px; line-height: 1.55; flex: 1; }
.hp-excerpt-dim { color: rgba(255,255,255,.45); }
.hp-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
  margin-top: auto;
}
.hp-card-link:hover { gap: 8px; color: var(--teal2); }
.hp-link-gold { color: var(--gold2); }
.hp-link-gold:hover { color: #fff; }

/* =============================================
   LİSTE GRID — Tarih
   ============================================= */
.hp-list-grid { display: flex; flex-direction: column; gap: 4px; }
.hp-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all .2s;
}
.hp-list-item:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateX(4px); }
.hp-list-num {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--border);
  flex-shrink: 0;
  min-width: 36px;
}
.hp-list-item:hover .hp-list-num { color: var(--teal2); }
.hp-list-body { flex: 1; min-width: 0; }
.hp-list-body h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.hp-list-body p  { font-size: 13px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-list-arrow { width: 18px; height: 18px; color: var(--border); flex-shrink: 0; transition: color .2s; }
.hp-list-item:hover .hp-list-arrow { color: var(--teal); }

/* =============================================
   AI WIDGET BÖLÜMÜ — ANA SAYFA
   ============================================= */
.hp-ai-wrap {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
}
.hp-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,146,76,.15);
  border: 1px solid rgba(201,146,76,.3);
  color: var(--gold2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hp-ai-badge .ico { width: 14px; height: 14px; }
.hp-ai-left h2 {
  font-family: var(--font-head);
  font-size: 34px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.hp-ai-left p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 24px; line-height: 1.7; }
.hp-ai-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.hp-ai-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.hp-ai-features .ico { width: 16px; height: 16px; color: var(--teal2); flex-shrink: 0; }

/* AI Widget kutusu */
.hp-ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hp-ai-avatar {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-ai-avatar .ico { width: 20px; height: 20px; color: #fff; }
.hp-ai-name   { font-weight: 600; color: #fff; font-size: 15px; }
.hp-ai-status { font-size: 12px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 5px; }
.hp-ai-online {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}

/* AI chat box — mevcut .ai-widget sınıflarını kullanıyoruz */
.ai-widget {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.ai-chat-box {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px;
  min-height: 140px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
  scroll-behavior: smooth;
}
.ai-msg-user { text-align: right; margin-bottom: 10px; }
.ai-msg-user span {
  background: rgba(255,255,255,.15);
  border-radius: 8px 8px 2px 8px;
  padding: 8px 14px;
  display: inline-block;
  max-width: 82%;
  font-size: 14px;
  color: #fff;
}
.ai-msg-bot { margin-bottom: 10px; }
.ai-msg-bot span {
  background: rgba(201,146,76,.15);
  border: 1px solid rgba(201,146,76,.25);
  border-radius: 8px 8px 8px 2px;
  padding: 8px 14px;
  display: inline-block;
  max-width: 90%;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}
.ai-input-row { display: flex; gap: 8px; }
.ai-input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.ai-input::placeholder { color: rgba(255,255,255,.3); }
.ai-input:focus { border-color: var(--gold2); }
.ai-send-btn { padding: 10px 14px !important; flex-shrink: 0; }
.ai-send-btn .ico { width: 16px; height: 16px; }
.ai-limit-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; opacity: .55; color: #fff; }
.ai-limit-dots { display: flex; gap: 5px; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .3s; }
.ai-dot.used { background: var(--gold2); }
.ai-typing { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); opacity: .4; animation: blink 1s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.4} 40%{opacity:1} }

/* =============================================
   NASIL ÇALIŞIR — ADIMLAR
   ============================================= */
.hp-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  position: relative;
}
.hp-step-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.hp-step-icon {
  width: 52px; height: 52px;
  background: var(--cream2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--teal);
}
.hp-step-icon .ico { width: 24px; height: 24px; }
.hp-step h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hp-step p  { font-size: 13px; color: var(--muted); line-height: 1.55; }
.hp-step-arrow { color: var(--border); align-self: center; }
.hp-step-arrow .ico { width: 20px; height: 20px; }

/* =============================================
   CTA — ANA SAYFA
   ============================================= */
.hp-cta {
  background: linear-gradient(135deg, #0f1e3d 0%, #1a2e5a 100%);
  padding: 56px 0;
}
.hp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hp-cta-text h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}
.hp-cta-text p { color: rgba(255,255,255,.65); font-size: 15px; }
.hp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   İÇERİK SAYFASI
   ============================================= */
.content-page { max-width: 780px; margin: 40px auto; padding: 0 24px; }
.content-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.content-body { font-size: 17px; line-height: 1.85; color: var(--ink2); }
.content-body p { margin-bottom: 16px; }
.content-body h2 { font-family: var(--font-head); font-size: 24px; margin: 32px 0 12px; }
.content-body h3 { font-size: 18px; margin: 24px 0 8px; font-weight: 600; }
.content-body strong { color: var(--ink); }

/* =============================================
   AUTH FORMLARI
   ============================================= */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow); }
.auth-box h1 { font-family: var(--font-head); font-size: 26px; margin-bottom: 6px; }
.auth-box p.sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink2); }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: var(--font-body); color: var(--ink); background: #fff; transition: border-color .2s; outline: none; }
.form-control:focus { border-color: var(--teal); }
.form-error { color: var(--rose); font-size: 13px; margin-top: 5px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error   { background: #fdf2f2; border: 1px solid #fcd5d5; color: var(--rose); }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* =============================================
   PREMİUM SAYFA
   ============================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.pricing-card.featured { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,76,.15); }
.pricing-price { font-size: 38px; font-weight: 700; color: var(--ink); margin: 16px 0 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-features { text-align: left; margin: 20px 0; }
.pricing-features li { padding: 6px 0; font-size: 14px; color: var(--ink2); list-style: none; }
.pricing-features li::before { content: '\2713  '; color: var(--teal); font-weight: 600; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 6px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.footer-brand .logo-text { font-family: var(--font-head); font-size: 22px; color: #fff; }
.footer-brand .logo-dot  { color: var(--gold2); }
.footer-brand p          { margin-top: 8px; font-size: 14px; opacity: .6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links strong { display: block; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.footer-links a:hover { color: var(--gold2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 20px; font-size: 13px; opacity: .45; }

/* =============================================
   ADMİN
   ============================================= */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--ink); padding: 24px 16px; color: rgba(255,255,255,.8); }
.admin-sidebar .logo { color: #fff; margin-bottom: 32px; display: block; }
.admin-sidebar a { display: block; padding: 9px 14px; border-radius: 6px; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 3px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-content { padding: 32px; background: var(--cream); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.admin-table th { background: var(--cream2); padding: 12px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.admin-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.admin-table tr:hover td { background: var(--cream); }
.badge-pub   { background: #d1fae5; color: #065f46; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.badge-draft { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

/* =============================================
   MOBİL UYUMLULUK
   ============================================= */
@media (max-width: 900px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hp-hero { padding: 36px 0 40px; }
  .hp-hero-text h1 { font-size: clamp(26px, 5vw, 36px); }
  .hp-hero-text p { font-size: 15px; }
  .hp-ai-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hp-steps { flex-direction: column; align-items: stretch; }
  .hp-step-arrow { transform: rotate(90deg); align-self: center; }
  .hp-step { max-width: none; }
  .hp-cta-inner { flex-direction: column; text-align: center; }
  .hp-cta-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .card-grid   { grid-template-columns: 1fr; }
  .hp-grid-4   { grid-template-columns: 1fr 1fr; }
  .hp-section  { padding: 40px 0; }
  .hp-section-head { flex-direction: column; align-items: flex-start; }
  .hp-search-btn { padding: 8px 12px; font-size: 12px; }
  .hp-cta-text h2 { font-size: 22px; }
}
@media (max-width: 400px) {
  .hp-grid-4 { grid-template-columns: 1fr; }
  .hp-quick-topics { gap: 6px; }
  .hp-topic { font-size: 12px; padding: 6px 11px; }
}
