/* ============================================================
   Insurance CRM — herkese açık tanıtım sayfası (kök adres)
   Görünüm balkay.net/insurance-crm ile uyumlu: açık zemin, çivit→mavi
   vurgu, zümrüt demo düğmesi. Betik yok; SSS <details> ile açılır.
   Panel stilleri app.css'tedir.
   ============================================================ */

:root {
  --lp-text:     #0f172a;
  --lp-muted:    #475569;
  --lp-soft:     #64748b;
  --lp-bg:       #f8fafc;
  --lp-card:     #ffffff;
  --lp-line:     #e2e8f0;
  --lp-indigo:   #4f46e5;
  --lp-blue:     #2563eb;
  --lp-sky:      #0ea5e9;
  --lp-emerald:  #059669;
  --lp-emerald2: #10b981;
  --lp-dark:     #0b1220;
  --lp-radius:   16px;
  --lp-shadow:   0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .07);
  --lp-grad:     linear-gradient(135deg, var(--lp-indigo), var(--lp-blue));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.lp {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-text);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
}

/* Sıfırlamalar :where() ile — öncelik 0; bileşen sınıfları her zaman üstün gelir */
:where(.lp) a { color: inherit; }
:where(.lp) :is(h1, h2, h3) { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
:where(.lp) :is(p, ul, ol, figure) { margin: 0; }
:where(.lp) img { max-width: 100%; height: auto; display: block; }
.lp :focus-visible { outline: 3px solid var(--lp-sky); outline-offset: 3px; border-radius: 8px; }

.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lp-wrap--narrow { max-width: 860px; }

.lp-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--lp-shadow);
}
.lp-skip:focus { left: 12px; }

/* ---------- Üst şerit ---------- */
.lp-top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(170%) blur(12px);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.lp-top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lp-text); }
.lp-brand__logo { width: 36px; height: 36px; border-radius: 10px; }
.lp-brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand__txt strong { font-size: 16.5px; }
.lp-brand__txt small { font-size: 12px; color: var(--lp-soft); }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--lp-muted); }
.lp-nav a:hover { color: var(--lp-indigo); }

/* ---------- Düğmeler ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--lp-grad); color: #fff !important;
  font-weight: 650; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .28);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(79, 70, 229, .36); }
.lp-btn--sm { padding: 9px 18px; font-size: 14.5px; box-shadow: none; }
.lp-btn--emerald { background: linear-gradient(135deg, var(--lp-emerald2), var(--lp-emerald)); box-shadow: 0 10px 24px rgba(5, 150, 105, .28); }
.lp-btn--emerald:hover { box-shadow: 0 14px 30px rgba(5, 150, 105, .36); }
.lp-btn--ghost { background: #fff; color: var(--lp-text) !important; border-color: var(--lp-line); box-shadow: none; }
.lp-btn--ghost:hover { border-color: #c7d2fe; box-shadow: none; }
.lp-btn--light { background: #fff; color: var(--lp-indigo) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.lp-btn--outline { background: transparent; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.lp-btn--outline:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .lp-btn { transition: none; } .lp-btn:hover { transform: none; } }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(99, 102, 241, .16), transparent 60%),
    radial-gradient(640px 380px at 0% 100%, rgba(16, 185, 129, .10), transparent 60%),
    linear-gradient(180deg, #f5f7ff, var(--lp-bg));
}
.lp-hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--lp-emerald); background: #ecfdf5; border: 1px solid #a7f3d0;
}
.lp-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-emerald2); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.lp-hero h1 { margin-top: 20px; font-size: clamp(36px, 5vw, 58px); font-weight: 850; }
.lp-hero h1 span { background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { margin-top: 18px; font-size: 18px; color: var(--lp-muted); max-width: 580px; }
.lp-lead strong { color: var(--lp-text); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.lp-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px; background: #fff; border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); overflow: hidden;
}
.lp-stats div { padding: 16px 18px; border-left: 1px solid var(--lp-line); position: relative; }
.lp-stats div:first-child { border-left: 0; }
.lp-stats div::before { content: ""; position: absolute; top: 14px; left: 18px; width: 22px; height: 3px; border-radius: 3px; background: var(--lp-emerald2); }
.lp-stats b { display: block; margin-top: 10px; font-size: 30px; font-weight: 800; color: var(--lp-emerald); line-height: 1.1; }
.lp-stats em { font-style: normal; font-size: .7em; }
.lp-stats span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-soft); }
.lp-stats small { display: block; font-size: 11.5px; color: var(--lp-soft); }

/* ---------- Hero görseli: tarayıcı çerçevesinde gerçek ekran ---------- */
.lp-visual { position: relative; }
.lp-browser {
  background: #0f172a; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(15, 23, 42, .28), 0 0 0 1px rgba(15, 23, 42, .08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.lp-browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1e293b; }
.lp-browser__bar i { width: 10px; height: 10px; border-radius: 50%; }
.lp-browser__bar i:nth-child(1) { background: #f87171; }
.lp-browser__bar i:nth-child(2) { background: #fbbf24; }
.lp-browser__bar i:nth-child(3) { background: #34d399; }
.lp-browser__bar span {
  margin-left: 10px; font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #94a3b8; background: #0f172a; padding: 3px 12px; border-radius: 6px;
}
.lp-float {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--lp-line);
  border-radius: 12px; padding: 10px 14px; font-size: 13.5px; color: var(--lp-muted);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14); white-space: nowrap;
}
.lp-float b { color: var(--lp-text); }
.lp-float--a { left: -26px; bottom: 34px; }
.lp-float--b { right: -14px; top: -18px; }
.lp-float--b b { color: var(--lp-emerald); }
@media (prefers-reduced-motion: reduce) { .lp-browser { transform: none; } }

/* ---------- Bölümler ---------- */
.lp-sec { padding: 88px 0; }
.lp-sec--alt { background: #fff; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-sec__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.lp-sec__head--left { margin: 0 0 26px; text-align: left; }
.lp-kicker {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lp-indigo); background: #eef2ff; border: 1px solid #e0e7ff;
}
.lp-kicker--light { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); }
.lp-sec__head h2, .lp-split h2 { margin-top: 12px; font-size: clamp(27px, 3.3vw, 38px); font-weight: 800; }
.lp-sec__head p { margin-top: 12px; color: var(--lp-muted); font-size: 17px; }

.lp-card {
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  padding: 24px; box-shadow: var(--lp-shadow);
}
.lp-card h3 { font-size: 18px; margin-top: 14px; }
.lp-card p { margin-top: 8px; color: var(--lp-muted); font-size: 15.5px; }
.lp-emo {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  font-size: 24px; line-height: 1; background: #eef2ff; border: 1px solid #e0e7ff;
}
.lp-emo--sm { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; flex: 0 0 auto; }

/* Neden */
.lp-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Ekran turu */
.lp-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lp-shot {
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  overflow: hidden; box-shadow: var(--lp-shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp-shot:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 23, 42, .12); }
.lp-shot__img { display: block; background: #0f172a; aspect-ratio: 16 / 10; overflow: hidden; }
.lp-shot__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lp-shot figcaption { padding: 16px 18px 20px; }
.lp-shot__grp {
  display: inline-block; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lp-emerald); background: #ecfdf5; border-radius: 6px; padding: 3px 8px;
}
.lp-shot h3 { font-size: 17px; margin-top: 10px; }
.lp-shot p { margin-top: 6px; color: var(--lp-muted); font-size: 14.5px; }
@media (prefers-reduced-motion: reduce) { .lp-shot { transition: none; } .lp-shot:hover { transform: none; } }

/* Modüller */
.lp-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-mod__head { display: flex; align-items: center; gap: 12px; }
.lp-mod__head h3 { margin-top: 0; }
.lp-mod ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 9px; }
.lp-mod li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--lp-muted); }
.lp-mod li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
  border-left: 2px solid var(--lp-emerald2); border-bottom: 2px solid var(--lp-emerald2);
  transform: rotate(-45deg);
}

