/* metrajan.com: tanıtım sahnesi ve sayfa. Renk kuralı: turuncu yalnız ölçülen yer ve odak halkası, mor yalnız ajan yorumu ve açık konu. */

:root {
  --ink: #16181D;
  --ink-700: #2A2E36;
  --ink-600: #30353E;
  --sap: #5A616C;
  --grey-600: #3F454E;
  --grey-500: #8A919B;
  --grey-400: #AEB4BE;
  --grey-300: #C4C8CE;
  --grey-250: #D5D9DF;
  --beton: #DFE1E4;
  --kirec: #F1F2F4;
  --kagit: #FFFFFF;
  --cirpi: #F25A1D;
  --cirpi-100: #FDE7DC;
  --ozalit: #5B45D6;
  --ozalit-100: #E7E3FB;
  --ozalit-700: #4532B0;
  --deniz: #0B655A;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --wrap: 1224px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--ozalit-700); }
a:hover { color: #2A2060; }
:focus-visible { outline: 3px solid var(--cirpi); outline-offset: 2px; }
.mono { font-family: var(--mono); }
[id] { scroll-margin-top: 16px; }
#sayfa, #tanitim { scroll-margin-top: 0; }

/* ---------- Tanıtım sahnesi ---------- */

.intro { position: relative; height: 100vh; height: 100svh; background: var(--ink); color: #FFFFFF; }
.intro-live .intro { height: 880vh; height: 880svh; }
/* Tanıtım ve sayfa ayrı kaydırılır: biri görünürken öbürü akışta yoktur. */
.intro-live.in-intro main { display: none; }
.intro-live.in-page .intro { display: none; }
.intro-live .stage { position: fixed; inset: 0; height: auto; }
main { background: var(--kagit); }
#sayfa:focus { outline: none; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
#sahne { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; }
.intro-live #sahne { opacity: 1; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.lab {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 8px; white-space: nowrap; font-family: var(--mono); font-size: 13px; font-weight: 600;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.lab-dark { border: 1px solid var(--grey-500); border-radius: 4px; background: rgba(22, 24, 29, 0.9); color: #FFFFFF; }
.lab-violet { border-radius: 4px; background: var(--ozalit); color: #FFFFFF; }
.lab-tag { height: 30px; padding: 0 10px; background: var(--cirpi); color: var(--ink); font-size: 15px; }
.lab-pin { min-width: 28px; height: 28px; padding: 0; border: 2px solid #FFFFFF; border-radius: 14px; background: var(--ozalit); color: #FFFFFF; font-size: 14px; }

.intro-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand span { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.beats { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; }
.intro-live .beats { display: flex; }
.beats button { display: grid; place-items: center; width: 32px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.beats button::before { content: ""; width: 10px; height: 10px; border: 1.5px solid #FFFFFF; opacity: 0.5; transition: opacity 0.2s, background-color 0.2s; }
.beats button:hover::before { opacity: 1; }
.beats button[aria-current="step"]::before { background: #FFFFFF; opacity: 1; }

.open {
  position: absolute; left: 50%; bottom: max(118px, 14%); transform: translateX(-50%); width: min(860px, calc(100% - 40px));
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.open .kicker { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--grey-400); }
.open .title { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.open .lead { max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: var(--grey-250); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1.5px solid #FFFFFF; border-radius: 4px;
  background: rgba(22, 24, 29, 0.5); color: #FFFFFF; font-size: 16px; font-weight: 600; text-decoration: none;
}
.btn-ghost:hover { background: #FFFFFF; color: var(--ink); }
.skip { position: absolute; left: 50%; bottom: 16px; display: none; transform: translateX(-50%); will-change: transform; }
.intro-live .skip { display: inline-flex; }
.intro-live .open-skip { visibility: hidden; }

.cards { position: absolute; left: 28px; bottom: 40px; width: min(460px, calc(100% - 56px)); pointer-events: none; }
.card {
  position: absolute; left: 0; bottom: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px;
  border: 1px solid var(--ink-600); border-radius: 8px; background: rgba(22, 24, 29, 0.9); opacity: 0;
}
.card .n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid #FFFFFF; font-family: var(--mono); font-size: 15px; font-weight: 600; }
.card h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.card p { font-size: 17px; color: var(--grey-250); }

.hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--grey-250); pointer-events: none; }
.hint .mouse { position: relative; display: block; width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 12px; }
.hint .wheel { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; background: var(--cirpi); animation: mjWheel 1.7s cubic-bezier(.55, 0, .35, 1) infinite; }
.hint .word { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; }
@keyframes mjWheel { 0% { transform: translateY(0); opacity: 0; } 18% { opacity: 1; } 70%, 100% { transform: translateY(11px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hint .wheel { animation: none; } }

.veil { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; }
.cut { position: fixed; inset: 0; z-index: 100; background: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.cut.on { opacity: 1; visibility: visible; transition: opacity 0.22s ease; }

@media (max-width: 720px) {
  .lab { height: 22px; padding: 0 6px; font-size: 11px; }
  .lab-tag { height: 24px; padding: 0 7px; font-size: 12px; }
  .lab-pin { min-width: 24px; height: 24px; padding: 0; font-size: 12px; }
  .lab-wide { display: none; }
  .intro-top { padding: 10px 16px; }
  .brand span { font-size: 23px; }
  .beats { right: 4px; }
  .cards { left: 16px; bottom: 72px; width: calc(100% - 56px); }
  .card { padding: 16px 18px; gap: 8px; }
  .card p { font-size: 16px; }
  .open { bottom: 104px; gap: 14px; }
  .hint { bottom: 16px; }
}
@media (max-height: 560px) {
  .open { bottom: 84px; gap: 10px; }
  .open .lead { display: none; }
  .hint .word { display: none; }
  .hint { bottom: 12px; }
}

/* ---------- Sayfa ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.dark { position: relative; overflow: hidden; background-color: var(--ink); color: #FFFFFF;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px; }
.tint { background: var(--kirec); }
.sec { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.sec-head { max-width: 760px; }
.sec-head p { margin-top: 14px; color: var(--sap); }
h2.big { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.muted { color: var(--sap); }

.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; }
.site-head .brand span { font-size: 24px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--grey-250); text-decoration: none; }
.site-nav a:hover { color: #FFFFFF; }
.spacer { flex: 1 1 auto; }
.link-plain { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.link-plain:hover { color: var(--grey-250); }
/* Henüz açılmamış bağlantı: soluk durur, üzerine gelince ya da dokununca "Çok yakında" çıkar */
.soon, .soon:hover { position: relative; color: var(--grey-500); cursor: default; }
.soon-tip { position: absolute; top: calc(100% - 2px); left: 50%; z-index: 5; transform: translateX(-50%); padding: 5px 10px; border-radius: 4px; background: #FFFFFF; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.15s ease, visibility 0s linear 0.15s; pointer-events: none; }
.soon:hover .soon-tip, .soon:focus .soon-tip { opacity: 1; visibility: visible; transition-delay: 0s; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { background: var(--beton); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn-xl { min-height: 56px; padding: 0 28px; font-size: 18px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-top: 56px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.hero .lead { max-width: 540px; font-size: 19px; line-height: 1.5; color: var(--grey-250); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; color: #FFFFFF; font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--grey-250); }
.cta-note { margin-top: -10px; font-family: var(--mono); font-size: 13px; color: var(--grey-400); }
.mail.alt { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.for { display: flex; flex-direction: column; gap: 8px; max-width: 440px; padding-top: 8px; }
.dimline { position: relative; width: 100%; height: 13px; }
.dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: #7D8591; }
.dimline svg { position: absolute; top: 0; }
.dimline svg:first-child { left: 0; }
.dimline svg:last-child { right: 0; }
.for p { font-size: 15px; color: var(--grey-400); }

.demo { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 8px; background: #FFFFFF; color: var(--ink); }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.demo-top .hintline { font-family: var(--mono); font-size: 13px; color: var(--sap); }
.demo-total { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; background: var(--cirpi); color: var(--ink); font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--grey-300); border-radius: 4px; background: #FFFFFF; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.chip .mono { font-size: 13px; }
.chip[aria-pressed="true"] { border-color: var(--cirpi); background: var(--cirpi-100); }
.plan { position: relative; }
.plan svg { display: block; width: 100%; height: auto; }
.plan .fill { opacity: 0; transition: opacity 0.25s ease; }
.plan .fill.on { opacity: 1; }
.plan .ring { fill: none; stroke: none; stroke-width: 4; }
.plan .ring.on { stroke: var(--cirpi); }
.plan .tag { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; height: 28px; padding: 0 8px; background: var(--cirpi); color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 600; white-space: nowrap; }
.source { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 10px 12px; border-radius: 4px; background: var(--kirec); font-size: 14px; }
.source b { font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px 28px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid var(--ink); font-family: var(--mono); font-size: 15px; font-weight: 600; }
.steps h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.steps p { font-size: 16px; color: var(--sap); }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; }
.box { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--beton); border-radius: 8px; background: #FFFFFF; }
.box.inv { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.box .eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--sap); }
.box.inv .eyebrow { color: var(--grey-400); }
.box h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.box li { padding: 12px 0; border-top: 1px solid var(--beton); }
.box.inv li { border-top-color: var(--ink-600); color: #ECEEF1; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.split.rev { flex-wrap: wrap-reverse; }
.split-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-copy p { color: var(--sap); }
.trace { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--beton); border-radius: 8px; }
.trace-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.trace-head b { font-weight: 600; }
.trace-head .qty { font-family: var(--mono); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.trace li { display: flex; gap: 14px; }
.trace .rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.trace .dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1.5px solid var(--ink); background: #FFFFFF; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.trace .line { flex: 1; width: 1.5px; min-height: 14px; background: var(--grey-300); }
.trace li:last-child .dot { border-color: var(--deniz); background: var(--deniz); color: #FFFFFF; }
.trace li:last-child .line { background: transparent; }
.trace .txt { display: flex; flex-direction: column; gap: 1px; padding-bottom: 14px; }
.trace .k { font-size: 14px; color: var(--sap); }
.trace .v { font-weight: 600; }

.issue { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 8px; background: var(--ozalit-100); }
.issue-top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ozalit-700); }
.issue-top .pin { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 13px; background: var(--ozalit); color: #FFFFFF; font-family: var(--mono); }
.issue h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: #1E1750; }
.issue p { font-size: 16px; color: #2A2060; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 600; background: #FFFFFF; color: #2A2060; }
.badge.solid { background: var(--ozalit); color: #FFFFFF; }

.outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.out { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--beton); border-radius: 8px; background: #FFFFFF; }
.out h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.out p { font-size: 16px; color: var(--sap); }

.scopes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 28px; }
.scopes li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.scopes h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.scopes p { font-size: 16px; color: var(--sap); }

.close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; padding-top: 96px; padding-bottom: 96px; }
.close-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.close h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.close-copy p { max-width: 520px; font-size: 19px; color: var(--grey-250); }
.close-cta { flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mail { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-size: 16px; color: #FFFFFF; }
.mail:hover { color: var(--grey-250); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 32px; padding-bottom: 32px; font-size: 15px; color: var(--sap); }
.foot .brand { color: var(--ink); min-height: 0; gap: 8px; }
.foot .brand span { font-size: 19px; }
.foot .slogan { font-family: var(--mono); font-size: 14px; }
.foot a.plain { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot a.plain:hover { color: var(--sap); }
.replay { display: none; }
.intro-live .replay { display: inline-flex; }

@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .close { padding-top: 72px; padding-bottom: 72px; }
}
