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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f4f6f9;
  color: #1c2236;
  line-height: 1.75;
  min-height: 100vh;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  background: #0f1b35;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2a5298, #4a7fd4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-top {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 2px;
}

.logo-bottom {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: #7a9cc8;
  letter-spacing: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #a0b4cc;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  transition: color 0.2s;
  font-family: 'Syne', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-cta {
  background: #2a5298;
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #1e3f7a;
}

/* Lang Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #a0b4cc;
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn .flag {
  font-size: 1rem;
  line-height: 1;
}

.flag-img {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.lang-btn.active {
  background: #2a5298;
  color: #fff;
}

.lang-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
  background: #e8edf5;
  border-bottom: 1px solid #d4dce8;
  padding: 11px 0;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #8a9ab0;
}

.breadcrumb .sep { color: #b0bccf; }
.breadcrumb .current { color: #2a5298; font-weight: 500; }

/* =====================
   MAIN SECTION
   ===================== */
.main-section {
  padding: 72px 0 96px;
  background: #f4f6f9;
  position: relative;
  overflow: hidden;
}

.main-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(42,82,152,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

/* --- SOL TARAF --- */
.tag-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #2a5298;
  background: rgba(42,82,152,0.08);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(42,82,152,0.18);
}

.tag-line-bar {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(42,82,152,0.25), transparent);
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #0f1b35;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.subtitle-question {
  font-size: 0.95rem;
  color: #2a5298;
  font-weight: 500;
  margin-bottom: 4px;
}

.subtitle-answer {
  font-size: 1.2rem;
  color: #0f1b35;
  font-weight: 600;
  margin-bottom: 24px;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, #2a5298, #4a7fd4);
  border-radius: 2px;
  margin-bottom: 28px;
}

.body-text {
  font-size: 0.95rem;
  color: #4a5a72;
  margin-bottom: 16px;
  line-height: 1.85;
}

.body-text em {
  color: #2a5298;
  font-style: normal;
  font-weight: 500;
}

.body-text strong {
  color: #0f1b35;
  font-weight: 600;
}

/* İstatistikler */
.stats-row {
  display: flex;
  align-items: center;
  margin: 36px 0 28px;
  background: #fff;
  border: 1px solid #d4dce8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42,82,152,0.07);
}

.stat-item {
  flex: 1;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #2a5298;
  line-height: 1;
}

.stat-num sup {
  font-size: 0.95rem;
  vertical-align: super;
}

.stat-desc {
  font-size: 0.76rem;
  color: #8a9ab0;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: #d4dce8;
}

/* Mekanizma listesi */
.mechanism-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.mechanism-list li {
  font-size: 0.93rem;
  color: #4a5a72;
  line-height: 1.75;
  padding-left: 16px;
  border-left: 3px solid #2a5298;
  background: #fff;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px 10px 16px;
}

.mechanism-list li strong {
  color: #0f1b35;
  font-weight: 600;
}
.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2a5298;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(42,82,152,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}

.detail-link:hover {
  border-color: #2a5298;
  gap: 14px;
}

/* --- SAĞ TARAF --- */
.content-right {
  position: relative;
}

.visual-card {
  background: #fff;
  border: 1px solid #d4dce8;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(42,82,152,0.1);
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #2a5298, #4a7fd4, #1d3461);
}

.visual-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #fff;
  background: #2a5298;
  padding: 5px 13px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Ürün görseli */
.product-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #e8edf5;
}

.product-img-wrap:last-of-type {
  margin-bottom: 24px;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-img:hover {
  transform: scale(1.03);
}

/* Info liste */
.visual-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.visual-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #4a5a72;
}

