/* ==========================================================================
   Omnitral — mobil önizleme (üç telefon)
   Siyah zemin, neon beyaz; açılı ve üst üste telefonlar.
   ========================================================================== */

.mob-page {
    background: #000;
}

.mob-hero {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    padding: clamp(30px, 5vw, 60px) 20px 0;
}

.mob-arrow {
    font-family: var(--font-mono);
    font-size: 18px;
    color: #9a9a9a;
    animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}

.mob-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    letter-spacing: -0.04em;
}

.mob-hero .lede {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    max-width: 44ch;
}

/* Sahne */

.mob-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: clamp(540px, 55vw, 690px);
    margin: clamp(10px, 2vw, 24px) auto 0;
    max-width: 1100px;
    perspective: 1600px;
}

.phone {
    position: relative;
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(28px) rotate(0deg) scale(0.96);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mob-stage.in .phone {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

.phone--left {
    z-index: 1;
    margin-right: -64px;
}

.phone--center {
    z-index: 3;
}

.phone--right {
    z-index: 2;
    margin-left: -64px;
}

.mob-stage.in .phone--left {
    transform: translate(-108px, 26px) rotate(-8deg) scale(0.94);
    animation: floatL 7s ease-in-out 1.2s infinite;
}

.mob-stage.in .phone--center {
    transform: translate(0, -6px) rotate(0deg) scale(1);
    animation: floatC 6.2s ease-in-out 1.4s infinite;
}

.mob-stage.in .phone--right {
    transform: translate(108px, 26px) rotate(8deg) scale(0.94);
    animation: floatR 7.6s ease-in-out 1.6s infinite;
}

@keyframes floatL {
    0%, 100% { transform: translate(-108px, 26px) rotate(-8deg) scale(0.94); }
    50% { transform: translate(-108px, 14px) rotate(-8deg) scale(0.94); }
}

@keyframes floatC {
    0%, 100% { transform: translate(0, -6px); }
    50% { transform: translate(0, -16px); }
}

@keyframes floatR {
    0%, 100% { transform: translate(108px, 26px) rotate(8deg) scale(0.94); }
    50% { transform: translate(108px, 14px) rotate(8deg) scale(0.94); }
}

.mob-stage:hover .phone,
.mob-stage:focus-within .phone {
    animation-play-state: paused;
}

/* Telefon gövdesi */

.phone-frame {
    width: 258px;
    height: 532px;
    padding: 7px;
    border-radius: 46px;
    border: 1px solid #2a2a2a;
    background: #050505;
    box-shadow: 0 50px 110px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 39px;
    background: #000;
    overflow: hidden;
    font-size: 10px;
    color: #e6e6e6;
}

/* Durum çubuğu */

.status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 0 18px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    color: #f2f2f2;
}

.status-time {
    letter-spacing: 0.02em;
}

.island {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: 74px;
    height: 20px;
    border-radius: 999px;
    background: #000;
    border: 1px solid #1b1b1b;
}

.status-icons {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.status-icons i {
    display: block;
    background: #d8d8d8;
    opacity: 0.85;
}

.sig {
    width: 9px;
    height: 6px;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.wifi {
    width: 8px;
    height: 6px;
    border-top: 2px solid #d8d8d8;
    border-radius: 50% 50% 0 0;
    background: transparent;
}

.batt {
    width: 13px;
    height: 6px;
    border-radius: 2px;
    border: 1px solid #d8d8d8;
    background: #d8d8d8;
}

/* Uygulama başlığı */

.app-head,
.chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 8px;
}

.app-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
    padding: 2px 0;
}

.ws-badge {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
}

.chev-sm {
    color: #8a8a8a;
    font-size: 9px;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #d6d6d6;
    font-size: 11px;
    cursor: pointer;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.chat-head .icon-btn:first-child {
    margin-left: 0;
}

.chat-title {
    flex: 1;
    font-size: 11px;
    font-weight: 550;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Çipler */

.chips {
    display: flex;
    gap: 5px;
    padding: 0 12px 8px;
}

.chip2 {
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #a2a2a2;
    font-family: var(--font-mono);
    font-size: 7.5px;
    cursor: pointer;
}

.chip2.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

/* Depo listesi */

.repo {
    padding: 2px 8px 0;
}

.repo-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 6px 5px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    color: #9a9a9a;
    text-transform: uppercase;
}

.repo-count {
    color: #9a9a9a;
}

.plus {
    margin-left: auto;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #8a8a8a;
    font-size: 10px;
    cursor: pointer;
}

.plus:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.session-list {
    display: grid;
    gap: 1px;
}

.session {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 8px;
    align-items: center;
    gap: 7px;
    padding: 6px 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #c4c4c4;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.session:hover {
    background: rgba(255, 255, 255, 0.05);
}

.session.is-active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.session--muted {
    opacity: 0.55;
}

.s-ico {
    color: #9a9a9a;
    font-size: 9px;
}

.s-body {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.s-title {
    font-size: 9.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s-sub {
    font-family: var(--font-mono);
    font-size: 7px;
    color: #9a9a9a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s-sub b {
    color: #b8b8b8;
    font-weight: 500;
}

.s-sub em {
    color: #9a9a9a;
    font-style: normal;
}

.s-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Sohbet */

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 12px 0;
    overflow: hidden;
}

.bubble {
    align-self: flex-start;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 8.5px;
    line-height: 1.5;
    color: #e0e0e0;
}

.chat-body .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.step-line {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 6px;
    font-size: 8.8px;
    line-height: 1.5;
    color: #bcbcbc;
    opacity: 1;
    animation: stepIn 260ms ease both;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.step-mark {
    color: #9a9a9a;
    font-size: 7px;
}

.step-mark.is-ok {
    color: #fff;
}

.step-line b {
    color: #fff;
    font-weight: 500;
}

.step-line .pill-ok {
    display: inline-block;
    margin-left: 3px;
    padding: 0 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 6.5px;
}

.chat-meta {
    font-family: var(--font-mono);
    font-size: 7px;
    color: #9a9a9a;
    padding-top: 2px;
}

.pr-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: #bdbdbd;
    font-family: inherit;
    font-size: 8px;
    padding: 4px 0;
    cursor: pointer;
}

.pr-link:hover {
    color: #fff;
    text-decoration: underline;
}

.chat-body .chev,
.pr-link .chev {
    color: #9a9a9a;
    font-size: 7px;
}

/* Klavye tuşları */

.keys {
    display: flex;
    gap: 4px;
    padding: 6px 12px;
}

.kbd {
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-mono);
    font-size: 6.5px;
    color: #8a8a8a;
}

/* Alt giriş */

.phone-foot {
    padding: 8px 12px 12px;
    margin-top: auto;
}

.foot-input {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 9px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    font-size: 7.5px;
    color: #9a9a9a;
}

.foot-ph {
    flex: 1;
    color: #9a9a9a;
}

.mic {
    font-size: 8px;
    color: #9a9a9a;
}

/* PR ekranı */

.pr-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 12px 12px;
    overflow: hidden;
}

.pr-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pr-state {
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-mono);
    font-size: 6.5px;
    color: #fff;
}

