/* ==========================================================================
   Kalite Bilişim — Premium Motion & Experience Layer
   app.css üzerine binen scroll-driven deneyim katmanı.

   1. Hareket tokenları ve temel animasyonlar
   2. Hero (sinematik)
   3. Sticky hizmet sahnesi
   4. Ürün / cihaz vitrini
   5. SEO deneyimi
   6. Yatay vitrin
   7. Süreç zaman çizelgesi
   8. Rakamlar
   9. Yorumlar
  10. Final CTA
  11. Mikro etkileşimler
  12. Erişilebilirlik ve mobil
   ========================================================================== */

:root {
    /* Hareket tokenları */
    --dur-fast: .28s;
    --dur: .6s;
    --dur-slow: .9s;
    --ease-out: cubic-bezier(.22, .61, .36, 1);
    --ease-emphasis: cubic-bezier(.16, 1, .3, 1);

    /* Genişletilmiş tipografi ölçeği */
    --display-1: clamp(2.6rem, 1.4rem + 5.4vw, 6.2rem);
    --display-2: clamp(2rem, 1.3rem + 3.4vw, 4.2rem);
    --display-3: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);

    /* Sinematik yüzeyler */
    --ink-dark: #050b1a;
    --ink-dark-2: #0a1428;
    --glow-blue: rgba(46, 107, 255, .55);
    --glow-cyan: rgba(56, 189, 248, .40);
}

/* ==========================================================================
   1. Temel giriş animasyonları
   ========================================================================== */
/* Gizleme kuralları yalnızca JavaScript çalışırken uygulanır (.motion-ready).
   JS kapalıysa veya hata verirse tüm içerik görünür kalır — SEO ve erişilebilirlik için kritik. */
.motion-ready [data-anim] { opacity: 0; will-change: opacity, transform; }
.motion-ready [data-anim="reveal"], .motion-ready [data-anim="up"] { transform: translate3d(0, 28px, 0); }
.motion-ready [data-anim="down"] { transform: translate3d(0, -24px, 0); }
.motion-ready [data-anim="left"] { transform: translate3d(-32px, 0, 0); }
.motion-ready [data-anim="right"] { transform: translate3d(32px, 0, 0); }
.motion-ready [data-anim="scale"] { transform: scale(.94); }
.motion-ready [data-anim="blur"] { filter: blur(14px); transform: translate3d(0, 18px, 0); }
.motion-ready [data-anim="fade"] { transform: none; }

[data-anim].is-inview {
    opacity: 1; transform: none; filter: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
}

