/* ============================================================
   Tema tanitim sayfasi hareket katmani (tm-*)
   - Kaydirmayla ortaya cikma (.tm-reveal / .tm-stagger)
   - Hero + MozScraper: gercek ekran goruntuleriyle adim adim gecis (tm-steps)
   - Canli mock arayuzler: builder (SiteOrigin), manset gorseli sureci, panel
   - Performans sayaclari, ozellik seridi, demo kart kaydirma
   Hicbir kutuphane gerektirmez. prefers-reduced-motion'da tum
   dongulu animasyonlar kapanir, icerik statik gorunur.
   ============================================================ */

:root {
    --tm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tm-purple: #6c4cf6;
    --tm-purple-2: #5b42f3;
    --tm-ink: #11142d;
    --tm-muted: #596174;
    --tm-faint: #7c8598;
    --tm-line: #ece8fa;
    --tm-line-2: #e2daff;
    --tm-soft: #f1ecff;
    --tm-green: #239a44;
    --tm-green-bg: #eaf8ec;
    --tm-green-line: #cfefd4;
    --tm-orange: #ff7c00;
    --tm-orange-bg: #fff7ec;
    --tm-orange-line: #ffe1b8;
}

/* ------------------------------------------------------------
   1) Kaydirmayla ortaya cikma
   JS varsa <html> tm-js alir; JS yoksa her sey gorunur kalir.
   ------------------------------------------------------------ */
.tm-js .tm-reveal:not(.is-visible),
.tm-js .tm-stagger:not(.is-visible) > * {
    opacity: 0;
}

.tm-reveal.is-visible {
    animation: tmRevealUp 0.8s var(--tm-ease) both;
}

.tm-reveal--left.is-visible { animation-name: tmRevealLeft; }
.tm-reveal--right.is-visible { animation-name: tmRevealRight; }
.tm-reveal--scale.is-visible { animation-name: tmRevealScale; animation-duration: 0.9s; }

.tm-stagger.is-visible > * {
    animation: tmRevealUp 0.7s var(--tm-ease) both;
}

.tm-stagger.is-visible > :nth-child(1) { animation-delay: 0s; }
.tm-stagger.is-visible > :nth-child(2) { animation-delay: 0.08s; }
.tm-stagger.is-visible > :nth-child(3) { animation-delay: 0.16s; }
.tm-stagger.is-visible > :nth-child(4) { animation-delay: 0.24s; }
.tm-stagger.is-visible > :nth-child(5) { animation-delay: 0.32s; }
.tm-stagger.is-visible > :nth-child(6) { animation-delay: 0.4s; }
.tm-stagger.is-visible > :nth-child(7) { animation-delay: 0.48s; }
.tm-stagger.is-visible > :nth-child(8) { animation-delay: 0.56s; }
.tm-stagger.is-visible > :nth-child(9) { animation-delay: 0.64s; }
.tm-stagger.is-visible > :nth-child(n + 10) { animation-delay: 0.72s; }

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

@keyframes tmRevealLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to { opacity: 1; transform: none; }
}

@keyframes tmRevealRight {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: none; }
}

@keyframes tmRevealScale {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   2) Tarayici cercevesi + parlama
   ------------------------------------------------------------ */
.tm-browser {
    position: relative;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--tm-line);
    box-shadow: 0 30px 70px -20px rgba(74, 58, 160, 0.28), 0 10px 24px -12px rgba(17, 20, 45, 0.12);
    overflow: hidden;
}

.tm-browser__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 14px;
    background: #f8f9fc;
    border-bottom: 1px solid #ededf3;
    font-family: Inter, sans-serif;
}

.tm-browser__dots { display: flex; gap: 6px; }
.tm-browser__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.tm-browser__dots i:nth-child(1) { background: #ff5f57; }
.tm-browser__dots i:nth-child(2) { background: #febc2e; }
.tm-browser__dots i:nth-child(3) { background: #28c840; }

.tm-browser__url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 24px;
    padding: 0 12px;
    border-radius: 6px;
    background: #f0f2f6;
    border: 1px solid #e5e7ed;
    color: #6b7280;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
}

.tm-browser__url svg { width: 12px; height: 12px; flex: none; color: #8c93a4; }

.tm-browser__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--tm-green-bg);
    border: 1px solid var(--tm-green-line);
    color: var(--tm-green);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.tm-browser__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: tmBlink 1.6s ease-in-out infinite;
}

.tm-browser__screen {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.tm-browser__screen > img,
.tm-browser__screen > video {
    display: block;
    width: 100%;
    height: auto;
}

/* Ekranin ustunden aralikli gecen parlama */
.tm-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tm-shine::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 38%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-140%) skewX(-18deg);
    animation: tmShine 6.5s ease-in-out infinite;
}

@keyframes tmShine {
    0%, 70% { transform: translateX(-140%) skewX(-18deg); }
    100% { transform: translateX(340%) skewX(-18deg); }
}

@keyframes tmBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ------------------------------------------------------------
   3) Hero sahnesi
   ------------------------------------------------------------ */
.tm-hero-stage {
    position: relative;
    width: 100%;
}

.tm-hero-stage .tm-browser {
    width: 100%;
}

.tm-hero-video {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #f3f4f8;
}

/* Yuzen kartlar: masaustunde salinir */
.tm-float {
    position: absolute;
    z-index: 30;
    background: #fff;
    border: 1px solid #f1eeff;
    border-radius: 14px;
    box-shadow: 0 16px 41px rgba(70, 55, 150, 0.22);
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
}

.tm-float--bob { animation: tmFloat 5s ease-in-out infinite; }
.tm-float--bob-slow { animation: tmFloat 6.5s ease-in-out 0.8s infinite; }

@keyframes tmFloat {
    50% { transform: translateY(-8px); }
}

/* MozAI manset karti: satirlar sirayla tik alir */
.tm-ai-card {
    width: 236px;
    padding: 12px 14px 10px;
}

.tm-ai-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tm-ink);
    margin-bottom: 8px;
}

.tm-ai-card__head b {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 6px;
    background: linear-gradient(90deg, #6c4cf6, #d528ef);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.tm-ai-card__row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    border-top: 1px solid #f3f1fb;
    font-size: 12px;
    color: #3a4160;
}

.tm-ai-card__row em {
    margin-left: auto;
    font-style: normal;
    font-size: 11px;
    color: var(--tm-faint);
}

.tm-tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #d9d3f5;
    display: inline-grid;
    place-items: center;
    flex: none;
    position: relative;
}

.tm-tick::after {
    content: '';
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
}

.tm-tick.is-on,
.tm-ai-card .tm-tick {
    animation: tmTick 7s steps(1) var(--d, 0s) infinite;
}

.tm-ai-card .tm-tick::after {
    animation: tmTickMark 7s steps(1) var(--d, 0s) infinite;
}

@keyframes tmTick {
    0%, 12% { background: #fff; border-color: #d9d3f5; }
    13%, 88% { background: var(--tm-purple); border-color: var(--tm-purple); }
    89%, 100% { background: #fff; border-color: #d9d3f5; }
}

@keyframes tmTickMark {
    0%, 12% { opacity: 0; }
    13%, 88% { opacity: 1; }
    89%, 100% { opacity: 0; }
}

/* Hiz rozeti */
.tm-score-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
}

.tm-score-pill b {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tm-green-bg);
    border: 2px solid #22c55e;
    color: var(--tm-green);
    font-size: 15px;
    font-weight: 800;
}

.tm-score-pill span { display: block; font-size: 12px; font-weight: 700; color: var(--tm-ink); line-height: 1.2; }
.tm-score-pill small { display: block; font-size: 11px; color: var(--tm-faint); }

/* Telefon */
.tm-phone {
    position: absolute;
    z-index: 25;
    width: 168px;
    aspect-ratio: 168 / 340;
    border-radius: 26px;
    background: #111827;
    padding: 7px;
    box-shadow: 0 30px 60px -16px rgba(17, 24, 39, 0.5), inset 0 0 0 1.5px #2a3142;
}

