/* PassStorage tanıtım sayfası. Renkler uygulamanın paletinden gelir; açık/koyu tema sistem ayarına uyar. */
:root {
  --bg: #f6f7fb;
  --bg-alt: #eef1f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --border: #e3e7ef;
  --accent: #2f62f0;
  --accent-2: #5b8cff;
  --accent-soft: #e8efff;
  --navy: #0b122a;
  --shadow: 0 30px 60px -25px rgba(15, 23, 42, .35), 0 12px 24px -12px rgba(15, 23, 42, .18);
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 820px; }
.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .lang:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #1d4ed8); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 98, 240, .8); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(47, 98, 240, .9); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-light { background: #fff; color: #1d3aa8; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }

/* Üst menü */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none !important; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  background: transparent; color: var(--muted); border: 1px solid var(--border);
  border-radius: 10px; padding: 6px 10px; cursor: pointer;
}
.lang:hover { color: var(--text); border-color: var(--muted); }

/* Giriş */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 75% 35%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(30% 40% at 20% 20%, color-mix(in srgb, #8b5cf6 16%, transparent), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--accent), #7c5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.meta { margin-top: 16px; font-size: 14px; color: var(--muted); }
.meta.light { color: rgba(255, 255, 255, .75); }
.meta.light a { color: #fff; text-decoration: underline; }

/* Uygulama penceresi çerçevesi */
.window {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.window-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* Güven şeridi */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; padding-block: 20px; }
.pill { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.pill svg { color: var(--accent); }

/* Bölümler */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2, .split-text h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.sub { margin-top: 14px; font-size: 17px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .4); }
.card h3 { font-size: 17px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split.reverse .split-text { order: 2; }
.split-shot.narrow { max-width: 560px; justify-self: center; width: 100%; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f62f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Kurulum */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #7c5cf6); color: #fff; font-weight: 800;
}
.steps h3 { font-size: 16px; margin: 14px 0 6px; }
.steps p { font-size: 14px; color: var(--muted); }
.note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px;
  border-radius: var(--radius); border: 1px solid color-mix(in srgb, #f59e0b 45%, var(--border));
  background: color-mix(in srgb, #f59e0b 9%, var(--surface));
}
.note svg { color: #d97706; margin-top: 2px; }
.note p { font-size: 15px; }
.reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; }
.reqs div { border-top: 2px solid var(--border); padding-top: 14px; }
.reqs dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.reqs dd { margin: 4px 0 0; font-weight: 600; }

/* SSS */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 16px; border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Son çağrı */
.final { padding: 88px 0; background: linear-gradient(135deg, #0b122a 0%, #1d3a8a 60%, #3b2a9a 100%); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.final p { color: rgba(255, 255, 255, .8); font-size: 17px; }
.final .btn { margin-top: 12px; }

/* Alt bilgi */
.footer { padding: 40px 0; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 15px; }
.copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--border); }

/* Görünüşte hareket */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Duyarlı düzen */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 0; }
  .hero-shot { transform: none; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 64px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-inner { justify-content: flex-start; }
  .cta .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* İndirme öncesi e-posta penceresi */
.mail-dialog {
  width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow);
}
.mail-dialog[open] { animation: mail-in .18s ease-out; }
.mail-dialog::backdrop { background: rgba(11, 18, 42, .55); backdrop-filter: blur(3px); }
.mail-form { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.mail-form h2 { font-size: 22px; }
.mail-why { color: var(--muted); font-size: 15px; }
.mail-label { font-size: 14px; font-weight: 600; margin-top: 4px; }
.mail-input {
  font: inherit; width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.mail-input:focus { outline: 3px solid var(--accent-2); outline-offset: 1px; border-color: var(--accent); }
.mail-input[aria-invalid="true"] { border-color: #dc2626; }
.mail-error { color: #dc2626; font-size: 14px; }
.mail-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.mail-actions .btn { padding: 11px 20px; font-size: 15px; cursor: pointer; font-family: inherit; }
.mail-actions .btn:disabled { opacity: .7; cursor: default; transform: none; }
@keyframes mail-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .mail-form { padding: 22px; }
  .mail-actions .btn { flex: 1; }
}
