/* ParkWiser 3D vitrin ("Park yeri 26").
   The DOM is a quiet text column; all motion lives in the canvas. Two colour zones:
   sokak (night asphalt) and garaj (lit concrete). */

/* ---------- Fonts (self-hosted, latin / latin-ext splits) ----------
   IBM Plex Sans + Serif for all text, as on the main site. Outfit stays only for glyphs
   drawn on the canvas and the painted bay numbers, which copy the app's own typeface. */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/outfit-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/outfit-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url(../assets/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url(../assets/fonts/ibm-plex-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/ibm-plex-serif-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/ibm-plex-serif-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Zone tokens ----------
   Registered as <color> so the zone flip during the "İçeri" event can transition the
   variables themselves (scrim gradient, text, borders) instead of snapping. */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #10151C; }
@property --text { syntax: "<color>"; inherits: true; initial-value: #EEF1F5; }
@property --text-2 { syntax: "<color>"; inherits: true; initial-value: #A9B3C1; }
@property --link { syntax: "<color>"; inherits: true; initial-value: #93AEFF; }
@property --focus { syntax: "<color>"; inherits: true; initial-value: #93AEFF; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(238, 241, 245, .16); }
@property --btn2-border { syntax: "<color>"; inherits: true; initial-value: rgba(238, 241, 245, .42); }
@property --btn2-text { syntax: "<color>"; inherits: true; initial-value: #EEF1F5; }

html[data-zone="sokak"], .static .zone-sokak {
  --bg: #10151C; --text: #EEF1F5; --text-2: #A9B3C1; --link: #93AEFF; --focus: #93AEFF;
  --line: rgba(238, 241, 245, .16); --btn2-border: rgba(238, 241, 245, .42); --btn2-text: #EEF1F5;
  --paint: #ECEAE2;
  color-scheme: dark;
}
html[data-zone="garaj"], .static .zone-garaj {
  --bg: #E4E6E2; --text: #0E1220; --text-2: #4A5160; --link: #1D4ED8; --focus: #1D4ED8;
  --line: rgba(14, 18, 32, .14); --btn2-border: rgba(14, 18, 32, .40); --btn2-text: #0E1220;
  --paint: #E2B13C;
  color-scheme: light;
}
:root { --btn-bg: #1D4ED8; --btn-text: #FFF; }

/* The canvas lerps over 350–850 ms of the event; the DOM zone flips at 450 ms and eases
   over 400 ms so both land together and no large area changes luminance faster than 400 ms. */
html.motion {
  transition: --bg 400ms linear, --text 400ms linear, --text-2 400ms linear, --link 400ms linear,
    --focus 400ms linear, --line 400ms linear, --btn2-border 400ms linear, --btn2-text 400ms linear;
}

@media (prefers-contrast: more) {
  html[data-zone], .static .zone-sokak, .static .zone-garaj { --text-2: var(--text); }
}

/* ---------- Base ---------- */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.6;
  hyphens: manual;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

h1, h2 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.5rem, 1rem + 4.4vw, 5.5rem); line-height: 1.02; letter-spacing: -0.01em; max-width: 12em; }
h2 { font-size: clamp(1.75rem, .9rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 16em; }
h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p { margin: 0; max-width: 34em; text-wrap: pretty; }
.lead { font-weight: 380; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; }
.small { font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 599px) {
  .small { font-size: 13px; }
}

/* Vertical rhythm inside a chapter */
.text > .anchor + * { margin-top: 20px; }
.text > .anchor + .intro { margin-top: 28px; }
.text > .intro + h3 { margin-top: 28px; }
.text > h3 + p { margin-top: 20px; }
.text > * + .small { margin-top: 16px; }
.text > .lead + .actions { margin-top: 32px; }
.text > p + .actions { margin-top: 28px; }
.text > .actions + .small { margin-top: 28px; }

/* =====================================================================
   RICH 2D SECTIONS (Göstergeler, Paketler) — self-contained light surface
   that flows after the 3D story and sits above the fixed canvas.
   Own paper/ink tokens so it never flips with the scene zone.
   ===================================================================== */
.sheet {
  position: relative; z-index: 3;
  --ink: #0E1220; --ink-2: #4A5160; --paper: #F7F7F5; --card: #FFFFFF;
  --hair: rgba(14, 18, 32, .12); --blue: #1D4ED8; --green: #12B76A;
  background: var(--paper); color: var(--ink);
}
/* Mask the garage→paper seam: a solid paper band riding just above the sheet so no
   sliver of yellow floor paint or sensor pucks shows through as the handoff scrolls past. */
.sheet::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px;
  background: var(--paper); z-index: 1; pointer-events: none;
}
.static .sheet::before { display: none; }
.rich { padding: 88px 16px; border-top: 1px solid var(--hair); }
.rich-alt { background: #EFEFEC; }
.rich-inner { max-width: 1120px; margin: 0 auto; }
.rich-head { max-width: 40rem; }
.eyebrow {
  margin: 0; font-weight: 600; font-size: 15px; letter-spacing: 0;
  color: var(--blue);
}
.rich-head h2 {
  margin-top: 14px; color: var(--ink);
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem);
}
.rich-lead {
  margin-top: 18px; max-width: 36em;
  font-weight: 380; font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  line-height: 1.55; color: var(--ink-2);
}
@media (min-width: 600px) { .rich { padding: 104px 40px; } }
@media (min-width: 900px) { .rich { padding: 120px clamp(24px, 5.5vw, 104px); } }

/* ---- Göstergeler: three numbered concept cards ---- */
.metrics {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .metrics { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.metric {
  background: var(--card); border: 1px solid var(--hair);
  border-radius: 18px; padding: 28px 26px 26px;
  display: flex; flex-direction: column;
}
.metric-no {
  margin: 0; font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500;
  font-size: 34px; line-height: 1; color: var(--blue);
  letter-spacing: -.01em; font-feature-settings: "tnum" 1;
}
.metric h3 { margin-top: 16px; color: var(--ink); font-size: 1.3125rem; }
.metric-q {
  margin-top: 12px; font-weight: 500; font-size: 1.0625rem;
  line-height: 1.4; color: var(--ink);
}
.metric-body {
  margin-top: 12px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2);
}
.metric-not {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hair);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .875rem; line-height: 1.5; color: var(--ink-2);
}
/* keep a minimum gap above the divider on the tallest card */
.metric-body { margin-bottom: 18px; }
.metric-sign {
  flex: none; font-weight: 700; font-size: 1.125rem; line-height: 1.35;
  color: var(--blue);
}

/* ---- Paketler: plans + add-on packs ---- */
.plans {
  margin-top: 56px; display: grid; gap: 20px; grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--hair);
  border-radius: 18px; padding: 30px 26px;
  display: flex; flex-direction: column;
}
.plan-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 18px 40px -22px rgba(29, 78, 216, .45);
}
.plan-tag {
  position: absolute; top: -12px; left: 26px;
  margin: 0; padding: 5px 12px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 12.5px;
  letter-spacing: .01em;
}
.plan-name { margin: 0; font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.plan-price { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.plan-amount { white-space: nowrap; }
.plan-amount {
  font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500;
  font-size: 2.5rem; line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.plan-per { font-size: 1rem; color: var(--ink-2); }
.plan-meta { margin: 10px 0 0; font-weight: 600; font-size: .9375rem; color: var(--blue); }
.plan-desc { margin: 14px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.plan .btn { width: 100%; }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--hair); }
.btn-ghost:hover { border-color: var(--blue); }

.addons {
  margin-top: 36px; background: var(--card); border: 1px solid var(--hair);
  border-radius: 18px; padding: 26px;
  display: grid; gap: 16px;
}
@media (min-width: 760px) {
  .addons { grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .addons-title { grid-row: 1; }
  .addon-list { grid-row: 1; }
  .addons-note { grid-column: 1 / -1; }
}
.addons-title { margin: 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.addon-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.addon-list li {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--hair); border-radius: 12px;
  background: var(--paper);
}
.addon-q { font-weight: 500; color: var(--ink); }
.addon-p { font-weight: 600; color: var(--blue); }
.addons-note { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }

/* Footer extra lines */
.foot-stores { margin-top: 18px; }
.foot-store-label { color: var(--text); font-weight: 500; }
.store-badges { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 54px; padding: 9px 18px; border-radius: 13px;
  background: #0E1220; color: #fff;
}
.store-glyph { width: 26px; height: 26px; flex: none; }
.store-lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-soon { font-size: 11.5px; opacity: .78; }
.store-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.foot-support { margin-top: 30px; }
.foot-tubitak { color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 44em; }
.foot-tubitak strong { color: var(--text); font-weight: 700; }
.support-logos { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.support-logos img { height: 44px; width: auto; display: block; }
.foot-demo { font-style: italic; margin-top: 28px; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 999px; box-sizing: border-box;
  font: 600 16px/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 120ms linear, color 120ms linear, border-color 120ms linear;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: #1E40AF; }
.btn-secondary { background: transparent; color: var(--btn2-text); border: 1.5px solid var(--btn2-border); }
.btn-secondary:hover { border-color: var(--btn2-text); }

/* ---------- Skip link, header, footer ---------- */
.skip {
  position: absolute; left: 16px; top: -200px; z-index: 20;
  padding: 12px 18px; border-radius: 10px;
  background: var(--btn-bg); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Site header: a 1:1 copy of the ArcMotus site header (Header.jsx) ----------
   Same box model, breakpoints (sm 640 / lg 1024 / xl 1280), palette and light/dark theme
   (html[data-theme], key "arcmotus.theme"), so moving between site pages and this page
   never shifts the bar. It deliberately ignores the 3D zone colours. */
:root {
  --h-paper: #f7f7f5; --h-ink: #0e1220; --h-ink-2: #474d5e; --h-line: #e3e2dc;
  --h-line-strong: #cfcdc4; --h-accent: #28116a; --h-violet: #28116a;
}
html[data-theme="dark"] {
  --h-paper: #0f1117; --h-ink: #eef0f5; --h-ink-2: #b9bfcc; --h-line: #2b3140;
  --h-line-strong: #3c4354; --h-accent: #c4b5fd; --h-violet: #6a4ae0;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  border-bottom: 1px solid color-mix(in oklab, var(--h-line) 80%, transparent);
  background: color-mix(in oklab, var(--h-paper) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--h-ink); font-feature-settings: "ss01"; font-size: 16px; line-height: 24px;
}
.hdr-inner {
  box-sizing: border-box; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 640px) { .hdr-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .hdr-inner { padding: 0 40px; } }
.site-brand { flex: none; display: block; text-decoration: none; }
.brand-in { display: inline-flex; align-items: center; gap: 10px; }
.site-brand img { width: 36px; height: 36px; }
.site-brand .mark-dark, html[data-theme="dark"] .site-brand .mark-light { display: none; }
html[data-theme="dark"] .site-brand .mark-dark { display: block; }
.site-brand-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--h-accent); line-height: 1.5; }
.site-nav { display: none; }
@media (min-width: 1280px) { .site-nav { display: block; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: inline; border-radius: 999px; padding: 8px 12px;
  font-size: .92rem; font-weight: 500; line-height: 1.5; color: var(--h-ink-2); text-decoration: none;
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--h-ink); }
.site-nav a[aria-current="page"] { color: var(--h-accent); }
.header-end { display: flex; align-items: center; gap: 8px; }
@media (min-width: 640px) { .header-end { gap: 12px; } }
.lang-switch { display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--h-line-strong); padding: 2px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-height: 36px; min-width: 44px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  color: var(--h-ink-2); text-decoration: none;
}
.lang-switch a:hover { color: var(--h-ink); }
.lang-switch a[aria-current="true"] { background: var(--h-ink); color: var(--h-paper); }
.hdr-icon {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--h-line-strong);
  background: transparent; color: var(--h-ink-2); cursor: pointer;
}
.hdr-icon:hover { color: var(--h-ink); }
.hdr-icon svg { width: 20px; height: 20px; }
.theme-toggle .i-sun, html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.header-end > .theme-toggle { display: none; }
@media (min-width: 640px) { .header-end > .theme-toggle { display: inline-flex; } }
.header-cta {
  display: none; align-items: center; box-sizing: border-box; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--h-violet); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; white-space: nowrap;
}
.header-cta:hover { filter: brightness(1.1); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.menu-toggle { color: var(--h-ink); }
.menu-toggle .i-x, .menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-x { display: block; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  height: calc(100dvh - 4.5rem); overflow-y: auto; box-sizing: border-box;
  border-top: 1px solid var(--h-line); background: var(--h-paper); color: var(--h-ink);
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 1280px) { .mobile-menu { display: none; } }
.mobile-menu nav { box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 24px 16px; }
@media (min-width: 640px) { .mobile-menu nav { padding: 24px 24px; } }
@media (min-width: 1024px) { .mobile-menu nav { padding: 24px 40px; } }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--h-line); }
.mobile-menu ul a { display: flex; align-items: center; min-height: 56px; font-size: 1.25rem; font-weight: 500; color: var(--h-ink); text-decoration: none; }
.mm-theme { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
@media (min-width: 640px) { .mm-theme { display: none; } }
.mm-cta {
  margin-top: 32px; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--h-violet); color: #fff; font-weight: 600; text-decoration: none;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-footer {
  position: relative; z-index: 3;
  background: var(--bg); color: var(--text);
  border-top: 1px solid var(--line);
}
.foot-inner { padding: 48px 16px 40px; display: grid; gap: 10px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.foot-brand img { width: 24px; height: 24px; }
.foot-line { color: var(--text); }

/* ---------- Device frames (static figures and the pre-render placeholder) ---------- */
.device { position: relative; box-sizing: border-box; }
.device img { width: 100%; height: auto; }
.device.phone {
  width: 280px;
  border: 10px solid #3B4048; padding: 2px; background: #05070B;
  border-radius: 40px;
}
.device.phone img { border-radius: 28px; }
.device.phone::after { /* punch-hole camera at source px (540, 35), r 18 */
  content: ""; position: absolute; left: 50%; top: calc(2px + 1.51%);
  width: 3.33%; aspect-ratio: 1; border-radius: 50%; background: #05070B;
  transform: translate(-50%, -50%);
}
.device.laptop {
  width: min(100%, 560px);
  border: 12px solid #07080A; border-radius: 12px 12px 4px 4px; background: #07080A;
}
.device.laptop img { border-radius: 2px; }
.device.laptop::after { /* base bar */
  content: ""; position: absolute; left: -14px; right: -14px; bottom: -22px; height: 10px;
  border-radius: 0 0 8px 8px; background: #3B4048;
}

/* Painted bay: U-shaped lines plus "26". Proportions come from the 3D set
   (bay 1.4 x 2.4 units, phone 0.789 x 1.644, number 0.42 x 0.26). */
.bay-fig { --pw: 280px; --sm: 44px; --tm: 44px; --bm: 120px; --lw: 6px; --numW: 150px; --numH: 94px; --numY: 58px; }
.bay { position: relative; padding: var(--tm) var(--sm) var(--bm); width: max-content; }
.bay .device.phone { width: var(--pw); }
.bay-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bay-lines path { fill: none; stroke: var(--paint); stroke-width: var(--lw); vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.bay-num {
  position: absolute; left: 50%; width: var(--numW); height: var(--numH);
  bottom: calc(var(--bm) - var(--numY) - var(--numH) / 2); transform: translateX(-50%);
}
.bay-num text { font: 700 120px "Outfit", system-ui, sans-serif; fill: var(--paint); }
@media (max-width: 599px) {
  .bay-fig { --pw: 220px; --sm: 34px; --tm: 34px; --bm: 96px; --lw: 5px; --numW: 120px; --numH: 75px; --numY: 46px; }
  .device.phone { width: 220px; border-width: 8px; border-radius: 32px; }
  .device.phone img { border-radius: 22px; }
}

/* =====================================================================
   MOTION MODE
   ===================================================================== */
.motion .still { display: none; }
.probe { position: absolute; top: 0; left: 0; height: 0; width: var(--colRight, 0px); visibility: hidden; pointer-events: none; }
.story { position: relative; }
.stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 400ms linear; }
.motion.ready .stage canvas { opacity: 1; }
.scrim { display: none; pointer-events: none; }
.static .stage, .static .scrim { display: none; }

/* --- Stacked layout (phones, portrait tablets, everything that is not split) --- */
.motion { --stage-h: clamp(300px, 54svh, 560px); }
@media (min-width: 600px) { .motion { --stage-h: 50svh; } }
.motion { --hdr-h: 72px; }   /* the fixed site header; the stage sits right under it */
.motion .stage {
  position: sticky; top: var(--hdr-h); z-index: 2;
  height: var(--stage-h);
  background: var(--bg);
}
.motion .stage::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px;
  background: linear-gradient(var(--bg), transparent);
  pointer-events: none;
}
.motion .chapter { min-height: var(--mh); padding: 0 16px; box-sizing: border-box; }
.motion .hero .text { padding-top: 22px; }
.motion .hero-still {
  /* pre-render placeholder, centred in the stage where the first 3D frame will appear */
  --u: calc(var(--stage-h) / 2.5929);
  display: block; position: fixed; z-index: 3; margin: 0; pointer-events: none;
  left: 50%; top: calc(var(--hdr-h) + var(--stage-h) / 2);
  transform: translate(-50%, -50%) translateY(calc(var(--u) * 0.05));
  transition: opacity 400ms linear;
}
@media (min-width: 600px) {
  .motion .chapter { padding: 0 40px; }
  .motion .chapter .text { max-width: 36em; }
  .foot-inner { padding-left: 40px; padding-right: 40px; }
}

/* Placeholder geometry in world units (u = px per 10 cm at the hero camera). */
.motion .hero-still.bay-fig {
  --pw: calc(var(--u) * 0.789); --sm: calc(var(--u) * 0.3055); --tm: calc(var(--u) * 0.328);
  --bm: calc(var(--u) * 0.428); --lw: calc(var(--u) * 0.06);
  --numW: calc(var(--u) * 0.42); --numH: calc(var(--u) * 0.26); --numY: calc(var(--u) * 0.208);
}
.motion .hero-still .device.phone {
  border-width: calc(var(--u) * 0.012); padding: calc(var(--u) * 0.0101);
  border-radius: calc(var(--u) * 0.098);
}
.motion .hero-still .device.phone img { border-radius: calc(var(--u) * 0.0759); }
.motion .hero-still .device.phone::after { top: calc(var(--u) * 0.0101 + 1.51%); }
.motion .hero-still::before { /* the lamp pool */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4);
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 226, 184, .10), rgba(255, 226, 184, 0));
}
.motion.ready .hero-still { opacity: 0; }
.motion .hero-still.done { display: none; }

/* --- Split layout: canvas fixed behind a left text column --- */
@media (min-width: 960px) and (min-aspect-ratio: 6/5), (min-aspect-ratio: 13/10) and (max-height: 520px) {
  :root { --gutter: clamp(24px, 5.5vw, 104px); --col: clamp(340px, 34vw, 520px); --colRight: calc(var(--gutter) + var(--col)); }
  .foot-inner { padding: 56px var(--gutter) 44px; }

  .motion .stage { position: fixed; inset: 0; z-index: 0; height: 100%; width: 100%; background: transparent; }
  .motion .stage::after { display: none; }
  .motion .scrim {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--bg) 0, var(--bg) calc(var(--colRight) - 80px), transparent calc(var(--colRight) + 160px));
    opacity: .94;
  }
  .motion .chapter { padding: 0 0 0 var(--gutter); }
  .motion .chapter .text { width: var(--col); max-width: none; position: relative; z-index: 2; }
  .motion .hero .text {
    width: min(44vw, 680px);
    min-height: 100svh; box-sizing: border-box; padding: 72px 0 4svh;
    display: flex; flex-direction: column; justify-content: center;
  }
  .motion .hero-still {
    --u: calc(100vh / 2.5929);
    position: fixed; z-index: 1;
    left: var(--cx, calc(var(--colRight) + (100% - var(--colRight)) / 2 + 16px)); top: 50%;
  }
}
@media (prefers-contrast: more) { .motion .scrim { opacity: 1; } }
@media (min-aspect-ratio: 13/10) and (max-height: 520px) {
  :root { --col: 44vw; }
  .motion .hero .text { width: 50vw; }
  .motion .stage { height: 100%; }
}

