/* ============================================================
   KuyumGo Landing — animasyon & modernizasyon katmanı
   landing.js ile birlikte çalışır (reveal sınıflarını JS ekler)
   ============================================================ */

html { scroll-behavior: smooth; }

/* Sayfa açılış yumuşatması */
body { animation: lp-page-in .5s ease-out both; }
@keyframes lp-page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ------------------------------------------------------------
   Scroll-reveal (JS .lp-rv ekler, görünce .lp-in)
   ------------------------------------------------------------ */
.lp-rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--lp-d, 0ms);
  will-change: opacity, transform;
}
.lp-rv.lp-in { opacity: 1; transform: none; }

/* Kartlara ekstra: görünürken hafif ölçek */
.lp-rv-card { transform: translateY(26px) scale(.97); }
.lp-rv-card.lp-in { transform: none; }

/* ------------------------------------------------------------
   Navbar: scroll'da yoğunlaşan cam efekti + incelme
   ------------------------------------------------------------ */
header.lp-nav {
  transition: box-shadow .35s ease, background-color .35s ease, padding .35s ease;
}
header.lp-nav-scrolled {
  background-color: rgba(11, 28, 48, .92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(2, 8, 20, .45);
}
header.lp-nav-scrolled > div { padding-top: .55rem; padding-bottom: .55rem; }
header.lp-nav > div { transition: padding .35s ease; }

/* Aktif nav linki */
.lp-nav a.lp-active { color: #C9A227 !important; }

/* Nav link altın alt çizgi animasyonu */
.lp-nav nav a { position: relative; }
.lp-nav nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: #C9A227;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.lp-nav nav a:hover::after, .lp-nav nav a.lp-active::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   Hero: mockup yüzer, arkada nefes alan altın ışıltı
   ------------------------------------------------------------ */
.lp-float {
  animation: lp-float 7s ease-in-out infinite;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(.4deg); }
}
.lp-glow {
  animation: lp-glow 6s ease-in-out infinite;
}
@keyframes lp-glow {
  0%, 100% { opacity: .55; transform: rotate(-3deg) scale(1.05); }
  50%      { opacity: 1;   transform: rotate(-1deg) scale(1.12); }
}

/* Hero başlığı: kelime kelime sinematik giriş */
.lp-w {
  display: inline-block; opacity: 0; transform: translateY(20px);
  animation: lp-w-in .65s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: var(--wd, 0ms);
}
@keyframes lp-w-in { to { opacity: 1; transform: none; } }

/* Hero mockup 3D tilt (JS mousemove ile döndürür) */
.lp-tilt-zone { perspective: 1200px; }
.lp-tilt { will-change: transform; transition: transform .18s ease-out; transform-style: preserve-3d; }

/* Hero başlığında altın degrade vurgusu (JS son kelimeyi sarar) */
.lp-gold-word {
  background: linear-gradient(100deg, #C9A227 20%, #f3d879 50%, #C9A227 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: lp-shine 5s linear infinite;
}
@keyframes lp-shine { to { background-position: 200% center; } }

/* ------------------------------------------------------------
   Bölüm başlıkları: altın alt çizgi büyüyerek gelir
   ------------------------------------------------------------ */
.lp-h2 { position: relative; display: inline-block; padding-bottom: 14px; }
.lp-h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #C9A227, transparent);
  transition: width .8s ease .25s, left .8s ease .25s;
}
.lp-h2.lp-in::after { width: 100%; left: 0; }

/* ------------------------------------------------------------
   Kartlar: zarif hover (gölge + altın kenar teması)
   ------------------------------------------------------------ */
.lp-card {
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease, border-color .35s ease;
}
.lp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14), 0 0 0 1px rgba(201, 162, 39, .35);
  border-color: rgba(201, 162, 39, .45) !important;
}
.lp-card:hover .material-symbols-outlined { animation: lp-icon-pop .45s ease; }
@keyframes lp-icon-pop {
  0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-4deg); } 100% { transform: scale(1); }
}

/* Koyu bölümdeki cam kartlar — bg'yi DEĞİŞTİRME, üzerine katman bindir
   (background-color override edilirse açık zemindeki lacivert kartlar şeffaflaşıp okunmaz oluyor) */
.lp-card-dark:hover {
  background-image: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08));
  border-color: rgba(201, 162, 39, .5) !important;
  transform: translateY(-6px);
}

/* Kartlarda spotlight: mouse'un gezdiği yerde altın ışık halesi */
.lp-spot { position: relative; }
.lp-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
  background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, 50%),
              rgba(201, 162, 39, .16), transparent 65%);
}
.lp-spot:hover::after { opacity: 1; }
.lp-card-dark.lp-spot::after {
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%),
              rgba(201, 162, 39, .22), transparent 65%);
}

