/* ---------------------------------------------------------------------------
   Gaussian / 3B vitrin bileşenleri — tanıtım sitesinin (.lp) devamı.
   landing.css'teki token'ları (--accent, --line, --r, --display ...) kullanır,
   onun ARDINDAN yüklenir. Tüm seçiciler .lp altında scope'lu → panel etkilenmez.

   Buradaki bileşenler yalnız yeni sayfalarda geçer:
     .lp-scene     sahne poster kartı (tıkla-yükle splat gömme)
     .lp-stage     detay sayfasındaki geniş viewer çerçevesi
     .lp-spec      üretim künyesi (format / boyut / kaynak)
     .lp-pipeline  çekim → eğitim → export → link adımları
     .lp-compare   360° / Gaussian / mesh karşılaştırma kartları
     .lp-scenenav  sahneler arası önceki-sonraki gezinmesi
--------------------------------------------------------------------------- */

/* === Sahne poster kartı ==================================================
   Splat dosyaları 8–100 MB arası; üç sahne birden gömülürse ziyaretçiye
   yüzlerce MB iniyor. Bu yüzden kart önce POSTER: tıklanınca iframe'e döner
   (js/landing.js → initSceneEmbeds). JS yoksa <a> olarak /s/{token} açar. */
.lp-scene {
    display: block;
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.lp-scene:hover {
    border-color: #d3dde0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Poster alanı — yüklenmiş iframe de aynı ölçüyü devralır. */
.lp-scene__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--ink-deep);
    overflow: hidden;
}

/* Poster bağlantısı — JS'siz hâlde /s/{token}'ı yeni sekmede açar, JS varken
   tıklanınca yerini iframe alır (kapsayıcının çocukları değiştirilir). */
.lp-scene__poster,
.lp-stage__poster {
    position: absolute;
    inset: 0;
    display: block;
}

.lp-scene__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.16, .8, .24, 1);
}

.lp-scene:hover .lp-scene__media img { transform: scale(1.035); }

/* Poster henüz çekilmediyse: nokta dokulu degrade.
   Nokta ızgarası bilinçli — Gauss bulutunu ima ediyor, boş kutu gibi durmuyor. */
.lp-scene__ph {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0) 0 0 / 13px 13px,
        radial-gradient(130% 100% at 72% 8%, #17414d 0, transparent 58%),
        linear-gradient(158deg, #0d2a35, var(--accent) 240%);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
}

.lp-scene__ph b {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.35rem;
    color: #fff;
    display: block;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.lp-scene__ph span {
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    display: block;
    margin-top: .55rem;
}

/* Rozetler — sol üst: format, sağ üst: boyut. .lp-shot__badge diliyle aynı. */
.lp-scene__tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    justify-content: space-between;
    pointer-events: none;
}

.lp-badge {
    font-family: var(--mono);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(8, 24, 31, .58);
    backdrop-filter: blur(6px);
    padding: .42em .75em;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .45em;
    white-space: nowrap;
}

/* Ağır sahne uyarısı (>40 MB) — ziyaretçi mobil veriyle girmesin. */
.lp-badge--warn { background: rgba(146, 64, 14, .82); }

.lp-scene__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.lp-scene__play i {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .93);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
    transition: transform .2s, background .2s;
}

.lp-scene:hover .lp-scene__play i { transform: scale(1.09); }

.lp-scene__play svg {
    width: 21px;
    height: 21px;
    margin-left: 3px;
    color: var(--accent-d);
}

/* Play düğmesinin altındaki indirme bilgisi. Splat dosyası tıklamayla tek parça
   indiği için ziyaretçi ne kadarlık bir yükün geldiğini ÖNCEDEN görsün. */
.lp-scene__play em {
    font-family: var(--mono);
    font-style: normal;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: rgba(8, 24, 31, .62);
    backdrop-filter: blur(6px);
    padding: .38em .8em;
    border-radius: 999px;
    margin-top: .7rem;
    white-space: nowrap;
}

/* Uyarı satırı — ağır sahnelerde (>40 MiB) kart gövdesinde görünür. Kırmızı
   değil kehribar: bu bir hata değil, bilgilendirme. */