[data-anim-stagger] { opacity: 1; }
[data-anim-stagger] > .anim-child { opacity: 0; transform: translate3d(0, 24px, 0); }
[data-anim-stagger] > .anim-child.is-inview {
    opacity: 1; transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

/* Kelime kelime metin açılışı */
.motion-ready [data-anim="text"] { opacity: 1; }
/* Maske kutusu satır yüksekliğinden (0.94em) büyük olmalı: aksi hâlde "İ" harfinin
   noktası üstten, "Ş" harfinin çengeli alttan kırpılıyor. Eklenen boşluk aynı
   miktarda negatif kenar boşluğuyla dengelenir, böylece satır aralığı değişmez. */
[data-anim="text"] .word {
    display: inline-block; overflow: hidden; vertical-align: top;
    padding: .16em .04em .26em;
    margin: -.16em -.04em -.26em;
}
/* JS yoksa kelimeler ötelenmemeli, yoksa görünmez kalırlar */
.motion-ready [data-anim="text"] .word-inner { transform: translate3d(0, 110%, 0); }
[data-anim="text"] .word-inner { display: inline-block; }
[data-anim="text"].is-inview .word-inner {
    transform: none;
    transition: transform .85s var(--ease-emphasis);
}

/* Görsel maskeli açılış */
.motion-ready [data-anim="image"] { opacity: 1; position: relative; overflow: hidden; }
.motion-ready [data-anim="image"] > img { transform: scale(1.14); transition: transform 1.2s var(--ease-emphasis); }
.motion-ready [data-anim="image"]::after {
    content: ""; position: absolute; inset: 0; background: var(--ink-dark);
    transform: scaleX(1); transform-origin: right center; transition: transform .9s var(--ease-emphasis);
}
[data-anim="image"].is-inview > img { transform: none; }
[data-anim="image"].is-inview::after { transform: scaleX(0); }

/* ==========================================================================
   2. Hero — sinematik açılış
   ========================================================================== */
.hero-x {
    position: relative; display: flex; align-items: center;
    min-height: 100vh; /* eski Safari için yedek */
    min-height: 100svh;
    background: var(--ink-dark); color: #fff; overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-x__bg { position: absolute; inset: 0; pointer-events: none; }
.hero-x__grid {
    position: absolute; inset: -20% -10%;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 75% 60% at 50% 42%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 42%, #000 30%, transparent 78%);
    transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0) scale(calc(1 + var(--hero-progress, 0) * .08));
    transition: transform .6s var(--ease-out);
}
.hero-x__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero-x__orb--1 {
    width: 620px; height: 620px; top: -220px; left: -140px;
    background: radial-gradient(circle, var(--glow-blue), transparent 68%);
    transform: translate3d(calc(var(--depth-x, 0) * -1), calc(var(--depth-y, 0) * -1), 0);
}
.hero-x__orb--2 {
    width: 560px; height: 560px; bottom: -240px; right: -120px;
    background: radial-gradient(circle, var(--glow-cyan), transparent 68%);
    transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0);
}
.hero-x__scan {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(46, 107, 255, .06) 45%, transparent 100%);
    animation: heroScan 9s linear infinite;
}
@keyframes heroScan { 0% { transform: translateY(-40%); } 100% { transform: translateY(40%); } }

.hero-x__inner {
    position: relative; z-index: 1;
    /* Hafif paralaks; metin kaydırma boyunca okunur kalmalı (silikleşme yok) */
    transform: translate3d(0, calc(var(--hero-progress, 0) * -30px), 0);
}
.hero-x__eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
    padding: 8px 16px; border-radius: 99px; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
    background: rgba(91, 140, 255, .12); color: #bcd2ff; border: 1px solid rgba(91, 140, 255, .3);
}
.hero-x__eyebrow svg { color: var(--cyan-400); }

.hero-x h1 {
    font-size: var(--display-1); line-height: .94; letter-spacing: -.035em;
    font-weight: 800; margin: 0 0 26px; text-transform: uppercase;
}
.hero-x h1 .line { display: block; }
/* ---- Degradeli vurgu satırı (hero başlığı + kapanış CTA başlığı) -------------
   JS kapalıyken (kelimelere bölünmemişken) degrade satırın kendisine uygulanır. */