/* Sayfa üstünde kaydırma ilerleme çizgisi */
.lp-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #D4AF37, #C9A227 60%, #B8860B);
  z-index: 80; pointer-events: none;
  box-shadow: 0 0 10px rgba(201, 162, 39, .55);
}

/* Rozetler (BM, AB, OFAC...) */
.lp-badge { transition: all .3s ease; }
.lp-badge:hover {
  border-color: rgba(201, 162, 39, .6) !important;
  color: #C9A227; transform: translateY(-2px);
}

/* ------------------------------------------------------------
   Sayaç rakamları
   ------------------------------------------------------------ */
.lp-counter { font-variant-numeric: tabular-nums; }

/* Stats bandındaki rakamlara hafif parlayış */
.lp-stat-num { text-shadow: 0 0 24px rgba(201, 162, 39, .35); }

/* ------------------------------------------------------------
   Standart "Demo Talep Et" butonu — tüm sayfalarda tek stil
   ------------------------------------------------------------ */
.lp-btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, #D4AF37 0%, #C9A227 55%, #B8860B 100%);
  color: #fff !important;
  font-family: Inter, sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; line-height: 1;
  padding: .7rem 1.5rem; border-radius: .5rem; border: 0;
  box-shadow: 0 4px 14px rgba(201, 162, 39, .35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  white-space: nowrap; cursor: pointer;
}
.lp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, .45);
  filter: brightness(1.06);
}
.lp-btn-gold:active { transform: translateY(0) scale(.97); }
.lp-btn-gold .material-symbols-outlined { font-size: 20px; transition: transform .25s ease; }
.lp-btn-gold:hover .material-symbols-outlined { transform: translateX(4px); }
/* Büyük varyant (hero / CTA) */
.lp-btn-gold-lg { padding: 1rem 2.1rem; font-size: 15px; border-radius: .6rem; }
/* Form gönder butonu tam genişlik */
.lp-btn-gold-block { width: 100%; }
/* Navbar'daki Demo butonu mobilde gizli (hamburger menüde zaten var) */
@media (max-width: 767px) { .lp-nav-demo { display: none !important; } }

/* ------------------------------------------------------------
   Butonlar: parlama süpürmesi (shine sweep)
   ------------------------------------------------------------ */
