/* ==========================================================================
   lab.css — Laboratuvar Tezgâhları, bespoke uygulama sayfası (Gülmar Yapı)
   Tasarım dili: 2026 "Clinical Precision" — derin petrol-grafit hero, molekül/
   hex ızgara motifi, teknik mono etiketler, klinik teal (#0fb6ab) vurgu, kırık
   beyaz gövde, cam (glass) kartlar, sıvı boncuklanma efekti, scroll-reveal +
   sayaç + akış (timeline) + etkileşimli kimyasal direnç matrisi + pH skalası.
   Tüm sınıflar .lab- ile namespace'lenir; sayfa tek başına (self-contained).
   Hiçbir fotoğraf gerektirmeden tam ve canlı görünür.
   ========================================================================== */

:root {
    --lab-accent: #0fb6ab;
    --lab-accent-2: #34d8c8;
    --lab-accent-deep: #0a847c;
    --lab-ink: #0f1820;
    --lab-ink-2: #18222c;
    --lab-graphite: #0a1118;
    --lab-muted: #5f6b73;
    --lab-line: #e2e8ea;
    --lab-soft: #f3f7f7;
    --lab-card: #ffffff;
    /* Direnç dereceleri (A/B/C) */
    --lab-a: #16a34a;
    --lab-b: #d99a07;
    --lab-c: #e2603a;
    --lab-radius: 22px;
    --lab-radius-sm: 14px;
    --lab-shadow: 0 22px 55px rgba(15, 24, 32, 0.09);
    --lab-shadow-hover: 0 34px 80px rgba(15, 24, 32, 0.18);
    --lab-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", "Consolas", monospace;
}

/* --------------------------------------------------------------------------
   Genel iskelet
   -------------------------------------------------------------------------- */
.lab-section {
    position: relative;
    padding: clamp(64px, 9vw, 128px) 0;
    background: var(--lab-card);
    overflow: hidden;
}
.lab-section--soft { background: var(--lab-soft); }
.lab-section--dark { background: var(--lab-graphite); color: #fff; }

.lab-h2 {
    margin: 14px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 4.4vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--lab-ink);
    text-wrap: balance;
}
.lab-section--dark .lab-h2 { color: #fff; }

.lab-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--lab-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lab-accent-deep);
}
.lab-tag::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--lab-accent);
}
.lab-section--dark .lab-tag { color: var(--lab-accent-2); }

.lab-head {
    max-width: 760px;
    margin: 0 auto clamp(40px, 5vw, 70px);
    text-align: center;
}
.lab-head--light .lab-head-lead { color: rgba(255, 255, 255, 0.66); }
.lab-head-lead {
    margin: 18px 0 0;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
    color: var(--lab-muted);
}
.lab-head .lab-tag { justify-content: center; }

.lab-lead {
    margin: 20px 0 0;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.75;
    color: var(--lab-muted);
}

/* --------------------------------------------------------------------------
   Butonlar (self-contained)
   -------------------------------------------------------------------------- */
.lp-btn,
.lab-btn,
.lab-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lp-btn-primary,
.lab-btn {
    background: var(--lab-accent);
    color: #04201e;
    box-shadow: 0 14px 30px rgba(15, 182, 171, 0.28);
}
.lp-btn-primary:hover,
.lab-btn:hover {
    background: var(--lab-accent-2);
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 182, 171, 0.36);
}
.lab-btn-ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--lab-ink);
    opacity: .92;
}
.lab-btn-ghost:hover { transform: translateY(-2px); opacity: 1; }