.hero-x h1 .accent,
.cta-x h2 .accent {
    background: linear-gradient(100deg, #6ea2ff 10%, #38bdf8 60%, #a5f3fc 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Kelimelere bölündüğünde degrade, animasyonla birlikte HAREKET EDEN öğeye taşınır.
   Aksi hâlde boyama alanı sabit satır kutusu olduğu için kelime maskenin dışındayken
   hiç boyanmıyor, yerine oturduğu anda birden beliriyordu; alt/üst uçları da kesiliyordu.
   YENİ VURGU SATIRI EKLERSENİZ seçiciyi buraya da ekleyin. */
.hero-x h1 .accent[data-splitted="1"],
.cta-x h2 .accent[data-splitted="1"] {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    color: inherit;
}
.hero-x h1 .accent[data-splitted="1"] .word-inner,
.cta-x h2 .accent[data-splitted="1"] .word-inner {
    background: linear-gradient(100deg, #6ea2ff 10%, #38bdf8 60%, #a5f3fc 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding: .16em .06em .26em;
    margin: -.16em -.06em -.26em;
}
.hero-x__lead {
    font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: rgba(226, 232, 245, .78);
    max-width: 46ch; margin: 0 0 34px;
}
.hero-x__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

/* Hizmet şeridi */
.hero-x__ticker {
    position: relative; display: flex; gap: 0; overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 14px 0; margin-bottom: 34px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero-x__ticker ul {
    display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0 17px;
    white-space: nowrap; animation: tickerMove 26s linear infinite;
}
.hero-x__ticker li {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .84rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(226, 232, 245, .62);
}
.hero-x__ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-x__meta { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: .88rem; color: rgba(226, 232, 245, .6); }
.hero-x__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-x__meta svg { color: var(--cyan-400); }

/* Kaydırma göstergesi */
.hero-x__scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(226, 232, 245, .45);
    opacity: calc(1 - var(--hero-progress, 0) * 2);
}
.hero-x__scroll i {
    width: 1px; height: 46px; background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
    position: relative; overflow: hidden;
}
.hero-x__scroll i::after {
    content: ""; position: absolute; inset: 0; background: var(--cyan-400);
    animation: scrollHint 2.2s var(--ease-out) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   3. Sticky hizmet sahnesi
   ========================================================================== */
.scene {
    position: relative; background: var(--ink-dark-2); color: #fff;
}
.scene.is-scene-active {
    height: calc(var(--scene-steps, 5) * 68vh + 100vh); /* eski Safari yedeği */
    height: calc(var(--scene-steps, 5) * 68svh + 100svh);
}
.scene__sticky {
    position: sticky; top: 0; display: flex; align-items: center;
    min-height: 100vh; min-height: 100svh;
    overflow: hidden; padding: calc(var(--header-h) + 30px) 0 50px;
}
.scene__bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 20%, transparent 75%);
}
.scene__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; width: 100%; }

.scene__head { margin-bottom: 26px; }
.scene__progress { height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; margin-top: 22px; }
/* width yerine scaleX: genişlik her karede değişince tarayıcı yeniden yerleşim
   yapıyor ve kaydırma takılıyordu; transform yalnızca kompozitörü ilgilendirir. */
.scene__progress span {
    display: block; height: 100%; width: 100%;
    transform-origin: left center; transform: scaleX(var(--scene-progress, 0));
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    will-change: transform;
}

.scene__nav { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.scene__nav li {
    display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px;
    font-size: .92rem; color: rgba(226, 232, 245, .45);
    transition: color .3s var(--ease-out), background .3s var(--ease-out);
}
.scene__nav li em { font-style: normal; font-variant-numeric: tabular-nums; font-size: .78rem; opacity: .7; }
.scene__nav li.is-active { color: #fff; background: rgba(91, 140, 255, .14); }
.scene__nav li.is-active em { color: var(--cyan-400); opacity: 1; }

.scene__steps { position: relative; min-height: 420px; }
.scene__step {
    position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 34px, 0);
    pointer-events: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-emphasis);
    display: flex; flex-direction: column; justify-content: center;
}
.scene__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scene__number {
    font-size: clamp(3rem, 2rem + 4vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
    background: linear-gradient(120deg, rgba(110, 162, 255, .9), rgba(56, 189, 248, .25));
    -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px;
}
.scene__step h3 { font-size: var(--display-3); margin: 0 0 14px; letter-spacing: -.02em; }
.scene__step p { color: rgba(226, 232, 245, .74); font-size: 1rem; max-width: 46ch; margin: 0 0 20px; }
.scene__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.scene__tags li {
    padding: 6px 12px; border-radius: 99px; font-size: .78rem; color: rgba(226, 232, 245, .78);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.scene__visual {
    position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.scene__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   4. Cihaz vitrini
   ========================================================================== */
.showcase { position: relative; padding: clamp(60px, 8vw, 120px) 0; background: var(--ink-dark); color: #fff; overflow: hidden; }
.showcase__stage {
    position: relative; margin-top: 46px; perspective: 1400px;
    display: grid; place-items: center; min-height: clamp(320px, 42vw, 560px);
}
.device {
    position: relative; border-radius: 18px; overflow: hidden; background: #0f1a33;
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px rgba(0, 0, 0, .5);
    transform-style: preserve-3d;
}
.device--laptop {
    width: min(760px, 88%);
    transform: rotateX(calc(16deg - var(--scroll-progress, 0) * 16deg)) scale(calc(.92 + var(--scroll-progress, 0) * .08));
    transition: transform .2s linear;
}
.device--laptop .device__bar { display: flex; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .06); }
.device--laptop .device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.device--laptop img { width: 100%; display: block; }
.device--phone {
    position: absolute; right: max(6%, 12px); bottom: -6%; width: clamp(120px, 16vw, 190px);
    border-radius: 26px; padding: 8px; background: #0b1220;
    transform: translate3d(0, calc(var(--scroll-progress, 0) * -30px), 0) rotate(-4deg);
    transition: transform .2s linear;
}
.device--phone img { width: 100%; border-radius: 18px; display: block; }
.showcase__caption { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 44px; color: rgba(226, 232, 245, .66); font-size: .9rem; }
.showcase__caption span { display: inline-flex; align-items: center; gap: 8px; }
.showcase__caption svg { color: var(--cyan-400); }

/* ==========================================================================
   5. SEO deneyimi
   ========================================================================== */
.seo-x { position: relative; padding: clamp(70px, 9vw, 130px) 0; background: var(--ink-dark-2); color: #fff; overflow: hidden; }
/* Sahne genişliği sınırlanır; aksi hâlde rozetler dev kelimeden çok uzağa,
   konteynerin iki ucuna dağılıp bölümü boş gösteriyordu. */
.seo-x__stage {
    position: relative; display: grid; place-items: center;
    min-height: clamp(280px, 34vw, 420px);
    max-width: 940px; margin-inline: auto;
}
/* background-clip: text, kutunun dışına taşan harf uçlarını boyamaz; 0.82 satır
   yüksekliğiyle harflerin altı taban çizgisinin dışında kalıp kesik görünüyordu.
   Satır yüksekliği 1'e çekilip her yöne iç boşluk verilerek boyama alanı büyütüldü. */
.seo-x__word {
    font-size: clamp(5rem, 3rem + 18vw, 17rem); font-weight: 800; line-height: 1; letter-spacing: -.06em;
    padding: .05em .08em .1em;
    background: linear-gradient(140deg, rgba(110, 162, 255, .95), rgba(56, 189, 248, .35));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    transform: scale(calc(.9 + var(--scroll-progress, 0) * .16));
    transition: transform .2s linear;
}
.seo-x__chip {
    position: absolute; padding: 8px 14px; border-radius: 99px; font-size: .76rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
    background: rgba(10, 20, 40, .82); border: 1px solid rgba(255, 255, 255, .14); color: rgba(226, 232, 245, .88);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transform: translate3d(0, 14px, 0);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-emphasis);
}
.seo-x.is-inview .seo-x__chip, .seo-x__stage.is-inview .seo-x__chip { opacity: 1; transform: none; }
/* Rozetler kelimenin çevresinde birebir aynalı (simetrik) üç çift hâlinde durur;
   her çift aynı gecikmeyle açılır. */
.seo-x__chip:nth-child(2) { top: 2%;  left: 0;  transition-delay: .06s; }
.seo-x__chip:nth-child(3) { top: 2%;  right: 0; transition-delay: .06s; }
.seo-x__chip:nth-child(4) { top: calc(50% - 18px); left: 0;  transition-delay: .16s; }
.seo-x__chip:nth-child(5) { top: calc(50% - 18px); right: 0; transition-delay: .16s; }
.seo-x__chip:nth-child(6) { bottom: 2%; left: 0;  transition-delay: .26s; }
.seo-x__chip:nth-child(7) { bottom: 2%; right: 0; transition-delay: .26s; }

.seo-x__chart { margin-top: 48px; }
.seo-x__chart svg { width: 100%; height: auto; }
.seo-x__chart .line {
    stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--scroll-progress, 0) * 1000);
    transition: stroke-dashoffset .15s linear;
}
.seo-x__note { text-align: center; color: rgba(226, 232, 245, .5); font-size: .82rem; margin-top: 14px; }

/* ==========================================================================
   6. Yatay vitrin
   ========================================================================== */
.hshow { position: relative; background: var(--bg-soft); }
/* Bu bölüm açık zeminlidir; .eyebrow varsayılanı koyu zemin için tasarlandığından
   açık mavi metin açık zeminde okunmuyordu. Açık zemin varyantı uygulanır. */
.hshow .eyebrow { background: var(--info-bg); color: var(--blue-600); border-color: #d2ddff; }
.hshow.is-pinned { height: 270vh; }
.hshow__sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: calc(var(--header-h) + 24px) 0 40px; }
.hshow__track { display: flex; gap: 26px; padding: 0 clamp(20px, 6vw, 80px); will-change: transform; }
/* Doğal (parmakla) yatay kaydırma — telefon ve kısa ekranlar.
   Tarayıcının kendi kaydırması ana iş parçacığını meşgul etmediği için akıcıdır. */
.hshow.is-native-scroll .hshow__sticky { position: static; min-height: 0; padding: 30px 0; }
.hshow.is-native-scroll .hshow__track {
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    padding-bottom: 18px; transform: none !important; will-change: auto;
    scrollbar-width: none;
}
.hshow.is-native-scroll .hshow__track::-webkit-scrollbar { display: none; }
.hshow.is-native-scroll .hcard { scroll-snap-align: center; }
/* İlerleme çubuğu yalnızca sabitlenmiş sürümde anlamlı */
.hshow.is-native-scroll .hshow__bar { display: none; }

.hcard {
    flex: 0 0 min(420px, 78vw); background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.hcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft-2); }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-emphasis); }
