/* ============================================================
   Tanıtım sayfası (landing.php) — gerçek ekran görüntüleri,
   cihaz çerçeveleri, adım akışı, özellik satırları, büyütme.
   ============================================================ */

/* ---------- Cihaz çerçeveleri ---------- */
.lp-phone {
  margin: 0; position: relative; flex-shrink: 0;
  width: 100%; max-width: 280px; aspect-ratio: 390 / 844;
  padding: 9px; border-radius: 42px;
  background: linear-gradient(145deg, #1e293b, #0b1220);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 24px 50px -12px rgba(15, 23, 42, .45), 0 8px 18px rgba(15, 23, 42, .12);
}
.lp-phone img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 33px; background: #fff; cursor: zoom-in;
}
.lp-browser {
  margin: 0; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35), 0 10px 24px rgba(15, 23, 42, .08);
}
.lp-browser img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.lp-browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #f1f5f9; border-bottom: 1px solid var(--line);
}
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.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 {
  flex: 1; max-width: 340px; margin: 0 auto; padding: 4px 12px; border-radius: 7px;
  background: #fff; color: var(--muted); font-size: 12px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(var(--primary-rgb), .2), transparent 70%),
    radial-gradient(700px 420px at -12% 105%, rgba(var(--primary-rgb), .12), transparent 70%),
    linear-gradient(180deg, var(--primary-tint) 0%, #ffffff 78%);
  padding: 64px 0 40px;
}
.lp-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.lp-hero h1 { font-size: clamp(32px, 4.3vw, 54px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.lp-hero h1 em { font-style: normal; color: var(--primary); }
.lp-lead { font-size: 18px; color: var(--ink-soft); max-width: 540px; margin-bottom: 28px; line-height: 1.6; }
.lp-hero-visual { position: relative; padding: 0 64px 70px 0; }
.lp-hero-browser { transform: perspective(1800px) rotateY(-5deg); transform-origin: right center; }
.lp-hero-phone {
  position: absolute; right: 0; bottom: 0; width: 28%; max-width: 210px;
  animation: lp-float 6s ease-in-out infinite;
}
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lp-shot-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Bir bakışta ---------- */
.lp-glance { padding: 8px 0 28px; background: #fff; }
.lp-glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-glance-grid > div {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start;
  padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.lp-glance-grid span {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary-dark);
}
.lp-glance-grid strong { font-size: 15px; }
.lp-glance-grid small { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- Bölüm başlıkları ---------- */
.lp-kicker {
  display: inline-block; margin-bottom: 10px; color: var(--primary); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Müşteri akışı ---------- */
.lp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.lp-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-flow .lp-phone { max-width: 240px; margin-bottom: 22px; }
.lp-step {
  position: absolute; top: -12px; left: calc(50% - 132px); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), .4), 0 0 0 4px #fff;
}
.lp-flow h3 { font-size: 17px; margin-bottom: 6px; }
.lp-flow p { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 260px; }
.lp-flow-note {
  display: block;
  margin: 38px auto 0; max-width: 720px; text-align: center; color: var(--ink-soft); font-size: 14.5px;
}
.lp-flow-note .icon { color: var(--primary); vertical-align: -3px; margin-right: 4px; }

/* ---------- Özellik satırları ---------- */
.lp-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 34px 0; }
.lp-row + .lp-row { border-top: 1px dashed rgba(15, 23, 42, .1); }
.lp-row-flip .lp-row-media { order: 2; }
.lp-row-text h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; margin-bottom: 12px; }
.lp-row-text > p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.lp-tag {
  display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px;
  background: var(--primary-light); color: var(--primary-dark); font-size: 12.5px; font-weight: 700;
}
.lp-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.lp-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.lp-list .icon { color: var(--primary); margin-top: 3px; }
.lp-list b { color: var(--ink); font-weight: 650; }
.lp-fine { font-size: 13.5px; color: var(--muted); margin: 0; padding-left: 12px; border-left: 3px solid var(--line); }
.lp-duo { display: flex; justify-content: center; gap: 22px; }
.lp-duo .lp-phone { max-width: 250px; }
.lp-duo .lp-phone:nth-child(2) { margin-top: 48px; }

/* Bildirim kilit ekranı (örnek) + zil menüsü görüntüsü */
.lp-notify { position: relative; display: flex; flex-direction: column; align-items: center; }
.lp-lock {
  width: min(100%, 360px); margin: 0 auto; padding: 26px 16px 22px; border-radius: 34px;
  background:
    radial-gradient(420px 300px at 20% 10%, rgba(45, 212, 191, .55), transparent 70%),
    radial-gradient(380px 320px at 90% 90%, rgba(99, 102, 241, .5), transparent 70%),
    linear-gradient(160deg, #0f172a, var(--primary-deep));
  box-shadow: 0 30px 60px -18px rgba(15, 23, 42, .5);
  display: flex; flex-direction: column; gap: 10px;
}
.lp-lock-time { text-align: center; color: #fff; font-size: 54px; font-weight: 300; line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.lp-lock-time small { display: block; font-size: 14px; font-weight: 500; opacity: .85; margin-top: 6px; letter-spacing: 0; }
.lp-push {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink); font-size: 13px; line-height: 1.35;
}
.lp-push img { border-radius: 8px; flex-shrink: 0; }
.lp-push > div { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; min-width: 0; }
.lp-push b { font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.lp-push small { font-size: 11.5px; color: var(--muted); }
.lp-push strong, .lp-push span { grid-column: 1 / -1; }
.lp-push strong { font-size: 13.5px; }
.lp-bell {
  position: relative; z-index: 2; align-self: flex-end; width: 58%; max-width: 330px; margin: -34px 0 0;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 20px 40px -14px rgba(15, 23, 42, .35);
}
.lp-bell img { display: block; width: 100%; height: auto; cursor: zoom-in; }

/* ---------- Berber & müşteri ---------- */
.lp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lp-pair-card {
  display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 26px; align-items: center;
  padding: 26px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.lp-pair-card h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.lp-pair-card h3 .icon { color: var(--primary); }
.lp-pair-card p { color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------- Harekete geçirici şerit ---------- */
.lp-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 40px; padding: 26px 30px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--primary-accent));
  box-shadow: 0 20px 40px -18px rgba(var(--primary-rgb), .7);
}
.lp-cta-band strong { display: block; font-size: 19px; }
.lp-cta-band span { opacity: .9; font-size: 14.5px; }
.lp-cta-band .btn { background: #fff; color: var(--primary-dark); border-color: #fff; }
.lp-cta-band .btn:hover { background: var(--primary-tint); }

/* ---------- Kaydırınca belirme ---------- */
.lp-anim .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.lp-anim .lp-reveal.is-in { opacity: 1; transform: none; }
.lp-anim .lp-flow li:nth-child(2) { transition-delay: .08s; }
.lp-anim .lp-flow li:nth-child(3) { transition-delay: .16s; }
.lp-anim .lp-flow li:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .lp-hero-phone { animation: none; } }

/* ---------- Büyütme ---------- */
.lp-zoom {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; background: rgba(15, 23, 42, .88); cursor: zoom-out;
}
.lp-zoom[hidden] { display: none; }
.lp-zoom img { max-height: calc(100vh - 110px); max-width: min(92vw, 460px); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lp-zoom.is-wide img { max-width: min(94vw, 1500px); border-radius: 12px; }
.lp-zoom p { margin: 0; color: #e2e8f0; font-size: 14px; text-align: center; max-width: 640px; }
.lp-zoom-x {
  position: absolute; top: max(14px, var(--safe-top)); right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1024px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-text { text-align: center; }
  .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-hero .hero-cta, .lp-hero .hero-badges { justify-content: center; }
  .lp-hero-visual { max-width: 760px; margin: 0 auto; width: 100%; }
  .lp-glance-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-row { grid-template-columns: 1fr; gap: 28px; }
  .lp-row-flip .lp-row-media { order: 0; }
  .lp-pair { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* Akış: yana kaydırmalı */
  .lp-flow {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 14px var(--gutter) 10px; scrollbar-width: none;
  }
  .lp-flow::-webkit-scrollbar { display: none; }
  .lp-flow li { flex: 0 0 72%; scroll-snap-align: center; }
  .lp-step { left: 6px; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 36px 0 28px; }
  .lp-lead { font-size: 16.5px; }
  .lp-hero-visual { padding: 0 0 30px 40px; }
  .lp-hero-browser { transform: none; }
  .lp-hero-phone { width: 38%; }
  .lp-glance-grid { grid-template-columns: 1fr; gap: 10px; }
  .lp-glance-grid > div { padding: 14px; }
  .lp-row { padding: 26px 0; }
  .lp-duo { gap: 12px; }
  .lp-duo .lp-phone { max-width: 48%; padding: 6px; border-radius: 30px; }
  .lp-duo .lp-phone img { border-radius: 24px; }
  .lp-duo .lp-phone:nth-child(2) { margin-top: 28px; }
  .lp-bell { width: 74%; margin-top: -24px; }
  .lp-pair-card { grid-template-columns: 1fr; padding: 20px; text-align: left; }
  .lp-pair-card .lp-phone { max-width: 220px; margin: 0 auto; }
  .lp-cta-band { padding: 22px; }
  .lp-cta-band .btn { width: 100%; justify-content: center; }
}
.lp-customer-link { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.lp-customer-link a { font-weight: 600; }

/* ---------- Fiyatlar: aylık / yıllık ---------- */
.period-toggle {
  display: flex; width: max-content; max-width: 100%; margin: -16px auto 30px; padding: 5px; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; box-shadow: var(--shadow);
}
.period-toggle button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 0; border-radius: 99px;
  background: transparent; color: var(--ink-soft); font: 600 14.5px var(--font); cursor: pointer;
}
.period-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.period-toggle em {
  font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
  background: #fef3c7; color: #92400e;
}
.price-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price-save {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #fef3c7; color: #92400e;
}
.price { margin-bottom: 4px; }
.price s { font-size: 15px; color: var(--muted); margin-left: 6px; }
.price-sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; min-height: 2.6em; }
.price-sub b { color: var(--ink); }
.pricing-grid[data-period="yearly"] .p-m,
.pricing-grid[data-period="monthly"] .p-y { display: none; }