/* =====================================================================
   STATIC MODE (reduced motion, no WebGL2, low memory)
   ===================================================================== */
.static { --gutter: 16px; }
.static .chapter { background: var(--bg); color: var(--text); padding: 0 var(--gutter) 96px; }
.static .hero { padding-top: 104px; }
.static #giris { padding-top: 96px; }
.static .still { margin: 40px 0 0; }
.static .still-pair { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.static .still-laptop { padding-bottom: 22px; }
.static .phone-small { width: 160px; border-width: 7px; border-radius: 26px; }
.static .phone-small img { border-radius: 18px; }
.static .site-footer { border-top: 0; }

/* Static hero/close bay: paint the floor so it reads as a parking bay, not a framed card.
   A faint perspective tilt + a warmer, thicker stroke + a contact shadow under the phone. */
.static .bay-fig { --lw: 8px; perspective: 1400px; }
.static .bay { transform: rotateX(7deg); transform-origin: 50% 100%; }
.static .bay-lines path { stroke-width: var(--lw); opacity: .9; stroke-linecap: square; }
.static .bay::before { /* contact shadow pooling at the phone's foot */
  content: ""; position: absolute; left: 50%; bottom: calc(var(--bm) - 14px);
  width: calc(var(--pw) * 1.02); height: 26px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.42), rgba(0,0,0,0));
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.static .bay .device.phone { position: relative; z-index: 1; }
.static .zone-garaj .bay-lines path { opacity: 1; }
@media (min-width: 600px) { .static { --gutter: 40px; } }
@media (min-width: 900px) {
  .static { --gutter: clamp(24px, 5.5vw, 104px); }
  .static .chapter {
    display: grid; grid-template-columns: minmax(0, 34em) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 120px); align-items: start;
  }
  .static .chapter .text { grid-column: 1; grid-row: 1; }
  .static .still { grid-column: 2; grid-row: 1; margin: 0; justify-self: center; }
  .static .hero .text { padding-top: 6vh; }
}

