/* CASHGUARDTR THEME v2003 (clean + mobile polished) */

:root{
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --text:#0F172A;
  --muted:#64748B;
  --border:#E2E8F0;
  --shadow:0 12px 40px rgba(15,23,42,.08);

  --primary:#2563EB;
  --primary-soft:#DBEAFE;
  --success:#10B981;
  --accent:#0EA5E9;

  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: Inter, Arial, sans-serif;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 0% 10%, #E0F2FE 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #DBEAFE 0%, transparent 60%),
    var(--bg);
}

/* Orta alan panel */
.container{
  max-width:980px;
  margin:28px auto;
  padding:28px 18px 96px 18px; /* ✅ sticky CTA için alt boşluk */
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card{
  background: var(--card);
  border-radius:var(--radius);
  padding:22px;
  border:1px solid var(--border);
  box-shadow:0 8px 30px rgba(15,23,42,.06);
}

/* kart içi akış boşlukları */
.card > *{ margin-top:22px; }
.card > *:first-child{ margin-top:0; }

h1,h2,h3{margin:0 0 10px 0; color: var(--text);}
p{margin:0 0 10px 0; color:var(--muted)}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:700px){.grid{grid-template-columns:1fr}}

.field label{display:block;font-weight:700;margin-bottom:6px;color:var(--text)}

input,select,textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(15,23,42,.03);
  color: var(--text);
  font-size:16px;
  line-height:1.2;
}
input::placeholder{ color: rgba(15,23,42,.45); }

.actions{margin-top:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}

.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:14px;
  background: linear-gradient(90deg, var(--primary), #1D4ED8);
  color:#fff;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-weight:800;
  box-shadow:0 10px 22px rgba(37,99,235,.25);
  transition:.2s;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow:0 14px 26px rgba(37,99,235,.30);
}
.btn.secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
}
.btn.secondary:hover{ background: rgba(15,23,42,.03); }

.badge{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  font-weight:900;
  color: var(--text);
}
.GREEN{ background: rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.28); }
.YELLOW{ background: rgba(250,204,21,.14); border:1px solid rgba(250,204,21,.30); }
.RED{ background: rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.28); }

.list{margin:10px 0 0 18px;color:var(--text)}
.small{font-size:12px;color:rgba(15,23,42,.65)}
hr{border:none;border-top:1px solid var(--border);margin:14px 0}

/* =========================
   Header (premium glass)
   ========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  gap:12px;
}

.brand{ font-weight:900; letter-spacing:.3px; }
.brand-link{
  text-decoration:none;
  color: var(--text);
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-text{ display:inline-block; }

.navlinks{
  margin-left:auto;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  color: var(--muted);
  font-weight:700;
  text-decoration:none;
  padding: 6px 8px;
  border-radius: 10px;
  transition: .15s;
}
.navlinks a:hover{
  color: var(--primary);
  background: rgba(37,99,235,.08);
}

/* =========================
   Landing hero basics
   ========================= */
.hero { padding: 8px 0 6px 0; }
.hero h1 { font-size: 30px; line-height: 1.2; }
.hero .sub { font-size: 14px; }
.sub2{ opacity:.9; }

.hero-card{ position: relative; }

.hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* Badges */
.hero-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.hb{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  background: rgba(8,145,178,.10);
  border: 1px solid rgba(8,145,178,.22);
  color: var(--text);
  font-size:12px;
  white-space: nowrap;
}

/* Free box */
.free-box{
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(22,163,74,.25);
  background: rgba(22,163,74,.06);
}
.free-pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  background: rgba(22,163,74,.12);
  border: 1px solid rgba(22,163,74,.28);
  color: #0f172a;
  margin-bottom: 8px;
}
.free-list{ margin: 8px 0 0 18px; color: var(--text); }
.free-list li{ margin: 6px 0; }

/* Trust line */
.hero-trustline{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color: rgba(15,23,42,.70);
  font-size:12px;
  font-weight:700;
}

/* =========================
   Hero video
   Desktop: cover (premium)
   Mobile: contain (NO CROP)
   ========================= */
.hero-video{
  margin-top:16px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  background:#000; /* contain’de boşluk kalırsa siyah */
  width:100%;
  box-shadow:0 20px 50px rgba(15,23,42,.12);
}

.hero-video-el,
.hero-video video{
  width:100%;
  height:420px;
  object-fit: cover;
  object-position:center;
  display:block;
}

@media (max-width:700px){
  .hero-video-el,
  .hero-video video{
    height:260px;
    object-fit: contain; /* ✅ yazılar kesilmez */
    background:#000;
  }
}

/* =========================
   Hero sample + free box equal height
   ========================= */
.hero-free-row{
  display:flex;
  gap:14px;
  align-items:stretch;
}

/* iki kolon eşit */
.hero-sample,
.hero-free-row .free-box{
  flex:1 1 0;
}