.lab-hero .lab-btn-ghost,
.lab-section--cta .lab-btn-ghost { color: #fff; }

.pp-crumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 18px;
}
.lab-crumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color .2s; }
.lab-crumb a:hover { color: #fff; }
.lab-crumb i { font-size: 11px; opacity: .6; color: rgba(255, 255, 255, 0.7); }
.lab-crumb .is-current { color: var(--lab-accent-2); font-weight: 600; }

/* ==========================================================================
   HERO
   ========================================================================== */
.lab-hero {
    position: relative;
    margin-top: -96px;            /* floating pill bar altına tam taşır */
    padding: clamp(150px, 17vw, 230px) 0 clamp(96px, 10vw, 130px);
    background:
        radial-gradient(120% 90% at 82% -10%, rgba(15, 182, 171, 0.22), transparent 55%),
        radial-gradient(90% 70% at 8% 110%, rgba(52, 216, 200, 0.10), transparent 60%),
        linear-gradient(160deg, #0f1c24 0%, #0b141b 55%, #081016 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
/* Banner görseli (arka plan) + okunabilirlik scrim'i — kayan kelime şeridi aynen altta kalır. */
.lab-hero-media { position: absolute; inset: 0; z-index: -3; margin: 0; overflow: hidden; }
.lab-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; opacity: .64; transform: scale(1.06); will-change: transform; }
.lab-hero-scrim {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    /* Sol: metin okunabilirliği için koyu kalsın. Sağ: fotoğraf net görünsün diye
       karartmayı belirgin azalt (resim eklenince sağ taraf bastırılmıyordu). */
    background:
        linear-gradient(100deg, rgba(8,16,22,.92) 0%, rgba(8,16,22,.72) 34%, rgba(8,16,22,.32) 66%, rgba(8,16,22,.08) 100%),
        linear-gradient(0deg, rgba(8,16,22,.92) 1%, transparent 24%);
}
@media (max-width: 768px) {
    .lab-hero-media img { object-position: center; opacity: .3; }
    .lab-hero-scrim { background: linear-gradient(180deg, rgba(8,16,22,.84) 0%, rgba(8,16,22,.70) 45%, rgba(8,16,22,.92) 100%); }
}
/* Molekül/hex ızgara motifi */
.lab-hero-grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
            mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
    z-index: -2;
    animation: lab-grid-drift 24s linear infinite;
}
@keyframes lab-grid-drift { to { background-position: 46px 46px, 46px 46px; } }

/* Yüzen molekül düğümleri (saf CSS noktalar) */
.lab-hero-mol {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .5;
}
.lab-hero-mol span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lab-accent-2);
    box-shadow: 0 0 12px rgba(52, 216, 200, 0.8);
    animation: lab-float 9s ease-in-out infinite;
}
.lab-hero-mol span:nth-child(1) { top: 26%; left: 14%; animation-delay: 0s; }
.lab-hero-mol span:nth-child(2) { top: 64%; left: 22%; width: 6px; height: 6px; animation-delay: 1.4s; }
.lab-hero-mol span:nth-child(3) { top: 38%; left: 80%; width: 7px; height: 7px; animation-delay: 2.1s; }
.lab-hero-mol span:nth-child(4) { top: 74%; left: 70%; animation-delay: .7s; }
.lab-hero-mol span:nth-child(5) { top: 18%; left: 56%; width: 5px; height: 5px; animation-delay: 3s; }
@keyframes lab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.lab-hero-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 720px;
    max-height: 720px;
    right: -10vw;
    top: -22vw;
    background: radial-gradient(circle, rgba(15, 182, 171, 0.26), transparent 62%);
    filter: blur(20px);
    z-index: -2;
    animation: bs-glow-pulse 8s ease-in-out infinite;
}

/* Köşe nişan işaretleri */
.lab-hero-mark {
    position: absolute;
    width: 26px;
    height: 26px;
    z-index: 1;
    opacity: .5;
}
.lab-hero-mark::before,
.lab-hero-mark::after {
    content: "";
    position: absolute;
    background: var(--lab-accent);
}
.lab-hero-mark::before { width: 100%; height: 2px; top: 0; }
.lab-hero-mark::after { height: 100%; width: 2px; left: 0; }
.lab-hero-mark--tl { top: 26px; left: 26px; }
.lab-hero-mark--tr { top: 26px; right: 26px; transform: scaleX(-1); }
.lab-hero-mark--bl { bottom: 92px; left: 26px; transform: scaleY(-1); }
.lab-hero-mark--br { bottom: 92px; right: 26px; transform: scale(-1); }

/* Sıvı boncuklanma yolu (gözeneksiz yüzey metaforu) — saf SVG */
.lab-hero-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .4;            /* fotoğraf üstünde çizgili şerit + yuvarlak daha sönük */
}
.lab-hero-path path {
    stroke: rgba(15, 182, 171, 0.4);
    stroke-width: 1.5;
    stroke-dasharray: 6 10;
    animation: bs-dash 2.6s linear infinite;
}
.lab-hero-drop {
    fill: var(--lab-accent-2);
    filter: drop-shadow(0 0 9px rgba(52, 216, 200, 0.95));
}