/* ---------- Lenis (smooth scroll on fine pointers) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- ?debug overlay (the only monospace on the page) ---------- */
.pw-debug {
  position: fixed; right: 8px; bottom: 8px; z-index: 50; max-width: 360px;
  padding: 10px 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .78); color: #d6f5d6;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre;
  pointer-events: none;
}


/* =====================================================================
   FLOW ENRICHMENTS
   ===================================================================== */

/* ---- Role kicker above every chapter heading ---- */
.role {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2);
}
.role::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--link);
}
.role-step { font-feature-settings: "tnum" 1; letter-spacing: .04em; opacity: .7; }

/* ---- Progress rail: where am I in the three-role story (split layout, motion only) ---- */
.rail { display: none; }
@media (min-width: 960px) and (min-aspect-ratio: 6/5) {
  .motion .rail {
    display: flex; flex-direction: column; gap: 10px;
    position: fixed; z-index: 4; right: clamp(16px, 2.2vw, 36px); top: 50%;
    transform: translateY(-50%);
    transition: opacity 300ms linear, visibility 300ms linear;
  }
  .motion.rail-off .rail { opacity: 0; visibility: hidden; }
  .rail a {
    display: flex; align-items: center; justify-content: flex-end; gap: 12px;
    min-height: 44px; text-decoration: none; color: var(--text-2);
  }
  .rail-label {
    font-weight: 600; font-size: 12.5px; letter-spacing: .04em; white-space: nowrap;
    opacity: 0; transform: translateX(6px);
    transition: opacity 250ms ease, transform 350ms cubic-bezier(.2,.7,.2,1), color 250ms linear;
  }
  .rail a.is-on .rail-label, .rail:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; transform: none; }
  /* Narrower split screens (landscape tablets): the 3D close-ups reach the right edge, so the
     rail keeps only its bars; the label would sit on the phone UI. */
  @media (max-width: 1279px) { .rail .rail-label { display: none; } }
  .rail a.is-on { color: var(--text); }
  .rail-bar {
    position: relative; width: 3px; height: var(--h, 64px); border-radius: 3px; overflow: hidden;
    background: var(--line);
  }
  .rail a[data-seg="0"] .rail-bar { --h: 96px; }
  .rail a[data-seg="1"] .rail-bar { --h: 40px; }
  .rail a[data-seg="2"] .rail-bar { --h: 56px; }
  .rail-fill {
    position: absolute; inset: 0; background: var(--link);
    transform-origin: 50% 0; transform: scaleY(var(--f, 0));
  }
}

