/* Ana sayfa kaydırma sahneleri. Renkler/tema: theme.css (body.dk). --p (0→1) motion.js'ten gelir. */
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hx { font-size: clamp(44px, 8.4vw, 132px); line-height: .95; letter-spacing: -.045em; font-weight: 800; }
.hx em, .hm em { font-style: normal; background: linear-gradient(100deg, #ff5fae 0%, #9a6bff 45%, #36c2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm { font-size: clamp(34px, 5.2vw, 78px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }

/* 1 · kahraman: başlık çekilir, laptop yükselir, ekranda referanslar akar */
.h-hero { height: 300vh; position: relative; }
.h-hero .stick { --a: clamp(0, calc(var(--p, 0) / .3), 1); background: radial-gradient(900px 600px at var(--mx, 70%) var(--my, 20%), rgba(120, 90, 255, .22), transparent 60%), #000; }
.h-hero .glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none; }
.h-hero .g1 { left: -20vw; top: -10vw; background: rgba(216, 65, 143, .35); }
.h-hero .g2 { right: -25vw; top: 20vh; background: rgba(30, 160, 220, .3); }
.h-title { position: absolute; left: 0; right: 0; top: 14vh; text-align: center; padding: 0 20px; z-index: 2;
  opacity: calc(1 - var(--a) * 1.25); transform: translateY(calc(var(--a) * -14vh)) scale(calc(1 - var(--a) * .1)); }
.h-title h1 { font-weight: 800; }
.h-title h1 .small { display: block; font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; letter-spacing: 0; color: #a1a1b5; margin-top: 22px; }
.h-title .hero-b { justify-content: center; margin-top: 26px; }
.scroll-hint { margin-top: 26px; color: #6e6e82; font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.scroll-hint i { display: block; width: 2px; height: 34px; margin: 10px auto 0; background: linear-gradient(#a99cff, transparent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.mac-wrap { position: absolute; left: 0; right: 0; bottom: 9vh; perspective: 1800px; z-index: 1;
  transform: translateY(calc((1 - var(--a)) * 58vh)) scale(calc(.74 + var(--a) * .26)); opacity: calc(.25 + var(--a) * .75); }
.mac { width: min(1060px, 88vw); max-height: 72vh; aspect-ratio: 16 / 10.6; margin: 0 auto; transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--a)) * 28deg)); }
.mac-lid { position: relative; height: calc(100% - 20px); background: #0a0a0e; border-radius: 22px 22px 6px 6px; padding: 1.9% 1.9% 2.6%; box-shadow: inset 0 0 0 2px #2b2b35, 0 50px 140px rgba(110, 90, 255, .28); }
.mac-lid::before { content: ''; position: absolute; top: .7%; left: 50%; width: 9%; height: 1.6%; margin-left: -4.5%; background: #000; border-radius: 0 0 8px 8px; z-index: 2; }
.mac-scr { position: relative; width: 100%; height: 100%; border-radius: 7px; overflow: hidden; background: #111; }
.mac-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .1s linear; }
.mac-scr img:first-child { opacity: 1; }
.mac-base { position: relative; height: 20px; margin: 0 -7%; background: linear-gradient(#d7dae2, #7d818c); border-radius: 0 0 30px 30px / 0 0 20px 20px; }
.mac-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; margin-left: -8%; background: linear-gradient(#9da1ab, #c3c6ce); border-radius: 0 0 10px 10px; }
.mac-cap { position: absolute; left: 0; right: 0; bottom: 3vh; text-align: center; height: 24px; z-index: 3; }
.mac-cap span { position: absolute; left: 0; right: 0; font-weight: 700; font-size: 15px; color: #c9c9d6; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.mac-cap span.on { opacity: 1; transform: none; }
.mac-cap b { color: #fff; }

/* 2 · kelime kelime yanan cümle */
.h-words { height: 240vh; }
.h-words .stick { display: flex; align-items: center; }
.words { max-width: 1100px; margin: 0 auto; padding: 0 24px; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.words span { opacity: .13; transition: opacity .12s linear; }
.words .bad { color: #ff7a85; }
.words .good { background: linear-gradient(100deg, #ff5fae, #9a6bff 45%, #36c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3 · kaos → tek ekran */
.h-chaos { height: 300vh; }
.h-chaos .stick { --c: clamp(0, calc((var(--p, 0) - .12) * 2), 1); --d: clamp(0, calc((var(--p, 0) - .45) * 3.2), 1); background: radial-gradient(800px 500px at 50% 60%, rgba(54, 194, 255, .12), transparent 60%), #000; }
.chaos-txt { position: absolute; left: 0; right: 0; top: 9vh; text-shadow: 0 4px 30px #000, 0 0 12px #000; text-align: center; padding: 0 20px; z-index: 3; }
.chaos-txt p { position: absolute; left: 0; right: 0; }
.chaos-txt .t0 { opacity: calc(1 - var(--c) * 1.6); }
.chaos-txt .t1 { opacity: var(--d); transform: translateY(calc((1 - var(--d)) * 30px)); }
.chaos-txt small { display: block; font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; letter-spacing: 0; color: #a1a1b5; margin-top: 14px; }
.chip { position: absolute; left: 50%; top: 60%; z-index: 2; white-space: nowrap; padding: 12px 16px; border-radius: 14px; font: 700 clamp(12px, 1.15vw, 16px)/1.2 'Plus Jakarta Sans', sans-serif; color: #12132a; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%) translate(calc(var(--x) * (1 - var(--c)) * 1vw), calc(var(--y) * (1 - var(--c)) * 1vh)) rotate(calc(var(--r) * (1 - var(--c)) * 1deg)) scale(calc(1 - var(--c) * .75));
  opacity: calc(1 - var(--d) * 2.5); }
.chip.x { background: #e8f5ec; border-left: 6px solid #1d6f42; }
.chip.w { background: #dcf8c6; }
.chip.n { background: #ffe27a; font-family: 'Caveat', 'Comic Sans MS', cursive; font-size: clamp(16px, 1.6vw, 22px); }
.chip.e { background: #ffe1e3; color: #b3261e; }
.dash-mock { position: absolute; left: 50%; top: 58%; width: min(860px, 90vw); z-index: 2; transform: translate(-50%, -50%) scale(calc(.6 + var(--d) * .4)); opacity: var(--d); border-radius: 22px; overflow: hidden; background: #fff; color: #12132a; box-shadow: 0 40px 120px rgba(54, 194, 255, .25); }
.dash-mock .bar { height: 42px; background: #f1f0f7; display: flex; align-items: center; gap: 8px; padding: 0 16px; font: 600 13px monospace; color: #77738f; }
.dash-mock .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dash-mock .bar .tg { margin-left: auto; background: #fff1d6; color: #8a5a00; border-radius: 999px; padding: 3px 10px; font: 800 11px 'Plus Jakarta Sans'; letter-spacing: .1em; }
.dash-mock .tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.dash-mock .tl div { background: #f6f5fb; border-radius: 14px; padding: 14px; }
.dash-mock .tl b { display: block; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: -.02em; }
.dash-mock .tl span { font-size: 12.5px; color: #6d6a86; font-weight: 700; }
.dash-mock .rw { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid #eeedf4; font-size: 14px; font-weight: 600; }
.dash-mock .rw code { color: #6d6a86; width: 64px; }
.dash-mock .rw .p { margin-left: auto; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; }
.chaos-cta { position: absolute; left: 0; right: 0; bottom: 5vh; text-align: center; z-index: 3; opacity: var(--d); }

/* 4 · hizmetler: yapışkan görsel + liste */
.h-svc { padding: 120px 0; background: #000; }
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.svc-vis { position: sticky; top: 18vh; height: 64vh; border-radius: 32px; background: radial-gradient(600px 400px at 30% 20%, rgba(154, 107, 255, .3), transparent 60%), radial-gradient(500px 400px at 80% 90%, rgba(54, 194, 255, .25), transparent 60%), #0b0b12; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.svc-vis > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; opacity: 0; transform: scale(.92); transition: opacity .5s, transform .5s; text-align: center; padding: 30px; }
.svc-vis > div.on { opacity: 1; transform: none; }
.svc-vis .ic { width: 120px; height: 120px; padding: 26px; border-radius: 36px; background: linear-gradient(135deg, #ff5fae, #9a6bff 50%, #36c2ff); color: #fff; box-shadow: 0 30px 80px rgba(154, 107, 255, .45); }
.svc-vis b { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.03em; }
.svc-vis small { color: #a1a1b5; font-size: 16px; max-width: 360px; }
.svc-item { display: block; padding: 34px 0 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #f5f5f7 !important; opacity: .35; transition: opacity .3s; min-height: 34vh; text-decoration: none !important; }
.svc-item.on { opacity: 1; }
.svc-item .n { font: 800 14px 'Plus Jakarta Sans'; color: #a99cff; letter-spacing: .1em; }
.svc-item h3 { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.035em; margin: 8px 0 10px; }
.svc-item p { color: #a1a1b5; font-size: 17px; max-width: 460px; }
.svc-item .more { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-weight: 800; color: #b9b4ff; }

/* 5 · yatay galeri */
.h-gal { position: relative; background: #000; }
.h-gal .stick { display: flex; flex-direction: column; justify-content: center; }
.gal-head { padding: 0 6vw; margin-bottom: 4vh; display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.gal-head p { color: #a1a1b5; max-width: 420px; }
.gal-track { display: flex; gap: 26px; padding: 0 6vw; will-change: transform; }
.gcard { flex: none; width: min(560px, 78vw); color: #f5f5f7 !important; text-decoration: none !important; }
.gcard .gv { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #111; border: 1px solid rgba(255, 255, 255, .08); }
.gcard .gv img.d { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.gcard:hover .gv img.d { transform: scale(1.04); }
.gcard .gv img.m { position: absolute; right: 16px; bottom: -30px; width: 23%; border-radius: 14px; border: 4px solid #000; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.gcard h3 { margin-top: 16px; font-size: 22px; }
.gcard p { color: #a1a1b5; font-size: 15px; }
.gal-more { flex: none; width: 320px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 30px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, .2); }

/* 6 · sayaçlar */
.h-nums { padding: 110px 0; background: #000; border-top: 1px solid rgba(255, 255, 255, .06); }
.h-nums .grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.h-nums b { display: block; font-size: clamp(48px, 6vw, 92px); letter-spacing: -.05em; line-height: 1; background: linear-gradient(100deg, #ff5fae, #9a6bff 45%, #36c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-nums span { color: #a1a1b5; font-weight: 700; }

/* 7 · telefon demosu */
.h-phone { height: 320vh; }
.h-phone .stick { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ph-steps { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.ph-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: #0b0b12; opacity: .35; transition: opacity .35s, border-color .35s, transform .35s; }
.ph-steps li b { display: block; font-size: 17px; }
.ph-steps li small { color: #a1a1b5; font-size: 14.5px; }
.ph-steps .k { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: rgba(255, 255, 255, .06); color: #a99cff; }
.h-phone[data-step="0"] .ph-steps li:nth-child(1), .h-phone[data-step="1"] .ph-steps li:nth-child(2), .h-phone[data-step="2"] .ph-steps li:nth-child(3), .h-phone[data-step="3"] .ph-steps li:nth-child(4) { opacity: 1; border-color: rgba(169, 156, 255, .6); transform: translateX(6px); }
.phone { position: relative; width: min(330px, 70vw); aspect-ratio: 9 / 19.2; margin: 0 auto; border-radius: 54px; background: #0a0a0e; padding: 12px; box-shadow: inset 0 0 0 2px #2b2b35, 0 50px 120px rgba(54, 194, 255, .25); transform: rotate(calc((var(--p, 0) - .5) * -6deg)); }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 30%; height: 26px; margin-left: -15%; background: #000; border-radius: 20px; z-index: 3; }
.ph-scr { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #fff; }
.ph-scr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph-ov { position: absolute; left: 10px; right: 10px; padding: 12px 14px; border-radius: 18px; font: 700 13px/1.35 'Plus Jakarta Sans', sans-serif; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .4s, transform .4s; z-index: 4; }
.ph-ov small { display: block; font-weight: 600; opacity: .75; }
.ph-call { top: 54px; background: #0f8a5f; color: #fff; display: flex; gap: 10px; align-items: center; }
.ph-call .ic { width: 28px; height: 28px; animation: ring 1s ease-in-out infinite; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } }
.ph-wa { top: 54px; background: #dcf8c6; color: #0b3d21; }
.ph-form { top: 54px; background: #fff; color: #12132a; border: 1px solid #e6e7f0; }
.ph-safe { top: 54px; background: #12132a; color: #fff; }
.h-phone[data-step="0"] .ph-call, .h-phone[data-step="1"] .ph-wa, .h-phone[data-step="2"] .ph-form, .h-phone[data-step="3"] .ph-safe { opacity: 1; transform: none; }
.ph-tap { position: absolute; bottom: 22px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; border: 3px solid rgba(15, 138, 95, .9); z-index: 4; animation: tap 1.2s ease-out infinite; opacity: 0; }
@keyframes tap { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.h-phone[data-step="0"] .ph-tap { left: 18%; } .h-phone[data-step="1"] .ph-tap { left: 50%; } .h-phone[data-step="2"] .ph-tap { left: 82%; }
.h-phone[data-step="3"] .ph-tap { display: none; }

/* 8 · ürünler + kapanış */
.h-prod { padding: 110px 0; background: #000; }
.pcard { position: relative; padding: 30px; border-radius: 26px; background: #0b0b12; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; color: #f5f5f7 !important; text-decoration: none !important; display: flex; flex-direction: column; gap: 10px; min-height: 280px; transition: transform .35s, border-color .35s; }
.pcard:hover { transform: translateY(-6px); border-color: rgba(169, 156, 255, .5); }
.pcard::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--g, rgba(154, 107, 255, .35)); filter: blur(60px); }
.pcard h3 { font-size: 30px; letter-spacing: -.03em; }
.pcard p { color: #a1a1b5; }
.pcard .more { margin-top: auto; font-weight: 800; color: #b9b4ff; display: inline-flex; gap: 8px; align-items: center; }
.h-end { padding: 140px 0 120px; text-align: center; background: radial-gradient(800px 500px at 50% 100%, rgba(154, 107, 255, .3), transparent 65%), #000; }
.h-end .hx { margin-bottom: 18px; }
.h-end .hero-b { justify-content: center; }
.marquee { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 22px 0; background: #000; }
.marquee div { display: flex; gap: 48px; width: max-content; animation: mq 40s linear infinite; font-weight: 800; font-size: 22px; color: #3c3c4e; white-space: nowrap; }
.marquee span::before { content: '✦'; margin-right: 48px; color: #5b4fd0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* içerik belirmesi (tüm sayfalar) */
.mo .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--rd, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--rd, 0s); }
.mo .rv.in { opacity: 1; transform: none; }

/* hareket yok / JS yok: sahneler son hâliyle, sabitlemesiz */
html:not(.mo) .h-hero, html:not(.mo) .h-words, html:not(.mo) .h-chaos, html:not(.mo) .h-phone, html:not(.mo) .h-gal { height: auto !important; }
html:not(.mo) .stick { position: relative; height: auto; min-height: 0; overflow: visible; padding: 80px 0; }
html:not(.mo) .h-hero .stick { --a: 1; padding-top: 40px; }
html:not(.mo) .h-title { position: relative; top: 0; opacity: 1; transform: none; }
html:not(.mo) .mac-wrap { position: relative; bottom: 0; margin-top: 50px; }
html:not(.mo) .mac-cap { position: relative; bottom: 0; margin-top: 16px; }
html:not(.mo) .mac-cap span:first-child { opacity: 1; position: relative; }
html:not(.mo) .words span { opacity: 1; }
html:not(.mo) .h-chaos .stick { --c: 1; --d: 1; }
html:not(.mo) .chip { display: none; }
html:not(.mo) .chaos-txt { position: relative; top: 0; }
html:not(.mo) .chaos-txt .t0 { display: none; }
html:not(.mo) .chaos-txt p { position: relative; }
html:not(.mo) .dash-mock { position: relative; left: 0; top: 0; margin: 40px auto; transform: none; }
html:not(.mo) .chaos-cta { position: relative; bottom: 0; }
html:not(.mo) .gal-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
html:not(.mo) .gcard { scroll-snap-align: start; }
html:not(.mo) .h-phone .ph-call { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .h-phone .stick { grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .h-phone .ph-txt h2 { font-size: 30px; }
  .ph-steps { display: none; }
  .phone { width: min(250px, 58vw); }
}
@media (max-width: 860px) {
  .svc-split { grid-template-columns: 1fr; }
  .svc-vis { display: none; }
  .svc-item { opacity: 1; min-height: 0; padding: 26px 0; }
  .h-nums .grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .dash-mock .tl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .h-gal { height: auto !important; }
  .h-gal .stick { position: relative; height: auto; padding: 80px 0; }
  .gal-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; transform: none !important; }
  .gcard { scroll-snap-align: start; }
  .mac-wrap { bottom: 16vh; }
  .h-title { top: 10vh; }
  .chip:nth-child(n+9) { display: none; }
}
html:not(.mo) .svc-item { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee div, .scroll-hint i, .ph-call .ic, .ph-tap { animation: none !important; } }