.lab-hero-inner { position: relative; max-width: 900px; z-index: 2; }

.lab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lab-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lab-accent-2);
    margin-bottom: 22px;
}
.lab-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lab-accent-2);
    box-shadow: 0 0 0 0 rgba(52, 216, 200, 0.6);
    animation: lab-ping 2s ease-out infinite;
}
@keyframes lab-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 216, 200, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(52, 216, 200, 0); } }

.lab-hero-title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 8.2vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #fff;
    text-wrap: balance;
}
.lab-hero-title em {
    display: block;
    line-height: 1.1;
    padding-bottom: 0.05em;
    font-style: normal;
    background: linear-gradient(100deg, var(--lab-accent), var(--lab-accent-2));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lab-hero-tag {
    margin: 26px 0 0;
    max-width: 62ch;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.lab-hero-chips {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lab-hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.lab-hero-chips li i { color: var(--lab-accent-2); font-size: 15px; }

.lab-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Scroll göstergesi */
.lab-scroll {
    position: absolute;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    z-index: 2;
}
.lab-scroll-line {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: var(--lab-accent-2);
    animation: bs-scroll 1.8s ease-in-out infinite;
}

/* Marquee şeridi */
/* Marquee — banner (hero) altında bağımsız bant; kesintisiz sonsuz akış.
   Ayraç span'e ::after ile gömülü (gap/padding YOK) → -50% tam yarıya oturur. */
.lab-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--lab-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(14px, 1.8vw, 22px) 0;
}
.lab-marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: bs-marquee 45s linear infinite;
}
.lab-marquee-track span {
    display: inline-flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.8);
}
.lab-marquee-track span::after { content: "✦"; margin: 0 clamp(18px, 2.6vw, 44px); font-size: .58em; color: var(--lab-accent-2); }
.lab-marquee:hover .lab-marquee-track { animation-play-state: paused; }

/* ==========================================================================
   STATS
   ========================================================================== */
.lab-stats {
    position: relative;
    z-index: 5;
    padding: clamp(44px, 5vw, 76px) 0 0;
    background: var(--lab-card);
}
.lab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--lab-line);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius);
    overflow: hidden;
    box-shadow: var(--lab-shadow);
}
.lab-stat {
    background: var(--lab-card);
    padding: clamp(24px, 3vw, 40px) clamp(18px, 2vw, 28px);
    text-align: center;
}
.lab-stat-num {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--lab-ink);
    font-variant-numeric: tabular-nums;
    /* Sayaç sayarken değer genişledikçe 2 satıra kaymasın → altındaki etiket
       yukarı-aşağı titremesin. Tek satır + sabit satır yüksekliği. */
    white-space: nowrap;
    min-height: 1.1em;
}
.lab-stat-label {
    display: block;
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--lab-muted);
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.lab-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(34px, 5vw, 80px);
    align-items: start;
}
.lab-intro-points { display: grid; gap: 14px; }
.lab-point {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: var(--lab-soft);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lab-point:hover { transform: translateY(-3px); box-shadow: var(--lab-shadow); border-color: rgba(15, 182, 171, 0.4); }
.lab-point-ico {
    flex: 0 0 auto;
    font-size: 30px;
    color: var(--lab-accent-deep);
}
.lab-point h4 { margin: 0 0 5px; font-size: 17px; font-weight: 700; color: var(--lab-ink); }
.lab-point p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--lab-muted); }

/* ==========================================================================
   G-LAB künye (periyodik tablo) + yüzey anatomisi (bento)
   ========================================================================== */