.lp-btn-shine { position: relative; overflow: hidden; }
.lp-btn-shine::before {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.lp-btn-shine:hover::before { left: 130%; }

/* Form odak iyileştirmesi */
#demo-form input:focus, #demo-form textarea:focus {
  border-color: #C9A227 !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}

/* ------------------------------------------------------------
   Banka logoları: sonsuz kayan şerit (marquee)
   ------------------------------------------------------------ */
.lp-marquee { overflow: hidden; position: relative; }
.lp-marquee::before, .lp-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.lp-marquee::before { left: 0;  background: linear-gradient(90deg, #fff, transparent); }
.lp-marquee::after  { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.lp-marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: lp-marquee 45s linear infinite; padding: 10px 0;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
.lp-bank-logo {
  height: 36px; width: auto; object-fit: contain; margin-right: 64px;
  filter: grayscale(1); opacity: .55;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.lp-bank-logo:hover { filter: none; opacity: 1; transform: scale(1.1); }

/* ------------------------------------------------------------
   WhatsApp canlı destek butonu (sol alt, sabit)
   ------------------------------------------------------------ */
.lp-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.lp-wa:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(37, 211, 102, .55); }
.lp-wa svg { width: 30px; height: 30px; fill: #fff; }
/* Nefes alan halka */
.lp-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: lp-wa-pulse 2.2s ease-out infinite;
}
@keyframes lp-wa-pulse {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
/* Hover'da açılan etiket (buton sağda -> etiket sola açılır) */
.lp-wa-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0F172A; color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 4px 14px rgba(2, 8, 20, .35);
}
.lp-wa:hover .lp-wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) {
  .lp-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .lp-wa-label { display: none; }
}

/* ------------------------------------------------------------
   Mobil menü (hamburger -> sağdan kayan panel)
   ------------------------------------------------------------ */
.lp-burger {
  display: none; align-items: center; justify-content: center;
  background: none; border: 0; color: #C9A227; cursor: pointer; padding: 6px;
}
@media (max-width: 767px) { .lp-burger { display: flex; } }

.lp-mnav {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 20, 38, .98);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 20px 24px 32px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.lp-mnav.lp-open { transform: translateX(0); }
.lp-mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px;
}
.lp-mnav-head img { height: 32px; }
.lp-mnav-close {
  background: none; border: 0; color: #fff; cursor: pointer; padding: 6px;
}
.lp-mnav-close .material-symbols-outlined { font-size: 30px; }
.lp-mnav a.lp-mlink {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-family: Inter, sans-serif; font-size: 18px; font-weight: 600;
  padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .2s ease, padding-left .2s ease;
}
.lp-mnav a.lp-mlink:hover, .lp-mnav a.lp-mlink.lp-active { color: #C9A227; }
.lp-mnav a.lp-mlink .material-symbols-outlined { font-size: 20px; opacity: .45; }
.lp-mnav-btns { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.lp-mnav-login {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  color: #fff; text-decoration: none; padding: 13px;
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 600;
}
body.lp-mnav-lock { overflow: hidden; }

/* ------------------------------------------------------------
   Çerez onay bandı (KVKK)
   ------------------------------------------------------------ */
.lp-cc {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 700px; z-index: 70;
  background: #0F172A; color: #fff;
  border: 1px solid rgba(201, 162, 39, .35);
  border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 16px 44px rgba(2, 8, 20, .5);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  animation: lp-cc-in .5s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes lp-cc-in {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.lp-cc.lp-cc-out { transition: opacity .3s ease, transform .3s ease;
  opacity: 0; transform: translateX(-50%) translateY(30px); }
.lp-cc-text { flex: 1 1 320px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.lp-cc-text a { color: #C9A227; text-decoration: underline; }
.lp-cc-btns { display: flex; gap: 10px; }
.lp-cc-accept {
  background: linear-gradient(135deg, #D4AF37, #C9A227 55%, #B8860B);
  color: #fff; border: 0; border-radius: 8px; padding: 10px 20px;
  font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.lp-cc-accept:hover { transform: translateY(-1px); filter: brightness(1.07); }
.lp-cc-reject {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 10px 18px;
  font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.lp-cc-reject:hover { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 640px) {
  .lp-cc { padding: 16px; }
  .lp-cc-btns { width: 100%; }
  .lp-cc-btns button { flex: 1; }
}

/* ------------------------------------------------------------
   İkonu olmayan kurumlar: marka renkli rozetler
   ------------------------------------------------------------ */
/* Marquee'de metin kapsülü (logo yerine) */
.lp-bank-chip {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 18px; margin-right: 64px;
  border-radius: 20px; white-space: nowrap;
  background: var(--chip, #64748b); color: #fff;
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  filter: grayscale(1); opacity: .55;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.lp-bank-chip:hover { filter: none; opacity: 1; transform: scale(1.1); }
/* Entegrasyon kartlarında baş harf dairesi */
.lp-bank-initial {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--chip, #64748b); color: #fff;
  font-family: Inter, sans-serif; font-size: 18px; font-weight: 800;
}

/* ------------------------------------------------------------
   Hero güven rozetleri
   ------------------------------------------------------------ */
.lp-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #3f465c;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
  padding: 7px 14px; box-shadow: 0 2px 8px rgba(15,23,42,.05);
}
.lp-hero-badge .material-symbols-outlined { font-size: 16px; color: #C9A227; }

/* ------------------------------------------------------------
   Canlı akış kartı (hero, temsilî)
   ------------------------------------------------------------ */
.lp-liveflow {
  margin-top: 14px;
  background: #0F172A; border: 1px solid rgba(201,162,39,.25);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(2,8,20,.35);
}
.lp-liveflow-head {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .03em;
  margin-bottom: 10px;
}
.lp-liveflow-note { margin-left: auto; font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.4); font-style: italic; }
.lp-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: lp-live-pulse 1.8s ease-out infinite;
}
@keyframes lp-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.lp-liveflow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.lp-liveflow-list li {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px; padding: 8px 12px;
  animation: lp-flow-in .45s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes lp-flow-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.lp-liveflow-list .material-symbols-outlined {
  font-size: 17px; color: #C9A227; flex-shrink: 0;
}
.lp-liveflow-list .lf-text { color: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; line-height: 1.25; }
.lp-liveflow-list .lf-sub { color: rgba(255,255,255,.45); font-size: 11px; display: block; font-weight: 400; }

/* ------------------------------------------------------------
   SSS (accordion — native details/summary)
   ------------------------------------------------------------ */
.lp-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item {
  background: #fff; border: 1px solid #e9edf3; border-radius: 12px;
  box-shadow: 0 3px 12px rgba(15,23,42,.04);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.lp-faq-item[open] { border-color: rgba(201,162,39,.45); box-shadow: 0 8px 22px rgba(15,23,42,.08); }
.lp-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; color: #1f2937;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-chev { color: #C9A227; transition: transform .3s ease; flex-shrink: 0; }
.lp-faq-item[open] .lp-faq-chev { transform: rotate(180deg); }
.lp-faq-item p {
  margin: 0; padding: 0 20px 18px;
  color: #64748b; font-size: 14px; line-height: 1.65;
}

/* ------------------------------------------------------------
   Erişilebilirlik: hareket azaltma tercihi
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .lp-rv, .lp-float, .lp-glow, .lp-gold-word,
  .lp-h2::after, .lp-card, .lp-btn-shine::before { animation: none !important; transition: none !important; }
  .lp-rv { opacity: 1; transform: none; }
}
