/* ═══════════════════════════════════════════════════════════════════════
   MOBILE HEADER UNIFIED CSS (2026-04-18)
   Tum HTML sayfalarda mobil header gorunumu tutarli olsun diye header-common.js ile inject edilir.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── #mobile-menu default hidden (mobile-pro.css yuklenmeyen sayfalarda da gizli kalsin) ─── */
#mobile-menu, .mobile-pro-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 9999 !important;
  background: #0f172a;
  transform: translateX(100%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  display: none;
}
#mobile-menu-overlay, .mobile-pro-overlay {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998 !important;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  display: none;
}

@media (max-width: 768px) {
  #mobile-menu, .mobile-pro-menu { display: block; top: 0 !important; z-index: 100000 !important; }
  #mobile-menu.active, .mobile-pro-menu.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  #mobile-menu-overlay.active, .mobile-pro-overlay.active {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; display: block !important;
  }
  #mobile-menu-overlay.hidden, .mobile-pro-overlay.hidden { display: none !important; }

  /* Menu acikken ust header'i gizle (mobil-menu full-screen cover yapsin, iceriginde zaten X var) */
  body:has(#mobile-menu.active) > header.header,
  body:has(#mobile-menu.active) > nav,
  body:has(#mobile-menu.active) body > header.header,
  body:has(#mobile-menu.active) body > nav { z-index: 99999 !important; }
  /* Menu icindeki nav/header/butonlar TIKLANABILIR kalmali — sadece body'nin direct child'i olan ust header'i deaktif et */
  body:has(#mobile-menu.active) > header.header *,
  body:has(#mobile-menu.active) > nav > * { pointer-events: none; }
  /* Hamburger: menu acikken de tiklanabilir kalmali (hem X hem burger ile kapatilabilsin) */
  body:has(#mobile-menu.active) > nav .hamburger { pointer-events: auto !important; cursor: pointer !important; }
  /* Menu icindeki nav ve butonlar tikilanabilir */
  #mobile-menu *, .mobile-pro-menu *,
  #mobile-menu-overlay { pointer-events: auto !important; }
}

/* Mobile-menu icindeki nav, generic `nav { position: fixed }` rule'unu kapsamasin */
#mobile-menu nav,
.mobile-pro-menu nav {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important;
  z-index: auto !important;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Generic v1-design.css `nav { position: fixed; top: 0 }` kurali sadece body'nin DIRECT CHILD
   nav'ina uygulanmali — ic nav'lar (ToC, .section-card, aside nav, footer nav, component nav)
   bu kural disinda olmali. Legal.html'de ToC nav section-card olarak ustte sabitlenip header'i kapatiyordu. */
body * nav,
nav.section-card,
nav[aria-label="Navigation"]:not(.nav-top):not([data-top-nav]),
nav.toc,
main nav, section nav, article nav, aside nav, footer nav, .container nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
/* Fakat header icindeki hamburger/lang butonlarinin arkasindaki nav-inner etkilenmesin */
body > nav, body > header nav {
  /* Ust nav normal kalsin — generic v1-design.css kurali devam etsin */
}

html:not(.dark) #mobile-menu, html:not(.dark) .mobile-pro-menu,
html.light #mobile-menu, html.light .mobile-pro-menu,
[data-theme="light"] #mobile-menu, [data-theme="light"] .mobile-pro-menu {
  background: #ffffff !important;
}
html:not(.dark) #mobile-menu .mm-link,
html.light #mobile-menu .mm-link,
[data-theme="light"] #mobile-menu .mm-link {
  color: #0F172A !important;
}

/* ─── HEADER CONTAINER UNIFIED (milimetric identical — index.html matches all pages) ─── */
@media (max-width: 768px) {
  /* Ust nav/header: index.html gibi 70.8px yuksek, ayni bg, ayni border */
  html body > nav,
  html body > header.header,
  html body > header#main-header {
    height: 70.8px !important;
    min-height: 70.8px !important;
    background: rgba(10, 11, 20, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 100 !important;
    width: auto !important;
    outline: none !important;
  }
  /* Light tema icin header bg */
  html[data-theme="light"] body > nav,
  html[data-theme="light"] body > header.header {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(15,23,42,0.08) !important;
  }

  /* Header-inner / nav-inner container — ayni padding */
  html body > nav > .nav-inner,
  html body > header.header > .header-inner,
  html body > header > .header-inner {
    max-width: 1240px !important;
    padding: 19px 24px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 70.8px !important;
  }

  /* Logo — SADECE top header/nav icindeki logo'lara uygulanir (sidebar vs etkilenmez) */
  html body > nav a.logo,
  html body > nav a.header-logo,
  html body > nav .nav-inner > a.logo,
  html body > nav .nav-inner > a.header-logo,
  html body > header.header a.logo,
  html body > header.header a.header-logo,
  html body > header.header .header-inner > a.logo,
  html body > header.header .header-inner > a.header-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 32px !important;
    min-width: 133px !important;
  }
  /* Logo img boyut */
  html body > nav a.logo img.av-logo-img,
  html body > nav a.header-logo img.av-logo-img,
  html body > header.header a.logo img.av-logo-img,
  html body > header.header a.header-logo img.av-logo-img {
    height: 28px !important;
    width: auto !important;
  }
  /* Dark/light theme swap for top header logos only */
  html.dark body > nav a.header-logo img.av-logo-light,
  html.dark body > header.header a.header-logo img.av-logo-light,
  [data-theme="dark"] body > nav a.header-logo img.av-logo-light,
  [data-theme="dark"] body > header.header a.header-logo img.av-logo-light { display: none !important; }
  html.dark body > nav a.header-logo img.av-logo-dark,
  html.dark body > header.header a.header-logo img.av-logo-dark,
  [data-theme="dark"] body > nav a.header-logo img.av-logo-dark,
  [data-theme="dark"] body > header.header a.header-logo img.av-logo-dark { display: block !important; }
  html.light body > nav a.header-logo img.av-logo-dark,
  html.light body > header.header a.header-logo img.av-logo-dark,
  [data-theme="light"] body > nav a.header-logo img.av-logo-dark,
  [data-theme="light"] body > header.header a.header-logo img.av-logo-dark { display: none !important; }
  html.light body > nav a.header-logo img.av-logo-light,
  html.light body > header.header a.header-logo img.av-logo-light,
  [data-theme="light"] body > nav a.header-logo img.av-logo-light,
  [data-theme="light"] body > header.header a.header-logo img.av-logo-light { display: block !important; }
}

/* ─── MOBILE HEADER BUTTONS UNIFIED (logo, tema, dil, hamburger) ─── */
@media (max-width: 768px) {
  /* Mobilde sadece 4 eleman: logo + tema + dil + hamburger
     guest-actions (Log In / Get Started) ve user-actions (profil dropdown) gizlensin */
  body #guest-actions,
  body #user-actions,
  body #mobile-guest-actions,
  body .nav-right > #guest-actions,
  body .nav-right > #user-actions,
  body .header-actions > #guest-actions,
  body .header-actions > #user-actions,
  body .profile-dropdown-wrapper { display: none !important; }

  /* Nav-right compact layout */
  body nav .nav-right,
  body header.header .header-actions { gap: 8px !important; align-items: center !important; }

  /* Ortak buton stili — tema, hamburger, dil butonu (yuksek specificity — algovesta-v2.css override eder) */
  html body #av-theme-btn,
  html body .header-actions > button[onclick*="toggleTheme"],
  html body .header-actions > button[onclick*="avToggleTheme"],
  html body .header-actions > button.btn-ghost[aria-label*="Theme" i],
  html body .header-actions > button.btn-ghost[data-i18n-aria*="Theme" i],
  html body .header-actions > button.btn-ghost[aria-label*="theme" i],
  html body .nav-right > button[onclick*="toggleTheme"],
  html body nav .hamburger,
  html body .hamburger,
  html body .lang-selector-btn {
    height: 38px !important; min-height: 38px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    color: #f1f5f9 !important;
    transition: background 0.2s, border-color 0.2s !important;
    cursor: pointer !important;
  }

  html body #av-theme-btn,
  html body .header-actions > button[onclick*="toggleTheme"],
  html body .header-actions > button[onclick*="avToggleTheme"],
  html body .header-actions > button.btn-ghost[aria-label*="Theme" i],
  html body .nav-right > button[onclick*="toggleTheme"],
  html body nav .hamburger,
  html body .hamburger {
    position: static !important;
    width: 38px !important; min-width: 38px !important;
    padding: 0 !important; margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  html body .header-actions > button[onclick*="toggleTheme"] svg,
  html body .header-actions > button.btn-ghost[aria-label*="Theme" i] svg,
  html body .nav-right > button[onclick*="toggleTheme"] svg { width: 18px !important; height: 18px !important; }

  /* Logo boyut standartize (img tabanli) + pf-sidebar icerikli sayfalarda da gorunsun */
  body .header-logo,
  body a.header-logo,
  body:has(#pf-sidebar) header a.header-logo,
  body:has(#pf-sidebar) .header-inner a.header-logo { display: flex !important; }

  /* Duplicate logo'lari gizle — pf-sidebar sayfalarinin ozel mobil logosu, dashboard mobil headers vb. (specificity yuksek) */
  html body:has(#pf-sidebar) .pf-mob-logo,
  html body .pf-mob-logo,
  html body .pf-sidebar-logo,
  html body .mobile-pro-logo,
  html body .mobile-header-logo,
  html body .dash-mob-logo,
  html body .dash-mob-hdr { display: none !important; }
  /* Logo img boyut standartize (index zaten kendi theme-swap'ini yapiyor, sadece boyut) */
  body .header-logo img.av-logo-img { height: 28px !important; width: auto !important; }
  /* .header-logo img'leri icin sadece theme-appropriate olani goster (index .logo kendi kurallari ile zaten yapiyor, sadece .header-logo'ya gerek) */
  html.dark body .header-logo img.av-logo-light,
  [data-theme="dark"] body .header-logo img.av-logo-light { display: none !important; }
  html.dark body .header-logo img.av-logo-dark,
  [data-theme="dark"] body .header-logo img.av-logo-dark { display: block !important; }
  html.light body .header-logo img.av-logo-dark,
  [data-theme="light"] body .header-logo img.av-logo-dark { display: none !important; }
  html.light body .header-logo img.av-logo-light,
  [data-theme="light"] body .header-logo img.av-logo-light { display: block !important; }

  html body #av-theme-btn:hover,
  html body .header-actions > button[onclick*="toggleTheme"]:hover,
  html body .header-actions > button.btn-ghost[aria-label*="Theme" i]:hover,
  html body nav .hamburger:hover,
  html body .hamburger:hover,
  html body .lang-selector-btn:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.22) !important;
  }
  html body #av-theme-btn svg { width: 18px !important; height: 18px !important; }

  body nav .hamburger, body .hamburger { flex-direction: column !important; gap: 4px !important; }
  body nav .hamburger span, body .hamburger span {
    background: #f1f5f9 !important; width: 18px !important; height: 2px !important;
    border-radius: 2px !important; opacity: 1 !important; display: block !important;
  }

  html[data-theme="light"] body #av-theme-btn,
  html[data-theme="light"] body .header-actions > button[onclick*="toggleTheme"],
  html[data-theme="light"] body .header-actions > button.btn-ghost[aria-label*="Theme" i],
  html[data-theme="light"] body nav .hamburger,
  html[data-theme="light"] body .hamburger,
  html[data-theme="light"] body .lang-selector-btn {
    background: rgba(15,23,42,0.04) !important;
    border-color: rgba(15,23,42,0.12) !important;
    color: #0F172A !important;
  }
  html[data-theme="light"] body .hamburger span { background: #0F172A !important; }

  /* Dil secici */
  body nav .nav-right > .lang-selector,
  body header .header-actions > .lang-selector { display: flex !important; position: relative !important; }
  body .lang-selector-btn {
    min-width: 62px !important;
    padding: 0 10px !important; gap: 5px !important;
    display: flex !important; align-items: center !important;
    font-size: 12px !important; font-weight: 600 !important;
  }
  body .lang-selector-btn .globe-icon { width: 14px !important; height: 14px !important; flex-shrink: 0; }
  body .lang-selector-btn .chevron-icon { width: 11px !important; height: 11px !important; flex-shrink: 0; }

  /* Dil dropdown opak + blur */
  body .lang-selector-menu {
    right: 0 !important; left: auto !important;
    top: calc(100% + 8px) !important;
    min-width: 170px !important; max-height: 340px !important;
    overflow-y: auto !important;
    background: rgba(15,23,25,0.98) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 6px !important;
    z-index: 10002 !important;
  }
  [data-theme="light"] body .lang-selector-menu {
    background: rgba(255,255,255,0.98) !important;
    border-color: rgba(15,23,42,0.08) !important;
    box-shadow: 0 12px 40px rgba(15,23,42,0.15) !important;
  }
  body .lang-selector-menu-inner { display: flex !important; flex-direction: column !important; gap: 2px !important; padding: 0 !important; }
  body .lang-selector-menu a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    color: #f1f5f9 !important;
    font-size: 14px !important; font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.15s !important;
  }
  body .lang-selector-menu a:hover,
  body .lang-selector-menu a:active { background: rgba(255,255,255,0.08) !important; }
  [data-theme="light"] body .lang-selector-menu a { color: #0F172A !important; }
  [data-theme="light"] body .lang-selector-menu a:hover { background: rgba(15,23,42,0.05) !important; }
}

/* ═══ LIGHT THEME TOKEN REDEFINITION (tum sayfalarda) ═══ */
[data-theme="light"], html[data-theme="light"], html.light:not(.dark) {
  --bg: #FAFAFA;
  --bg-2: #F1F5F9;
  --card: #FFFFFF;
  --card-2: #F8FAFC;
  --primary: #4F46E5;
  --primary-2: #7C3AED;
  --cyan: #0891B2;
  --pink: #DB2777;
  --text: #0F172A;
  --dim: #475569;
  --border: rgba(15,23,42,0.08);
  --border-2: rgba(15,23,42,0.14);
}

/* Light'ta inline color:#fff / white -> siyaha */
[data-theme="light"] [style*="color:#fff"],
[data-theme="light"] [style*="color: #fff"],
[data-theme="light"] [style*="color:#FFF"],
[data-theme="light"] [style*="color: #FFF"],
[data-theme="light"] [style*="color:white"],
[data-theme="light"] [style*="color: white"] {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}

/* Light'ta inline dark card bg -> beyaz */
[data-theme="light"] [style*="background:var(--card)"],
[data-theme="light"] [style*="background: var(--card)"],
[data-theme="light"] [style*="background-color:var(--card)"],
[data-theme="light"] [style*="background-color: var(--card)"] {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(15,23,42,0.06) !important;
}

/* Light'ta gradient text */
[data-theme="light"] .grad-text,
[data-theme="light"] [class*="grad-text"] {
  background: linear-gradient(90deg, #4F46E5, #0891B2, #DB2777, #4F46E5) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Light'ta numara/kicker ve dim metinler */
[data-theme="light"] [style*="color:var(--cyan)"],
[data-theme="light"] [style*="color: var(--cyan)"] { color: #0E7490 !important; -webkit-text-fill-color: #0E7490 !important; }
[data-theme="light"] [style*="color:var(--primary)"],
[data-theme="light"] [style*="color: var(--primary)"] { color: #4F46E5 !important; -webkit-text-fill-color: #4F46E5 !important; }
[data-theme="light"] [style*="color:var(--dim)"],
[data-theme="light"] [style*="color: var(--dim)"] { color: #475569 !important; -webkit-text-fill-color: #475569 !important; }
[data-theme="light"] [style*="color:#E0E0F0"],
[data-theme="light"] [style*="color: #E0E0F0"],
[data-theme="light"] [style*="color:#e0e0f0"] { color: #0F172A !important; -webkit-text-fill-color: #0F172A !important; }

/* Light'ta class-based hardcoded whites (index.html ve diger HTML sayfalarda) */
[data-theme="light"] .sec-title,
[data-theme="light"] .feat-text h3,
[data-theme="light"] .sec-card h4,
[data-theme="light"] .price h3,
[data-theme="light"] .price .amt,
[data-theme="light"] .testim blockquote,
[data-theme="light"] .testim-name,
[data-theme="light"] .agent-card .nm,
[data-theme="light"] .foot-col h5,
[data-theme="light"] .faq-question,
[data-theme="light"] .fc-title,
[data-theme="light"] .fc-row span:last-child,
[data-theme="light"] .testim-role,
[data-theme="light"] .sec-desc,
[data-theme="light"] .feat-text p { color: #0F172A !important; }

[data-theme="light"] .btn-outline {
  background: transparent !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}
[data-theme="light"] .btn-outline:hover { background: #F1F5F9 !important; border-color: #94A3B8 !important; color: #0F172A !important; }

[data-theme="light"] .price .amt {
  background: none !important;
  -webkit-text-fill-color: #0F172A !important;
  color: #0F172A !important;
}

[data-theme="light"] .price.featured,
[data-theme="light"] .price[class*="featured"] {
  border: 2px solid #4F46E5 !important;
  background: #FFFFFF !important;
  box-shadow: 0 20px 40px rgba(79,70,229,0.15) !important;
}

[data-theme="light"] .nav-links a,
[data-theme="light"] .nav-dropdown-trigger { color: #334155 !important; }
[data-theme="light"] .nav-links a:hover { color: #0F172A !important; }
[data-theme="light"] nav { background: rgba(255,255,255,0.92) !important; border-bottom: 1px solid #E2E8F0 !important; }
[data-theme="light"] .btn-ghost:hover { color: #0F172A !important; background: #F1F5F9 !important; }
[data-theme="light"] .agent-card .role { color: #64748B !important; }
[data-theme="light"] .marq-item { color: #475569 !important; }
[data-theme="light"] .marq-item:hover { color: #0F172A !important; }
[data-theme="light"] .nav-dropdown-menu a:hover { color: #0F172A !important; }
[data-theme="light"] .foot-col a { color: #475569 !important; }
[data-theme="light"] .foot-col a:hover { color: #0F172A !important; }
[data-theme="light"] [class*="badge"] { color: #4F46E5 !important; }

[data-theme="light"] .cta-banner { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important; }
[data-theme="light"] .cta-banner h2,
[data-theme="light"] .cta-banner p { color: #FFFFFF !important; }
[data-theme="light"] .cta-banner .btn-white { background: #FFFFFF !important; color: #4F46E5 !important; }

[data-theme="light"] .feed-r,
[data-theme="light"] .feed-r * { color: #334155 !important; }
[data-theme="light"] .feed-r [style*="color:#22c55e"],
[data-theme="light"] .feed-r [style*="color: #22c55e"] { color: #15803D !important; }
[data-theme="light"] .feed-r [style*="color:#ef4444"],
[data-theme="light"] .feed-r [style*="color: #ef4444"] { color: #B91C1C !important; }

[data-theme="light"] .faq-answer-inner,
[data-theme="light"] .faq-answer { color: #475569 !important; }
[data-theme="light"] .faq-icon::before,
[data-theme="light"] .faq-icon::after { background: #475569 !important; }

[data-theme="light"] .price ul li,
[data-theme="light"] .price li,
[data-theme="light"] [class*="price"] li,
[data-theme="light"] [class*="plan"] li { color: #334155 !important; }
[data-theme="light"] .price ul li::before,
[data-theme="light"] .price li::before { color: #4F46E5 !important; }

[data-theme="light"] .blob { opacity: 0.25 !important; filter: blur(140px) !important; }
[data-theme="light"] .preloader { background: #FFFFFF !important; }
[data-theme="light"] .pre-logo { color: #0F172A !important; }

[data-theme="light"] [style*="border-bottom:1px solid var(--border)"],
[data-theme="light"] [style*="border-right:1px solid var(--border)"] { border-color: #E2E8F0 !important; }

[data-theme="light"] .terminal-window,
[data-theme="light"] [class*="terminal"],
[data-theme="light"] [class*="code-block"] { background: #0F172A !important; color: #E2E8F0 !important; }
[data-theme="light"] .terminal-window *:not(.t-tag.buy):not(.t-tag.sell),
[data-theme="light"] [class*="terminal"] * { color: #E2E8F0 !important; -webkit-text-fill-color: #E2E8F0 !important; }

/* ═══ MOBILE GRID FIX — inline 2-col grids single column ═══ */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"] > div[style*="border-right"],
  [style*="grid-template-columns: 1fr 1fr"] > div[style*="border-right"] {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .feed-r { grid-template-columns: 60px 40px 70px 50px 1fr !important; font-size: 0.65rem !important; gap: 4px !important; padding: 8px 10px !important; }
  .container { padding: 0 16px !important; }
  .hero { padding: 100px 16px 60px !important; }
  .hero h1, .hero-inner h1 { font-size: clamp(28px, 8vw, 42px) !important; }
  .hero p.sub { font-size: 15px !important; }
  .faq-section { padding: 40px 0 !important; }
  .faq-question { font-size: 15px !important; padding: 18px 4px !important; }
  .faq-answer-inner { font-size: 14px !important; line-height: 1.6 !important; padding: 0 4px 18px !important; }
  section h2 { font-size: clamp(26px, 7vw, 38px) !important; line-height: 1.2 !important; }
  .blob { max-width: 80vw !important; max-height: 80vw !important; }
  body { overflow-x: hidden; }
}

/* Preloader her zaman tema butonundan uste */
.preloader { z-index: 100000 !important; }

/* ───────────────────────────────────────────────────────────────────────
   GUEST ACTIONS — Cift Outline Gradient Border (auth-test.html #02)
   v2026-04-20 — Giris Yap + Kayit Ol butonlari, tum sayfalarda ayni
─────────────────────────────────────────────────────────────────────── */
html body #guest-actions {
  gap: 8px !important;
  align-items: center !important;
}
/* Login — ghost outline */
html body #guest-actions > a.btn-ghost,
html body #guest-actions > a:not(.btn-grad) {
  padding: 9px 16px !important;
  height: 38px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(255,255,255,0.14) !important;
  background: transparent !important;
  color: #E0E0F0 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s, border-color .2s, color .2s, transform .2s !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
html body #guest-actions > a.btn-ghost:hover,
html body #guest-actions > a:not(.btn-grad):hover {
  border-color: #635BFF !important;
  color: #80E9FF !important;
  background: rgba(99,91,255,0.08) !important;
  transform: translateY(-1px) !important;
}
/* Signup — gradient border (padding-box + border-box trick) */
html body #guest-actions > a.btn-grad {
  padding: 9px 18px !important;
  height: 38px !important;
  border-radius: 10px !important;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(#0F0F15, #0F0F15) padding-box,
    linear-gradient(135deg, #635BFF, #80E9FF) border-box !important;
  color: #80E9FF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: transform .2s, box-shadow .2s, color .2s !important;
  box-shadow: 0 4px 14px rgba(99,91,255,0.22) !important;
  white-space: nowrap !important;
}
html body #guest-actions > a.btn-grad:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99,91,255,0.35) !important;
  color: #FFFFFF !important;
  background:
    linear-gradient(135deg, rgba(99,91,255,0.18), rgba(128,233,255,0.12)) padding-box,
    linear-gradient(135deg, #635BFF, #80E9FF) border-box !important;
}
/* Arrow span inside signup */
html body #guest-actions > a.btn-grad .arrow {
  margin-left: 2px !important;
  font-size: 14px !important;
  transition: transform .2s !important;
}
html body #guest-actions > a.btn-grad:hover .arrow {
  transform: translateX(3px) !important;
}

/* Light theme overrides */
html[data-theme="light"] body #guest-actions > a.btn-ghost,
html[data-theme="light"] body #guest-actions > a:not(.btn-grad),
html.light body #guest-actions > a.btn-ghost,
html.light body #guest-actions > a:not(.btn-grad) {
  border-color: rgba(15,23,42,0.15) !important;
  color: #0F172A !important;
  background: transparent !important;
}
html[data-theme="light"] body #guest-actions > a.btn-ghost:hover,
html[data-theme="light"] body #guest-actions > a:not(.btn-grad):hover,
html.light body #guest-actions > a.btn-ghost:hover,
html.light body #guest-actions > a:not(.btn-grad):hover {
  border-color: #635BFF !important;
  color: #635BFF !important;
  background: rgba(99,91,255,0.06) !important;
}
html[data-theme="light"] body #guest-actions > a.btn-grad,
html.light body #guest-actions > a.btn-grad {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(135deg, #635BFF, #4FACFE) border-box !important;
  color: #635BFF !important;
  box-shadow: 0 4px 14px rgba(99,91,255,0.18) !important;
}
html[data-theme="light"] body #guest-actions > a.btn-grad:hover,
html.light body #guest-actions > a.btn-grad:hover {
  background:
    linear-gradient(135deg, rgba(99,91,255,0.08), rgba(79,172,254,0.06)) padding-box,
    linear-gradient(135deg, #635BFF, #4FACFE) border-box !important;
  color: #4F46E5 !important;
  box-shadow: 0 6px 20px rgba(99,91,255,0.25) !important;
}

/* ───────────────────────────────────────────────────────────────────────
   INLINE NAV THEME BUTTON (desktop + mobile) — dil seciçinin solunda
   v2026-04-19 — #av-theme-btn nav-right içinde, fixed kaldirildi
   v2026-04-20 — dashboard dahil tum sayfalarda ayni ikon (generic selector)
─────────────────────────────────────────────────────────────────────── */
html body #av-theme-btn.nav-theme-btn,
html body button#av-theme-btn,
html body button.nav-theme-btn,
html body nav .nav-right > #av-theme-btn,
html body nav .nav-right > button.nav-theme-btn {
  position: static !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
  color: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
}
html body #av-theme-btn.nav-theme-btn:hover,
html body button#av-theme-btn:hover,
html body button.nav-theme-btn:hover,
html body nav .nav-right > #av-theme-btn:hover,
html body nav .nav-right > button.nav-theme-btn:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.28) !important;
  transform: translateY(-1px) !important;
}
html body #av-theme-btn.nav-theme-btn svg,
html body button#av-theme-btn svg,
html body button.nav-theme-btn svg,
html body nav .nav-right > #av-theme-btn svg,
html body nav .nav-right > button.nav-theme-btn svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}
html body #av-theme-btn.nav-theme-btn .sun,
html body button#av-theme-btn .sun,
html body button.nav-theme-btn .sun,
html body nav .nav-right > #av-theme-btn .sun,
html body nav .nav-right > button.nav-theme-btn .sun { display: none !important; }
html body #av-theme-btn.nav-theme-btn .moon,
html body button#av-theme-btn .moon,
html body button.nav-theme-btn .moon,
html body nav .nav-right > #av-theme-btn .moon,
html body nav .nav-right > button.nav-theme-btn .moon { display: block !important; }
html[data-theme="light"] body #av-theme-btn.nav-theme-btn,
html[data-theme="light"] body button#av-theme-btn,
html[data-theme="light"] body button.nav-theme-btn,
html[data-theme="light"] body nav .nav-right > #av-theme-btn,
html[data-theme="light"] body nav .nav-right > button.nav-theme-btn,
html.light body button#av-theme-btn,
html.light body button.nav-theme-btn,
html.light body nav .nav-right > #av-theme-btn,
html.light body nav .nav-right > button.nav-theme-btn {
  background: rgba(15,23,42,0.04) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06) !important;
}
html[data-theme="light"] body button#av-theme-btn:hover,
html[data-theme="light"] body button.nav-theme-btn:hover,
html[data-theme="light"] body nav .nav-right > #av-theme-btn:hover,
html[data-theme="light"] body nav .nav-right > button.nav-theme-btn:hover {
  background: rgba(15,23,42,0.08) !important;
  border-color: rgba(15,23,42,0.2) !important;
}
html[data-theme="light"] body nav .nav-right > #av-theme-btn .moon,
html[data-theme="light"] body nav .nav-right > button.nav-theme-btn .moon { display: none !important; }
html[data-theme="light"] body nav .nav-right > #av-theme-btn .sun,
html[data-theme="light"] body nav .nav-right > button.nav-theme-btn .sun { display: block !important; }

/* ───────────────────────────────────────────────────────────────────────
   LANG SELECTOR — Sade Kod (#04 test page) — sadece dil kodu kare glass
   v2026-04-19 — globe + chevron gizle, 38x38 kare, tema/profile ile uyumlu
─────────────────────────────────────────────────────────────────────── */
html body .lang-selector > .lang-selector-btn,
html body nav .nav-right > .lang-selector > .lang-selector-btn.lang-code-only,
html body nav .nav-right > .lang-selector > .lang-selector-btn{
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
  color: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  transition: background .2s, border-color .2s, transform .2s !important;
}
html body .lang-selector > .lang-selector-btn:hover,
html body nav .nav-right > .lang-selector > .lang-selector-btn:hover{
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.28) !important;
  transform: translateY(-1px) !important;
}
/* globe + chevron'u gizle — sadece kod kalsin */
html body .lang-selector > .lang-selector-btn > svg.globe-icon,
html body .lang-selector > .lang-selector-btn > svg.chevron-icon,
html body nav .nav-right > .lang-selector > .lang-selector-btn > svg.globe-icon,
html body nav .nav-right > .lang-selector > .lang-selector-btn > svg.chevron-icon{
  display: none !important;
}
html body .lang-selector > .lang-selector-btn > .lang-code,
html body nav .nav-right > .lang-selector > .lang-selector-btn > .lang-code{
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
/* Lang dropdown menusu — butonun TAM ALTINDA ortalansin (yamuk acilmasin) */
html body nav .nav-right > .lang-selector{
  position: relative !important;
}
html body nav .nav-right > .lang-selector > .lang-selector-menu{
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  top: calc(100% + 6px) !important;
  padding-top: 0 !important;
  min-width: 0 !important;
  width: 136px !important;
}
/* Menu gizlenmeli: data-closed attribute'u eklendiginde (click sonrasi) */
html body nav .nav-right > .lang-selector[data-closed]:hover > .lang-selector-menu,
html body nav .nav-right > .lang-selector[data-closed] > .lang-selector-menu,
html body nav .nav-right > .lang-selector.lang-closing:hover > .lang-selector-menu,
html body nav .nav-right > .lang-selector > .lang-selector-menu.hidden{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html body nav .nav-right > .lang-selector > .lang-selector-menu > .lang-selector-menu-inner{
  min-width: 0 !important;
  width: 136px !important;
  padding: 5px !important;
  border-radius: 10px !important;
}
/* Her dil satiri — net hover, kompakt padding */
html body nav .nav-right > .lang-selector .lang-selector-menu-inner a{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 7px 10px !important;
  border-radius: 7px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #E0E0F0 !important;
  text-decoration: none !important;
  transition: background .15s, color .15s, transform .1s !important;
  cursor: pointer !important;
}
html body nav .nav-right > .lang-selector .lang-selector-menu-inner a:hover{
  background: linear-gradient(135deg,rgba(99,91,255,0.22),rgba(128,233,255,0.12)) !important;
  color: #80E9FF !important;
  transform: translateX(2px) !important;
}
html body nav .nav-right > .lang-selector .lang-selector-menu-inner a.active{
  background: rgba(99,91,255,0.18) !important;
  color: #80E9FF !important;
}
/* Light theme — hover daha belirgin (mor vurgu) */
html[data-theme="light"] body nav .nav-right > .lang-selector .lang-selector-menu-inner a,
html.light body nav .nav-right > .lang-selector .lang-selector-menu-inner a{
  color: #0F172A !important;
}
html[data-theme="light"] body nav .nav-right > .lang-selector .lang-selector-menu-inner a:hover,
html.light body nav .nav-right > .lang-selector .lang-selector-menu-inner a:hover{
  background: linear-gradient(135deg,rgba(99,91,255,0.12),rgba(99,91,255,0.05)) !important;
  color: #635BFF !important;
}
html[data-theme="light"] body nav .nav-right > .lang-selector .lang-selector-menu-inner a.active,
html.light body nav .nav-right > .lang-selector .lang-selector-menu-inner a.active{
  background: rgba(99,91,255,0.1) !important;
  color: #635BFF !important;
}
/* Light theme */
html[data-theme="light"] body .lang-selector > .lang-selector-btn,
html.light body .lang-selector > .lang-selector-btn,
html[data-theme="light"] body nav .nav-right > .lang-selector > .lang-selector-btn,
html.light body nav .nav-right > .lang-selector > .lang-selector-btn{
  background: rgba(15,23,42,0.04) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06) !important;
}
html[data-theme="light"] body .lang-selector > .lang-selector-btn:hover,
html.light body .lang-selector > .lang-selector-btn:hover,
html[data-theme="light"] body nav .nav-right > .lang-selector > .lang-selector-btn:hover,
html.light body nav .nav-right > .lang-selector > .lang-selector-btn:hover{
  background: rgba(15,23,42,0.08) !important;
  border-color: rgba(15,23,42,0.22) !important;
}

/* Profile SVG stroke kalinligi — acik temada daha belirgin gozuksun */
html body #profile-dropdown-btn .profile-svg,
html body nav .nav-right > #user-actions > #profile-dropdown-btn .profile-svg{
  stroke-width: 2.2 !important;
}
html[data-theme="light"] body #profile-dropdown-btn .profile-svg,
html.light body #profile-dropdown-btn .profile-svg,
html[data-theme="light"] body nav .nav-right > #user-actions > #profile-dropdown-btn .profile-svg,
html.light body nav .nav-right > #user-actions > #profile-dropdown-btn .profile-svg{
  stroke: #0F172A !important;
  stroke-width: 2.2 !important;
}

/* Profile button — .profile-glass (10px kare), tema butonu ile ayni stil — her yerde */
html body #profile-dropdown-btn.profile-glass{
  width: 38px !important; height: 38px !important; min-width: 38px !important;
  padding: 0 !important; margin: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
  color: #f1f5f9 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; overflow: hidden !important;
  transition: background .2s, border-color .2s, transform .2s !important;
}
html body #profile-dropdown-btn.profile-glass:hover{
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.28) !important;
  transform: translateY(-1px) !important;
}
html body #profile-dropdown-btn.profile-glass .profile-svg{
  width: 18px !important; height: 18px !important; display: block !important;
}
html body #profile-dropdown-btn.profile-glass #user-avatar,
html body #profile-dropdown-btn.profile-glass > span#user-avatar{
  display: none !important;
}
html[data-theme="light"] body #profile-dropdown-btn.profile-glass,
html.light body #profile-dropdown-btn.profile-glass{
  background: rgba(15,23,42,0.04) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06) !important;
}
html[data-theme="light"] body #profile-dropdown-btn.profile-glass:hover,
html.light body #profile-dropdown-btn.profile-glass:hover{
  background: rgba(15,23,42,0.08) !important;
  border-color: rgba(15,23,42,0.22) !important;
}

/* ───────────────────────────────────────────────────────────────────────
   PROFILE ICON-ONLY — kullanici adi + chevron gizle, sadece avatar
─────────────────────────────────────────────────────────────────────── */
html body #profile-dropdown-btn.profile-icon-only,
html body .profile-dropdown-wrapper > #profile-dropdown-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
}
html body #profile-dropdown-btn.profile-icon-only:hover,
html body .profile-dropdown-wrapper > #profile-dropdown-btn:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.28) !important;
  transform: translateY(-1px) !important;
}
html body #profile-dropdown-btn #user-avatar,
html body #profile-dropdown-btn .user-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #635BFF 0%, #80E9FF 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(99,91,255,0.3) !important;
}
html body #profile-dropdown-btn #user-display-name,
html body #profile-dropdown-btn > span:not(#user-avatar),
html body #profile-dropdown-btn > svg {
  display: none !important;
}
html[data-theme="light"] body #profile-dropdown-btn,
html.light body #profile-dropdown-btn {
  background: rgba(15,23,42,0.04) !important;
  border-color: rgba(15,23,42,0.12) !important;
}
html[data-theme="light"] body #profile-dropdown-btn:hover,
html.light body #profile-dropdown-btn:hover {
  background: rgba(15,23,42,0.08) !important;
  border-color: rgba(15,23,42,0.22) !important;
}

