/* PrintPilot tanıtım sayfası. Renkler panelle aynı (web/src/styles/base.css). */
:root {
  --ink: #1d1d27;
  --ink-2: #5b5d6b;
  --ink-3: #8d8fa0;
  --paper: #ffffff;
  --tint: #f6f5fb;
  --line: #e6e4ef;
  --grid-minor: #efeef5;
  --grid-major: #e3e2ec;
  --accent: #7c5cff;
  --accent-ink: #5a3be8;
  --accent-tint: #f1edff;
  --run: #0ebe5b;
  --prep: #8fe0b0;
  --pause: #ff8a00;
  --done: #2e90fa;
  --idle: #fdc40a;
  --err: #f5222d;

  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 24px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 29, 39, .05), 0 14px 34px -10px rgba(29, 29, 39, .14), 0 48px 90px -30px rgba(90, 59, 232, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1320px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 11px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  font: 600 15.5px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 9px; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: #d6d3e4; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent-tint); border-color: var(--accent-tint); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-line:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.link { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.link:hover { color: var(--ink); }

/* ---------- Üst çubuk ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--body); letter-spacing: -.015em; }
.brand b { color: var(--accent); font-weight: 700; }
.mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  padding: 60px 0 0;
  /* Panel haritasındaki ızgara */
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(var(--grid-minor) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px) 0 0 / 24px 24px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 55%, #fff 88%);
}
.hero > .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--mono); color: var(--accent-ink); letter-spacing: .01em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px 8px 11px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* İmza: başlık alttan üste katman katman basılır */
.print {
  position: relative;
  margin: 22px 0 0;
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(40px, 6.3vw, 86px);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 15ch;
}
.print-body { display: block; }
.print .l1, .print .l2 {
  display: block;
  padding-bottom: .04em;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Katman çizgisi dokusu: 0.04em'de bir ince açık çizgi */
.print .l1 { background-image: repeating-linear-gradient(180deg, var(--ink) 0 .031em, #4a4a5e .031em .04em); }
.print .l2 { background-image: repeating-linear-gradient(180deg, var(--accent) 0 .031em, #a993ff .031em .04em); }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .print .l1 { color: var(--ink); -webkit-text-fill-color: currentColor; }
  .print .l2 { color: var(--accent); -webkit-text-fill-color: currentColor; }
}
.nozzle { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .print-body { animation: build 1.7s steps(30, end) .2s both; }
  .nozzle {
    display: block; position: absolute; left: -12px; right: -12px; height: 3px; border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(124, 92, 255, .15), 0 0 18px 3px rgba(124, 92, 255, .45);
    animation: nozzle 1.7s steps(30, end) .2s both, nozzle-off .4s ease 1.95s forwards;
  }
  @keyframes build { from { clip-path: inset(100% -20px 0 -20px); } to { clip-path: inset(-10% -20px -10% -20px); } }
  @keyframes nozzle { from { top: 100%; } to { top: 0; } }
  @keyframes nozzle-off { to { opacity: 0; } }
}

.lede { margin-top: 24px; max-width: 600px; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font: 400 13px/1.4 var(--mono); color: var(--ink-3); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--run); }

/* ---------- Ekran çerçevesi ---------- */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot-bar {
  display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: #fbfbfd;
  font: 400 12.5px/1 var(--mono); color: var(--ink-3);
}
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--run); box-shadow: 0 0 0 3px rgba(14, 190, 91, .16); }
.shot img { width: 100%; }
.shot-hero { margin-top: 52px; }

.legend-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 18px 4px 0; }
.legend-row p { max-width: 520px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font: 400 12.5px/1 var(--mono); color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }

/* ---------- Bölümler ---------- */
.sec { padding: 120px 0; scroll-margin-top: 40px; }
.sec-tint { background: var(--tint); border-block: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head h2 {
  font-family: var(--display); font-stretch: 112%; font-weight: 750;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.025em;
}
.sec-head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
.sec-head a { color: var(--accent-ink); }

/* Akış: sıralı adımlar */
.flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.flow li {
  display: grid; grid-template-columns: 64px 200px minmax(0, 1fr) 300px; gap: 8px 28px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.idx { font: 500 13px/1 var(--mono); color: var(--accent-ink); }
.flow h3 { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 21px; letter-spacing: -.015em; }
.flow p { color: var(--ink-2); font-size: 15.5px; }
.flow code {
  justify-self: end; text-align: right; color: var(--ink); font-size: 12.5px; line-height: 1.5;
  background: var(--tint); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px;
}

/* Ekran turu */
.tour { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.tour-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.tour-group { font: 700 10.5px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding: 18px 12px 8px; }
.tour-group:first-child { padding-top: 0; }
.tour-nav button {
  appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer;
  font: 500 15px/1 var(--body); color: var(--ink-2); padding: 11px 12px; border-radius: 9px;
  transition: background .12s ease, color .12s ease;
}
.tour-nav button:hover { background: rgba(124, 92, 255, .06); color: var(--ink); }
.tour-nav button[aria-selected="true"] { background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; }
.tour-panel .shot img { aspect-ratio: 1267 / 812; object-fit: cover; object-position: top left; transition: opacity .18s ease; }
.tour-panel .shot img.swap { opacity: 0; }
.tour-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; padding: 28px 4px 0; }
.tour-copy h3 { grid-column: 1 / -1; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 24px; letter-spacing: -.015em; }
.tour-copy p { color: var(--ink-2); font-size: 16px; }
.tour-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.tour-copy li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; }
.tour-copy li::before { content: ""; width: 10px; height: 3px; border-radius: 2px; background: var(--accent); transform: translateY(-3px); }

/* Kurulum */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; background: #fff; }
.steps .idx {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent-tint); font-size: 14px;
}
.steps h3 { margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.trust h3 { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.trust p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.compat-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compat { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compat caption { text-align: left; font: 500 12.5px/1 var(--mono); color: var(--ink-3); padding-bottom: 14px; }
.compat th, .compat td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compat thead th { font: 500 12px/1.3 var(--mono); color: var(--ink-3); border-bottom-color: var(--ink); }
.compat tbody th { font-weight: 600; }
.compat td { color: var(--ink-2); }
.compat .yes, .compat .no { font: 500 13px/1.4 var(--mono); white-space: nowrap; }
.compat .yes { color: #0f7a3f; }
.compat .yes::before, .compat .no::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--run); }
.compat .no { color: var(--ink-3); }
.compat .no::before { background: #cfd0da; }

/* Paketler */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; }
.plan h3 { font: 600 14px/1 var(--mono); color: var(--ink-2); }
.plan-limit { margin-top: 22px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 22px; letter-spacing: -.015em; }
.plan-limit b { font-size: 52px; line-height: 1; letter-spacing: -.04em; margin-right: 4px; font-weight: 800; }
.plan-price { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.plan > p:not(.plan-limit):not(.plan-price) { margin-top: 20px; color: var(--ink-2); font-size: 15px; flex: 1; }
.plan .btn { margin-top: 28px; }
.plan-demo { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.plan-demo h3 { color: var(--accent-ink); }

/* Sorular */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.faq-wrap .sec-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 2px; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 2px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 12px no-repeat;
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 24px; color: var(--ink-2); max-width: 640px; }
.faq code { background: var(--tint); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--ink); }

/* Kapanış */
.close { background: var(--ink); color: #fff; padding: 104px 0; overflow: hidden; }
.close-in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 48px; }
.close h2 { font-family: var(--display); font-stretch: 116%; font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
.close p { margin-top: 18px; color: #b9b9c8; font-size: 17px; max-width: 520px; }
.close-mark { width: 100%; height: auto; }
.close-mark rect { fill: var(--accent); }
.close-mark rect:nth-child(2) { fill: #9a81ff; }
.close-mark rect:nth-child(3) { fill: #b9a8ff; }

/* Alt bilgi */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot p { color: var(--ink-3); font-size: 14px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink); }
.foot small { width: 100%; color: var(--ink-3); font-size: 12.5px; }

/* ---------- Dar ekran ---------- */
@media (max-width: 1080px) {
  .flow li { grid-template-columns: 52px 170px minmax(0, 1fr); }
  .flow code { grid-column: 3; justify-self: start; text-align: left; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .tour-nav::-webkit-scrollbar { display: none; }
  .tour-group { display: none; }
  .tour-nav button { flex: none; border: 1px solid var(--line); background: #fff; }
  .tour-nav button[aria-selected="true"] { border-color: var(--accent-tint); }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .trust, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .close-in { grid-template-columns: minmax(0, 1fr); }
  .close-mark { width: 180px; order: -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav-in { height: 60px; gap: 12px; }
  .nav-cta .link { display: none; }
  .hero { padding-top: 56px; }
  .eyebrow { font-size: 11.5px; padding: 7px 11px 7px 9px; gap: 8px; }
  .print { font-stretch: 108%; letter-spacing: -.025em; }
  .shot-hero { margin-top: 48px; }
  .shot-bar { height: 32px; font-size: 11.5px; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 36px; }
  .flow li { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0; }
  .flow p, .flow code { grid-column: 2; }
  .tour-copy { grid-template-columns: minmax(0, 1fr); }
  .compat { font-size: 13.5px; min-width: 520px; }
  .close { padding: 80px 0; }
  .foot nav { margin-left: 0; }
}