.lp-warn {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .85rem;
    padding: .65rem .8rem;
    border: 1px solid #f3dcb3;
    background: #fdf7ec;
    border-radius: var(--r-sm);
    font-size: .84rem;
    line-height: 1.45;
    color: #7a4f10;
}

.lp-warn svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin-top: .12em;
    color: #b4770f;
}

/* Bilgi tonu — uyarı değil, kapsam açıklaması (ör. pilot hizmet notu). */
.lp-warn--info {
    border-color: #cfe6e3;
    background: var(--accent-soft);
    color: #0b4d47;
}

.lp-warn--info svg { color: var(--accent-d); }

/* Hizmetin pilot aşamada olduğunu söyleyen rozet. Başlığın yanında durur ki
   ziyaretçi sayfanın tamamını olgun bir ürün sanarak okumasın. */
.lp-pilot {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7a4f10;
    background: #fdf7ec;
    border: 1px solid #f3dcb3;
    padding: .4em .85em;
    border-radius: 999px;
}

.lp-pilot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d99a1f;
}

/* Kart gövdesi — ad + kısa açıklama + eylem. */
.lp-scene__body {
    padding: 1.15rem 1.35rem 1.3rem;
    border-top: 1px solid var(--line);
}

.lp-scene__body h3 {
    font-size: 1.14rem;
    margin-bottom: .35rem;
}

.lp-scene__body p {
    color: var(--muted);
    font-size: .92rem;
}

.lp-scene__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.lp-scene__hint {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--muted);
}

/* Tıklanınca iframe buraya basılır; poster katmanları kaldırılır. */
.lp-scene__media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* === Geniş sahne (detay sayfası) =========================================
   Tek sahnenin öne çıktığı yer. .lp-demo-hero deseniyle akraba ama splat
   viewer'ın dikey alana ihtiyacı daha fazla (yürüme + yön tuşları). */
.lp-stage {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lp-stage__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--ink-deep);
    overflow: hidden;
    display: block;
}

.lp-stage__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-stage__media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.lp-stage__body {
    padding: 1.25rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
}

.lp-stage__body h3 { font-size: 1.3rem; }

.lp-stage__meta {
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .04em;
    color: var(--muted);
    margin-top: .3rem;
}

/* Telefonda 16/9 çok bodur kalıyor — splat sahnesinde yükseklik lazım. */
@media (max-width: 700px) {
    .lp-stage__media {
        aspect-ratio: auto;
        height: 72vh;
        min-height: 420px;
    }

    .lp-scene__media { aspect-ratio: 4 / 3; }
}

/* === Üretim künyesi ======================================================
   Sahnenin teknik kimliği: format, boyut, kaynak, motor. Değerler canlı
   API'den geldiği için mono ile yazılıyor (sabit veri hissi). */
.lp-spec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.lp-spec > div {
    background: var(--bg);
    padding: 1.05rem 1.15rem;
}

.lp-spec dt {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}

.lp-spec dd {
    margin: 0;
    font-family: var(--mono);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    word-break: break-word;
}

/* === Üretim hattı ========================================================
   .lp-steps'in dört adımlı, bağlantı çizgili akrabası. */
.lp-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    counter-reset: lppipe;
}

.lp-pipeline > li {
    list-style: none;
    position: relative;
    padding-top: 3rem;
    counter-increment: lppipe;
}

/* Numaralı madalyon */
.lp-pipeline > li::before {
    content: counter(lppipe, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent-d);
    background: var(--accent-soft);
    border: 1px solid rgba(13, 148, 136, .28);
}

/* Adımları birbirine bağlayan ince çizgi (son adımda yok) */
.lp-pipeline > li::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 42px;
    right: -1.6rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(13, 148, 136, .35), rgba(13, 148, 136, .06));
}

.lp-pipeline > li:last-child::after { display: none; }

.lp-pipeline h3 {
    font-size: 1.1rem;
    margin-bottom: .45rem;
}

.lp-pipeline p {
    color: var(--muted);
    font-size: .93rem;
}