.lab-glab {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: stretch;
}
/* Periyodik tablo stili element kutusu */
.lab-element {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3vw, 38px);
    border-radius: var(--lab-radius);
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(15, 182, 171, 0.22), transparent 55%),
        linear-gradient(160deg, #11212a, #0a1219);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--lab-shadow);
}
.lab-element-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 30%, transparent 80%);
            mask-image: radial-gradient(120% 100% at 80% 0%, #000 30%, transparent 80%);
}
.lab-element-top { display: flex; align-items: flex-start; justify-content: space-between; }
.lab-element-no { font-family: var(--lab-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--lab-accent-2); }
.lab-element-class { font-family: var(--lab-mono); font-size: 11px; letter-spacing: 0.12em; text-align: right; color: rgba(255, 255, 255, 0.5); max-width: 12ch; }
.lab-element-symbol {
    font-family: "Poppins", sans-serif;
    font-size: clamp(72px, 12vw, 128px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin: clamp(18px, 3vw, 34px) 0 6px;
    background: linear-gradient(120deg, #fff, var(--lab-accent-2));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lab-element-name { font-size: 18px; font-weight: 700; }
.lab-element-specs {
    margin: clamp(20px, 3vw, 30px) 0 0;
    display: grid;
    gap: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.lab-element-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lab-element-spec:last-child { border-bottom: 0; }
.lab-element-spec dt { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.lab-element-spec dd { margin: 0; font-family: var(--lab-mono); font-size: 14px; font-weight: 600; color: #fff; }

.lab-glab-copy { display: flex; flex-direction: column; justify-content: center; }
/* Yüzey kesit (anatomi) diyagramı — saf CSS katmanlar */
.lab-anatomy { margin: clamp(22px, 3vw, 32px) 0 0; display: grid; gap: 10px; }
.lab-layer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--lab-radius-sm);
    border: 1px solid var(--lab-line);
    background: var(--lab-card);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.lab-layer:hover { transform: translateX(4px); box-shadow: var(--lab-shadow); }
.lab-layer-bar { flex: 0 0 auto; width: 6px; align-self: stretch; border-radius: 4px; }
.lab-layer:nth-child(1) .lab-layer-bar { background: linear-gradient(180deg, var(--lab-accent-2), var(--lab-accent)); }
.lab-layer:nth-child(2) .lab-layer-bar { background: #c9b79a; }
.lab-layer:nth-child(3) .lab-layer-bar { background: repeating-linear-gradient(180deg, #6b5840 0 4px, #5a4a35 4px 8px); }
.lab-layer:nth-child(4) .lab-layer-bar { background: #c9b79a; }
.lab-layer-txt h4 { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--lab-ink); }
.lab-layer-txt p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lab-muted); }

/* ==========================================================================
   CAPABILITIES / BENTO
   ========================================================================== */
.lab-caps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.lab-cap {
    position: relative;
    padding: clamp(26px, 2.4vw, 36px);
    background: var(--lab-card);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease;
    transform-style: preserve-3d;
}
.lab-cap:hover {
    transform: translateY(-6px);
    box-shadow: var(--lab-shadow-hover);
    border-color: rgba(15, 182, 171, 0.5);
}
.lab-cap-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lab-cap-ico {
    font-size: 40px;
    color: var(--lab-accent-deep);
    font-variation-settings: 'wght' 500;
}
.lab-cap-num {
    font-family: var(--lab-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--lab-line);
    transition: color .35s ease;
}
.lab-cap:hover .lab-cap-num { color: var(--lab-accent); }
.lab-cap h3 { margin: 0 0 10px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; color: var(--lab-ink); letter-spacing: -0.01em; }
.lab-cap > p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: var(--lab-muted); }
.lab-cap-list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--lab-line); display: grid; gap: 9px; }
.lab-cap-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--lab-ink);
}
.lab-cap-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--lab-accent);
    border-radius: 50%;
}
.lab-cap-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lab-accent), var(--lab-accent-2));
    transition: width .45s cubic-bezier(.16, 1, .3, 1);
}
.lab-cap:hover .lab-cap-shine { width: 100%; }

/* ==========================================================================
   KİMYASAL DİRENÇ MATRİSİ
   ========================================================================== */
.lab-res { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 30px); }
.lab-res-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.lab-res-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--lab-line);
    background: var(--lab-card);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--lab-ink);
    cursor: pointer;
    font-family: inherit;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lab-res-tab .material-symbols-outlined { font-size: 19px; color: var(--lab-accent-deep); transition: color .25s ease; }