/* sample kutusu */
.hero-sample{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* görsel bozulmadan */
.hero-sample img{
  width:100%;
  height:100%;
  max-height:260px;
  object-fit:contain;
  display:block;
}

/* free box aynı yükseklikte dolsun */
.hero-free-row .free-box{
  margin-top:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

@media (max-width:700px){
  .hero-free-row{ flex-direction:column; }
  .hero-sample img{ max-height:220px; }
}

/* =========================
   Tooltip (i)
   ========================= */
.label-row{display:flex; align-items:center; gap:8px;}
.info{
  width:18px; height:18px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:900;
  background: rgba(15,23,42,.05);
  border:1px solid var(--border);
  color: var(--text);
  cursor: default;
  position: relative;
}
.info .tip{
  display:none;
  position:absolute;
  left: 24px;
  top: -6px;
  width: 320px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  z-index: 50;
}
.info:hover .tip{display:block;}

/* =========================
   CHECK page nav (sector picker)
   ========================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.nav-right{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.sector-picker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.sector-label{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.sector-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.3px;
  background: rgba(15,23,42,.03);
  border:1px solid var(--border);
  color: var(--text);
}
.sector-arrow{ font-size:18px; font-weight:900; color: rgba(15,23,42,.55); }
.sector-form{ margin:0; display:flex; align-items:center; }
.sector-select{
  width:auto;
  min-width: 220px;
  max-width: 260px;
  font-weight:600;
}

/* =========================
   WhatsApp widget
   ========================= */
.wa-widget{ position: fixed; right: 18px; bottom: 18px; z-index: 9999; }
.wa-fab{
  width:64px;
  height:64px;
  border-radius:50%;
  border:none;
  background:#25D366;
  color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s;
}
.wa-fab:hover{ transform: scale(1.08); box-shadow:0 16px 36px rgba(0,0,0,.22); }
.wa-icon{ width:30px; height:30px; display:block; }

.wa-panel{
  width: 320px;
  max-width: calc(100vw - 36px);
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}
.wa-panel.open{ display:block; }

.wa-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(15,23,42,.02);
  border-bottom: 1px solid var(--border);
}
.wa-title{ font-weight: 900; color: var(--text); }
.wa-sub{ font-size: 12px; opacity: .75; margin-top: 2px; color: var(--muted); }
.wa-close{
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:16px;
  line-height:1;
  padding:6px 8px;
  border-radius:10px;
}
.wa-body{ padding: 12px; }
.wa-text{ font-size: 14px; opacity: .9; margin-bottom: 10px; color: var(--text); }
.wa-cta{
  display:block;
  text-align:center;
  padding:12px 12px;
  border-radius:12px;
  background: linear-gradient(90deg, var(--accent), #4f46e5);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 24px rgba(124,58,237,.14);
}
.wa-note{ font-size: 12px; opacity:.75; margin-top: 10px; color: var(--muted); }

/* =========================
   Slider (kept)
   ========================= */
.hero-slider{
  margin-top: 14px;
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.80);
  overflow: hidden;
  padding: 12px 44px;
}
.hs-viewport{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hs-viewport::-webkit-scrollbar{ display:none; }
.hs-track{
  display: flex;
  gap: 0;
  width: 100%;
  align-items:center;
}
.hs-slide{
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}
.hs-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.12);
  opacity: .55;
}
.hs-slide img{
  position:absolute;
  inset:0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display:block;
  padding: 10px 14px;
  box-sizing: border-box;
}
.hs-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.hs-btn.prev{ left: 10px; }
.hs-btn.next{ right: 10px; }
.hs-btn:hover{ background: #fff; }

.hs-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.hs-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(15,23,42,.10);
  cursor: pointer;
}
.hs-dot.active{ background: rgba(15,23,42,.55); }

@media (max-width:700px){
  .hero-slider{ padding: 10px 40px; }
  .hs-slide{ height: 240px; }
  .hs-slide img{ padding: 8px 10px; }
}

/* =========================
   Sticky CTA (real floating)
   ========================= */