.tm-phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.tm-phone__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.tm-phone__notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 14px;
    border-radius: 999px;
    background: #111827;
    z-index: 3;
}

/* Yukaridan dusen bildirim */
.tm-push {
    position: absolute;
    top: 26px;
    left: 8px;
    right: 8px;
    z-index: 4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.25);
    font-family: Inter, sans-serif;
    animation: tmPush 8s var(--tm-ease) infinite;
}

.tm-push i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #d90412;
    flex: none;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
}

.tm-push b { display: block; font-size: 10px; color: var(--tm-ink); line-height: 1.25; }
.tm-push span { display: block; font-size: 9px; color: var(--tm-muted); line-height: 1.3; margin-top: 2px; }

@keyframes tmPush {
    0%, 14% { opacity: 0; transform: translateY(-140%); }
    22%, 72% { opacity: 1; transform: none; }
    82%, 100% { opacity: 0; transform: translateY(-140%); }
}

/* ------------------------------------------------------------
   4) Builder mock (surukle birak)
   ------------------------------------------------------------ */
.tm-builder {
    position: relative;
    display: grid;
    grid-template-columns: 156px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #f5f4fb;
    border: 1px solid var(--tm-line);
    box-shadow: 0 30px 70px -24px rgba(74, 58, 160, 0.25);
    font-family: Inter, sans-serif;
    user-select: none;
}

.tm-builder__lib,
.tm-builder__canvas {
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: 12px;
    padding: 10px;
}

.tm-builder__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--tm-ink);
    margin-bottom: 8px;
}

.tm-builder__title small {
    font-weight: 600;
    color: var(--tm-faint);
    font-size: 10px;
}

.tm-builder__item {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 8px;
    margin-bottom: 6px;
    border-radius: 8px;
    border: 1px solid #ebe8f7;
    background: #fbfaff;
    font-size: 11px;
    font-weight: 600;
    color: #3a4160;
    white-space: nowrap;
}