.lab-res-tab:hover { transform: translateY(-2px); border-color: rgba(15, 182, 171, 0.5); }
.lab-res-tab.is-active {
    background: var(--lab-ink);
    color: #fff;
    border-color: var(--lab-ink);
}
.lab-res-tab.is-active .material-symbols-outlined { color: var(--lab-accent-2); }

.lab-res-panels { position: relative; }
.lab-res-panel { display: none; }
.lab-res-panel.is-active { display: block; animation: lab-fade .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes lab-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.lab-res-table {
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius);
    overflow: hidden;
    background: var(--lab-card);
    box-shadow: var(--lab-shadow);
}
.lab-res-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 15px clamp(18px, 2.4vw, 28px);
    border-bottom: 1px solid var(--lab-line);
}
.lab-res-row:last-child { border-bottom: 0; }
.lab-res-row:nth-child(even) { background: var(--lab-soft); }
.lab-res-name { font-size: 15px; font-weight: 500; color: var(--lab-ink); }
.lab-res-rating {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--lab-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--lab-muted);
}
.lab-res-dots { display: inline-flex; gap: 5px; }
.lab-res-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--lab-line); }
.lab-res-rating[data-rating="A"] .lab-res-dots span { background: var(--lab-a); }
.lab-res-rating[data-rating="B"] .lab-res-dots span:nth-child(-n+2) { background: var(--lab-b); }
.lab-res-rating[data-rating="C"] .lab-res-dots span:nth-child(-n+1) { background: var(--lab-c); }
.lab-res-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-family: var(--lab-mono);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.lab-res-rating[data-rating="A"] .lab-res-badge { background: var(--lab-a); }
.lab-res-rating[data-rating="B"] .lab-res-badge { background: var(--lab-b); }
.lab-res-rating[data-rating="C"] .lab-res-badge { background: var(--lab-c); }

/* Lejant + not */
.lab-res-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: center;
}
.lab-res-leg {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--lab-muted);
}
.lab-res-leg b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-family: var(--lab-mono);
    font-size: 12px;
    color: #fff;
}
.lab-res-leg[data-k="A"] b { background: var(--lab-a); }
.lab-res-leg[data-k="B"] b { background: var(--lab-b); }
.lab-res-leg[data-k="C"] b { background: var(--lab-c); }
.lab-res-note {
    margin: 0 auto;
    max-width: 70ch;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    color: var(--lab-muted);
}
.lab-res-note i { color: var(--lab-accent-deep); margin-right: 6px; }

/* pH skalası */
.lab-ph {
    margin-top: clamp(34px, 5vw, 60px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.lab-ph-bar {
    position: relative;
    height: 18px;
    border-radius: 999px;
    margin: 26px 0 12px;
    background: linear-gradient(90deg, #e2603a 0%, #d99a07 28%, #16a34a 50%, #0fb6ab 72%, #2563eb 100%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.lab-ph-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 24, 32, 0.16);
}
.lab-ph-scale {
    display: flex;
    justify-content: space-between;
    font-family: var(--lab-mono);
    font-size: 12px;
    color: var(--lab-muted);
}
.lab-ph-scale span { position: relative; }
.lab-ph-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--lab-ink); }

/* ==========================================================================
   PROCESS / FLOW
   ========================================================================== */
.lab-flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.lab-flow-rail {
    position: absolute;
    top: 31px;
    left: 7%;
    right: 7%;
    height: 3px;
    background: var(--lab-line);
    border-radius: 3px;
    overflow: hidden;
}
.lab-flow-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lab-accent), var(--lab-accent-2));
    transition: width .2s linear;
}
.lab-step { position: relative; text-align: center; padding-top: 0; }
.lab-step-node {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lab-card);
    border: 2px solid var(--lab-line);
    margin-bottom: 18px;
    transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.lab-step-ico { font-size: 30px; color: var(--lab-muted); transition: color .35s ease; }
.lab-step.is-active .lab-step-node {
    border-color: var(--lab-accent);
    background: var(--lab-accent);
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(15, 182, 171, 0.32);
}
.lab-step.is-active .lab-step-ico { color: #04201e; }
.lab-step-num {
    display: block;
    font-family: var(--lab-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--lab-accent-deep);
    margin-bottom: 6px;
}
.lab-step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--lab-ink); }
.lab-step p { margin: 0 auto; max-width: 22ch; font-size: 13.5px; line-height: 1.55; color: var(--lab-muted); }