.pr-stat {
    font-family: var(--font-mono);
    font-size: 7px;
    color: #8a8a8a;
}

.pr-stat b {
    color: #dcdcdc;
    font-weight: 500;
}

.pr-stat em {
    font-style: normal;
    color: #9a9a9a;
}

.pr-title {
    font-size: 10px;
    font-weight: 550;
    line-height: 1.35;
    color: #fff;
}

.pr-checks {
    display: grid;
    gap: 3px;
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.check-line {
    font-size: 7.5px;
    color: #a2a2a2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.check-line.is-ok {
    color: #e2e2e2;
}

.ok-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.8);
}

.pr-file {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.pr-file-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 7px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--font-mono);
    font-size: 6.5px;
    color: #b8b8b8;
}

.pr-code {
    margin: 0;
    padding: 6px 7px;
    font-family: var(--font-mono);
    font-size: 6.5px;
    line-height: 1.7;
    color: #b4b4b4;
    background: #050505;
    white-space: pre;
    overflow: hidden;
}

.pr-code .add {
    color: #bff0c8;
}

.pr-code .del {
    color: #f0b6b6;
}

.pr-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    padding: 0 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #d6d6d6;
    font-family: inherit;
    font-size: 8px;
    cursor: pointer;
}

.pr-foot:hover {
    background: rgba(255, 255, 255, 0.09);
}

.mob-note {
    max-width: 720px;
    margin: 26px auto 0;
    padding: 0 20px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #9a9a9a;
}

/* Duyarlı */

@media (max-width: 1080px) {
    .mob-stage {
        height: auto;
        padding: 10px 0 20px;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 4px;
        padding-inline: 20px;
    }

    .phone {
        scroll-snap-align: center;
        margin: 0 -40px;
    }

    .mob-stage.in .phone--left,
    .mob-stage.in .phone--right,
    .mob-stage.in .phone--center {
        transform: none;
        animation: none;
        opacity: 1;
    }

    .phone-frame {
        transform: scale(0.92);
        transform-origin: center;
    }
}

@media (max-width: 720px) {
    .mob-stage {
        gap: 0;
    }

    .phone {
        margin: 0 -58px;
    }

    .phone-frame {
        transform: scale(0.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mob-stage.in .phone--left,
    .mob-stage.in .phone--center,
    .mob-stage.in .phone--right {
        animation: none;
    }

    .mob-arrow,
    .step-line {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.pr-code span {
    display: block;
}

.pr-file.pulse {
    animation: pulseGlow 900ms ease;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    40% { box-shadow: 0 0 24px rgba(255, 255, 255, 0.22); }
    100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