/* Koyu bölümde kullanılırsa (lp-section--deep) kontrastı çevir. */
.lp-section--deep .lp-pipeline h3 { color: #fff; }
.lp-section--deep .lp-pipeline p { color: #93a6ac; }

.lp-section--deep .lp-pipeline > li::before {
    color: #7fd8cf;
    background: rgba(13, 148, 136, .16);
    border-color: rgba(127, 216, 207, .3);
}

@media (max-width: 920px) {
    .lp-pipeline { grid-template-columns: 1fr 1fr; }
    .lp-pipeline > li:nth-child(2n)::after { display: none; }
}

@media (max-width: 560px) {
    .lp-pipeline {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .lp-pipeline > li::after { display: none; }
}

/* === Teknoloji karşılaştırması ===========================================
   360° panorama / Gaussian splat / mesh fotogrametri. Tablo yerine kart:
   mobilde tablo okunmuyor, ayrıca "önerilen"i işaretlemek kolay. */
.lp-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

/* İki teknolojinin karşılaştırıldığı sayfalar için (ör. mesh ↔ Gaussian). */
.lp-compare--2 { grid-template-columns: repeat(2, 1fr); }

.lp-compare__col {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.7rem;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

/* Vurgulanan sütun (Gaussian) — .lp-tier--featured diliyle aynı. */
.lp-compare__col--on {
    border-color: var(--accent);
    box-shadow: 0 30px 60px -34px rgba(13, 148, 136, .45);
}

.lp-compare__col h3 {
    font-size: 1.24rem;
    margin-bottom: .3rem;
}

.lp-compare__tag {
    font-family: var(--mono);
    font-size: .63rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-d);
    margin-bottom: 1.1rem;
    display: block;
}

.lp-compare__col > p {
    color: var(--muted);
    font-size: .93rem;
    margin-bottom: 1.2rem;
}

.lp-compare__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.lp-compare__col li {
    position: relative;
    padding-left: 1.6rem;
    font-size: .92rem;
    color: var(--ink-2);
}

/* Artı: teal onay çizgisi */
.lp-compare__col li[data-v="+"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: 11px;
    height: 6px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

/* Eksi: gri yatay çizgi (kırmızı kullanmıyoruz — hiçbiri "kötü" değil) */
.lp-compare__col li[data-v="-"]::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .72em;
    width: 11px;
    height: 1.5px;
    background: #bcc8cd;
}

.lp-compare__col li[data-v="-"] { color: var(--muted); }

@media (max-width: 920px) {
    .lp-compare { grid-template-columns: 1fr; }
}

/* === Sahneler arası gezinme (detay sayfası altı) ========================= */
.lp-scenenav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.lp-scenenav a {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.25rem 1.4rem;
    background: var(--bg);
    transition: border-color .18s, transform .18s, box-shadow .18s;
}

.lp-scenenav a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.lp-scenenav span {
    font-family: var(--mono);
    font-size: .63rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: .35rem;
}

.lp-scenenav b {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.14rem;
    color: var(--ink);
}

/* Sonraki linki sağa yaslanır (klasik önceki/sonraki hissi). */
.lp-scenenav a:last-child:nth-child(2) { text-align: right; }

@media (max-width: 560px) {
    .lp-scenenav { grid-template-columns: 1fr; }
    .lp-scenenav a:last-child:nth-child(2) { text-align: left; }
}

/* === Küçük yardımcılar =================================================== */

/* Uzun anlatım bölümlerinde iki sütunlu metin bloğu. */
.lp-notecols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.6rem, 4vw, 3rem);
}

@media (max-width: 760px) {
    .lp-notecols { grid-template-columns: 1fr; }
}

/* Sahne vitrininde iki kartlık satır (öne çıkan sahnenin altı). */
.lp-scenegrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}

/* Kademeli beliriş — landing.css'teki .lp-grid/.lp-steps kuralının yeni
   kapsayıcılar için karşılığı (js/landing.js .is-in ekliyor). */
.lp-anim .lp-scenegrid > .lp-reveal:nth-child(2),
.lp-anim .lp-compare > .lp-reveal:nth-child(2),
.lp-anim .lp-pipeline > .lp-reveal:nth-child(2) { --d: .08s; }

.lp-anim .lp-scenegrid > .lp-reveal:nth-child(3),
.lp-anim .lp-compare > .lp-reveal:nth-child(3),
.lp-anim .lp-pipeline > .lp-reveal:nth-child(3) { --d: .16s; }

.lp-anim .lp-pipeline > .lp-reveal:nth-child(4) { --d: .24s; }