/* ---- Reveal: chapter text and cards rise in once, as they arrive ----
   The .anchor wrappers never move (scroll anchors are measured on them); only their
   children and the other blocks animate. */
@media (prefers-reduced-motion: no-preference) {
  .motion.reveal-on .chapter .text > :not(.anchor),
  .motion.reveal-on .chapter .text > .anchor > *,
  .reveal-on .rv {
    opacity: 0; transform: translate3d(0, 18px, 0);
    transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .motion.reveal-on .chapter .text.in > :not(.anchor),
  .motion.reveal-on .chapter .text.in > .anchor > *,
  .reveal-on .rv.in { opacity: 1; transform: none; }
}

/* ---- Shared tick list ---- */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.tick { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }

/* ---- Üç rol ---- */
.roles {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .roles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.role-card {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px;
  padding: 28px 26px 24px; display: flex; flex-direction: column;
}
.role-tag {
  margin: 0; align-self: flex-start; padding: 5px 11px; border-radius: 999px;
  background: rgba(29, 78, 216, .08); color: var(--blue);
  font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
}
.role-card h3 { margin-top: 16px; color: var(--ink); font-size: 1.3125rem; }
.role-card .ticks { flex: 1; }
.role-link {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hair);
  color: var(--blue); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.role-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Kullanım alanları ---- */
.uses {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .uses { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.use {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 200ms linear, transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms linear;
}
.use:hover { border-color: rgba(29, 78, 216, .35); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(14, 18, 32, .4); }
.use-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #DADDD8; }
.use-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.use:hover .use-photo img { transform: scale(1.045); }
.use-body { padding: 20px 22px 24px; }
.use h3 { color: var(--ink); font-size: 1.125rem; }
.use p { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.rich-note { margin-top: 28px; max-width: 60em; font-size: .875rem; line-height: 1.55; color: var(--ink-2); }

/* ---- Tanıtım filmi: the first thing on the page, before the 3D story ----
   Opaque and above the fixed canvas/placeholder, so the story only appears once it is scrolled to. */
.film {
  position: relative; z-index: 5; background: var(--bg); color: var(--text);
  padding: 100px 16px 48px;
}
.film-inner { max-width: 1120px; margin: 0 auto; }
.film-kicker { margin: 0; font-weight: 600; font-size: 15px; color: var(--link); }
.film h2 { margin: 12px 0 0; color: var(--text); max-width: none; }
.film-media { max-width: max(min(100%, 560px), min(100%, calc((100svh - 330px) * 16 / 9))); }
.promo-video { position: relative; margin: 28px 0 0; }
.promo-video:fullscreen { margin: 0; background: #000; display: flex; align-items: center; }
.promo-video:-webkit-full-screen { margin: 0; background: #000; display: flex; align-items: center; }
.promo-video:fullscreen video { height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.promo-video:-webkit-full-screen video { height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
/* transparent hit layer over the picture, between the native control strips (see main.js) */
.video-hit { position: absolute; left: 0; right: 0; top: 56px; bottom: 64px; cursor: pointer; }
.promo-video video {
  display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px;
  background: #0E1220; box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .6);
}
.film-foot {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.film-next span { margin-left: .4em; }
.film-note { margin: 0; font-size: .9375rem; color: var(--text-2); }
.film-hint { margin: 14px 0 0; font-size: .9375rem; color: var(--text-2); }
@media (max-width: 599px) {
  .film { padding: 92px 16px 40px; }
  .promo-video { margin-top: 20px; margin-left: -4px; margin-right: -4px; }
  .promo-video video { border-radius: 14px; }
  .film-next { width: 100%; justify-content: center; }
}
@media (min-width: 600px) { .film { padding: 112px 40px 64px; } }
@media (min-width: 960px) { .film { padding: 128px clamp(24px, 5.5vw, 104px) 80px; } }

/* ---- Plans: richer cards ---- */
.plan-meta { margin-top: 6px; }
.plan .plan-desc { min-height: 3em; }
.plan-unit { margin: 8px 0 0; font-size: .875rem; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.plan .ticks { flex: 1; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hair); }
.plan-where { margin: 22px 0 0; font-size: .8125rem; color: var(--ink-2); }
.addon-u { font-size: .8125rem; color: var(--ink-2); }

/* ---- SSS ---- */
@media (min-width: 960px) {
  .faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
  .faq-grid .rich-head { position: sticky; top: 112px; }
}
.faq { margin-top: 40px; border-top: 1px solid var(--hair); }
@media (min-width: 960px) { .faq { margin-top: 0; } }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa-mark { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--hair); }
.qa-mark::before, .qa-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.75px; border-radius: 2px;
  background: var(--blue); transform: translate(-50%, -50%);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.qa-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover .qa-mark { border-color: var(--blue); }
.qa-body { padding: 0 48px 24px 0; }
.qa-body p { font-size: .9875rem; line-height: 1.6; color: var(--ink-2); max-width: 42em; }

/* ---- Closing CTA band ---- */
.cta-band {
  padding: 72px 16px; background: #0E1220; color: #EEF1F5;
  background-image: radial-gradient(60% 120% at 85% 0%, rgba(29, 78, 216, .35), transparent 60%);
}
@media (min-width: 600px) { .cta-band { padding: 88px 40px; } }
@media (min-width: 900px) { .cta-band { padding: 96px clamp(24px, 5.5vw, 104px); } }
.cta-inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; } }
.cta-band h2 { color: #fff; max-width: 15em; }
.cta-band p { margin-top: 14px; color: #A9B3C1; }
.btn-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .42); }
.btn-light:hover { border-color: #fff; }

/* ---- Footer: site columns ---- */
.foot-inner { gap: 0; }
.foot-top { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; } }
.foot-about { display: grid; gap: 10px; align-content: start; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--text-2); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--text-2); text-decoration: none; }
.foot-col a:hover, .foot-col a[aria-current] { color: var(--text); }
.foot-h { margin: 0 0 6px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.foot-support { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-tubitak a { color: var(--link); }
.foot-bottom {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.foot-bottom .small { max-width: none; }
.foot-bottom a { color: var(--text-2); }

/* ---------- Site dark theme (html[data-theme="dark"], shared with the ArcMotus site) ----------
   The 3D story keeps its own street/garage lighting; the 2D sections and the footer follow the
   site's dark palette. */
html[data-theme="dark"] .sheet {
  --ink: #EEF0F5; --ink-2: #B9BFCC; --paper: #0F1117; --card: #1B202B;
  --hair: rgba(238, 240, 245, .12); --blue: #93B4FF;
}
html[data-theme="dark"] .rich-alt { background: #161A23; }
html[data-theme="dark"] .use-photo { background: #161A23; }
html[data-theme="dark"] .role-tag, html[data-theme="dark"] .use-icon { background: rgba(147, 180, 255, .12); }
html[data-theme="dark"] .plan-featured { box-shadow: 0 0 0 1px var(--blue), 0 18px 40px -22px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .plan-tag { color: #0F1117; }
html[data-theme="dark"] .site-footer {
  --bg: #0F1117; --text: #EEF0F5; --text-2: #B9BFCC; --line: #2B3140; --link: #93B4FF;
  color-scheme: dark;
}
html[data-theme="dark"] .support-logos img { filter: brightness(1.15); }