.vi-dot {
  width: 7px;
  height: 7px;
  background: #2a5298;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Dekoratif köşe etiketi */
.deco-tag {
  position: absolute;
  bottom: -14px;
  right: 20px;
  background: linear-gradient(135deg, #2a5298, #4a7fd4);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(42,82,152,0.35);
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-section {
  background: #0f1b35;
  padding: 60px 0 48px;
}

.how-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
  text-align: center;
}

.how-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #fff;
}

.how-section .tag {
  color: #7ab0f0;
  background: rgba(74,127,212,0.12);
  border-color: rgba(74,127,212,0.25);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-card {
  background: #1a2d50;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.how-card:hover {
  border-color: rgba(74,127,212,0.45);
  transform: translateY(-4px);
}

.how-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(74,127,212,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.how-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.how-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #e0e8f5;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.88rem;
  color: #6a82a2;
  line-height: 1.7;
}

/* SVG renkleri how-card için */
.how-card svg circle,
.how-card svg path {
  stroke: #4a7fd4;
}
.how-card svg circle[fill="#c8a96e"] {
  fill: #4a7fd4;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #0a1428;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .logo-top { color: #7ab0f0; }
.footer .logo-bottom { color: #4a6080; }
.footer .logo-svg circle { stroke: #4a7fd4; }
.footer .logo-svg rect { fill: #4a7fd4; }

.footer-left p {
  font-size: 0.82rem;
  color: #3a5070;
  margin-top: 8px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #3a5070;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content-right {
    max-width: 500px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }

  .stats-row {
    flex-direction: column;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =====================================================
   MOBİL RESPONSIVE — TAM KAPSAMLI
   ===================================================== */

/* ─── HAMBURGER MENU ─────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.aktif span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.aktif span:nth-child(2) { opacity: 0; }
.hamburger.aktif span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBİL NAV DRAWER ───────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f1b35;
  z-index: 999;
  flex-direction: column;
  padding: 24px 20px;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.acik { display: flex; }

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: #a0b4cc;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(42,82,152,0.2); color: #fff; }

.mobile-nav .mobile-cta {
  margin-top: 16px;
  background: #2a5298;
  color: #fff !important;
  text-align: center;
  border-radius: 10px;
  font-size: 1rem;
  border-bottom: none !important;
}

.mobile-lang {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding: 0 16px;
}

.mobile-lang button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #a0b4cc;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-lang button.active { background: #2a5298; color: #fff; border-color: #2a5298; }

/* ─── TABLET (max 960px) ─────────────────────────── */
@media (max-width: 960px) {
  .container { padding: 0 20px; }

  /* Navbar */
  .nav-links  { display: none !important; }
  .lang-switcher { display: none !important; }
  .nav-cta    { display: none !important; }
  .hamburger  { display: flex; }

  /* Main grid */
  .main-grid  { grid-template-columns: 1fr; gap: 32px; }
  .main-section { padding: 48px 0 64px; }
  .content-right { max-width: 100%; }

  /* How grid */
  .how-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  /* Stats */
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 30%; }
}

/* ─── MOBİL (max 640px) ──────────────────────────── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Logo küçült */
  .logo-img { height: 48px !important; }
  .nav-inner { height: 62px; }

  /* How grid tek kolon */
  .how-grid { grid-template-columns: 1fr; }

  /* Stats dikey */
  .stats-row { flex-direction: column; }
  .stat-divider { width: 90%; height: 1px; margin: 0 auto; }
  .stat-item { padding: 16px; }

  /* Page hero */
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 0.85rem; }

  /* How section */
  .how-section { padding: 48px 0 36px; }
  .how-header { margin-bottom: 32px; }
  .how-card { padding: 24px 20px; }

  /* Main section */
  .main-section { padding: 36px 0 48px; }
  .page-title { font-size: 1.8rem; }

  /* Visual card */
  .visual-card { padding: 20px 16px; }
  .deco-tag { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-left p { font-size: 0.75rem; }
  .footer-copy { font-size: 0.72rem; }

  /* WA balonu */
  .wa-bubble { width: 50px; height: 50px; bottom: 20px; right: 16px; }
  .wa-bubble svg { width: 50px; height: 50px; }
}

/* ─── KÜÇÜK MOBİL (max 400px) ────────────────────── */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .logo-img { height: 40px !important; }
  .page-title { font-size: 1.5rem; }
  .stat-num { font-size: 1.6rem; }
}

/* =====================================================
   TOUCH & MOBİL OPTİMİZASYON EKLEMELERİ
   ===================================================== */

/* Dokunma alanlarını büyüt */
@media (max-width: 768px) {
  a, button { min-height: 44px; min-width: 44px; }
  .nav-cta, .btn-primary-blue, .btn-outline-blue,
  .btn-white-cta, .btn-wp, .btn-submit,
  .save-btn, .tbtn { min-height: 44px; }

  /* Formlar mobilde daha kolay kullanılsın */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* iOS zoom engelle */
    padding: 12px 14px;
  }

  /* Tablo yatay kaydırma */
  .table-wrap, .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Kartlar arası boşluk */
  .how-card    { padding: 20px 16px; }
  .scard       { padding: 16px; }
  .review-card { padding: 16px 14px; }

  /* Büyük başlıklar */
  .page-title  { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .hero-left h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}

/* iOS safe area desteği (notch) */
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar {
    padding-top: env(safe-area-inset-top);
  }
  .mobile-nav {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .wa-bubble {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
  }
}

/* Smooth scroll mobilde */
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Resimler taşmasın */
img { max-width: 100%; height: auto; }

/* Nav overlay — mobil menü açıkken sayfa kararsın */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.menu-overlay.acik { display: block; }
