:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --accent: #0a84c6;
  --accent-2: #00a6a6;
  --ink: #1b2533;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --ok: #0f9d74;
  --warn: #d9822b;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button { font: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: .8rem; font-weight: 700;
}
.logo-text b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--accent); transition: background .2s, transform .2s, border-color .2s, opacity .2s;
}
.btn:hover { background: #086fa8; border-color: #086fa8; transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; background: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--bg-alt); border-color: #c9d3df; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #e9f3fa; border-color: #e9f3fa; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(0,166,166,.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(10,132,198,.35), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; padding: 96px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: #7fd4ee; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; }
.grad { background: linear-gradient(90deg, #4cc3f0, #3fe0c5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c9d6e6; font-size: clamp(1.02rem, 1.5vw, 1.15rem); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.live-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 22px; backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.live-head { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #9fb3c8; margin-bottom: 14px; }
.live-step { margin-left: auto; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3fe0c5; box-shadow: 0 0 0 0 rgba(63,224,197,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,224,197,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,197,0); } }
.live-profile { font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.live-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #7fd4ee; margin: 12px 0 8px; }
.live-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.live-list li {
  font-size: .9rem; color: #dbe6f2; padding-left: 18px; position: relative;
  opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s;
}
.live-list li.show { opacity: 1; transform: none; }
.live-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: #f0b45a; }
.live-result {
  font-size: .92rem; color: #fff; background: rgba(63,224,197,.12); border: 1px solid rgba(63,224,197,.3);
  padding: 10px 12px; border-radius: 10px; min-height: 44px; transition: opacity .4s; opacity: 0;
}
.live-result.show { opacity: 1; }
.live-bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.live-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4cc3f0, #3fe0c5); }

/* Pillars */
.pillars { border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 32px 24px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pn { font-size: .8rem; font-weight: 700; color: var(--accent-2); }
.pillar h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.pillar p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy), #0f2a4d); color: #fff; }
.section-dark .sub { color: #a9bccf; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.section-dark .eyebrow { color: #7fd4ee; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Finder */
.finder {
  max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px; box-shadow: 0 24px 50px -30px rgba(11,31,58,.25);
}
.finder-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.fp-bar { flex: 1; height: 6px; background: var(--bg-alt); border-radius: 6px; overflow: hidden; }
.fp-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .35s ease; }
.fp-text { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-title { font-size: 1.35rem; margin-bottom: 4px; }
.q-hint { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.opt {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
  display: flex; gap: 12px; align-items: flex-start; color: var(--ink);
}
.opt:hover { border-color: #b8d6ea; }
.opt.sel { border-color: var(--accent); background: #f0f8fd; box-shadow: 0 0 0 3px rgba(10,132,198,.12); }
.opt .ck {
  flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c3cfdc; margin-top: 2px;
  display: grid; place-items: center; transition: all .15s;
}
.opts.multi .opt .ck { border-radius: 6px; }
.opt.sel .ck { background: var(--accent); border-color: var(--accent); }
.opt.sel .ck::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.opt b { display: block; font-weight: 600; font-size: .97rem; }
.opt small { color: var(--muted); font-size: .84rem; }
.finder-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.q-anim { animation: qin .35s ease; }
@keyframes qin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

/* Result */
.result { max-width: 960px; margin: 0 auto; animation: qin .4s ease; }
.r-head {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: 20px 20px 0 0; padding: 32px;
}
.r-head .eyebrow { color: #7fd4ee; }
.r-head h3 { font-size: 1.6rem; margin-bottom: 12px; }
.r-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.r-tags span { font-size: .82rem; border: 1px solid rgba(255,255,255,.25); padding: 5px 11px; border-radius: 999px; color: #dbe6f2; }
.r-body { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; padding: 32px; display: grid; gap: 32px; }
.r-sec h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.r-path { border: 1px solid #cfe3f1; background: #f3f9fd; border-radius: 14px; padding: 20px; }
.r-path b { font-size: 1.1rem; display: block; margin-bottom: 6px; }
.r-path p { margin: 0; color: var(--muted); }
.r-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.r-act { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.r-act b { display: block; margin-bottom: 4px; }
.r-act p { margin: 0; color: var(--muted); font-size: .92rem; }
.r-act .mod { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--accent-2); background: #e0f5f5; padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
.r-prods { display: flex; flex-wrap: wrap; gap: 10px; }
.prod {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-width: 290px; flex: 1 1 240px;
}
.prod b { display: block; font-size: .95rem; }
.prod span { font-size: .85rem; color: var(--muted); }
.r-qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.r-qa li { display: flex; gap: 12px; align-items: flex-start; }
.r-qa .lvl { flex: none; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #fff4e6; color: var(--warn); }
.r-qa .lvl.std { background: #e8f7f1; color: var(--ok); }
.r-road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: rd; }
.r-road div { background: var(--bg-alt); border-radius: 12px; padding: 14px; position: relative; }
.r-road div::before { counter-increment: rd; content: counter(rd); font-size: .75rem; font-weight: 700; color: var(--accent-2); display: block; margin-bottom: 4px; }
.r-road b { display: block; font-size: .92rem; margin-bottom: 4px; }
.r-road span { font-size: .82rem; color: var(--muted); }
.r-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
.r-foot .note { color: var(--muted); font-size: .84rem; max-width: 420px; margin: 0; }
.r-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Process map */
.pm-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.seg { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--muted); }
.seg button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,31,58,.12); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.track { width: 46px; height: 26px; border-radius: 26px; background: #c9d3df; position: relative; transition: background .2s; }
.thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track .thumb { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch-label { font-weight: 600; font-size: .92rem; min-width: 150px; }

.pm-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-bottom: 20px; }
.pm-step {
  position: relative; border: 0; background: none; cursor: pointer; padding: 0 6px; text-align: center; color: var(--ink);
}
.pm-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 2px; background: repeating-linear-gradient(90deg, #c3cfdc 0 6px, transparent 6px 10px);
}
.improved .pm-step:not(:last-child)::after { background: var(--ok); }
.pm-node {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line); transition: all .25s; position: relative;
}
.pm-node svg { width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-step.active .pm-node { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,132,198,.12); }
.pm-step.active .pm-node svg { stroke: var(--accent); }
.pm-badge {
  position: absolute; top: -8px; left: calc(50% + 14px); font-size: .62rem; font-weight: 700; padding: 2px 6px; border-radius: 6px;
  background: #fff4e6; color: var(--warn); border: 1px solid #f6dcbc;
}
.improved .pm-badge { background: #e8f7f1; color: var(--ok); border-color: #bfe8d8; }
.pm-name { font-size: .88rem; font-weight: 600; }
.pm-detail {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  background: #fff; transition: background .3s;
}
.improved + .pm-detail { background: #fbfefd; }
.pm-detail h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.pm-detail .h-bad { color: var(--warn); }
.pm-detail .h-good { color: var(--ok); }
.pm-detail .h-tool { color: var(--accent); }
.pm-detail p { margin: 0; color: var(--muted); font-size: .95rem; }
.pm-detail .title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; margin-bottom: -8px; }
.pm-detail .title b { font-size: 1.15rem; }
.pm-detail .title span { color: var(--muted); font-size: .85rem; }

/* QA */
.qa-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.qa-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.qa-steps button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #dbe6f2;
  border-radius: 12px; padding: 14px 16px; transition: all .2s;
}
.qa-steps button:hover { background: rgba(255,255,255,.08); }
.qa-steps button.active { background: rgba(63,224,197,.12); border-color: rgba(63,224,197,.4); color: #fff; }
.qa-steps .qn { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.08); }
.qa-steps .active .qn { background: #3fe0c5; color: var(--navy); }
.qa-steps b { font-weight: 600; font-size: .97rem; display: block; }
.qa-steps small { color: #9fb3c8; font-size: .82rem; }
.qa-panel { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; min-height: 100%; }
.qa-panel h3 { font-size: 1.3rem; }
.qa-panel > p { color: var(--muted); }
.qa-panel h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 20px 0 10px; }
.gate { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.gate li { position: relative; padding-left: 30px; font-size: .95rem; }
.gate li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: #e8f7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.qa-out { display: inline-block; margin-top: 18px; font-size: .85rem; background: var(--bg-alt); border-radius: 8px; padding: 8px 12px; color: var(--muted); }
.qa-out b { color: var(--ink); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.timeline li { position: relative; }
.tl-no {
  position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--accent); color: var(--accent); font-weight: 700; margin-bottom: 16px;
}
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; }
.contact-inner { max-width: 720px; }
.contact .lead { color: #c9d6e6; font-size: 1.1rem; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.muted { color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .q-anim, .result { animation: none; }
}

/* Print: only the analysis result */
@media print {
  body * { visibility: hidden; }
  #result, #result * { visibility: visible; }
  #result { position: absolute; left: 0; top: 0; width: 100%; }
  .r-btns { display: none; }
  .r-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
  .pillar { border-top: 1px solid var(--line); }
  .pillar:nth-child(-n+2) { border-top: 0; }
  .qa-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
  .timeline li { display: flex; gap: 16px; }
  .tl-no { flex: none; margin: 0; }
  .r-road { grid-template-columns: 1fr; }
  .pm-detail { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 80px; }
  .finder { padding: 20px; border-radius: 16px; }
  .r-head, .r-body { padding: 22px; }
  .r-actions { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(3) { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 9px 8px; font-size: .85rem; }
  /* Süreç haritası mobilde dikey */
  .pm-flow { grid-template-columns: 1fr; gap: 6px; }
  .pm-step { display: flex; align-items: center; gap: 14px; text-align: left; padding: 4px 0; }
  .pm-node { margin: 0; width: 46px; height: 46px; flex: none; }
  .pm-step:not(:last-child)::after { display: none; }
  .pm-badge { position: static; margin-left: auto; }
}
