/* Landing page (/). Renkler, butonlar, üst çubuk ve alt bilgi sitenin geri kalanıyla
   ortaktır (app.css); burada yalnızca sayfaya özel düzen ve boyutlar vardır. */
.landing { font-size: 16px; overflow-x: hidden; }
html:has(.landing) { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html:has(.landing) { scroll-behavior: auto; }
}
/* Büyük çağrı butonları */
.landing-actions .button, .landing-plan .button { height: 44px; padding: 0 24px; border-radius: 12px; font-size: 15px; }

/* Sayfa */
.landing-main {
  display: flex;
  flex-direction: column;
  gap: 128px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 128px 24px 0;
}

.landing-hero { display: flex; flex-direction: column; align-items: center; gap: 64px; text-align: center; }
.landing-hero-text { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 768px; }
.landing-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 72px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--primary); }
.landing-hero h1 span { display: block; }
.landing-lead { margin: 0; max-width: 672px; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 16px 0 0; }

/* Örnek telefon ve QR kartı */
.landing-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 512px; height: 600px; }
.landing-glow { position: absolute; inset: 0; border-radius: 50%; background: light-dark(rgb(0 0 0 / .05), rgb(255 255 255 / .05)); filter: blur(60px); transform: translate(-48px, 48px); pointer-events: none; }
.landing-phone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: none;
  width: 280px;
  height: 580px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  will-change: transform;
}
.landing-phone-notch { display: flex; justify-content: center; padding-top: 8px; }
.landing-phone-notch span { width: 80px; height: 16px; border-radius: 999px; background: var(--surface-3); }
.landing-phone-screen { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px; }
.landing-phone-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 96px; height: 96px; margin-top: 32px;
  border-radius: 50%; background: var(--surface-3); color: var(--primary); font-size: 36px; font-weight: 700;
}
.landing-skeleton { display: block; border-radius: 999px; background: var(--surface-3); }
.landing-skeleton-title { width: 75%; height: 24px; margin-top: 8px; background: var(--surface-4); }
.landing-skeleton-subtitle { width: 50%; height: 16px; margin-bottom: 16px; }
.landing-phone-link {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface-3);
}
.landing-phone-link svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.landing-phone-link .landing-skeleton { height: 12px; background: var(--surface-4); }
.landing-skeleton-half { width: 50%; }
.landing-skeleton-wide { width: 66%; }
.landing-skeleton-short { width: 33%; }

.landing-qr {
  position: absolute;
  z-index: 2;
  bottom: 64px;
  left: -48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 192px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
  will-change: transform;
}
.landing-qr-handle { font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.landing-qr-code {
  display: grid;
  grid-template: repeat(5, 1fr) / repeat(5, 1fr);
  gap: 4px;
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.landing-qr-code i { border-radius: 2px; background: var(--primary); }
.landing-qr-code .finder { position: relative; grid-column-end: span 2; grid-row-end: span 2; border: 2px solid var(--primary); border-radius: 2px; }
.landing-qr-code .finder::after { content: ""; position: absolute; inset: 2px; border-radius: 1px; background: var(--primary); }
.finder-a { grid-area: 1 / 1; }
.finder-b { grid-area: 1 / 4; }
.finder-c { grid-area: 4 / 1; }
.m-1 { grid-area: 1 / 3; } .m-2 { grid-area: 2 / 3; } .m-3 { grid-area: 3 / 1; } .m-4 { grid-area: 3 / 2; }
.m-5 { grid-area: 3 / 3; } .m-6 { grid-area: 3 / 4; } .m-7 { grid-area: 3 / 5; } .m-8 { grid-area: 4 / 3; }
.m-9 { grid-area: 4 / 4; } .m-10 { grid-area: 4 / 5; } .m-11 { grid-area: 5 / 3; }

/* Bölümler */
.landing-section { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.landing-section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 672px; text-align: center; }
.landing-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.landing-section-head h2 { margin: 0; font-size: clamp(24px, 4vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--primary); }
.landing-section-head p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }

.landing-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.landing-feature {
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.landing-feature:hover { box-shadow: var(--shadow-md); }
.landing-feature-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-3); color: var(--primary); transition: background-color .2s, color .2s; }
.landing-feature:hover .landing-feature-icon { background: var(--primary); color: var(--primary-text); }
.landing-feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.landing-feature h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--primary); }
.landing-feature p { margin: -8px 0 0; line-height: 1.55; color: var(--text-2); }

.landing-plan {
  display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 512px; padding: 40px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-sm);
}
.landing-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.landing-plan-head strong { font-size: 24px; font-weight: 700; color: var(--primary); }
.landing-plan-badge { padding: 4px 12px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.landing-plan-note { margin: 0; padding-bottom: 24px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.landing-plan ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--text-2); }
.landing-plan li { position: relative; padding-left: 32px; }
/* Dolu daire içinde onay işareti */
.landing-plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); }
.landing-plan li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 10px; border: solid var(--primary-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.landing-plan .button { width: 100%; }

.landing .site-footer { margin-top: 160px; }

/* Görünüme girince belirme (js/landing.js; JS veya hareket yoksa hep görünür). */
.landing-animated .reveal { opacity: 0; transform: translateY(40px); transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1); }
.landing-animated .reveal.revealed { opacity: 1; transform: none; }
.landing-animated .landing-feature.reveal:nth-child(3n + 2) { transition-delay: 90ms; }
.landing-animated .landing-feature.reveal:nth-child(3n) { transition-delay: 180ms; }

@media (max-width: 1023px) {
  .landing-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .landing-main { gap: 80px; padding: 96px 16px 0; }
  .landing-hero, .landing-section { gap: 48px; }
  .landing-visual { height: 520px; }
  .landing-phone { width: 260px; height: 510px; }
  .landing-phone-avatar { width: 80px; height: 80px; margin-top: 16px; }
  .landing-qr { bottom: 40px; left: -8px; width: 160px; }
  .landing .site-footer { margin-top: 96px; }
  .landing-plan { padding: 24px; }
}
@media (max-width: 639px) {
  .landing-features { grid-template-columns: minmax(0, 1fr); }
  .landing-lead, .landing-section-head p { font-size: 16px; }
  .landing-actions { flex-direction: column; align-self: stretch; }
  .landing-actions .button { width: 100%; }
  .landing-visual { height: 460px; }
  .landing-phone { width: 230px; height: 450px; }
  .landing-phone-screen { gap: 12px; padding: 12px; }
  .landing-phone-avatar { width: 64px; height: 64px; font-size: 26px; }
  .landing-qr { bottom: 16px; left: 4px; width: 144px; padding: 12px; }
}
