/* ═══════════════════════════════════════════════════════════════
   PRIZMA AJANS — Ortak Stil Dosyası
   Tüm sayfalarda kullanılan ana CSS
   Mor/Mavi neon teması, koyu arkaplan, Inter font
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #07070f;
  --bg2: #0d0d1a;
  --bg3: #12121f;
  --white: #f0f0f0;
  --dim: #888;
  --dim2: #555;
  --accent: #7c5cfc;
  --accent2: #00d4ff;
  --accent3: #a855f7;
  --gold: #f0b429;
  --green: #25D366;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(139,92,246,0.25);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-glow: 0 0 40px rgba(124,92,252,0.3);
  --shadow-card: 0 10px 40px rgba(0,0,0,0.4);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── CURSOR (sadece masaüstü) ── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
  opacity: 0.5;
}
@media (hover: none), (max-width: 768px) {
  .cursor, .cursor-ring { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Üst Menü
   Sol: Dönen PRİZMA Amblemi
   Orta: Logo + Menü Dropdown
   Sağ: Dil + WhatsApp
   ═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled {
  padding: 12px 40px;
  background: rgba(7,7,15,0.95);
}

/* Sol: PRİZMA Amblemi — Gerçek logo */
.nav-amblem {
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: amblem-rotate 12s linear infinite;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(124,92,252,0.4);
  background: radial-gradient(circle, rgba(124,92,252,0.15), transparent 70%);
}
.nav-amblem svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 8px rgba(124,92,252,0.6));
}
.nav-amblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
@keyframes amblem-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.nav-amblem:hover {
  animation-play-state: paused;
  box-shadow: 0 0 24px rgba(0,212,255,0.8);
}
/* Diş hekimi gibi alt sayfalarda dönmesin */
.nav-amblem[style*="animation: none"] {
  animation: none !important;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid rgba(139,92,246,0.3);
}

