/* DenetimX satis landing bolumleri + animasyonlar (lx-*) — CSP: style-src self */

  /* --- landing'e özel satış bölümleri (lx-*) --- */
  .lx-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .lx-hero-stats span {
    background: var(--surface-strong); border: 1px solid var(--line);
    border-radius: 999px; padding: 8px 16px; font-size: 14px;
    color: var(--ink-soft); box-shadow: var(--shadow-sm); white-space: nowrap;
  }
  .lx-hero-stats b { color: var(--petrol); font-weight: 700; }

  .lx-pain { background: linear-gradient(180deg, var(--paper-deep), var(--paper)); }
  .lx-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
  .lx-pain-card {
    background: var(--surface-strong); border: 1px solid var(--line);
    border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-sm);
  }
  .lx-pain-card .lx-num { display:block; font-size: 34px; font-weight: 800; color: var(--danger); margin-bottom: 6px; }
  .lx-pain-card--iyi .lx-num { color: var(--success); }
  .lx-pain-card h3 { margin: 0 0 8px; font-size: 17px; }
  .lx-pain-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

  .lx-findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
  .lx-find {
    border: 1px solid var(--line); border-left: 4px solid var(--danger);
    border-radius: 12px; background: var(--surface-strong); padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm); font-size: 14px;
  }
  .lx-find--incele { border-left-color: var(--warning); }
  .lx-find--uygun { border-left-color: var(--success); }
  .lx-find .pill { margin-bottom: 8px; }
  .lx-find code {
    display:block; background: var(--paper); border-radius: 8px; padding: 10px 12px;
    margin-top: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.5;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: normal;
  }
  .lx-find small { display:block; margin-top: 8px; color: var(--muted); }

  .lx-metrics { padding: 42px 0; }
  .lx-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .lx-metric { text-align: center; padding: 18px 10px; border-radius: 14px; background: rgba(255,255,255,.06); }
  .lx-metric b { display:block; font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
  .lx-metric span { color: rgba(255,255,255,.75); font-size: 13.5px; line-height: 1.4; display: block; margin-top: 4px; }

  .lx-compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 34px;
    background: var(--surface-strong); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-sm); font-size: 14.5px; }
  .lx-compare th, .lx-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
  .lx-compare tr:last-child td { border-bottom: 0; }
  .lx-compare thead th { background: var(--paper-deep); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .lx-compare td:nth-child(2) { color: var(--muted); }
  .lx-compare td:nth-child(3) { color: var(--petrol-dark); font-weight: 600; background: var(--petrol-pale); }

  .lx-persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
  .lx-persona { background: var(--surface-strong); border: 1px solid var(--line); border-radius: 16px;
    padding: 26px 24px; box-shadow: var(--shadow-sm); }
  .lx-persona h3 { margin: 10px 0 8px; font-size: 17px; }
  .lx-persona p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
  .lx-persona .lx-ikon { font-size: 26px; }

  .lx-showcase { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
  .lx-showcase img { display: block; width: 100%; height: auto; }
  .lx-showcase figcaption { position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 22px; background: linear-gradient(180deg, transparent, rgba(10,20,19,.82));
    color: #fff; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }

  .lx-faq { max-width: 760px; margin: 34px auto 0; }
  .lx-faq details { background: var(--surface-strong); border: 1px solid var(--line);
    border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
  .lx-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .lx-faq summary::-webkit-details-marker { display: none; }
  .lx-faq summary::after { content: "▾"; color: var(--muted); transition: transform .15s ease; }
  .lx-faq details[open] summary::after { transform: rotate(180deg); }
  .lx-faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

  .lx-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lx-compare-wrap .lx-compare { min-width: 640px; }

  /* --- küçük tatlı animasyonlar (reduced-motion'a saygılı) --- */
  @media (prefers-reduced-motion: no-preference) {
    /* hero giriş sekansı */
    .hero__grid > div:first-child > * { opacity: 0; animation: lxGiris .6s ease-out forwards; }
    .hero__grid > div:first-child > *:nth-child(1) { animation-delay: .05s; }
    .hero__grid > div:first-child > *:nth-child(2) { animation-delay: .12s; }
    .hero__grid > div:first-child > *:nth-child(3) { animation-delay: .2s; }
    .hero__grid > div:first-child > *:nth-child(4) { animation-delay: .28s; }
    .hero__grid > div:first-child > *:nth-child(5) { animation-delay: .36s; }
    .hero__grid > div:first-child > *:nth-child(6) { animation-delay: .44s; }
    .hero__visual { opacity: 0; animation: lxGiris .7s ease-out .25s forwards; }

    /* bulgu kartları yumuşakça süzülür */
    .finding-float--top { animation: lxGiris .6s ease-out .55s forwards, lxSuzul 5s ease-in-out 1.2s infinite; opacity: 0; }
    .finding-float--bottom { animation: lxGiris .6s ease-out .75s forwards, lxSuzul 6s ease-in-out 1.6s infinite reverse; opacity: 0; }

    /* kaydırınca beliren bloklar */
    .lx-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
    .lx-reveal.lx-gorunur { opacity: 1; transform: none; }

    /* kart mikro-etkileşimleri */
    .lx-pain-card, .lx-find, .lx-persona, .lx-metric { transition: transform .25s ease, box-shadow .25s ease; }
    .lx-pain-card:hover, .lx-find:hover, .lx-persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .button--primary span[aria-hidden], .button--petrol span[aria-hidden] { display: inline-block; transition: transform .2s ease; }
    .button--primary:hover span[aria-hidden], .button--petrol:hover span[aria-hidden] { transform: translateX(4px); }
    .lx-faq details[open] p { animation: lxGiris .3s ease-out; }
  }
  @keyframes lxGiris { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes lxSuzul { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

  @media (max-width: 900px) {
    .lx-pain-grid, .lx-findings, .lx-persona-grid { grid-template-columns: 1fr; }
    .lx-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .lx-compare { font-size: 13.5px; }
    .lx-compare th, .lx-compare td { padding: 11px 12px; }
  }

/* --- hero "işaret damgalanma" mikro-animasyonu --- */
.blueprint-card { position: relative; }
.lx-damga {
  position: absolute;
  left: var(--dx, 30%);
  top: var(--dy, 40%);
  width: var(--dw, 11%);
  aspect-ratio: 4 / 3;
  border: 3px solid rgba(198, 44, 34, 0.9);
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(198, 44, 34, 0.14), 0 10px 22px rgba(166, 60, 53, 0.28);
  pointer-events: none;
  opacity: 0.92; /* animasyon desteklenmeyen/istemeyen ortamda sabit görünür */
}
.lx-damga::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 6px;
  border: 1px dashed rgba(198, 44, 34, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .lx-damga {
    opacity: 0;
    transform: scale(1.8) rotate(-3deg);
    animation: lxDamga 0.55s cubic-bezier(0.18, 1.35, 0.4, 1) var(--dg, 2.4s) forwards;
  }
  @keyframes lxDamga {
    0%   { opacity: 0;    transform: scale(1.8) rotate(-3deg); }
    58%  { opacity: 1;    transform: scale(0.93) rotate(0.6deg);
           box-shadow: 0 0 0 6px rgba(198, 44, 34, 0.22), 0 10px 22px rgba(166, 60, 53, 0.35); }
    100% { opacity: 0.92; transform: scale(1) rotate(0deg);
           box-shadow: 0 0 0 2px rgba(198, 44, 34, 0.14), 0 10px 22px rgba(166, 60, 53, 0.28); }
  }
}

/* ═══════════ Zümrüt hero (19.07.2026 — portal v2 ile ortak dil) ═══════════ */
.hero--zumrut {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(231, 111, 61, 0.16), transparent 55%),
    linear-gradient(165deg, #041f1e 0%, #06302e 55%, #0a4340 100%);
  color: #f2f6f4;
}
.lxz-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  pointer-events: none;
}
.lxz-blob--a {
  width: 620px; height: 620px; left: -160px; top: -120px;
  background: radial-gradient(circle, #0e8b7a, transparent 65%);
  animation: lxz-sur1 17s ease-in-out infinite alternate;
}
.lxz-blob--b {
  width: 540px; height: 540px; right: -140px; top: 6%;
  background: radial-gradient(circle, rgba(231, 111, 61, 0.7), transparent 65%);
  animation: lxz-sur2 21s ease-in-out infinite alternate;
}
.lxz-blob--c {
  width: 480px; height: 480px; left: 28%; bottom: -220px;
  background: radial-gradient(circle, #1f9d63, transparent 65%);
  animation: lxz-sur3 19s ease-in-out infinite alternate;
}
@keyframes lxz-sur1 { 100% { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes lxz-sur2 { 100% { transform: translate(-8vw, 6vh) scale(1.1); } }
@keyframes lxz-sur3 { 100% { transform: translate(6vw, -8vh) scale(1.22); } }
.lxz-izgara {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero--zumrut .hero__grid { position: relative; }
.hero--zumrut .eyebrow {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #bfe8dc;
}
.hero--zumrut h1 { color: #f2f6f4; }
.hero--zumrut h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fd6c2, #35e0a1 45%, #ffb38a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--zumrut .hero__lead { color: rgba(242, 246, 244, 0.85); }
.hero--zumrut .hero__lead strong { color: #fff; }
.hero--zumrut .button--primary {
  background: linear-gradient(135deg, #0e8b7a, #1f9d63);
  border: 0; color: #fff;
  box-shadow: 0 8px 30px -8px rgba(31, 157, 99, 0.55);
}
.hero--zumrut .button--primary:hover {
  box-shadow: 0 14px 38px -8px rgba(31, 157, 99, 0.7);
  transform: translateY(-2px);
}
.hero--zumrut .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f2f6f4;
}
.hero--zumrut .button--secondary:hover { border-color: #7fd6c2; color: #fff; }
.hero--zumrut .lx-hero-stats { color: rgba(242, 246, 244, 0.65); }
.hero--zumrut .lx-hero-stats b { color: #7fd6c2; }
.hero--zumrut .hero__note { color: rgba(242, 246, 244, 0.7); }
.hero--zumrut .hero__note span[aria-hidden] {
  background: rgba(255, 255, 255, 0.12); color: #bfe8dc;
}
@media (prefers-reduced-motion: reduce) {
  .lxz-blob { animation: none !important; }
}
/* Zümrüt hero içindeki beyaz kartlar koyu metnini korur (miras düzeltmesi). */
.hero--zumrut .finding-float,
.hero--zumrut .blueprint-card { color: var(--ink); }
.hero--zumrut .finding-float p { color: var(--ink-soft); }
.hero--zumrut .blueprint-card__title { color: var(--muted); }