/* ==========================================================================
   TECH / FÖY (dark)
   ========================================================================== */
.lab-dark-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
            mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
    pointer-events: none;
}
.lab-tech {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: start;
}
.lab-spec {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lab-radius);
    padding: clamp(22px, 2.5vw, 34px);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}
.lab-spec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed rgba(255, 255, 255, 0.18); }
.lab-spec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lab-accent-2); box-shadow: 0 0 10px var(--lab-accent-2); }
.lab-spec-title { font-family: var(--lab-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.65); }
.lab-spec-list { margin: 0; display: grid; gap: 0; }
.lab-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lab-spec-row:last-child { border-bottom: 0; }
.lab-spec-row dt { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.62); }
.lab-spec-row dd {
    margin: 0;
    font-family: var(--lab-mono);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: right;
}
.lab-bars { display: grid; gap: clamp(20px, 2.4vw, 30px); align-content: center; }
.lab-bar-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.lab-bar-label { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.lab-bar-val { font-family: var(--lab-mono); font-size: 16px; font-weight: 700; color: var(--lab-accent-2); }
.lab-bar-track { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.lab-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lab-accent), var(--lab-accent-2));
    transition: width 1.2s cubic-bezier(.16, 1, .3, 1);
}
.lab-bars.is-in .lab-bar-fill { width: var(--lab-bar); }

/* ==========================================================================
   KENAR PROFİLLERİ
   ========================================================================== */
.lab-edges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.lab-edge {
    text-align: center;
    padding: clamp(22px, 2.4vw, 32px) 20px;
    background: var(--lab-card);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lab-edge:hover { transform: translateY(-5px); box-shadow: var(--lab-shadow); border-color: rgba(15, 182, 171, 0.45); }
/* Saf CSS kenar kesit görseli */
.lab-edge-fig {
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 16px;
}
.lab-edge-shape {
    position: relative;
    width: 120px;
    height: 30px;
    background: linear-gradient(180deg, #2c3742, #1b242c);
    border-radius: 4px 4px 0 0;
}
.lab-edge-shape::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--lab-accent), var(--lab-accent-2));
}
.lab-edge-shape--bevel { clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.lab-edge-shape--bevel::before { content: ""; position: absolute; left: 0; bottom: 0; border-bottom: 12px solid var(--lab-soft); border-right: 12px solid transparent; }
.lab-edge-shape--radius { border-bottom-left-radius: 26px; overflow: hidden; }
.lab-edge-shape--drip::before {
    content: "";
    position: absolute;
    left: 14px;
    bottom: -2px;
    width: 8px;
    height: 10px;
    background: var(--lab-soft);
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 -3px 0 rgba(15,182,171,0.5);
}
.lab-edge h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--lab-ink); }
.lab-edge p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--lab-muted); }

/* ==========================================================================
   KULLANIM SENARYOLARI
   ========================================================================== */
.lab-scenarios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.lab-scn {
    position: relative;
    display: flex;
    gap: 20px;
    padding: clamp(26px, 2.6vw, 38px);
    background: var(--lab-card);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius);
    overflow: hidden;
    scroll-margin-top: 120px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.lab-scn:hover { transform: translateY(-5px); box-shadow: var(--lab-shadow-hover); border-color: rgba(15, 182, 171, 0.45); }
.lab-scn::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--lab-accent), var(--lab-accent-2));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.lab-scn:hover::before { transform: scaleY(1); }
.lab-scn-ico {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(15, 182, 171, 0.12);
    color: var(--lab-accent-deep);
    font-size: 30px;
}
.lab-scn h3 { margin: 0 0 9px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: var(--lab-ink); letter-spacing: -0.01em; }
.lab-scn > div > p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--lab-muted); }
.lab-scn-bullets { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lab-scn-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--lab-soft);
    border: 1px solid var(--lab-line);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--lab-ink);
}
.lab-scn-bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lab-accent); }

/* ==========================================================================
   HİJYEN
   ========================================================================== */