/* Orta: Menü Linkleri + Dropdown */
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-menu > li {
  position: relative;
}
.nav-menu a, .nav-menu .menu-trigger {
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a:hover, .nav-menu .menu-trigger:hover { color: var(--white); }
.nav-menu .menu-trigger::after {
  content: '▾';
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.6;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 0;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  list-style: none;
}
.nav-menu > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.nav-dropdown li a:hover {
  color: var(--white);
  background: rgba(124,92,252,0.1);
  padding-left: 26px;
}
.nav-dropdown.wide {
  min-width: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Sağ: CTA + Dil */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 1px;
}
.lang-toggle button {
  color: var(--dim);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-toggle button.active { color: var(--white); background: rgba(124,92,252,0.2); }
.lang-toggle button:hover { color: var(--white); }

/* Hamburger menü (mobil) */
.nav-burger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-burger span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .nav-menu, .nav-right .lang-toggle { display: none; }
  .nav-burger { display: flex; }
  nav { padding: 14px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTONLAR
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(124,92,252,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,92,252,0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--green);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-whatsapp:hover {
  background: #1eb850;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--accent2);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 0;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT — Bölümler ve Container
   ═══════════════════════════════════════════════════════════════ */
section {
  padding: 100px 40px;
  position: relative;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.section-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  section { padding: 60px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB — Alt sayfalar için
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb {
  padding: 100px 40px 0;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumb a {
  color: var(--accent2);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   4-FAYDA KART BLOĞU — Sektör sayfalarında zorunlu
   ⏱️ Zaman | 💰 Kar | ✅ Hatasız | 🧠 Net Kafa
   ═══════════════════════════════════════════════════════════════ */
.fayda-block {
  margin: 60px 0;
}
.fayda-block-title {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}
.fayda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.fayda-card {
  background: linear-gradient(135deg, rgba(124,92,252,0.08) 0%, rgba(0,212,255,0.04) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.fayda-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.fayda-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.fayda-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
  font-weight: 700;
}
.fayda-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

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

/* ═══════════════════════════════════════════════════════════════
   KARTLAR — Genel kullanım
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.card-desc {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANİMASYONU — Scroll'da görünür olunca animate
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,92,252,0.5); }
  50% { box-shadow: 0 0 0 16px rgba(124,92,252,0); }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 40px 30px;
  margin-top: 80px;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent2); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  font-size: 16px;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-social a.youtube:hover { background: #FF0000; border-color: #FF0000; }
.footer-social a.whatsapp:hover { background: var(--green); border-color: var(--green); }
.footer-social a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--dim);
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTON — Tüm sayfalarda sağ altta
   ═══════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.wa-float svg { width: 32px; height: 32px; fill: white; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ═══════════════════════════════════════════════════════════════
   CHATBOT — Sektör-aware AI Fiyat Asistanı
   ═══════════════════════════════════════════════════════════════ */
.chatbot-trigger {
  position: fixed;
  bottom: 30px;
  right: 100px;
  height: 56px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  box-shadow: 0 4px 24px rgba(124,92,252,0.55);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  outline: none;
}
.chatbot-trigger:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(124,92,252,0.7);
}
.chatbot-trigger svg { width: 22px; height: 22px; fill: white; }
/* Mobile chatbot-trigger düzenlemesi alt taraftaki MOBILE IMPROVEMENTS bloğunda yapılır */

/* Otomatik açılan baloncuk */
.chatbot-bubble {
  position: fixed;
  bottom: 105px;
  right: 100px;
  max-width: 320px;
  background: var(--bg2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 997;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s;
}
.chatbot-bubble.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.chatbot-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: var(--bg2);
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
}
.chatbot-bubble-close {
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--dim);
  font-size: 18px;
  cursor: pointer;
}
.chatbot-bubble-msg {
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
}
.chatbot-bubble-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

/* Tam chatbot penceresi — fiyat ekranı net görünsün diye geniş */
.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 420px;
  max-width: calc(100vw - 40px);
  height: 640px;
  max-height: calc(100vh - 140px);
  background: var(--bg2);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.chatbot-window.open { display: flex; }
.chatbot-header {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
}
.chatbot-header-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}
.chatbot-close {
  color: white;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.chatbot-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
.chatbot-msg {
  background: var(--bg3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chatbot-msg.user {
  background: rgba(124,92,252,0.2);
  border: 1px solid var(--accent);
  margin-left: 40px;
}
.chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.chatbot-option {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chatbot-option:hover {
  background: rgba(124,92,252,0.15);
  border-color: var(--accent);
}
.chatbot-option.selected {
  background: rgba(124,92,252,0.25);
  border-color: var(--accent);
}
.chatbot-option .check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--dim);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.chatbot-option.selected .check {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.chatbot-footer {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  background: var(--bg);
}
.chatbot-input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chatbot-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.chatbot-input:focus { border-color: var(--accent); }
.chatbot-send {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--accent);
  padding: 18px 30px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 1001;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  font-size: 13px;
  color: var(--dim);
  flex: 1;
  min-width: 280px;
}
.cookie-banner a { color: var(--accent2); }
.cookie-banner button {
  background: var(--accent);
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   HELPER CLASSES
   ═══════════════════════════════════════════════════════════════ */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* Loader (header/footer fetch sırasında) */
.header-loading, .footer-loading {
  min-height: 70px;
}

/* ═══════════════════════════════════════════════════════════════
   🌍 DİL-SPESİFİK BÖLÜMLER
   .show-en-only → Sadece EN dilindeyken görünür
   .show-tr-only → Sadece TR dilindeyken görünür
   Body class: .lang-en veya .lang-tr (include.js setLang ile yönetilir)
   ═══════════════════════════════════════════════════════════════ */
.show-en-only, .show-tr-only { display: none !important; }
body.lang-en .show-en-only { display: block !important; }
body.lang-tr .show-tr-only { display: block !important; }
/* Tablo satırları için doğru display türü */
body.lang-en tr.show-en-only { display: table-row !important; }
body.lang-tr tr.show-tr-only { display: table-row !important; }
/* Tablo hücreleri için */
body.lang-en td.show-en-only, body.lang-en th.show-en-only { display: table-cell !important; }
body.lang-tr td.show-tr-only, body.lang-tr th.show-tr-only { display: table-cell !important; }
/* Flex/inline elementler için */
body.lang-en .show-en-only.show-flex { display: flex !important; }
body.lang-tr .show-tr-only.show-flex { display: flex !important; }
body.lang-en .show-en-only.show-inline { display: inline !important; }
body.lang-tr .show-tr-only.show-inline { display: inline !important; }

/* ═══════════════════════════════════════════════════════════════
   📱 MODERN MOBILE IMPROVEMENTS — Sadece mobilde uygulanır
   Masaüstüne hiç dokunmuyor
   Not: .wa-float (WhatsApp FAB) zaten yukarıda tanımlı (satır 639)
   ═══════════════════════════════════════════════════════════════ */

/* GLOBAL — Tüm cihazlarda yatay scroll'u kökten engelle
   NOT: overflow-x: clip kullanıyorduk ama fixed positioned children (chatbot, menu)
   bazı tarayıcılarda kesiliyor → hidden daha güvenli */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}
*, *::before, *::after {
  box-sizing: border-box;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Mobile özelinde tüm ana bölümler ve section'lar viewport'u aşamaz */
@media (max-width: 900px) {
  main, section, header, footer, nav,
  .container, .pkt-hero, .h-hero, .about-hero, .list-hero, .i-hero,
  .hero-content, .hero-overlay {
    max-width: 100vw;
    overflow-x: hidden;
  }
  /* Hero orb mobilde scale (taşma riski) */
  .prizma-hero-orb {
    max-width: 80vw !important;
    max-height: 80vw !important;
  }
  /* Hero başlık taşmasını engelle */
  .hero-title, .h-h1, .section-title, h1, h2, h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  /* Header nav-tagline mobilde gizle (yer kaplıyor) */
  .nav-tagline { display: none !important; }
  /* Tüm card/section içerikler ekrana sığsın */
  .work-card, .testi-card, .feat-card, .pkg-card, .prob-card, .value-card,
  .hz-card, .info-box, .stat-box, .channel-card {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  /* "Teklif Al" header butonu mobilde gizle (yer dar) */
  nav .btn-outline { display: none !important; }
  /* Nav padding küçük ekranda azalt */
  nav { padding: 12px 14px !important; }
  .nav-logo { font-size: 18px !important; }
  /* Anasayfa hero-actions stack */
  .hero-actions { flex-direction: column; gap: 12px !important; }
  .hero-actions a { width: 100%; text-align: center; }
}

/* TABLET — 768px altı */
@media (max-width: 768px) {
  /* Tipografi iyileştirme (okunabilirlik) */
  body { font-size: 16px; line-height: 1.65; }

  /* Hamburger menü dokunulabilir alan büyüt */
  .nav-burger {
    width: 44px !important;
    height: 44px !important;
    padding: 10px 6px;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
  }
  .nav-burger span { height: 2px; }

  /* Chatbot header close butonu dokunulabilir alan büyüt */
  .chatbot-close {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    font-weight: 700 !important;
  }
  .chatbot-close:hover { background: rgba(255,255,255,0.25) !important; }

  /* Footer gap optimize */
  .footer-grid { gap: 28px !important; }

  /* CTA butonları dokunulabilir min boyut */
  .btn-primary, .btn-outline {
    min-height: 48px;
    padding: 14px 22px;
    font-size: 14px;
  }

  /* Yatay scroll engelle */
  html, body { overflow-x: hidden; }

  /* Genel grid'leri 1 sütuna düşür (yatay scroll önleme) */
  .services-grid,
  .process-steps,
  .pkg-grid,
  .compare-grid,
  .values-grid,
  .feat-grid,
  .h-hero-grid,
  .sektor-hero-grid,
  .founder-grid,
  .stats-row,
  .info-grid,
  .channels,
  .hz-grid,
  .prob-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Tier kartlarda featured scale efektini kaldır */
  .pkg-card.featured { transform: none !important; }
}

/* MOBİL — 600px altı */
@media (max-width: 600px) {
  /* Hero başlıkları küçült */
  .hero-title { font-size: clamp(36px, 9vw, 52px) !important; }
  .h-h1, .about-hero h1, .pkt-hero h1, .list-hero h1, .i-hero h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
  }

  /* Hero padding küçült */
  .h-hero, .about-hero, .pkt-hero, .list-hero, .i-hero {
    padding: 120px 4vw 40px !important;
  }

  /* Section paddings azalt */
  section { padding-left: 4vw; padding-right: 4vw; }

  /* paketler.html — STACKED CARD (tablo yerine kart) */
  .fiyat-table { display: block; border: none; }
  .fiyat-table thead { display: none; }
  .fiyat-table tbody { display: block; }
  .fiyat-table tr {
    display: block;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 18px;
    margin-bottom: 14px;
  }
  .fiyat-table td {
    display: block;
    padding: 8px 0 !important;
    border: none !important;
    font-size: 14px !important;
  }
  .fiyat-table td:first-child {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #fff !important;
    border-bottom: 1px solid var(--border) !important;
    padding-bottom: 12px !important;
    margin-bottom: 8px !important;
  }
  .fiyat-table td:nth-child(2)::before {
    content: "🅰️ Tam Sahiplik: ";
    display: inline;
    color: var(--accent2);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .fiyat-table td:nth-child(3)::before {
    content: "🅱️ PRİZMA Hizmeti: ";
    display: inline;
    color: var(--accent2);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .fiyat-table td[colspan="2"]::before { content: none; }

  /* index.html — Garanti şeridi mobilde 2x2 grid */
  section[style*="border-top:1px solid var(--border)"][style*="border-bottom:1px solid var(--border)"] > div {
    gap: 14px !important;
    justify-content: flex-start !important;
  }
  section[style*="border-top:1px solid var(--border)"][style*="border-bottom:1px solid var(--border)"] > div > div {
    flex: 1 1 calc(50% - 7px);
    font-size: 12px !important;
  }

  /* Hero görsel kutusu (h-visual) mobile padding küçült */
  .h-visual { padding: 22px !important; }
  .h-stat-item { padding: 12px 14px !important; }
  .h-stat-item .num { font-size: 19px !important; }

  /* Tier kart içleri sıkışmasın */
  .pkg-card { padding: 24px 20px !important; }
  .pkg-price { font-size: 24px !important; }

  /* Feature/Problem grid kartları */
  .feat-card, .prob-card, .value-card { padding: 22px 20px !important; }

  /* SSS item padding küçült */
  .sss-item .q { padding: 16px 18px !important; font-size: 14px !important; }
  .sss-item .a { padding: 0 18px !important; font-size: 13px !important; }
}

/* KÜÇÜK MOBİL — 480px altı */
@media (max-width: 480px) {
  /* Chatbot trigger SOL ALT (WhatsApp FAB sağ alt) — çakışmasın */
  .chatbot-trigger {
    right: auto !important;
    left: 20px !important;
    bottom: 30px !important;
    width: 56px;
    padding: 0;
    border-radius: 50% !important;
  }
  .chatbot-trigger span { display: none !important; }

  /* WhatsApp FAB sağ alt — mevcut .wa-float */
  .wa-float { right: 20px !important; bottom: 30px !important; width: 56px; height: 56px; }
  .wa-float svg { width: 28px; height: 28px; }

  /* Chatbot window TAM EKRAN mobilde — viewport units kullan */
  .chatbot-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important; /* iOS Safari dinamik viewport */
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: none !important;
    z-index: 10000 !important;
  }
  /* .open class'ında flex korunsun */
  .chatbot-window.open {
    display: flex !important;
    flex-direction: column !important;
  }
  /* Header — safe area + dokunulabilir */
  .chatbot-header {
    padding: 18px 20px !important;
    padding-top: max(18px, env(safe-area-inset-top, 18px)) !important;
    flex-shrink: 0;
  }
  /* Body — flex:1 ile kalan alanı kapla */
  .chatbot-body {
    flex: 1 1 auto !important;
    padding: 18px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    min-height: 0; /* flex shrink için kritik */
  }
  /* Footer (input alanı) görünür kalsın */
  .chatbot-footer {
    flex-shrink: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
  }

  /* Hero CTA butonları full-width */
  .h-cta { flex-direction: column; }
  .h-cta .btn-primary, .h-cta .btn-outline { width: 100%; }

  /* Hizmetler/paketler hero altı CTA butonları full-width */
  section .btn-primary, section .btn-outline {
    max-width: 100%;
  }

  /* Section paddings minimize */
  section { padding-top: 40px; padding-bottom: 40px; }
  .container { padding-left: 0; padding-right: 0; }

  /* Footer içerikler */
  .footer-grid { gap: 22px !important; }
  .footer-col h4 { font-size: 14px; }
  .footer-col li a { font-size: 13px; }
}