.hcard:hover .hcard__media img { transform: scale(1.05); }
.hcard__no {
    position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .78rem; font-weight: 700;
    background: rgba(5, 11, 26, .78); color: #fff; padding: 5px 11px; border-radius: 99px;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hcard__cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.hcard__body h3 { font-size: 1.1rem; margin: 0; }
.hcard__body p { font-size: .9rem; color: var(--muted); margin: 0; }
.hshow__bar { height: 3px; background: rgba(11, 18, 32, .1); border-radius: 3px; margin: 30px clamp(20px, 6vw, 80px) 0; overflow: hidden; }
.hshow__bar span {
    display: block; height: 100%; width: 100%;
    transform-origin: left center; transform: scaleX(var(--h-progress, 0));
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    will-change: transform;
}

/* ==========================================================================
   7. Süreç zaman çizelgesi
   ========================================================================== */
.process-x { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.process-x__list { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.process-x__item { position: relative; display: flex; gap: 22px; align-items: flex-start; padding-left: 0; }

/* Adım rozeti — dikey bağlantı çizgisi yerine, görünüre girince
   yerine oturan ve tek seferlik bir halka dalgası yayan animasyon kullanılır. */
.process-x__dot {
    position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 18px;
    display: grid; place-items: center;
    background: linear-gradient(150deg, #ffffff, #eef3ff);
    border: 1px solid var(--line);
    font-weight: 800; color: var(--blue-600); box-shadow: var(--shadow-sm);
}
.process-x__item.is-inview .process-x__dot { animation: dotIn .68s var(--ease-emphasis) both; }
@keyframes dotIn {
    0%   { transform: scale(.7) rotate(-10deg); box-shadow: 0 0 0 0 rgba(46, 107, 255, .40); }
    55%  { transform: scale(1.07) rotate(0deg); }
    100% { transform: none; box-shadow: 0 0 0 20px rgba(46, 107, 255, 0), var(--shadow-sm); }
}
.process-x__content h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.process-x__content p { color: var(--muted); font-size: .94rem; margin: 0; max-width: 56ch; }

/* ==========================================================================
   8. Rakamlar (yalnızca gerçek veriler)
   ========================================================================== */
.metrics { padding: clamp(50px, 6vw, 90px) 0; background: var(--ink-dark); color: #fff; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric {
    padding: 26px 24px; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
}
.metric strong {
    display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 800; line-height: 1;
    letter-spacing: -.03em; font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, #fff, #9fc3ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { display: block; margin-top: 8px; font-size: .9rem; color: rgba(226, 232, 245, .68); }

/* ==========================================================================
   9. Yorumlar (yalnızca onaylı gerçek yorumlar)
   ========================================================================== */
.quotes { padding: clamp(60px, 8vw, 110px) 0; }
.quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.quote-card blockquote { margin: 0 0 22px; font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); line-height: 1.55; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   10. Final CTA
   ========================================================================== */
.cta-x { position: relative; padding: clamp(80px, 11vw, 160px) 0; background: var(--ink-dark); color: #fff; overflow: hidden; text-align: center; }
.cta-x__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-x__bg span {
    position: absolute; border-radius: 50%; filter: blur(100px);
    transform: translate3d(0, calc(var(--scroll-progress, 0) * -40px), 0);
}
.cta-x__bg span:nth-child(1) { width: 560px; height: 560px; left: -12%; top: -30%; background: radial-gradient(circle, var(--glow-blue), transparent 68%); }
.cta-x__bg span:nth-child(2) { width: 520px; height: 520px; right: -10%; bottom: -35%; background: radial-gradient(circle, var(--glow-cyan), transparent 68%); }
.cta-x__inner { position: relative; }
.cta-x h2 {
    font-size: var(--display-2); line-height: .98; letter-spacing: -.035em; text-transform: uppercase;
    font-weight: 800; margin: 0 0 20px;
}
/* .cta-x h2 .accent degradesi, hero ile ortak kuralda tanımlıdır (bkz. "Degradeli vurgu satırı") */
.cta-x p { color: rgba(226, 232, 245, .76); font-size: 1.05rem; max-width: 48ch; margin: 0 auto 32px; }
.cta-x__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Koyu bölümlerde buton ve metin kontrastı */
.hero-x .btn-outline, .cta-x .btn-outline, .scene .btn-outline, .showcase .btn-outline, .seo-x .btn-outline, .metrics .btn-outline {
    color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent;
}
.hero-x .btn-outline:hover, .cta-x .btn-outline:hover, .scene .btn-outline:hover,
.showcase .btn-outline:hover, .seo-x .btn-outline:hover, .metrics .btn-outline:hover {
    background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff;
}
.hero-x .btn-ghost, .cta-x .btn-ghost, .scene .btn-ghost, .showcase .btn-ghost, .seo-x .btn-ghost {
    color: rgba(255, 255, 255, .85);
}
.hero-x .btn-ghost:hover, .cta-x .btn-ghost:hover, .scene .btn-ghost:hover,
.showcase .btn-ghost:hover, .seo-x .btn-ghost:hover {
    background: rgba(255, 255, 255, .12); color: #fff;
}
.scene .section-head > p, .showcase .section-head > p, .seo-x .section-head > p, .metrics .section-head > p {
    color: rgba(226, 232, 245, .72);
}
.scene .link-more, .showcase .link-more, .seo-x .link-more { color: var(--blue-400); }

/* ==========================================================================
   11. Mikro etkileşimler
   ========================================================================== */
[data-magnetic] { transition: transform .35s var(--ease-out); will-change: transform; }
.btn .arrow, .link-more svg { transition: transform .3s var(--ease-out); }
.btn:hover .arrow, .link-more:hover svg { transform: translateX(4px); }

.link-underline { position: relative; }
.link-underline::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right center;
    transition: transform .4s var(--ease-emphasis);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left center; }

/* İç sayfa başlıkları — markup değişikliği gerektirmeyen giriş animasyonu */
.page-hero .breadcrumb { animation: pageIn .5s var(--ease-out) both; }
.page-hero h1 { animation: pageIn .6s .06s var(--ease-out) both; }
.page-hero .page-lead { animation: pageIn .6s .14s var(--ease-out) both; }
.page-hero .page-hero-meta, .page-hero .page-hero-actions, .page-hero .search-hero-form { animation: pageIn .6s .22s var(--ease-out) both; }
.auth-card, .content-card:first-of-type { animation: pageIn .55s var(--ease-out) both; }

/* Bağlantı altı çizgi animasyonu (footer ve içerik bağlantıları) */
.footer-col a, .footer-legal a, .prose p > a {
    position: relative; background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size .35s var(--ease-emphasis), color .2s var(--ease-out);
}
.footer-col a:hover, .footer-legal a:hover, .prose p > a:hover { background-size: 100% 1px; }

/* Kart hover derinliği */
.service-card, .product-card, .post-card, .hcard { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.hcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Sayfa geçişi (giriş animasyonu) */
/* "backwards" kullanılır: animasyon bitince öğede transform kalmaz.
   Kalıcı transform, içindeki position:sticky/fixed öğeleri (özellikle iOS Safari'de) bozar. */
.page-fade { animation: pageIn .45s var(--ease-out) backwards; }
@keyframes pageIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
body.is-leaving { opacity: 0; transition: opacity .25s var(--ease-out); }

/* Scroll ilerleme çubuğu */
.scroll-bar {
    position: fixed; left: 0; top: 0; height: 3px; z-index: 120; pointer-events: none;
    width: 100%; transform-origin: left center; transform: scaleX(var(--page-progress, 0));
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}

/* ==========================================================================
   12. Mobil ve erişilebilirlik
   ========================================================================== */
/* Sahne sabitlenemiyorsa (JS yok, azaltılmış hareket, çok kısa ekran):
   adımlar normal akışta kart olarak listelenir — içerik her koşulda görünür. */
.scene:not(.is-scene-active) .scene__sticky { position: static; min-height: 0; padding: clamp(56px, 8vw, 90px) 0; }
.scene:not(.is-scene-active) .scene__steps { min-height: 0; display: grid; gap: 22px; }
.scene:not(.is-scene-active) .scene__step {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    padding: 24px; border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03);
}
.scene:not(.is-scene-active) .scene__nav,
.scene:not(.is-scene-active) .scene__progress { display: none; }

/* Tablet ve telefonda sahne/vitrin aynı şekilde çalışır, yalnızca yerleşim sıkışır */
@media (max-width: 1080px) {
    .scene__inner { grid-template-columns: 1fr; gap: 24px; align-content: center; }
    .scene__sticky { padding: calc(var(--header-h) + 20px) 0 28px; }
    .scene__head { margin-bottom: 0; }
    .scene__head p { display: none; } /* sabit panelde yer kazanmak için */
    .scene__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
    .scene__nav li { padding: 7px 10px; font-size: .78rem; gap: 7px; }
    .scene__nav li span { display: none; }
    .scene__nav li.is-active span { display: inline; }
    .scene__progress { margin-top: 14px; }
    .scene__steps { min-height: 340px; }
    .scene__number { font-size: 2.4rem; margin-bottom: 4px; }
    .scene__step h3 { margin-bottom: 10px; }
    .scene__step p { font-size: .95rem; margin-bottom: 16px; }
    .scene__tags { margin-bottom: 18px; }
    .scene__tags li:nth-child(n+4) { display: none; }
    .hshow.is-pinned { height: 320vh; }
    .hshow__sticky { padding: calc(var(--header-h) + 18px) 0 28px; }
    .hshow__track { gap: 18px; padding: 0 20px; }
    .metrics__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Kısa ekranda (yatay telefon) sabitleme JS tarafından kapatılır */
@media (max-height: 560px) {
    .scene__head p { display: block; }
    .scene__nav li span { display: inline; }
}

@media (max-width: 900px) {
    .hero-x { min-height: auto; padding: calc(var(--header-h) + 34px) 0 56px; }
    .hero-x__inner { transform: none; opacity: 1; }
    .hero-x__scroll { display: none; }
    .device--phone { position: static; margin: 22px auto 0; transform: none; }
    .device--laptop { transform: none; width: 100%; }
}

@media (max-width: 680px) {
    .metrics__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .metric { padding: 20px 16px; text-align: center; }
    .hero-x__meta, .hero-x__actions, .showcase__caption { justify-content: center; }
    .hero-x__lead { margin-left: auto; margin-right: auto; }
    .hero-x, .hero-x__eyebrow, .scene__step, .process-x__content, .quote-card { text-align: center; }
    .hero-x__eyebrow { margin-left: auto; margin-right: auto; }
    .scene__tags, .process-x__item, .quote-card figcaption { justify-content: center; }

    /* Sahne başlığı ile adım içeriği aynı hizada olmalı (başlık solda, içerik ortada kalmasın) */
    .scene__head { text-align: center; }
    .scene__head .eyebrow { margin-left: auto; margin-right: auto; }
    .scene__nav { justify-content: center; }
    .scene__step > div { display: flex; justify-content: center; }
    .process-x__item { flex-direction: column; align-items: center; gap: 12px; }
    .process-x__content p { margin-left: auto; margin-right: auto; }
    .hcard { flex: 0 0 86vw; }

}

/* SEO sahnesi: 900 px altında kelimenin çevresinde yer kalmadığı için rozetler
   kelimenin altına, sarmalanan ve ortalanan bir sıraya iner. */
@media (max-width: 900px) {
    .seo-x__stage {
        display: flex; flex-flow: row wrap; justify-content: center; align-items: center;
        min-height: 0; gap: 8px; max-width: none;
    }
    .seo-x__word { flex: 0 0 100%; text-align: center; margin-bottom: 10px; }
    .seo-x__chip { position: static; display: inline-flex; margin: 0; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    [data-anim], [data-anim-stagger] > .anim-child { opacity: 1 !important; transform: none !important; filter: none !important; }
    [data-anim="text"] .word-inner { transform: none !important; }
    [data-anim="image"]::after { display: none; }
    [data-anim="image"] > img { transform: none !important; }
    .hero-x__scan, .hero-x__ticker ul, .hero-x__scroll i::after { animation: none !important; }
    .process-x__item.is-inview .process-x__dot { animation: none !important; }
    .footer-acc > ul { animation: none !important; }
    .hero-x__inner, .device--laptop, .device--phone, .seo-x__word { transform: none !important; opacity: 1 !important; }
    .scene.is-scene-active { height: auto; }
    .scene__sticky { position: static; }
    .scene__step { position: static; opacity: 1; transform: none; margin-bottom: 26px; }
    .hshow.is-pinned { height: auto; }
    .hshow__sticky { position: static; }
    .hshow__track { overflow-x: auto; transform: none !important; }
    .scroll-bar { display: none; }
    .page-hero .breadcrumb, .page-hero h1, .page-hero .page-lead, .page-hero .page-hero-meta,
    .page-hero .page-hero-actions, .page-hero .search-hero-form, .auth-card, .content-card:first-of-type,
    .page-fade { animation: none !important; }
    body.is-leaving { opacity: 1 !important; }
}