/* Roller + teknik */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.lp-roles { list-style: none; padding: 0; display: grid; gap: 12px; }
.lp-roles li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 14px;
}
.lp-roles__no {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; color: #fff; background: var(--lp-grad);
}
.lp-roles strong, .lp-tech strong, .lp-demo__list strong { display: block; font-size: 15.5px; }
.lp-roles small, .lp-demo__list small { display: block; color: var(--lp-muted); font-size: 14px; }
.lp-tech { display: grid; gap: 14px; }
.lp-tech__item { display: flex; gap: 14px; align-items: flex-start; }
.lp-tech p { margin-top: 2px; color: var(--lp-muted); font-size: 14.5px; }

/* Canlı demo */
.lp-demo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 44px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(16, 185, 129, .35), transparent 60%),
    linear-gradient(135deg, #312e81, var(--lp-indigo) 55%, var(--lp-blue));
  box-shadow: 0 30px 70px rgba(79, 70, 229, .3);
}
.lp-demo h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.lp-demo__copy p { margin: 12px 0 24px; color: #e0e7ff; font-size: 16.5px; }
.lp-demo__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.lp-demo__list li {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
}
.lp-demo__list .lp-emo { background: rgba(255, 255, 255, .92); border: 0; }
.lp-demo__list small { color: #e0e7ff; }

/* SSS */
.lp-faq { display: grid; gap: 12px; }
.lp-faq details {
  background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 14px; padding: 0 20px;
}
.lp-faq details[open] { background: #fff; box-shadow: var(--lp-shadow); }
.lp-faq summary {
  cursor: pointer; list-style: none; padding: 17px 28px 17px 0; position: relative;
  font-weight: 650; font-size: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 500; color: var(--lp-indigo);
}
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { padding: 0 0 18px; color: var(--lp-muted); font-size: 15.5px; }

/* Çağrı bandı */
.lp-band { background: var(--lp-grad); color: #fff; }
.lp-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.lp-band h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.lp-band p { margin-top: 8px; color: #e0e7ff; }
.lp-band__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Alt bilgi */
.lp-foot { background: var(--lp-dark); color: #94a3b8; font-size: 14px; }
.lp-foot__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.lp-foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-foot a { color: #cbd5e1; text-decoration: none; }
.lp-foot a:hover { color: #fff; }

/* ---------- Duyarlı yerleşim ---------- */
@media (max-width: 1080px) {
  .lp-why, .lp-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lp-hero__in { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 64px; }
  .lp-browser { transform: none; }
  .lp-split, .lp-demo { grid-template-columns: minmax(0, 1fr); }
  .lp-demo { padding: 32px 24px; }
  .lp-band__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .lp-nav { display: none; }
  .lp-top__in { justify-content: space-between; }
  .lp-sec { padding: 64px 0; }
  .lp-lead { font-size: 16.5px; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats div:nth-child(3) { border-left: 0; }
  .lp-stats div:nth-child(n+3) { border-top: 1px solid var(--lp-line); }
  .lp-why, .lp-mods, .lp-shots { grid-template-columns: minmax(0, 1fr); }
  .lp-float { position: static; display: inline-block; margin: 12px 8px 0 0; white-space: normal; }
  .lp-cta .lp-btn, .lp-band__acts .lp-btn { width: 100%; }
  .lp-foot__in { flex-direction: column; align-items: flex-start; }
}
