/* ═══════════════════════════════════════════════════════════════
   Homely tanıtım · tasarım sistemi
   zemin: porselen nötr · aksan: orman yeşili · tip: Cabinet Grotesk / Satoshi / JetBrains Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f4f4f1;
  --surface: #fcfcfa;
  --tint: #eef0ea;
  --ink: #14201b;
  --ink-soft: #4b5852;
  --ink-faint: rgba(20, 32, 27, 0.55);
  --line: rgba(20, 32, 27, 0.09);
  --accent: #0e5c47;
  --accent-ink: #0a4636;
  --accent-deep: #0d3d31;
  --accent-soft: #e2eee8;
  --warn: #b0761f;
  --display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-lg: 26px;
  --r-md: 16px;
  --shadow-soft: 0 2px 6px rgba(16, 40, 32, 0.05), 0 24px 60px -28px rgba(16, 40, 32, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.05; font-weight: 800; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: 106px 0; }
.section-tint { background: var(--tint); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(1.95rem, 3.4vw, 2.95rem); }
.sec-head .lead { margin-top: 18px; }
.lead { font-size: 1.09rem; color: var(--ink-soft); line-height: 1.68; max-width: 60ch; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }

/* ── glass ── */
.glass {
  background: rgba(252, 252, 250, 0.8);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 34px -14px rgba(16, 40, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px 9px 18px; border-radius: 999px; z-index: 90;
  background: rgba(246, 246, 243, 0.7);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(20, 32, 27, 0.07);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.nav.scrolled { background: rgba(246, 246, 243, 0.88); box-shadow: 0 14px 40px -18px rgba(16, 40, 32, 0.3); }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 17.5px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 8px 13px; border-radius: 999px; transition: background 0.35s var(--ease), color 0.35s var(--ease); }
.nav-links a:hover { background: rgba(20, 32, 27, 0.06); color: var(--ink); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 13px 15px 13px 24px;
  font-size: 15px; font-weight: 700; line-height: 1;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .orb {
  width: 27px; height: 27px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.18); font-size: 13px;
  transition: transform 0.45s var(--ease);
}
.btn:hover .orb { transform: translate(1.5px, -1.5px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 92, 71, 0.55); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); background: rgba(252, 252, 250, 0.65); color: var(--ink); padding: 12px 22px; gap: 8px; }
.btn-ghost:hover { border-color: rgba(20, 32, 27, 0.25); background: #fff; transform: translateY(-1px); }
.btn-ghost i { color: var(--accent); font-size: 17px; }
.btn-light { background: var(--bg); color: var(--accent-ink); }
.btn-light .orb { background: var(--accent-soft); color: var(--accent-ink); }
.btn-light:hover { transform: translateY(-1px); background: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ═══ HERO ═══ */
.hero { position: relative; padding: 138px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 78% 30%, rgba(14, 92, 71, 0.11), transparent 70%),
    radial-gradient(40% 34% at 12% 82%, rgba(14, 92, 71, 0.06), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(14, 92, 71, 0.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(14, 92, 71, 0.045) 0 1px, transparent 1px 44px);
  mask-image: radial-gradient(58% 62% at 72% 38%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(58% 62% at 72% 38%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 600; border: 1px solid rgba(14, 92, 71, 0.14);
}
.pill i { font-size: 15px; }
.hero h1 { font-size: clamp(2.7rem, 4.9vw, 4.15rem); margin: 22px 0 0; }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.cta-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ═══ iPHONE MOCKUP ═══ */
.hero-visual { display: flex; justify-content: center; }
.phone-stage { position: relative; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.phone-stage { animation: floaty 6.5s ease-in-out infinite alternate; }
.iphone {
  position: relative; width: min(330px, 80vw); aspect-ratio: 330 / 674;
  border-radius: 56px;
  background: linear-gradient(150deg, #55585c 0%, #2b2d30 34%, #1c1d20 62%, #3d4044 100%);
  padding: 4px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    0 3px 8px rgba(10, 20, 16, 0.25),
    0 46px 90px -30px rgba(10, 26, 21, 0.55);
}
.iphone::before { /* iç siyah çerçeve */
  content: ""; position: absolute; inset: 4px; border-radius: 52px;
  background: #0b0c0d; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.ibtn { position: absolute; background: linear-gradient(90deg, #3c3f43, #202225); border-radius: 3px; }
.ibtn-action { left: -2.5px; top: 108px; width: 3px; height: 26px; }
.ibtn-volup { left: -2.5px; top: 158px; width: 3px; height: 48px; }
.ibtn-voldn { left: -2.5px; top: 216px; width: 3px; height: 48px; }
.ibtn-power { right: -2.5px; top: 176px; width: 3px; height: 74px; }
.iphone-screen {
  position: absolute; inset: 12px; border-radius: 44px; overflow: hidden;
  background: #000;
}
.iphone-screen::after { /* cam yansıması */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 40;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 26%, transparent 42%);
}
.phone-shadow {
  position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%);
  width: 74%; height: 34px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(10, 26, 21, 0.32), transparent 72%);
  filter: blur(6px);
}

/* tarama simülasyonu: kamera pan'ı JS sürer, tüm overlay görüntü uzayına sabitlidir */
.scan-cam { position: absolute; inset: 0; overflow: hidden; }
.scan-world { position: absolute; left: 0; top: 0; width: 1100px; height: 971px; transform-origin: 0 0; will-change: transform; }
.scan-world img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-world .scan-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-world .scan-chips { position: absolute; inset: 0; }
.scan-dots { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.scan-dots::before, .scan-dots::after {
  content: ""; position: absolute; inset: -30px;
  background-image: radial-gradient(rgba(150, 255, 214, 0.5) 1.1px, transparent 1.5px);
  background-size: 27px 27px;
}
.scan-dots::after { background-size: 44px 44px; background-position: 13px 9px; opacity: 0.6; }
@keyframes dotdrift { from { transform: translate(0, 0); } to { transform: translate(-14px, -20px); } }
.scan-dots::before { animation: dotdrift 8s linear infinite alternate; }
.scan-dots::after { animation: dotdrift 12s linear infinite alternate-reverse; }
.phase-scan .scan-dots { opacity: 1; }

.scan-overlay .edge {
  fill: none; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3.2; stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(160, 255, 220, 0.6));
}
.scan-overlay .plane { fill: rgba(255, 255, 255, 0.1); opacity: 0; }
.scan-overlay .node { fill: #fff; filter: drop-shadow(0 0 6px rgba(160, 255, 220, 0.9)); }
.scan-overlay .bbox { fill: none; stroke: rgba(160, 235, 205, 0.9); stroke-width: 2.4; stroke-dasharray: 8 6; }

.schip {
  position: absolute; transform: translate(-50%, -50%) scale(0.5); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 14, 12, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  color: #fff; font-size: 16.5px; font-weight: 600; padding: 8px 17px;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  white-space: nowrap;
}
.schip i { font-size: 19px; color: #9be8c8; }
.schip.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.isb { position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.isb-time { color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); font-variant-numeric: tabular-nums; }
.isb-icons { display: flex; gap: 4px; color: #fff; font-size: 13px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.dyn-island { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 34%; height: 27px; background: #000; border-radius: 999px; }
.dyn-island::after { content: ""; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 99px; background: radial-gradient(circle at 35% 35%, #1c2733, #05070a 70%); }

.coach {
  position: absolute; top: 58px; left: 50%; transform: translateX(-50%); z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 14, 12, 0.58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px;
  white-space: nowrap; transition: opacity 0.4s ease;
}
.coach i { font-size: 15px; color: #9be8c8; }

.scan-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; align-items: center; gap: 12px;
  padding: 38px 16px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 8, 0.62) 38%, rgba(6, 9, 8, 0.8) 100%);
}
.scan-mini { width: 96px; height: 76px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); padding: 6px; }
.scan-mini svg { width: 100%; height: 100%; display: block; }
.scan-meta { flex: 1; }
.scan-room { color: #fff; font-size: 12.5px; font-weight: 700; }
.scan-pct { color: #9be8c8; font-family: var(--mono); font-size: 17px; font-weight: 600; margin-top: 3px; }
.capture { width: 56px; height: 56px; border-radius: 99px; border: 3.5px solid #fff; display: grid; place-items: center; flex: none; }
.capture span { width: 40px; height: 40px; border-radius: 99px; background: #fff; transition: transform 0.3s var(--ease), border-radius 0.3s var(--ease); }
.phase-done .capture span { transform: scale(0.55); border-radius: 9px; background: #e5484d; }

/* ═══ STATS ═══ */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0; }
.stat-num { font-family: var(--mono); font-weight: 600; font-size: 2rem; color: var(--accent-ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; max-width: 24ch; line-height: 1.5; }

/* ═══ TARAMA STEPS ═══ */
.steps { border-top: 1px solid var(--line); }
.step-row {
  display: grid; grid-template-columns: 64px 1fr 360px; gap: 36px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.step-ico { width: 54px; height: 54px; border-radius: 17px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 25px; }
.step-txt h3 { font-size: 1.42rem; }
.step-txt p { color: var(--ink-soft); margin-top: 10px; max-width: 52ch; font-size: 15.5px; line-height: 1.65; }
.step-vis { height: 170px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; position: relative; }

.vect-demo { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; }
.vect-demo svg { height: 100%; width: auto; }
.vect-demo .vd-wall { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: square; }
.in .vect-demo .vd-wall { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawpath 2.6s var(--ease) 0.4s forwards; }
@keyframes drawpath { to { stroke-dashoffset: 0; } }
.vect-demo .vd-room { fill: rgba(14, 92, 71, 0.07); opacity: 0; }
.in .vect-demo .vd-room { animation: fadein 0.8s ease 2.6s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ═══ 3D VIEWER ═══ */
.viewer-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: stretch; }
.viewer-shell {
  background: rgba(20, 32, 27, 0.045); border: 1px solid var(--line);
  border-radius: 30px; padding: 8px; display: flex; flex-direction: column;
}
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 14px; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(252, 252, 250, 0.75); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: background 0.4s var(--ease), color 0.4s var(--ease); white-space: nowrap; }
.seg-btn i { font-size: 15px; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { background: var(--ink); color: #fff; }
.viewer-toggles { display: inline-flex; gap: 8px; }
.tgl { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: rgba(252, 252, 250, 0.75); color: var(--ink-soft); transition: all 0.4s var(--ease); }
.tgl-dot { width: 9px; height: 9px; border-radius: 99px; background: rgba(20, 32, 27, 0.18); transition: background 0.3s ease; }
.tgl.active { background: var(--accent-soft); border-color: rgba(14, 92, 71, 0.25); color: var(--accent-ink); }
.tgl.active .tgl-dot { background: var(--accent); }
.viewer-stage { position: relative; border-radius: 22px; overflow: hidden; height: 560px; background: #ecebe4; flex: 1; }
.viewer-stage canvas { display: block; outline: none; }
.labels3d { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.rlabel { position: absolute; left: 0; top: 0; will-change: transform; transform: translate(-50%, -50%); text-align: center; background: rgba(252, 252, 250, 0.94); border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px 6px; transition: opacity 0.35s ease; box-shadow: 0 4px 14px -6px rgba(16, 40, 32, 0.25); }
.rlabel b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; }
.rlabel span { display: block; font-family: var(--mono); font-size: 10px; color: var(--ink-faint); margin-top: 1px; }
.rlabel.hot { background: var(--ink); border-color: var(--ink); }
.rlabel.hot b { color: #fff; } .rlabel.hot span { color: rgba(255, 255, 255, 0.7); }
.dlabel { position: absolute; left: 0; top: 0; will-change: transform; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10.5px; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 2px 7px; }
.hint3d {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20, 32, 27, 0.72); backdrop-filter: blur(8px); color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 8px 15px;
  transition: opacity 0.6s ease; white-space: nowrap;
}
.hint3d i { color: #9be8c8; font-size: 15px; }
.hint3d.off { opacity: 0; }

.roomlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; }
.roomlist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 6px; }
.roomlist-head h3 { font-size: 1.05rem; }
.roomlist-badge { font-size: 10.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.roomlist-rows { flex: 1; }
.rl-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px; margin: 0 -10px; border-radius: 11px; cursor: pointer; transition: background 0.3s var(--ease); }
.rl-row:hover, .rl-row.hot { background: var(--accent-soft); }
.rl-row .rn { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.rl-row .rn::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--rc, var(--accent)); }
.rl-row .ra { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }
.roomlist-foot { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; }
.rl-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.rl-total strong { font-family: var(--mono); font-size: 17px; color: var(--ink); font-weight: 600; }
.rl-total.sub { margin-top: 5px; }
.rl-total.sub strong { font-size: 13px; color: var(--ink-soft); }
.rl-note { font-size: 11.5px; color: var(--ink-faint); line-height: 1.55; margin-top: 12px; }

/* ═══ BENTO ÇIKTILAR ═══ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cell { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 28px; position: relative; overflow: hidden; }
.cell-head h3 { font-size: 1.3rem; }
.cell-head p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; max-width: 44ch; line-height: 1.6; }
.cell-pdf { grid-column: span 7; display: flex; flex-direction: column; }
.sheet-wrap { flex: 1; display: grid; place-items: center; padding: 26px 8px 6px; }
.sheet {
  width: min(440px, 100%); background: #fff; border-radius: 6px;
  box-shadow: 0 1px 0 rgba(16, 40, 32, 0.08), 0 30px 60px -24px rgba(16, 40, 32, 0.35);
  transform: rotate(-1.3deg); padding: 20px 20px 16px;
  transition: transform 0.6s var(--ease);
}
.cell-pdf:hover .sheet { transform: rotate(0deg) translateY(-4px); }
.sheet svg { width: 100%; height: auto; display: block; }
.sheet-antet { display: grid; grid-template-columns: 1.3fr 0.7fr 0.9fr 0.8fr; border: 1px solid rgba(20, 32, 27, 0.25); margin-top: 14px; }
.sheet-antet div { padding: 6px 9px; border-right: 1px solid rgba(20, 32, 27, 0.18); }
.sheet-antet div:last-child { border-right: none; }
.sheet-antet b { display: block; font-size: 10.5px; letter-spacing: -0.01em; }
.sheet-antet span { display: block; font-size: 8.5px; color: var(--ink-faint); margin-bottom: 2px; }
.sheet-tol { font-size: 8.5px; color: var(--ink-faint); margin-top: 8px; }
.cell-ilan { grid-column: span 5; display: flex; flex-direction: column; background: var(--accent-soft); border-color: rgba(14, 92, 71, 0.14); }
.cell-ilan .ilan-vis { flex: 1; }
.mini-seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-top: 14px; }
.mini-seg button { border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); transition: all 0.35s var(--ease); }
.mini-seg button.active { background: var(--ink); color: #fff; }
.ilan-vis { margin-top: 6px; display: grid; place-items: center; }
.ilan-vis svg { width: min(430px, 100%); height: auto; }

/* ═══ HARİTA / KONUM ═══ */
.map-outer { width: min(1560px, 100% - 40px); margin: 0 auto; }
.map-shell {
  position: relative; background: rgba(20, 32, 27, 0.05);
  border: 1px solid var(--line); border-radius: 32px; padding: 8px;
}
#map { height: 660px; border-radius: 24px; overflow: hidden; position: relative; background: #eae7de; }
.map-veil { position: absolute; inset: 8px; z-index: 4; border-radius: 24px; display: grid; place-content: center; pointer-events: none; transition: opacity 1.2s ease; background: radial-gradient(60% 60% at 50% 50%, rgba(244, 244, 241, 0.1), transparent); }
.map-veil span { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); color: rgba(20, 32, 27, 0.16); letter-spacing: 0.01em; }
.map-veil.hide { opacity: 0; }

.listing-card { position: absolute; z-index: 7; top: 22px; left: 22px; width: 296px; border-radius: 18px; padding: 15px 16px; }
.lc-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.lc-title { font-family: var(--display); font-weight: 800; font-size: 16.5px; letter-spacing: -0.02em; }
.lc-addr { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.lc-addr i { color: var(--accent); font-size: 13px; }
.lc-chips { display: flex; gap: 6px; margin-top: 12px; }
.lc-chips span { font-size: 11px; font-weight: 700; background: rgba(20, 32, 27, 0.07); border-radius: 99px; padding: 4px 10px; }
.score-mini { position: relative; width: 46px; height: 46px; flex: none; }
.score-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-mini .sm-track { fill: none; stroke: rgba(20, 32, 27, 0.1); stroke-width: 4.5; }
.score-mini .sm-bar { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.4s var(--ease); }
.score-mini span { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-ink); }

.tour-ctrl { position: absolute; z-index: 7; top: 22px; right: 22px; display: flex; align-items: center; gap: 12px; border-radius: 999px; padding: 7px 14px 7px 7px; }
.tour-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.tour-btn:hover { background: var(--accent-ink); }
.tour-btn:active { transform: scale(0.96); }
.dl-btn { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: rgba(252, 252, 250, 0.85); color: var(--ink); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 700; transition: all 0.35s var(--ease); }
.dl-btn i { font-size: 15px; color: var(--accent); }
.dl-btn:hover { border-color: rgba(20, 32, 27, 0.3); transform: translateY(-1px); }
.dl-btn:active { transform: scale(0.96); }
.dl-btn[disabled] { opacity: 0.55; pointer-events: none; }

.rec-veil { position: absolute; inset: 8px; z-index: 20; border-radius: 24px; display: none; pointer-events: auto; background: transparent; box-shadow: inset 0 0 0 3px rgba(197, 62, 58, 0.65); }
.rec-veil.on { display: block; }
.rec-pill { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; background: rgba(20, 32, 27, 0.82); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
.rec-dot { width: 10px; height: 10px; border-radius: 99px; background: #e04b45; }
@keyframes recblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rec-dot { animation: recblink 1.2s ease-in-out infinite; }
.rec-cancel { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); background: rgba(252, 252, 250, 0.92); border: 1px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 8px 18px; box-shadow: 0 10px 26px -12px rgba(16, 40, 32, 0.4); }

.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(20, 32, 27, 0.18); transition: all 0.45s var(--ease); }
.tour-dots i.on { background: var(--accent); width: 17px; }

.catbar { position: absolute; z-index: 7; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; max-width: calc(100% - 44px); overflow-x: auto; padding: 4px; scrollbar-width: none; }
.catbar::-webkit-scrollbar { display: none; }
.catchip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  background: rgba(252, 252, 250, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 8px 24px -12px rgba(16, 40, 32, 0.35);
  border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 700; color: var(--ink-soft);
  transition: all 0.4s var(--ease); cursor: pointer;
}
.catchip i { font-size: 15px; color: var(--c); }
.catchip:hover { color: var(--ink); transform: translateY(-1px); }
.catchip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.catchip .cnt { font-family: var(--mono); font-size: 10.5px; font-weight: 600; background: rgba(20, 32, 27, 0.08); border-radius: 99px; padding: 1px 6px; color: var(--ink-soft); }
.catchip.active .cnt { background: rgba(255, 255, 255, 0.18); color: #fff; }

.poi-panel { position: absolute; z-index: 7; top: 92px; right: 22px; width: 286px; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; max-height: min(430px, calc(100% - 200px)); opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.poi-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.pp-head { display: flex; align-items: center; gap: 9px; padding: 13px 16px; font-family: var(--display); font-weight: 800; font-size: 15px; border-bottom: 1px solid var(--line); }
.pp-head i { font-size: 16px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--cbg, var(--accent-soft)); color: var(--c, var(--accent)); }
.pp-rows { overflow-y: auto; }
.pp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; cursor: pointer; transition: background 0.3s ease; border-left: 3px solid transparent; }
.pp-row:hover { background: rgba(14, 92, 71, 0.06); }
.pp-row.hot { border-left-color: var(--accent); background: rgba(14, 92, 71, 0.07); }
.pp-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.pp-sub { font-size: 11px; color: var(--ink-faint); margin-top: 2px; text-transform: capitalize; }
.pp-walk { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; padding: 4px 8px; white-space: nowrap; flex: none; }
.pp-foot { font-size: 10.5px; color: var(--ink-faint); padding: 9px 16px; border-top: 1px solid var(--line); }

.scorecard { position: absolute; z-index: 8; left: 22px; bottom: 74px; width: 330px; border-radius: 22px; padding: 20px; display: grid; grid-template-columns: 96px 1fr; gap: 8px 18px; opacity: 0; transform: translateY(14px) scale(0.97); pointer-events: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.scorecard.show { opacity: 1; transform: none; pointer-events: auto; }
.sc-ring { position: relative; width: 96px; height: 96px; }
.sc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-track { fill: none; stroke: rgba(20, 32, 27, 0.08); stroke-width: 9; }
.sc-bar { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.sc-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sc-val span { font-family: var(--mono); font-weight: 600; font-size: 27px; letter-spacing: -0.04em; color: var(--accent-ink); }
.sc-val em { font-style: normal; font-size: 8.5px; font-weight: 700; color: var(--ink-faint); }
.sc-bars { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.scb { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); }
.scb-top { display: flex; justify-content: space-between; gap: 8px; }
.scb-top b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.scb-bar { height: 3px; border-radius: 99px; background: var(--accent); width: 0; margin-top: 3px; transition: width 1s var(--ease); opacity: 0.75; }
.sc-note { grid-column: 1 / -1; font-size: 10.5px; color: var(--ink-faint); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.sc-close { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 99px; background: rgba(20, 32, 27, 0.06); color: var(--ink-soft); display: grid; place-items: center; font-size: 13px; transition: background 0.3s ease; }
.sc-close:hover { background: rgba(20, 32, 27, 0.12); }

.map-note { position: absolute; z-index: 6; bottom: 18px; left: 22px; font-family: var(--mono); font-size: 9.5px; color: rgba(20, 32, 27, 0.6); background: rgba(252, 252, 250, 0.66); backdrop-filter: blur(6px); border-radius: 9px; padding: 6px 10px; line-height: 1.55; }
.map-note span { display: block; }

/* maplibre marker & popup ── */
.home-marker { position: relative; width: 46px; height: 60px; }
.hm-pin { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 10px 24px -8px rgba(10, 40, 30, 0.55); display: grid; place-items: center; rotate: -45deg; }
.hm-pin i { rotate: 45deg; color: #fff; font-size: 17px; }
.home-marker.drop .hm-wrap { animation: homedrop 0.75s cubic-bezier(0.22, 1.4, 0.36, 1) both; }
.hm-wrap { position: absolute; inset: 0; }
@keyframes homedrop { 0% { transform: translateY(-130px); opacity: 0; } 55% { opacity: 1; } 72% { transform: translateY(4px); } 100% { transform: translateY(0); } }
.hm-pulse, .hm-pulse2 { position: absolute; left: 50%; top: 20px; width: 40px; height: 40px; margin: -20px; border-radius: 99px; border: 2px solid rgba(14, 92, 71, 0.55); opacity: 0; }
.home-marker.live .hm-pulse { animation: ping 2.6s ease-out infinite; }
.home-marker.live .hm-pulse2 { animation: ping 2.6s ease-out 1.3s infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }

.poi-marker { width: 32px; height: 32px; border-radius: 99px; background: #fff; border: 2.5px solid var(--c); color: var(--c); display: grid; place-items: center; font-size: 15px; box-shadow: 0 6px 18px -6px rgba(10, 30, 24, 0.45); transform: scale(0); transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, filter 0.4s ease; cursor: pointer; }
.poi-marker.pop { transform: scale(1); }
.poi-marker.dim { opacity: 0.35; filter: saturate(0.4); }
.poi-marker.hot { transform: scale(1.28); z-index: 5; }
.arrive-badge { transform: translateY(6px) scale(0.7); opacity: 0; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 600; border-radius: 99px; padding: 5px 11px; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.arrive-badge.on { transform: none; opacity: 1; }
.arrive-badge b { color: #9be8c8; font-weight: 600; }

.maplibregl-popup-content { font-family: var(--body); border-radius: 14px; padding: 12px 15px; box-shadow: 0 14px 40px -14px rgba(16, 40, 32, 0.4); }
.maplibregl-popup-content b { font-size: 13px; }
.maplibregl-popup-content small { color: var(--ink-faint); font-size: 11px; display: block; margin-top: 2px; }
.maplibregl-ctrl-attrib { font: 10px/1.4 var(--body) !important; background: rgba(252, 252, 250, 0.72) !important; border-radius: 8px 0 0 0; }
.maplibregl-ctrl-attrib a { color: var(--ink-soft) !important; }

/* ═══ CTA ═══ */
.cta-panel { position: relative; overflow: hidden; background: linear-gradient(140deg, #0e5c47, #0a4636 66%); border-radius: 34px; padding: 88px 32px; text-align: center; color: #f2f7f4; }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px); mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 80%); }
.cta-panel h2 { position: relative; font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff; line-height: 1.16; }
.cta-panel h2 .cta-punch { display: block; margin-top: 0.4em; color: #63d3ae; }
.cta-panel p { position: relative; margin: 18px auto 0; max-width: 52ch; color: rgba(242, 247, 244, 0.75); font-size: 15.5px; }
.cta-panel .btn { position: relative; margin-top: 34px; }

/* ═══ FOOTER ═══ */
.footer { padding: 66px 0 26px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 0.75fr 0.75fr; gap: 44px; }
.foot-brand p { color: var(--ink-soft); font-size: 13.5px; max-width: 34ch; margin-top: 14px; line-height: 1.6; }
.foot-col h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--ink-soft); padding: 5px 0; transition: color 0.3s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 20px; font-size: 12px; color: var(--ink-faint); }

/* ═══ İLAN VİDEOSU ═══ */
.vid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vid-copy { display: flex; flex-direction: column; gap: 30px; max-width: 500px; }
.vid-row { display: flex; gap: 18px; align-items: flex-start; }
.vid-txt h3 { font-size: 1.18rem; }
.vid-txt p { color: var(--ink-soft); margin-top: 7px; font-size: 15px; line-height: 1.6; max-width: 44ch; }
.vid-actions { margin-top: 8px; display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.vid-meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.02em; }
.vid-visual { display: flex; justify-content: center; }
.vid-stage { animation-delay: -3.2s; }
.iphone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0c0d; cursor: pointer; }
.vid-toggle {
  position: absolute; z-index: 45; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(12, 20, 17, 0.55); backdrop-filter: blur(6px);
  color: #fff; display: grid; place-items: center; font-size: 17px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.vid-toggle:hover { background: rgba(12, 20, 17, 0.78); transform: scale(1.07); }
.vid-toggle:active { transform: scale(0.93); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1080px) {
  .vid-grid { grid-template-columns: 1fr; gap: 48px; }
  .viewer-grid { grid-template-columns: 1fr; }
  /* Tek kolonda shell auto-height olunca flex:1 stage'i 0'a çökertiyordu;
     height'i otoriter yapmak için flex:none ver. */
  .viewer-stage { flex: none; height: min(72vh, 560px); }
  .bento { grid-template-columns: 1fr; }
  .cell-pdf, .cell-ilan { grid-column: auto; grid-row: auto; }
  .step-row { grid-template-columns: 54px 1fr; }
  .step-vis { grid-column: 2; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero { padding-top: 116px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero .lead { max-width: 60ch; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 22px; padding: 32px 0; }
  .section { padding: 76px 0; }
  .viewer-stage { height: min(64vh, 480px); }
  .viewer-bar { padding: 6px 4px 12px; }
  .seg-btn { padding: 8px 12px; font-size: 12.5px; }
  .tgl { padding: 8px 12px; font-size: 12px; }
  #map { height: 78vh; min-height: 520px; max-height: 660px; }
  .listing-card { width: auto; top: 12px; left: 12px; right: 128px; padding: 11px 12px; }
  .lc-title { font-size: 14.5px; }
  .lc-addr { font-size: 11px; }
  .tour-ctrl { top: 12px; right: 12px; bottom: auto; padding: 5px; gap: 5px; }
  .tour-btn { padding: 9px 11px; font-size: 12.5px; }
  .tour-btn span { display: none; }
  .dl-btn { padding: 9px 11px; }
  .dl-btn span { display: none; }
  .tour-dots { display: none; }
  /* POI paneli mobilde alt yatay şerit */
  .poi-panel { top: auto; left: 10px; right: 10px; bottom: 66px; width: auto; max-height: none; border-radius: 16px; }
  .pp-head { padding: 9px 14px 7px; font-size: 13.5px; }
  .pp-rows { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .pp-rows::-webkit-scrollbar { display: none; }
  .pp-row { flex: 0 0 176px; display: block; border-left: none; border-right: 1px solid var(--line); padding: 9px 13px 11px; }
  .pp-row:last-child { border-right: none; }
  .pp-walk { display: inline-block; margin-top: 7px; }
  .pp-foot { display: none; }
  .scorecard { right: 10px; left: 10px; width: auto; bottom: 66px; grid-template-columns: 80px 1fr; padding: 15px; }
  .sc-ring { width: 80px; height: 80px; }
  .map-note { display: none; }
  .catbar { bottom: 12px; max-width: calc(100% - 20px); }
  .maplibregl-ctrl-top-right { display: none; }
  .hint3d { font-size: 11px; padding: 7px 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .vid-copy { max-width: none; }
  .vid-actions { align-items: stretch; }
  .vid-actions .btn { justify-content: center; }
  .vid-meta { text-align: center; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .phone-stage, .scan-dots::before, .scan-dots::after,
  .home-marker.live .hm-pulse, .home-marker.live .hm-pulse2 { animation: none !important; }
  .in .vect-demo .vd-wall { animation: none; stroke-dasharray: none; }
  .in .vect-demo .vd-room { animation: none; opacity: 1; }
  * { transition-duration: 0.01s !important; }
}