.tm-builder__item i {
    width: 14px;
    height: 10px;
    border-radius: 3px;
    background: var(--c, #6c4cf6);
    flex: none;
    opacity: 0.85;
}

.tm-builder__item--src { animation: tmBuilderSrc 7s ease-in-out infinite; }

@keyframes tmBuilderSrc {
    0%, 6% { opacity: 1; }
    8%, 56% { opacity: 0.35; border-style: dashed; }
    60%, 100% { opacity: 1; }
}

.tm-builder__row {
    display: grid;
    gap: 6px;
    margin-bottom: 6px;
}

.tm-builder__row--2 { grid-template-columns: 1fr 1fr; }
.tm-builder__row--3 { grid-template-columns: 2fr 1fr; }

.tm-builder__block {
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e8e4f6;
    background: linear-gradient(180deg, #faf9ff, #f3f0fc);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: #4b5078;
}

.tm-builder__block--tall { height: 64px; }

.tm-builder__block i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--c, #6c4cf6);
    flex: none;
}

.tm-builder__block small {
    margin-left: auto;
    font-size: 10px;
    color: var(--tm-faint);
    font-weight: 500;
}

/* Birakma hedefi: ghost dustugunde dolar */
.tm-builder__slot {
    border: 1.5px dashed #c9bffa;
    background: #faf8ff;
    color: #9a8fd6;
    justify-content: center;
    animation: tmBuilderSlot 7s ease-in-out infinite;
}

.tm-builder__slot::before {
    content: 'Buraya bırakın';
    animation: tmBuilderSlotText 7s steps(1) infinite;
}

@keyframes tmBuilderSlot {
    0%, 44% { border-style: dashed; border-color: #c9bffa; background: #faf8ff; }
    46%, 48% { border-style: solid; border-color: var(--tm-purple); background: #efeaff; transform: scale(1.02); }
    52%, 86% { border-style: solid; border-color: #e8e4f6; background: linear-gradient(180deg, #faf9ff, #f3f0fc); transform: none; }
    92%, 100% { border-style: dashed; border-color: #c9bffa; background: #faf8ff; }
}

@keyframes tmBuilderSlotText {
    0%, 48% { content: 'Buraya bırakın'; color: #9a8fd6; }
    50%, 88% { content: 'Video Galeri'; color: #4b5078; }
    90%, 100% { content: 'Buraya bırakın'; color: #9a8fd6; }
}

/* Suruklenen hayalet kart */
.tm-builder__ghost {
    position: absolute;
    left: 20px;
    top: 158px;
    width: 128px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--tm-purple);
    box-shadow: 0 14px 30px rgba(91, 66, 243, 0.3);
    font-size: 11px;
    font-weight: 600;
    color: var(--tm-ink);
    opacity: 0;
    animation: tmBuilderGhost 7s cubic-bezier(0.45, 0.05, 0.3, 1) infinite;
    pointer-events: none;
}

.tm-builder__ghost i {
    width: 14px;
    height: 10px;
    border-radius: 3px;
    background: #ff7c00;
    flex: none;
}

.tm-builder__ghost::after {
    /* imlec */
    content: '';
    position: absolute;
    right: -8px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 7px solid #111827;
    border-right: 7px solid transparent;
    border-bottom: 11px solid transparent;
    transform: rotate(-20deg);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

@keyframes tmBuilderGhost {
    0%, 6% { opacity: 0; transform: translate(0, 0) scale(1); }
    9% { opacity: 1; transform: translate(0, 0) scale(1.04); }
    44% { opacity: 1; transform: translate(var(--gx, 210px), var(--gy, 86px)) scale(1.04); }
    47% { opacity: 1; transform: translate(var(--gx, 210px), var(--gy, 86px)) scale(0.98); }
    49%, 100% { opacity: 0; transform: translate(var(--gx, 210px), var(--gy, 86px)) scale(0.98); }
}

/* ------------------------------------------------------------
   6) Panel showcase: guncelleme ilerleme cubugu
   ------------------------------------------------------------ */
.tm-update-bar {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: #ece9f8;
    overflow: hidden;
    margin-top: 6px;
}

.tm-update-bar i {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #5b42f3, #5f7bff);
    transform-origin: left;
    animation: tmUpdate 5s var(--tm-ease) infinite;
}

@keyframes tmUpdate {
    0% { transform: scaleX(0); }
    70%, 88% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

/* ------------------------------------------------------------
   7) Performans kartlari: sayac + isaretci
   ------------------------------------------------------------ */
.tm-perf-marker {
    transition: left 1.6s var(--tm-ease);
}

.tm-js .tm-perf:not(.is-visible) .tm-perf-marker {
    left: 2% !important;
}

/* ------------------------------------------------------------
   8) Ozellik seridi (marquee)
   ------------------------------------------------------------ */
.tm-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tm-marquee + .tm-marquee { margin-top: 12px; }

.tm-marquee__track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: tmScrollLeft 48s linear infinite;
}

.tm-marquee--reverse .tm-marquee__track { animation-name: tmScrollRight; }

.tm-marquee:hover .tm-marquee__track { animation-play-state: paused; }

.tm-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--tm-line);
    box-shadow: 0 8px 18px rgba(60, 50, 120, 0.05);
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2e3553;
    white-space: nowrap;
}

.tm-marquee__item i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c, #6c4cf6);
    flex: none;
}

@keyframes tmScrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
}

@keyframes tmScrollRight {
    from { transform: translateX(calc(-50% - 6px)); }
    to { transform: translateX(0); }
}

/* ------------------------------------------------------------
   9) Demo kartlari: hover'da uzun ekran goruntusu kayar
   ------------------------------------------------------------ */
.tm-demo-shot {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.tm-demo-shot img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

.group:hover .tm-demo-shot img {
    transform: translateY(calc(-100% + var(--shot-h, 215px)));
    transition: transform 7s linear;
}

.tm-demo-shot::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
    pointer-events: none;
}

/* Demo filtre sekmesi aktif hali (hover ile ayni) */
.tm-tab {
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.tm-tab.is-active {
    color: #fff;
    border-color: transparent;
    background-image: linear-gradient(to bottom, #5b42f3, #7b61ff);
    box-shadow: 0 6px 30px rgba(108, 76, 246, 0.13);
}

.tm-demo-card.is-hidden { display: none; }

/* Ekran disindaki dongulu mock'lar (JS .tm-paused ekler): elemanlar VE sozde
   elemanlar birlikte durur, gorunce ayni fazdan devam eder. */
.tm-paused,
.tm-paused *,
.tm-paused *::before,
.tm-paused *::after {
    animation-play-state: paused !important;
}

/* ------------------------------------------------------------
   10) Erisilebilirlik: hareket azaltma
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .tm-js .tm-reveal:not(.is-visible),
    .tm-js .tm-stagger:not(.is-visible) > * {
        opacity: 1;
    }

    .tm-reveal.is-visible,
    .tm-stagger.is-visible > *,
    .tm-float--bob,
    .tm-float--bob-slow,
    .tm-shine::after,
    .tm-push,
    .tm-builder__ghost,
    .tm-builder__slot,
    .tm-builder__slot::before,
    .tm-builder__item--src,
    .tm-marquee__track,
    .tm-progress i,
    .tm-update-bar i,
    .tm-browser__badge::before,
    .tm-typing::after {
        animation: none !important;
    }

    .tm-ai-card .tm-tick, .tm-step .tm-tick { animation: none; background: var(--tm-purple); border-color: var(--tm-purple); }
    .tm-ai-card .tm-tick::after, .tm-step .tm-tick::after { animation: none; opacity: 1; }
    .tm-progress i, .tm-update-bar i { transform: scaleX(1); }
    .tm-push { opacity: 1; transform: none; }
    .tm-builder__ghost { display: none; }
    .tm-perf-marker { transition: none; }
    .group:hover .tm-demo-shot img { transition: none; }
}

/* ------------------------------------------------------------
   11) Mobil uyarlamalar
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
    .tm-phone { display: none; }
    .tm-ai-card { width: 200px; }
    .tm-builder { grid-template-columns: 1fr; }
    .tm-builder__lib { display: none; }
    .tm-builder__ghost { display: none; }
}

/* ============================================================
   13) SiteOrigin sayfa yapici: gercek ekran + surukleme katmani
   ============================================================ */
.tm-so {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--tm-line);
    box-shadow: 0 30px 70px -24px rgba(74, 58, 160, 0.25);
    background: #fff;
    font-family: Inter, sans-serif;
    user-select: none;
}

.tm-so > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Ortu: ust manset satiri blok birakilana kadar bos gorunur (sayfa zemini beyaz) */
.tm-so__cover {
    position: absolute;
    left: 41.6%;
    top: 14.2%;
    width: 58.4%;
    height: 22.4%;
    background: #fff;
    display: grid;
    place-items: center;
    animation: tmSoCover 9s ease-in-out infinite;
    pointer-events: none;
}

.tm-so__cover span {
    padding: 6px 10px;
    border: 1.5px dashed #c9bffa;
    border-radius: 8px;
    color: #9a8fd6;
    font-size: 11px;
    font-weight: 600;
    background: #faf8ff;
    animation: tmSoCoverHint 9s steps(1) infinite;
}

@keyframes tmSoCover {
    0%, 50% { opacity: 1; }
    56%, 90% { opacity: 0; }
    96%, 100% { opacity: 1; }
}

@keyframes tmSoCoverHint {
    0%, 18% { opacity: 1; }
    19%, 95% { opacity: 0; }
    96%, 100% { opacity: 1; }
}

/* Birakma hedefi (ust manset satiri) */
.tm-so__target {
    position: absolute;
    left: 42.1%;
    top: 14.7%;
    width: 57.5%;
    height: 21.3%;
    border: 2px dashed rgba(108, 76, 246, 0.9);
    border-radius: 6px;
    background: rgba(108, 76, 246, 0.08);
    opacity: 0;
    animation: tmSoTarget 9s ease-in-out infinite;
    pointer-events: none;
}

.tm-so__target span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(17, 20, 45, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes tmSoTarget {
    0%, 12% { opacity: 0; }
    20%, 46% { opacity: 1; border-style: dashed; background: rgba(108, 76, 246, 0.08); }
    50%, 53% { opacity: 1; border-style: solid; background: rgba(108, 76, 246, 0.22); }
    58%, 100% { opacity: 0; }
}

/* Suruklenen hayalet (sol paneldeki "MOZ: Yarim Manset" kutusu) */
.tm-so__ghost {
    position: absolute;
    left: 1.6%;
    top: 11%;
    width: 24%;
    min-width: 110px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--tm-purple);
    box-shadow: 0 14px 30px rgba(91, 66, 243, 0.32);
    color: #1d2327;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    animation: tmSoGhost 9s cubic-bezier(0.45, 0.05, 0.3, 1) infinite;
    pointer-events: none;
}

.tm-so__ghost small {
    display: block;
    font-size: 8.5px;
    font-weight: 400;
    color: #646970;
}

.tm-so__ghost::after {
    content: '';
    position: absolute;
    right: -9px;
    bottom: -11px;
    width: 0;
    height: 0;
    border-left: 7px solid #111827;
    border-right: 7px solid transparent;
    border-bottom: 11px solid transparent;
    transform: rotate(-20deg);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

@keyframes tmSoGhost {
    0%, 8% { opacity: 0; left: 1.6%; top: 11%; transform: scale(1); }
    12% { opacity: 1; left: 1.6%; top: 11%; transform: scale(1.05); }
    46% { opacity: 1; left: 58%; top: 20%; transform: scale(1.05); }
    50% { opacity: 1; left: 58%; top: 20%; transform: scale(0.98); }
    54%, 100% { opacity: 0; left: 58%; top: 20%; transform: scale(0.98); }
}

/* Eklendi rozeti */
.tm-so__badge {
    position: absolute;
    left: 44%;
    top: 36.5%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tm-green-line);
    color: var(--tm-green);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
    opacity: 0;
    animation: tmSoBadge 9s var(--tm-ease) infinite;
    white-space: nowrap;
    pointer-events: none;
}

.tm-so__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

@keyframes tmSoBadge {
    0%, 54% { opacity: 0; transform: translateY(6px); }
    58%, 88% { opacity: 1; transform: none; }
    94%, 100% { opacity: 0; transform: none; }
}

/* ============================================================
   14) Manset gorseli olusturma sureci (tm-mp): 16 sn dongu
   ============================================================ */
.tm-mp {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tm-line);
    box-shadow: 0 30px 70px -24px rgba(74, 58, 160, 0.22);
    font-family: Inter, sans-serif;
    text-align: left;
}

.tm-mp__rail {
    padding: 18px 16px;
    border-right: 1px solid #f0edfa;
    background: #fbfaff;
}

.tm-mp__rail h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tm-ink);
}

.tm-mp__rail h4 b {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 6px;
    background: linear-gradient(90deg, #6c4cf6, #d528ef);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.tm-mp__step {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0 9px;
}

.tm-mp__step::before {
    /* baglanti cizgisi */
    content: '';
    position: absolute;
    left: 10px;
    top: 30px;
    bottom: -4px;
    width: 2px;
    background: #ebe7f8;
}

.tm-mp__step:last-child::before { display: none; }

.tm-mp__step b { display: block; font-size: 12px; font-weight: 700; color: #3a4160; line-height: 1.3; }
.tm-mp__step span { display: block; font-size: 10.5px; color: var(--tm-faint); margin-top: 2px; line-height: 1.35; }

.tm-mp__step .tm-tick {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    animation: tmMp1 16s steps(1) infinite;
}

.tm-mp__step .tm-tick::after {
    animation: tmMp1Mark 16s steps(1) infinite;
}

@keyframes tmTick16 {
    0%, 1% { background: #fff; border-color: #d9d3f5; }
    2%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); }
    97%, 100% { background: #fff; border-color: #d9d3f5; }
}

@keyframes tmTickMark16 {
    0%, 1% { opacity: 0; }
    2%, 96% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

/* Yazilan manset metni (adim 2) */
.tm-mp__type {
    display: inline-block;
    max-width: 100%;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--tm-line-2);
    color: var(--tm-ink);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: tmMpType 16s steps(26) infinite;
}

@keyframes tmMpType {
    0%, 30% { width: 0; border-color: transparent; padding-left: 0; padding-right: 0; }
    31% { width: 0; border-color: var(--tm-line-2); padding-left: 7px; padding-right: 7px; }
    41%, 96% { width: 100%; border-color: var(--tm-line-2); padding-left: 7px; padding-right: 7px; }
    100% { width: 0; border-color: transparent; padding-left: 0; padding-right: 0; }
}

/* Tuval */
.tm-mp__canvas {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f1115;
    overflow: hidden;
}

.tm-mp__canvas img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-mp__ref {
    filter: blur(14px) grayscale(0.6) brightness(0.8);
    transform: scale(1.08);
    opacity: 0;
    animation: tmMpRef 16s ease-in-out infinite;
}

@keyframes tmMpRef {
    0%, 5% { opacity: 0; }
    9%, 70% { opacity: 1; filter: blur(14px) grayscale(0.6) brightness(0.8); }
    76%, 96% { opacity: 1; filter: blur(0) grayscale(0) brightness(1); }
    100% { opacity: 0; }
}

.tm-mp__result {
    opacity: 0;
    animation: tmMpResult 16s ease-in-out infinite;
}

@keyframes tmMpResult {
    0%, 70% { opacity: 0; transform: scale(1.03); }
    76%, 96% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

.tm-mp__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
    background: repeating-linear-gradient(45deg, #15181f 0 12px, #121419 12px 24px);
    animation: tmMpEmpty 16s steps(1) infinite;
}

@keyframes tmMpEmpty {
    0%, 8% { opacity: 1; }
    9%, 100% { opacity: 0; }
}

/* Tuval ustu etiketler */
.tm-mp__chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--tm-ink);
    font-size: 10.5px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
    opacity: 0;
    white-space: nowrap;
}

.tm-mp__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, #6c4cf6); }

.tm-mp__chip--ref { left: 12px; top: 12px; animation: tmMpChipRef 16s steps(1) infinite; }
.tm-mp__chip--size { right: 12px; top: 12px; animation: tmMpChipSize 16s steps(1) infinite; }
.tm-mp__chip--done { right: 12px; bottom: 12px; background: var(--tm-green-bg); color: var(--tm-green); border: 1px solid var(--tm-green-line); animation: tmMpChipDone 16s steps(1) infinite; }

@keyframes tmMpChipRef { 0%, 8% { opacity: 0; } 9%, 70% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes tmMpChipSize { 0%, 42% { opacity: 0; } 43%, 70% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes tmMpChipDone { 0%, 78% { opacity: 0; } 79%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* Metin alanlari (adim 2): tuval ustunde yer tutucu kutular */
.tm-mp__texts {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 10%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    animation: tmMpTexts 16s steps(1) infinite;
}

.tm-mp__texts span {
    display: block;
    padding: 5px 8px;
    border: 1.5px dashed rgba(255, 255, 255, 0.75);
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(17, 20, 45, 0.35);
    width: max-content;
    max-width: 100%;
}

.tm-mp__texts span:nth-child(2) { font-size: 13px; }
.tm-mp__texts span:nth-child(3) { font-size: 13px; color: #ffd93d; }

@keyframes tmMpTexts { 0%, 30% { opacity: 0; } 31%, 70% { opacity: 1; } 71%, 100% { opacity: 0; } }

/* Uretim (adim 4): tarama isigi + ilerleme */
.tm-mp__gen {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0;
    animation: tmMpGen 16s steps(1) infinite;
}

.tm-mp__gen::before {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    width: 30%;
    left: 0;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%) skewX(-18deg);
    animation: tmMpScan 1.6s ease-in-out infinite;
}

.tm-mp__gen div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(260px, 70%);
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(17, 20, 45, 0.86);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.tm-mp__gen div i {
    display: block;
    height: 5px;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.tm-mp__gen div i::after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6c4cf6, #d528ef);
    transform-origin: left;
    transform: scaleX(0);
    animation: tmMpBar 16s linear infinite;
}

@keyframes tmMpGen { 0%, 48% { opacity: 0; } 49%, 75% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes tmMpScan { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes tmMpBar { 0%, 49% { transform: scaleX(0); } 74%, 100% { transform: scaleX(1); } }

@media (max-width: 767px) {
    .tm-mp { grid-template-columns: 1fr; }
    .tm-mp__rail { border-right: 0; border-bottom: 1px solid #f0edfa; }
    .tm-mp__rail h4 { margin-bottom: 8px; }
    .tm-mp__step { padding: 5px 0 6px; }
    .tm-mp__step span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tm-so__target, .tm-so__ghost, .tm-so__badge, .tm-so__cover, .tm-so__cover span,
    .tm-mp__step .tm-tick, .tm-mp__step .tm-tick::after, .tm-mp__type, .tm-mp__ref, .tm-mp__result, .tm-mp__empty, .tm-mp__chip, .tm-mp__texts, .tm-mp__gen, .tm-mp__gen::before, .tm-mp__gen div i::after {
        animation: none !important;
    }
    .tm-so__target, .tm-so__ghost, .tm-so__cover { display: none; }
    .tm-so__badge { opacity: 1; }
    .tm-mp__ref, .tm-mp__empty, .tm-mp__texts, .tm-mp__gen, .tm-mp__chip--ref, .tm-mp__chip--size { opacity: 0; }
    .tm-mp__result, .tm-mp__chip--done { opacity: 1; }
    .tm-mp__type { width: 100%; }
    .tm-mp__step .tm-tick { background: var(--tm-purple); border-color: var(--tm-purple); }
    .tm-mp__step .tm-tick::after { opacity: 1; }
}

/* ============================================================
   15) Dongu fazlari: her eleman AYNI periyotta, kendi yuzdesinde acilir
   (gecikme kullanilmaz; aksi halde ikinci turda fazlar kayar)
   ============================================================ */
.tm-mp__rail > .tm-mp__step:nth-of-type(1) .tm-tick { animation-name: tmMp1; }
.tm-mp__rail > .tm-mp__step:nth-of-type(1) .tm-tick::after { animation-name: tmMp1Mark; }
@keyframes tmMp1 { 0%, 8.25% { background: #fff; border-color: #d9d3f5; } 8.75%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); } 96.50%, 100% { background: #fff; border-color: #d9d3f5; } }
@keyframes tmMp1Mark { 0%, 8.25% { opacity: 0; } 8.75%, 96% { opacity: 1; } 96.50%, 100% { opacity: 0; } }
.tm-mp__rail > .tm-mp__step:nth-of-type(2) .tm-tick { animation-name: tmMp2; }
.tm-mp__rail > .tm-mp__step:nth-of-type(2) .tm-tick::after { animation-name: tmMp2Mark; }
@keyframes tmMp2 { 0%, 30.13% { background: #fff; border-color: #d9d3f5; } 30.63%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); } 96.50%, 100% { background: #fff; border-color: #d9d3f5; } }
@keyframes tmMp2Mark { 0%, 30.13% { opacity: 0; } 30.63%, 96% { opacity: 1; } 96.50%, 100% { opacity: 0; } }
.tm-mp__rail > .tm-mp__step:nth-of-type(3) .tm-tick { animation-name: tmMp3; }
.tm-mp__rail > .tm-mp__step:nth-of-type(3) .tm-tick::after { animation-name: tmMp3Mark; }
@keyframes tmMp3 { 0%, 42.00% { background: #fff; border-color: #d9d3f5; } 42.5%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); } 96.50%, 100% { background: #fff; border-color: #d9d3f5; } }
@keyframes tmMp3Mark { 0%, 42.00% { opacity: 0; } 42.5%, 96% { opacity: 1; } 96.50%, 100% { opacity: 0; } }
.tm-mp__rail > .tm-mp__step:nth-of-type(4) .tm-tick { animation-name: tmMp4; }
.tm-mp__rail > .tm-mp__step:nth-of-type(4) .tm-tick::after { animation-name: tmMp4Mark; }
@keyframes tmMp4 { 0%, 48.25% { background: #fff; border-color: #d9d3f5; } 48.75%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); } 96.50%, 100% { background: #fff; border-color: #d9d3f5; } }
@keyframes tmMp4Mark { 0%, 48.25% { opacity: 0; } 48.75%, 96% { opacity: 1; } 96.50%, 100% { opacity: 0; } }
.tm-mp__rail > .tm-mp__step:nth-of-type(5) .tm-tick { animation-name: tmMp5; }
.tm-mp__rail > .tm-mp__step:nth-of-type(5) .tm-tick::after { animation-name: tmMp5Mark; }
@keyframes tmMp5 { 0%, 77.62% { background: #fff; border-color: #d9d3f5; } 78.12%, 96% { background: var(--tm-purple); border-color: var(--tm-purple); } 96.50%, 100% { background: #fff; border-color: #d9d3f5; } }
@keyframes tmMp5Mark { 0%, 77.62% { opacity: 0; } 78.12%, 96% { opacity: 1; } 96.50%, 100% { opacity: 0; } }

/* ============================================================
   16) Adim adim gecis sahnesi (tm-steps): gercek ekran goruntuleri
       sirayla gecer, odak halkasi + etiket, altta adim rayi.
       Donem --t (adim sayisi x 4.5 sn); her elemanin kendi keyframe'i
       var, gecikme kullanilmaz (faz kaymasi olmasin).
   ============================================================ */
.tm-steps {
    position: relative;
    width: 100%;
    font-family: Inter, sans-serif;
    text-align: left;
    container-type: inline-size;
}

/* Dar sutunda (anasayfa yan sutunu) ray sikisir: aciklama gizli, 5 adim tek satira */
@container (max-width: 760px) {
    .tm-steps__rail { gap: 6px; }
    .tm-steps__step { padding: 8px 8px; align-items: center; gap: 7px; }
    .tm-steps__text span { display: none; }
    .tm-steps__text b { font-size: 12px; }
    .tm-steps__num { width: 20px; height: 20px; }
}

@container (max-width: 420px) {
    .tm-steps.tm-steps--n4 .tm-steps__rail,
    .tm-steps.tm-steps--n5 .tm-steps__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tm-steps__step { padding: 7px 8px; gap: 6px; }
    .tm-steps__num { width: 18px; height: 18px; }
    .tm-steps__num b { font-size: 10px; }
    .tm-steps__text b { font-size: 11.5px; letter-spacing: -0.3px; }
}

.tm-steps .tm-browser { width: 100%; }

.tm-steps__screen {
    aspect-ratio: 1352 / 761;
    background: #f3f4f8;
}

.tm-steps__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: none var(--t) linear infinite;
    will-change: opacity;
}

.tm-steps__slide:first-child { opacity: 1; }

.tm-steps__slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Odak halkasi: slaytin ilgili alanini cerceveler, cevresini hafif karartir */
.tm-steps__focus {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border: 2px solid var(--tm-purple);
    border-radius: 8px;
    box-shadow: 0 0 0 4px rgba(108, 76, 246, 0.18), 0 0 0 9999px rgba(17, 20, 45, 0.14);
    opacity: 0;
    transform: scale(1.12);
    transform-origin: center;
    animation: none var(--t) var(--tm-ease) infinite;
    pointer-events: none;
}

.tm-steps__tag {
    position: absolute;
    left: var(--x);
    top: var(--y);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tm-line-2);
    color: var(--tm-purple-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: -0.1px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(74, 58, 160, 0.35);
    opacity: 0;
    transform: translateY(6px);
    animation: none var(--t) var(--tm-ease) infinite;
}

.tm-steps__tag i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tm-purple);
    box-shadow: 0 0 0 3px rgba(108, 76, 246, 0.18);
}

/* Ekranin altinda donem ilerlemesi */
.tm-steps__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--tm-purple);
    transform-origin: left;
    transform: scaleX(0);
    animation: tmStepsBar var(--t) linear infinite;
}

@keyframes tmStepsBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Adim rayi */
.tm-steps__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

/* Adimlar her genislikte TEK satirda kalir; dar alanda sadece basliklar */
.tm-steps--n5 .tm-steps__rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.tm-steps__step {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--tm-line);
    overflow: hidden;
}

/* Aktif adimda alt cizgi dolar, sonra dolu kalir */
.tm-steps__step::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--tm-purple);
    transform-origin: left;
    transform: scaleX(0);
    animation: none var(--t) linear infinite;
}

.tm-steps__num {
    position: relative;
    width: 24px;
    height: 24px;
    flex: none;
    border-radius: 50%;
    border: 1.5px solid #d9d3f5;
    background: #fff;
    display: grid;
    place-items: center;
    animation: none var(--t) steps(1) infinite;
}

.tm-steps__num b {
    font-size: 11px;
    font-weight: 800;
    color: var(--tm-purple);
    line-height: 1;
    animation: none var(--t) steps(1) infinite;
}

/* Tamamlaninca tik */
.tm-steps__num i {
    position: absolute;
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
    animation: none var(--t) steps(1) infinite;
}

.tm-steps__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-steps__text b { font-size: 13px; font-weight: 700; color: var(--tm-ink); line-height: 1.25; letter-spacing: -0.2px; overflow-wrap: normal; hyphens: manual; }
.tm-steps__text span { font-size: 11.5px; color: var(--tm-faint); line-height: 1.35; }

/* Hero: masaustunde sahnenin icinde sola yaslanir */
@media (min-width: 1024px) {
    .tm-hero-stage .tm-steps--hero,
    .tm-steps--hero {
        position: absolute;
        left: 0;
        top: 4px;
        width: 700px;
        z-index: 2;
    }

    /* Hero sahnesi 524px yuksek: ray tek satir kalsin */
    .tm-steps--hero .tm-steps__text span { display: none; }
    .tm-steps--hero .tm-steps__step { padding: 9px 10px; align-items: center; }
    .tm-steps--hero .tm-steps__rail { gap: 8px; margin-top: 12px; }
}

@media (max-width: 1023px) {
    .tm-steps--hero { position: relative; z-index: 2; }
    .tm-steps__tag { font-size: 10px; height: 22px; }
}


@media (prefers-reduced-motion: reduce) {
    .tm-steps__slide, .tm-steps__focus, .tm-steps__tag, .tm-steps__bar,
    .tm-steps__step::after, .tm-steps__num, .tm-steps__num b, .tm-steps__num i { animation: none !important; }
    .tm-steps__slide:first-child .tm-steps__focus { opacity: 1; transform: none; }
    .tm-steps__slide:first-child .tm-steps__tag { opacity: 1; transform: none; }
    .tm-steps__bar { display: none; }
}

/* Eleman bazli fazlar: N = 4 ve 5 adim */
.tm-steps--n4 .tm-steps__slide:nth-child(1) { animation-name: tmSl4_1; }
@keyframes tmSl4_1 { 0%, 25% { opacity: 1; } 27.2%, 97.3% { opacity: 0; } 97.8%, 100% { opacity: 1; } }
.tm-steps--n4 .tm-steps__slide:nth-child(1) .tm-steps__focus { animation-name: tmFo4_1; }
@keyframes tmFo4_1 { 0%, 5% { opacity: 0; transform: scale(1.12); } 7.5%, 24.4% { opacity: 1; transform: scale(1); } 25.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n4 .tm-steps__slide:nth-child(1) .tm-steps__tag { animation-name: tmTg4_1; }
@keyframes tmTg4_1 { 0%, 7% { opacity: 0; transform: translateY(6px); } 9.5%, 24.4% { opacity: 1; transform: none; } 25.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n4 .tm-steps__step:nth-child(1)::after { animation-name: tmLn4_1; }
@keyframes tmLn4_1 { 0%, 0% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }
.tm-steps--n4 .tm-steps__step:nth-child(1) .tm-steps__num { animation-name: tmNm4_1; }
@keyframes tmNm4_1 { 0%, 0% { background: #fff; border-color: #d9d3f5; } 0.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n4 .tm-steps__step:nth-child(1) .tm-steps__num b { animation-name: tmNb4_1; }
@keyframes tmNb4_1 { 0%, 0% { color: var(--tm-purple); opacity: 1; } 0.01%, 24.5% { color: #fff; opacity: 1; } 25%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__step:nth-child(1) .tm-steps__num i { animation-name: tmNi4_1; }
@keyframes tmNi4_1 { 0%, 24.5% { opacity: 0; } 25%, 100% { opacity: 1; } }
.tm-steps--n4 .tm-steps__slide:nth-child(2) { animation-name: tmSl4_2; }
@keyframes tmSl4_2 { 0%, 22.8% { opacity: 0; } 25%, 50% { opacity: 1; } 52.2%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__slide:nth-child(2) .tm-steps__focus { animation-name: tmFo4_2; }
@keyframes tmFo4_2 { 0%, 30% { opacity: 0; transform: scale(1.12); } 32.5%, 49.4% { opacity: 1; transform: scale(1); } 50.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n4 .tm-steps__slide:nth-child(2) .tm-steps__tag { animation-name: tmTg4_2; }
@keyframes tmTg4_2 { 0%, 32% { opacity: 0; transform: translateY(6px); } 34.5%, 49.4% { opacity: 1; transform: none; } 50.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n4 .tm-steps__step:nth-child(2)::after { animation-name: tmLn4_2; }
@keyframes tmLn4_2 { 0%, 25% { transform: scaleX(0); } 50%, 100% { transform: scaleX(1); } }
.tm-steps--n4 .tm-steps__step:nth-child(2) .tm-steps__num { animation-name: tmNm4_2; }
@keyframes tmNm4_2 { 0%, 25% { background: #fff; border-color: #d9d3f5; } 25.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n4 .tm-steps__step:nth-child(2) .tm-steps__num b { animation-name: tmNb4_2; }
@keyframes tmNb4_2 { 0%, 25% { color: var(--tm-purple); opacity: 1; } 25.01%, 49.5% { color: #fff; opacity: 1; } 50%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__step:nth-child(2) .tm-steps__num i { animation-name: tmNi4_2; }
@keyframes tmNi4_2 { 0%, 49.5% { opacity: 0; } 50%, 100% { opacity: 1; } }
.tm-steps--n4 .tm-steps__slide:nth-child(3) { animation-name: tmSl4_3; }
@keyframes tmSl4_3 { 0%, 47.8% { opacity: 0; } 50%, 75% { opacity: 1; } 77.2%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__slide:nth-child(3) .tm-steps__focus { animation-name: tmFo4_3; }
@keyframes tmFo4_3 { 0%, 55% { opacity: 0; transform: scale(1.12); } 57.5%, 74.4% { opacity: 1; transform: scale(1); } 75.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n4 .tm-steps__slide:nth-child(3) .tm-steps__tag { animation-name: tmTg4_3; }
@keyframes tmTg4_3 { 0%, 57% { opacity: 0; transform: translateY(6px); } 59.5%, 74.4% { opacity: 1; transform: none; } 75.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n4 .tm-steps__step:nth-child(3)::after { animation-name: tmLn4_3; }
@keyframes tmLn4_3 { 0%, 50% { transform: scaleX(0); } 75%, 100% { transform: scaleX(1); } }
.tm-steps--n4 .tm-steps__step:nth-child(3) .tm-steps__num { animation-name: tmNm4_3; }
@keyframes tmNm4_3 { 0%, 50% { background: #fff; border-color: #d9d3f5; } 50.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n4 .tm-steps__step:nth-child(3) .tm-steps__num b { animation-name: tmNb4_3; }
@keyframes tmNb4_3 { 0%, 50% { color: var(--tm-purple); opacity: 1; } 50.01%, 74.5% { color: #fff; opacity: 1; } 75%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__step:nth-child(3) .tm-steps__num i { animation-name: tmNi4_3; }
@keyframes tmNi4_3 { 0%, 74.5% { opacity: 0; } 75%, 100% { opacity: 1; } }
.tm-steps--n4 .tm-steps__slide:nth-child(4) { animation-name: tmSl4_4; }
@keyframes tmSl4_4 { 0%, 72.8% { opacity: 0; } 75%, 97.8% { opacity: 1; } 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__slide:nth-child(4) .tm-steps__focus { animation-name: tmFo4_4; }
@keyframes tmFo4_4 { 0%, 80% { opacity: 0; transform: scale(1.12); } 82.5%, 99.4% { opacity: 1; transform: scale(1); } 100.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n4 .tm-steps__slide:nth-child(4) .tm-steps__tag { animation-name: tmTg4_4; }
@keyframes tmTg4_4 { 0%, 82% { opacity: 0; transform: translateY(6px); } 84.5%, 99.4% { opacity: 1; transform: none; } 100.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n4 .tm-steps__step:nth-child(4)::after { animation-name: tmLn4_4; }
@keyframes tmLn4_4 { 0%, 75% { transform: scaleX(0); } 100%, 100% { transform: scaleX(1); } }
.tm-steps--n4 .tm-steps__step:nth-child(4) .tm-steps__num { animation-name: tmNm4_4; }
@keyframes tmNm4_4 { 0%, 75% { background: #fff; border-color: #d9d3f5; } 75.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n4 .tm-steps__step:nth-child(4) .tm-steps__num b { animation-name: tmNb4_4; }
@keyframes tmNb4_4 { 0%, 75% { color: var(--tm-purple); opacity: 1; } 75.01%, 99.5% { color: #fff; opacity: 1; } 100%, 100% { opacity: 0; } }
.tm-steps--n4 .tm-steps__step:nth-child(4) .tm-steps__num i { animation-name: tmNi4_4; }
@keyframes tmNi4_4 { 0%, 99.5% { opacity: 0; } 100%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(1) { animation-name: tmSl5_1; }
@keyframes tmSl5_1 { 0%, 20% { opacity: 1; } 22.2%, 97.3% { opacity: 0; } 97.8%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(1) .tm-steps__focus { animation-name: tmFo5_1; }
@keyframes tmFo5_1 { 0%, 4% { opacity: 0; transform: scale(1.12); } 6.5%, 19.4% { opacity: 1; transform: scale(1); } 20.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n5 .tm-steps__slide:nth-child(1) .tm-steps__tag { animation-name: tmTg5_1; }
@keyframes tmTg5_1 { 0%, 6% { opacity: 0; transform: translateY(6px); } 8.5%, 19.4% { opacity: 1; transform: none; } 20.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n5 .tm-steps__step:nth-child(1)::after { animation-name: tmLn5_1; }
@keyframes tmLn5_1 { 0%, 0% { transform: scaleX(0); } 20%, 100% { transform: scaleX(1); } }
.tm-steps--n5 .tm-steps__step:nth-child(1) .tm-steps__num { animation-name: tmNm5_1; }
@keyframes tmNm5_1 { 0%, 0% { background: #fff; border-color: #d9d3f5; } 0.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n5 .tm-steps__step:nth-child(1) .tm-steps__num b { animation-name: tmNb5_1; }
@keyframes tmNb5_1 { 0%, 0% { color: var(--tm-purple); opacity: 1; } 0.01%, 19.5% { color: #fff; opacity: 1; } 20%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__step:nth-child(1) .tm-steps__num i { animation-name: tmNi5_1; }
@keyframes tmNi5_1 { 0%, 19.5% { opacity: 0; } 20%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(2) { animation-name: tmSl5_2; }
@keyframes tmSl5_2 { 0%, 17.8% { opacity: 0; } 20%, 40% { opacity: 1; } 42.2%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__slide:nth-child(2) .tm-steps__focus { animation-name: tmFo5_2; }
@keyframes tmFo5_2 { 0%, 24% { opacity: 0; transform: scale(1.12); } 26.5%, 39.4% { opacity: 1; transform: scale(1); } 40.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n5 .tm-steps__slide:nth-child(2) .tm-steps__tag { animation-name: tmTg5_2; }
@keyframes tmTg5_2 { 0%, 26% { opacity: 0; transform: translateY(6px); } 28.5%, 39.4% { opacity: 1; transform: none; } 40.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n5 .tm-steps__step:nth-child(2)::after { animation-name: tmLn5_2; }
@keyframes tmLn5_2 { 0%, 20% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
.tm-steps--n5 .tm-steps__step:nth-child(2) .tm-steps__num { animation-name: tmNm5_2; }
@keyframes tmNm5_2 { 0%, 20% { background: #fff; border-color: #d9d3f5; } 20.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n5 .tm-steps__step:nth-child(2) .tm-steps__num b { animation-name: tmNb5_2; }
@keyframes tmNb5_2 { 0%, 20% { color: var(--tm-purple); opacity: 1; } 20.01%, 39.5% { color: #fff; opacity: 1; } 40%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__step:nth-child(2) .tm-steps__num i { animation-name: tmNi5_2; }
@keyframes tmNi5_2 { 0%, 39.5% { opacity: 0; } 40%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(3) { animation-name: tmSl5_3; }
@keyframes tmSl5_3 { 0%, 37.8% { opacity: 0; } 40%, 60% { opacity: 1; } 62.2%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__slide:nth-child(3) .tm-steps__focus { animation-name: tmFo5_3; }
@keyframes tmFo5_3 { 0%, 44% { opacity: 0; transform: scale(1.12); } 46.5%, 59.4% { opacity: 1; transform: scale(1); } 60.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n5 .tm-steps__slide:nth-child(3) .tm-steps__tag { animation-name: tmTg5_3; }
@keyframes tmTg5_3 { 0%, 46% { opacity: 0; transform: translateY(6px); } 48.5%, 59.4% { opacity: 1; transform: none; } 60.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n5 .tm-steps__step:nth-child(3)::after { animation-name: tmLn5_3; }
@keyframes tmLn5_3 { 0%, 40% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.tm-steps--n5 .tm-steps__step:nth-child(3) .tm-steps__num { animation-name: tmNm5_3; }
@keyframes tmNm5_3 { 0%, 40% { background: #fff; border-color: #d9d3f5; } 40.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n5 .tm-steps__step:nth-child(3) .tm-steps__num b { animation-name: tmNb5_3; }
@keyframes tmNb5_3 { 0%, 40% { color: var(--tm-purple); opacity: 1; } 40.01%, 59.5% { color: #fff; opacity: 1; } 60%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__step:nth-child(3) .tm-steps__num i { animation-name: tmNi5_3; }
@keyframes tmNi5_3 { 0%, 59.5% { opacity: 0; } 60%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(4) { animation-name: tmSl5_4; }
@keyframes tmSl5_4 { 0%, 57.8% { opacity: 0; } 60%, 80% { opacity: 1; } 82.2%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__slide:nth-child(4) .tm-steps__focus { animation-name: tmFo5_4; }
@keyframes tmFo5_4 { 0%, 64% { opacity: 0; transform: scale(1.12); } 66.5%, 79.4% { opacity: 1; transform: scale(1); } 80.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n5 .tm-steps__slide:nth-child(4) .tm-steps__tag { animation-name: tmTg5_4; }
@keyframes tmTg5_4 { 0%, 66% { opacity: 0; transform: translateY(6px); } 68.5%, 79.4% { opacity: 1; transform: none; } 80.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n5 .tm-steps__step:nth-child(4)::after { animation-name: tmLn5_4; }
@keyframes tmLn5_4 { 0%, 60% { transform: scaleX(0); } 80%, 100% { transform: scaleX(1); } }
.tm-steps--n5 .tm-steps__step:nth-child(4) .tm-steps__num { animation-name: tmNm5_4; }
@keyframes tmNm5_4 { 0%, 60% { background: #fff; border-color: #d9d3f5; } 60.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n5 .tm-steps__step:nth-child(4) .tm-steps__num b { animation-name: tmNb5_4; }
@keyframes tmNb5_4 { 0%, 60% { color: var(--tm-purple); opacity: 1; } 60.01%, 79.5% { color: #fff; opacity: 1; } 80%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__step:nth-child(4) .tm-steps__num i { animation-name: tmNi5_4; }
@keyframes tmNi5_4 { 0%, 79.5% { opacity: 0; } 80%, 100% { opacity: 1; } }
.tm-steps--n5 .tm-steps__slide:nth-child(5) { animation-name: tmSl5_5; }
@keyframes tmSl5_5 { 0%, 77.8% { opacity: 0; } 80%, 97.8% { opacity: 1; } 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__slide:nth-child(5) .tm-steps__focus { animation-name: tmFo5_5; }
@keyframes tmFo5_5 { 0%, 84% { opacity: 0; transform: scale(1.12); } 86.5%, 99.4% { opacity: 1; transform: scale(1); } 100.4%, 100% { opacity: 0; transform: scale(1); } }
.tm-steps--n5 .tm-steps__slide:nth-child(5) .tm-steps__tag { animation-name: tmTg5_5; }
@keyframes tmTg5_5 { 0%, 86% { opacity: 0; transform: translateY(6px); } 88.5%, 99.4% { opacity: 1; transform: none; } 100.4%, 100% { opacity: 0; transform: none; } }
.tm-steps--n5 .tm-steps__step:nth-child(5)::after { animation-name: tmLn5_5; }
@keyframes tmLn5_5 { 0%, 80% { transform: scaleX(0); } 100%, 100% { transform: scaleX(1); } }
.tm-steps--n5 .tm-steps__step:nth-child(5) .tm-steps__num { animation-name: tmNm5_5; }
@keyframes tmNm5_5 { 0%, 80% { background: #fff; border-color: #d9d3f5; } 80.01%, 100% { background: var(--tm-purple); border-color: var(--tm-purple); } }
.tm-steps--n5 .tm-steps__step:nth-child(5) .tm-steps__num b { animation-name: tmNb5_5; }
@keyframes tmNb5_5 { 0%, 80% { color: var(--tm-purple); opacity: 1; } 80.01%, 99.5% { color: #fff; opacity: 1; } 100%, 100% { opacity: 0; } }
.tm-steps--n5 .tm-steps__step:nth-child(5) .tm-steps__num i { animation-name: tmNi5_5; }
@keyframes tmNi5_5 { 0%, 99.5% { opacity: 0; } 100%, 100% { opacity: 1; } }

/* ============================================================
   17) Tanitim videosu (tm-vplayer / tm-vmodal / tm-vteaser)
       - tm-vplayer: sayfa ici oynatici (afis + oynat dugmesi; #video
         ile gelinince kendiliginden baslar, ses engellenirse sessiz
         baslar ve "Sesi ac" dugmesi cikar)
       - tm-vmodal: data-tm-video-open tetikleyicilerinin acilir oynaticisi
       - tm-vteaser: canli (sessiz) onizlemeli kucuk video karti
   ============================================================ */
.tm-vplayer {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0c0a0b;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(74, 58, 160, 0.18);
    isolation: isolate;
}

.tm-vplayer__video,
.tm-vplayer__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-vplayer__video { background: #0c0a0b; }
.tm-vplayer__poster { z-index: 1; transition: opacity .35s ease; }
.tm-vplayer.is-playing .tm-vplayer__poster { opacity: 0; pointer-events: none; }

.tm-vplayer__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-left: var(--tm-vplay-shift, 0);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: Inter, sans-serif;
}

.tm-vplayer.is-playing .tm-vplayer__play { display: none; }

/* Oynat dugmesi: beyaz daire + mor ucgen, cevresinde yavas donen ince yay */
.tm-vbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tm-vbtn, 84px);
    height: var(--tm-vbtn, 84px);
    border-radius: 50%;
    background: #fff;
    color: var(--tm-purple);
    box-shadow: 0 18px 44px rgba(17, 20, 45, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.16);
    transition: transform .3s var(--tm-ease), box-shadow .3s ease;
}

.tm-vbtn > svg.tm-vbtn__tri {
    width: 38%;
    height: 38%;
    margin-left: 8%;
}

.tm-vbtn__ring {
    position: absolute;
    inset: -7px;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
    color: #fff;
    animation: tmVRing 3.2s linear infinite;
    pointer-events: none;
}

.tm-vbtn__ring circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 46 120;
    opacity: .9;
}

@keyframes tmVRing { to { transform: rotate(360deg); } }

.tm-vplayer__play:hover .tm-vbtn,
.tm-vplayer__play:focus-visible .tm-vbtn,
.tm-vteaser:hover .tm-vbtn,
.tm-vteaser:focus-visible .tm-vbtn { transform: scale(1.08); }

.tm-vplayer__play:focus-visible { outline: none; }
.tm-vplayer__play:focus-visible .tm-vbtn { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 0 7px var(--tm-purple); }

.tm-vplayer__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--tm-line-2);
    color: var(--tm-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    box-shadow: 0 10px 26px rgba(17, 20, 45, 0.18);
    white-space: nowrap;
}

.tm-vplayer__label small {
    font-size: 12px;
    font-weight: 600;
    color: var(--tm-purple);
}

/* Ses engellenince sessiz baslar: belirgin "Sesi ac" dugmesi */
.tm-vplayer__unmute {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
    background: #fff;
    color: var(--tm-purple-2);
    font: 700 14px/1 Inter, sans-serif;
    box-shadow: 0 12px 30px rgba(17, 20, 45, 0.28);
    cursor: pointer;
}

.tm-vplayer__unmute svg { width: 18px; height: 18px; }
.tm-vplayer.is-muted .tm-vplayer__unmute { display: inline-flex; animation: tmVNudge 2.4s var(--tm-ease) infinite; }

@keyframes tmVNudge {
    0%, 70%, 100% { transform: none; }
    78% { transform: translateY(-3px); }
    86% { transform: none; }
    92% { transform: translateY(-2px); }
}

@media (max-width: 640px) {
    .tm-vplayer { border-radius: 14px; }
    .tm-vplayer__play { --tm-vbtn: 62px; gap: 10px; }
    .tm-vplayer__label { font-size: 12.5px; padding: 5px 11px; }
    .tm-vplayer__label > span { display: none; }
    .tm-vplayer__unmute { left: 10px; top: 10px; height: 38px; font-size: 13px; }
}

/* ---------- Acilir oynatici ---------- */
html.tm-vmodal-open { overflow: hidden; }

.tm-vmodal {
    position: fixed;
    inset: 0;
    z-index: 2147483600; /* Tawk.to sohbet balonunun da ustunde */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
}

.tm-vmodal.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease;
}

.tm-vmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 20, 45, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tm-vmodal__box {
    position: relative;
    width: min(1080px, 100%);
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 40px 90px rgba(17, 20, 45, 0.4);
    transform: translateY(14px) scale(.98);
    transition: transform .35s var(--tm-ease);
}

.tm-vmodal.is-open .tm-vmodal__box { transform: none; }

.tm-vmodal__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 150px);
    margin: 0 auto;
    background: #0c0a0b;
    border-radius: 12px;
    overflow: hidden;
}

.tm-vmodal__frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0c0a0b;
}

.tm-vmodal.is-portrait .tm-vmodal__box { width: min(420px, 100%); }
.tm-vmodal.is-portrait .tm-vmodal__frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 130px); }

.tm-vmodal__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 8px 4px;
    font-family: Inter, sans-serif;
}

.tm-vmodal__title { font-size: 14px; font-weight: 700; color: var(--tm-ink); letter-spacing: -0.2px; }

.tm-vmodal__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 40px;
    background: linear-gradient(90deg, #5b42f3, #5f7bff);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(91, 66, 243, 0.22);
    transition: filter .2s ease;
}

.tm-vmodal__cta:hover { filter: brightness(1.1); }
.tm-vmodal__cta[hidden] { display: none; }
.tm-vmodal__cta svg { width: 15px; height: 15px; }

.tm-vmodal__close {
    position: absolute;
    right: -12px;
    top: -12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tm-line-2);
    background: #fff;
    color: var(--tm-ink);
    box-shadow: 0 10px 24px rgba(17, 20, 45, 0.25);
    cursor: pointer;
}

.tm-vmodal__close svg { width: 18px; height: 18px; }
.tm-vmodal__close:hover { color: var(--tm-purple); }

@media (max-width: 640px) {
    .tm-vmodal { padding: 14px; }
    .tm-vmodal__box { padding: 6px; border-radius: 16px; }
    .tm-vmodal__close { right: -6px; top: -6px; }
    .tm-vmodal__foot { padding: 10px 4px 2px; }
}

/* ---------- Video karti: sessiz canli onizleme + oynat dugmesi ---------- */
.tm-vteaser {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    padding: 8px 18px 8px 8px;
    border-radius: 16px;
    border: 1px solid var(--tm-line-2);
    background: #fff;
    box-shadow: 0 14px 34px -12px rgba(91, 66, 243, 0.22);
    font-family: Inter, sans-serif;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: transform .3s var(--tm-ease), box-shadow .3s ease, border-color .3s ease;
}

.tm-vteaser:hover {
    transform: translateY(-2px);
    border-color: #cfc3ff;
    box-shadow: 0 20px 44px -14px rgba(91, 66, 243, 0.32);
}

.tm-vteaser:focus-visible { outline: 3px solid rgba(108, 76, 246, 0.45); outline-offset: 3px; }

.tm-vteaser__thumb {
    position: relative;
    flex: none;
    width: 148px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #0c0a0b;
}

.tm-vteaser__thumb img,
.tm-vteaser__thumb video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-vteaser__thumb video { opacity: 0; transition: opacity .4s ease; }
.tm-vteaser__thumb video.is-ready { opacity: 1; }

.tm-vteaser__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 20, 45, 0.18);
}

.tm-vteaser__thumb .tm-vbtn {
    --tm-vbtn: 38px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -19px 0 0 -19px;
    box-shadow: 0 8px 20px rgba(17, 20, 45, 0.35);
}

.tm-vteaser:hover .tm-vteaser__thumb .tm-vbtn { transform: scale(1.1); }
.tm-vteaser__thumb .tm-vbtn__ring { inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); }
.tm-vteaser__thumb .tm-vbtn__ring circle { stroke-width: 2.4; }

.tm-vteaser__time {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 1;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--tm-ink);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
}

.tm-vteaser__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tm-vteaser__text small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tm-purple); }
.tm-vteaser__text b { font-size: 15px; font-weight: 700; color: var(--tm-ink); letter-spacing: -0.3px; line-height: 1.3; }
.tm-vteaser__text span { font-size: 13px; color: var(--tm-muted); line-height: 1.4; }

@media (max-width: 420px) {
    .tm-vteaser { gap: 11px; padding-right: 12px; }
    .tm-vteaser__thumb { width: 116px; }
    .tm-vteaser__text b { font-size: 14px; }
    .tm-vteaser__text span { display: none; }
}

.tm-paused .tm-vbtn__ring,
.tm-paused.tm-vbtn__ring { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .tm-vbtn__ring,
    .tm-vplayer.is-muted .tm-vplayer__unmute { animation: none; }
    .tm-vmodal, .tm-vmodal__box, .tm-vteaser { transition: none; }
}