.sticky-cta{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;

  width: calc(100% - 24px);
  max-width: 980px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(90deg,#7c3aed,#4f46e5);
  color:#fff;
  text-decoration:none;
  font-weight:900;

  box-shadow: 0 18px 40px rgba(79,70,229,.35);
  border:1px solid rgba(255,255,255,.15);
  z-index: 99999;

  transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta:hover{
  transform: translateX(-50%) translateY(0) translateY(-2px);
  box-shadow: 0 22px 50px rgba(79,70,229,.45);
}
.sticky-cta.is-visible{
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.s-title{ font-size:16px; }
.s-sub{ font-size:12px; opacity:.85; }

/* =========================
   Mobile polish (header + badges)
   ========================= */
@media (max-width:700px){
  .container{ padding:16px 12px 96px 12px; margin:12px auto; border-radius:18px; }
  h1{ font-size:26px; }
  h2{ font-size:18px; }
  p{ font-size:14px; }

  .actions{ flex-direction:column; align-items:stretch; }
  .btn{ width:100%; text-align:center; padding:12px 14px; }
  .sector-select{ min-width:170px; max-width:220px; }

  /* Header linkleri: 2 kolon chip + OKUNUR */
  .header{ background: rgba(255,255,255,.92); }
  .header-inner{
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand{ flex: 1 1 100%; }

  .navlinks{
    margin-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .navlinks a{
    display:block;
    text-align:center;
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.18);
    color: var(--text);
    font-weight: 800;
    line-height: 1.05;
  }
  .navlinks a:hover{
    background: rgba(37,99,235,.12);
    color: var(--primary);
  }

  /* Hero badges: 2 kolon (3 rozet daha “yan yana” hissi) */
  .hero-badges{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:8px;
  }
  .hero-badges .hb{
    width:100%;
    padding:8px 10px;
  }
}
/* =========================================================
   PATCH v2002.2 — page images + sticky cta animation
   (dosyanın EN SONUNA ekle)
   ========================================================= */

/* Why-cash / about sayfalarında resimler taşmasın */
.page-hero,
.page-hero-img{
  max-width: 980px;
  margin: 14px auto 18px auto;
  padding: 0 0;
}

.page-hero img,
.page-hero-img img{
  width: 100%;
  height: auto !important;      /* ✅ kocaman sabit yükseklik yok */
  max-height: 360px;            /* ✅ masaüstü limit */
  object-fit: cover;
  border-radius: 18px;
  display:block;
}

@media (max-width:700px){
  .page-hero img,
  .page-hero-img img{
    max-height: 240px;          /* ✅ mobil limit */
    object-fit: contain;        /* yazı/görsel kırpılmasın */
    background:#fff;
  }
}

/* About logo: güvenli boyut */
.about-logo img,
.about-logo-wrap img{
  width: 100%;
  max-width: 220px !important;
  height: auto !important;
  display:block;
  margin: 0 auto;
}

/* ===== Sticky CTA: kayarak gelsin (gizli -> visible) ===== */
.sticky-cta{
  position: fixed !important;
  left: 50% !important;
  bottom: 16px !important;
  transform: translateX(-50%) translateY(120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;

  width: calc(100% - 24px) !important;
  max-width: 980px !important;

  z-index: 99999 !important;
  transition: transform .25s ease, opacity .25s ease !important;
}

.sticky-cta.is-visible{
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Altta CTA çakışmasın */
.container{
  padding-bottom: 110px !important;
}
/* =========================================================
   PATCH v2002.3 — "Nasıl çalışır" görselleri büyümesin
   (style.css EN SON)
   ========================================================= */

/* How/Timeline içindeki görselleri kontrol altına al */
.timeline img,
.step img,
.step .icon img{
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 42px !important;   /* ikon boyutu */
  object-fit: contain !important;
  display: inline-block !important;
}

/* Eğer "Nasıl çalışır" kısmında screenshot gibi büyük görsel varsa:
   onu düzgün kart gibi gösterelim (opsiyonel) */
.how-img,
.how-image,
.how-screenshot{
  width: 100% !important;
  max-height: 320px !important;
  object-fit: contain !important;
  display:block !important;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background:#fff;
  padding: 10px;
}

/* Mobilde biraz daha kısa */
@media (max-width:700px){
  .timeline img,
  .step img,
  .step .icon img{
    max-height: 38px !important;
  }
  .how-img,
  .how-image,
  .how-screenshot{
    max-height: 240px !important;
  }
}
/* =========================================================
   PATCH v2002.4 — Timeline SVG icon fix + Sticky CTA fix
   (style.css EN SON)
   ========================================================= */

/* ---------- 1) "Nasıl çalışır" (timeline) ikonları: SVG kocaman olmasın ---------- */
.timeline .icon,
.step .icon{
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  flex: 0 0 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.timeline .icon svg,
.step .icon svg{
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
}

/* Bazı global svg/img kuralları şişiriyorsa, step içindeki svg'leri de sabitle */
.step svg{
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

/* ---------- 2) Sticky CTA: gerçek "kayan" (scroll’da ekranda kalan) ---------- */
/* Eski is-visible / transform gizleme patch’lerini ez */
.sticky-cta{
  position: fixed !important;
  left: 50% !important;
  bottom: 16px !important;
  transform: translateX(-50%) !important;

  opacity: 1 !important;
  pointer-events: auto !important;

  width: calc(100% - 24px) !important;
  max-width: 980px !important;

  z-index: 99999 !important;
}

/* Buton sayfayı kapatmasın diye container altına boşluk */
.container{
  padding-bottom: 96px !important;
}
/* ===== PATCH v2003: sticky CTA + how icons ===== */

/* Sticky CTA: gerçekten fixed ve kayarak gelsin */
.sticky-cta{
  position: fixed !important;
  left: 50% !important;
  bottom: 16px !important;
  transform: translateX(-50%) translateY(120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;

  width: calc(100% - 24px) !important;
  max-width: 980px !important;
  z-index: 99999 !important;

  transition: transform .25s ease, opacity .25s ease !important;
}
.sticky-cta.is-visible{
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Container altına çakışmayı önle */
.container{ padding-bottom: 110px !important; }

/* “Nasıl çalışır” ikonları kocaman olmasın */
.step .icon{
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
}
.step .icon svg{
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