.lab-hygiene {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(34px, 5vw, 80px);
    align-items: center;
}
.lab-hygiene-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.lab-hygiene-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--lab-ink);
    font-weight: 500;
}
.lab-hygiene-list li i {
    flex: 0 0 auto;
    margin-top: 2px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 182, 171, 0.14);
    color: var(--lab-accent-deep);
    font-size: 13px;
}
/* Saf CSS hijyen göstergesi: gözeneksiz kalkan + sönen hücreler */
.lab-shield {
    position: relative;
    width: min(300px, 74vw);
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lab-shield-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--lab-line);
}
.lab-shield-ring:nth-child(2) { inset: 14%; border-color: rgba(15, 182, 171, 0.25); }
.lab-shield-ring:nth-child(3) { inset: 28%; border: 2px dashed var(--lab-accent); animation: bs-spin 20s linear infinite; }
.lab-shield-core {
    position: relative;
    width: 34%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, var(--lab-accent-2), var(--lab-accent-deep));
    color: #04201e;
    box-shadow: 0 0 0 8px rgba(15, 182, 171, 0.14), 0 18px 40px rgba(15, 182, 171, 0.4);
}
.lab-shield-core .material-symbols-outlined { font-size: clamp(34px, 6vw, 52px); }
/* Sönen "bakteri" noktaları */
.lab-shield-cell {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(226, 96, 58, 0.85);
    animation: lab-cell-die 4.5s ease-in-out infinite;
}
.lab-shield-cell:nth-child(4) { top: 16%; left: 24%; animation-delay: 0s; }
.lab-shield-cell:nth-child(5) { top: 24%; right: 18%; animation-delay: 1.1s; }
.lab-shield-cell:nth-child(6) { bottom: 22%; left: 30%; animation-delay: 2.2s; }
.lab-shield-cell:nth-child(7) { bottom: 18%; right: 26%; animation-delay: 3.1s; }
@keyframes lab-cell-die {
    0% { opacity: .85; transform: scale(1); }
    60% { opacity: .85; transform: scale(1); }
    80% { opacity: 0; transform: scale(0.2); }
    100% { opacity: 0; transform: scale(0.2); }
}
.lab-shield-cap {
    font-family: var(--lab-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--lab-muted);
    text-align: center;
    margin-top: 18px;
}

/* ==========================================================================
   STANDARTLAR
   ========================================================================== */
.lab-standards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lab-std {
    padding: clamp(22px, 2.4vw, 30px);
    background: var(--lab-card);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lab-std:hover { transform: translateY(-4px); box-shadow: var(--lab-shadow); border-color: rgba(15, 182, 171, 0.45); }
.lab-std-code {
    display: inline-block;
    font-family: var(--lab-mono);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lab-accent-deep);
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(15, 182, 171, 0.1);
}
.lab-std p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--lab-muted); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.lab-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}
.lab-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--lab-radius-sm);
    background: var(--lab-line);
}
.lab-gallery-item:nth-child(6n + 1) { grid-row: span 2; }
.lab-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.lab-gallery-item:hover img { transform: scale(1.07); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.lab-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.lab-faq-item {
    background: var(--lab-card);
    border: 1px solid var(--lab-line);
    border-radius: var(--lab-radius-sm);
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.lab-faq-item.is-open { border-color: rgba(15, 182, 171, 0.5); box-shadow: var(--lab-shadow); }
.lab-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 30px);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: clamp(15.5px, 1.4vw, 18px);
    font-weight: 600;
    color: var(--lab-ink);
    font-family: inherit;
}
.lab-faq-plus { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.lab-faq-plus::before,
.lab-faq-plus::after {
    content: "";
    position: absolute;
    background: var(--lab-accent);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.lab-faq-plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.lab-faq-plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.lab-faq-item.is-open .lab-faq-plus::after { transform: rotate(90deg); opacity: 0; }
.lab-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s cubic-bezier(.16, 1, .3, 1);
}
.lab-faq-item.is-open .lab-faq-a { grid-template-rows: 1fr; }
.lab-faq-a > p {
    overflow: hidden;
    margin: 0;
    padding: 0 clamp(20px, 2.4vw, 30px);
    font-size: 15px;
    line-height: 1.7;
    color: var(--lab-muted);
    transition: padding .35s ease;
}
.lab-faq-item.is-open .lab-faq-a > p { padding-bottom: clamp(20px, 2.2vw, 28px); }

/* ==========================================================================
   CTA
   ========================================================================== */
.lab-section--cta { background: var(--lab-card); }
.lab-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(48px, 6vw, 90px) clamp(24px, 4vw, 70px);
    border-radius: clamp(24px, 3vw, 36px);
    background:
        radial-gradient(120% 130% at 82% -20%, rgba(15, 182, 171, 0.26), transparent 55%),
        linear-gradient(150deg, #11212a, #0a1219);
    color: #fff;
    isolation: isolate;
}
.lab-cta-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(100% 100% at 50% 0%, #000 30%, transparent 75%);
            mask-image: radial-gradient(100% 100% at 50% 0%, #000 30%, transparent 75%);
}
.lab-cta h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(26px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #fff;
    text-wrap: balance;
}
.lab-cta p { margin: 18px auto 0; max-width: 60ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, 0.7); }
.lab-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ==========================================================================
   REVEAL (JS varken; html.lab-js eklenir, FOUC yok)
   ========================================================================== */
html.lab-js [data-lab-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.lab-js [data-lab-reveal].is-in { opacity: 1; transform: none; }

html.lab-js [data-lab-stagger] > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
html.lab-js [data-lab-stagger].is-in > * { opacity: 1; transform: none; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(1) { transition-delay: .04s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(2) { transition-delay: .10s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(3) { transition-delay: .16s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(4) { transition-delay: .22s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(5) { transition-delay: .28s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(6) { transition-delay: .34s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(7) { transition-delay: .40s; }
html.lab-js [data-lab-stagger].is-in > *:nth-child(8) { transition-delay: .46s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .lab-intro { grid-template-columns: 1fr; }
    .lab-glab { grid-template-columns: 1fr; }
    .lab-hygiene { grid-template-columns: 1fr; }
    .lab-hygiene .lab-shield { order: -1; }
    .lab-tech { grid-template-columns: 1fr; }
    .lab-caps { grid-template-columns: repeat(2, 1fr); }
    .lab-scenarios { grid-template-columns: 1fr; }
    .lab-edges { grid-template-columns: repeat(2, 1fr); }
    .lab-standards { grid-template-columns: repeat(2, 1fr); }
    .lab-stats-grid { grid-template-columns: repeat(2, 1fr); }

    /* Flow dikey akışa döner */
    .lab-flow { grid-template-columns: 1fr; gap: 0; }
    .lab-flow-rail { top: 0; bottom: 0; left: 31px; right: auto; width: 3px; height: auto; }
    .lab-flow-fill { width: 3px !important; height: var(--lab-flow-v, 0); }
    .lab-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; padding: 0 0 34px; align-items: start; }
    .lab-step-node { margin-bottom: 0; grid-row: span 3; }
    .lab-step p { margin: 0; max-width: none; }
    .lab-step:last-child { padding-bottom: 0; }
}

@media (max-width: 575px) {
    .lab-hero { padding-top: clamp(132px, 30vw, 160px); }
    .lab-hero-mark { display: none; }
    .lab-caps { grid-template-columns: 1fr; }
    .lab-edges { grid-template-columns: 1fr 1fr; }
    .lab-standards { grid-template-columns: 1fr; }
    .lab-stats-grid { grid-template-columns: 1fr 1fr; }
    .lab-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .lab-scn { flex-direction: column; gap: 14px; }
    .lab-res-row { grid-template-columns: 1fr; gap: 8px; }
    .lab-res-rating { justify-content: flex-start; }
    .lab-hero-actions .lp-btn,
    .lab-hero-actions .lab-btn-ghost,
    .lab-cta-actions .lp-btn,
    .lab-cta-actions .lab-btn-ghost { width: 100%; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html.lab-js [data-lab-reveal],
    html.lab-js [data-lab-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .lab-hero-grid,
    .lab-hero-glow,
    .lab-hero-mol span,
    .lab-hero-path path,
    .lab-hero-drop,
    .lab-marquee-track,
    .lab-eyebrow-dot,
    .lab-scroll-line,
    .lab-shield-ring:nth-child(3),
    .lab-shield-cell { animation: none !important; }
    .lab-bar-fill { transition: none !important; }
}
