/* ==========================================================================
   Anasayfa — kurumsal denge
   Koyu: giriş slider'ı, entegrasyon bandı, kapanış kartı. Gövde: açık zemin.
   Yalnızca anasayfada yüklenir (module/assets.php → 'home').
   ========================================================================== */

body.nx-page--main { background: #fff; }

.nx-section { position: relative; padding-block: var(--nx-section); }
.nx-section--soft { background: var(--nx-mist); }
.nx-section--close { padding-top: 0; }

/* ==========================================================================
   GİRİŞ SLIDER'I
   ========================================================================== */

.nx-slider {
    --nx-interval: 7000ms;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(660px, 92vh, 880px);
    background: linear-gradient(180deg, #071427 0%, #0a1d3a 100%);
    color: #fff;
}
.nx-slider__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(38% 55% at 76% 42%, rgba(26, 95, 208, 0.5), transparent 70%),
        radial-gradient(30% 40% at 8% 100%, rgba(25, 195, 255, 0.14), transparent 70%);
}
.nx-slider::after {
    /* alt kenar: rakam kartına yumuşak geçiş */
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 120px;
    z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(7, 20, 39, 0.6));
    pointer-events: none;
}

.nx-slider__stage { position: relative; z-index: 1; flex: 1; display: grid; }
.nx-slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    padding: clamp(48px, 6vw, 88px) 0 clamp(150px, 14vw, 180px);
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 0.9s;
}
.nx-slide.is-active { visibility: visible; pointer-events: auto; transition: visibility 0s 0s; }
.nx-slide__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4.5vw, 72px);
    align-items: center;
}

/* Metin */
.nx-slide__tag {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8fc2ff;
}
.nx-slide__tag span {
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.nx-slide__title {
    margin: 0 0 22px;
    font-size: clamp(2.1rem, 3.9vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #fff;
}
.nx-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.nx-line > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--nx-ease); }
.nx-accent { color: #5fb6ff; }
.nx-slide__text {
    margin: 0 0 24px;
    max-width: 52ch;
    font-size: clamp(1.02rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: #b7c4d6;
}
.nx-slide__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.nx-slide__chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 600;
    color: #dbe6f5;
}
.nx-slide__chips li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--nx-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23071427' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.nx-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.nx-slide__text, .nx-slide__chips, .nx-slide__actions, .nx-slide__tag {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--nx-ease), transform 0.6s var(--nx-ease);
}
.nx-slide.is-active .nx-line > span,
.nx-slide.is-active .nx-slide__tag,
.nx-slide.is-active .nx-slide__text,
.nx-slide.is-active .nx-slide__chips,
.nx-slide.is-active .nx-slide__actions { opacity: 1; transform: none; }
.nx-slide.is-active .nx-line:nth-child(2) > span { transition-delay: 0.1s; }
.nx-slide.is-active .nx-slide__text { transition-delay: 0.3s; }
.nx-slide.is-active .nx-slide__chips { transition-delay: 0.4s; }
.nx-slide.is-active .nx-slide__actions { transition-delay: 0.5s; }

/* Görsel sahne */
.nx-slide__visual { position: relative; perspective: 1400px; }
.nx-device {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 5deg));
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1s var(--nx-ease), translate 1s var(--nx-ease), scale 1s var(--nx-ease);
    opacity: 0;
    translate: 70px 0;
    scale: 0.95;
}
.nx-slide.is-active .nx-device { opacity: 1; translate: 0 0; scale: 1; transition-delay: 0s, 0.1s, 0.1s, 0.1s; }
.nx-device__screen {
    position: relative;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #0e1b31;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 50px 100px -30px rgba(0, 0, 0, 0.75),
        0 0 90px -20px rgba(26, 95, 208, 0.65);
}
.nx-device__bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #e9eef6; }
.nx-device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5f; }
.nx-device__bar i:nth-child(2) { background: #ffbe2e; }
.nx-device__bar i:nth-child(3) { background: #2aca44; }
.nx-device__view { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.nx-device__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: 30% 20%; }
.nx-slide.is-active .nx-device__view img { animation: nx-kenburns 9s ease-out forwards; }
@keyframes nx-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

.nx-device__phone, .nx-device__card, .nx-device__badge {
    position: absolute;
    margin: 0;
    opacity: 0;
    translate: 0 40px;
    transition: opacity 0.8s var(--nx-ease), translate 0.8s var(--nx-ease);
}
.nx-slide.is-active .nx-device__phone { opacity: 1; translate: 0 0; transition-delay: 0.35s; }
.nx-slide.is-active .nx-device__card { opacity: 1; translate: 0 0; transition-delay: 0.45s; }
.nx-slide.is-active .nx-device__badge { opacity: 1; translate: 0 0; transition-delay: 0.65s; }
.nx-device__phone {
    right: -5%;
    bottom: -10%;
    width: 25%;
    padding: 6px;
    border-radius: 26px;
    background: #0d1526;
    transform: translateZ(70px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 40px 70px -20px rgba(0, 0, 0, 0.8);
}
.nx-device__phone img { display: block; width: 100%; border-radius: 20px; }
.nx-device__card {
    left: -9%;
    bottom: -12%;
    width: 44%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transform: translateZ(90px);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 40px 70px -24px rgba(0, 0, 0, 0.8);
}
.nx-device__card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.nx-device__badge {
    top: -22px;
    left: 8%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--nx-ink);
    font-size: 13.5px;
    font-weight: 700;
    transform: translateZ(110px);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6);
}
.nx-live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex: none; }
.nx-live::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.55);
    animation: nx-ping 1.8s ease-out infinite;
}
@keyframes nx-ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Mikro ERP yörüngesi */
.nx-orbit {
    position: relative;
    width: min(540px, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
    opacity: 0;
    scale: 0.9;
    transition: opacity 1s var(--nx-ease), scale 1s var(--nx-ease);
}
.nx-slide.is-active .nx-orbit { opacity: 1; scale: 1; transition-delay: 0.1s; }
.nx-orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nx-orbit__rings circle { fill: none; stroke: rgba(143, 194, 255, 0.22); stroke-width: 1.2; stroke-dasharray: 3 7; }
.nx-orbit__rings .nx-orbit__pulse {
    stroke: rgba(95, 182, 255, 0.7);
    stroke-dasharray: none;
    stroke-width: 2;
    transform-origin: 300px 300px;
    animation: nx-orbit-pulse 3.2s ease-out infinite;
}
@keyframes nx-orbit-pulse { from { transform: scale(0.45); opacity: 0.9; } to { transform: scale(1.75); opacity: 0; } }
.nx-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    aspect-ratio: 1;
    translate: -50% -50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 10px rgba(95, 182, 255, 0.12), 0 0 0 22px rgba(95, 182, 255, 0.06), 0 0 80px rgba(26, 95, 208, 0.8);
    z-index: 2;
}
.nx-orbit__core img { width: 64%; height: auto; }
.nx-orbit__core span { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nx-brand); text-align: center; line-height: 1.2; }
.nx-orbit__ring { position: absolute; animation: nx-spin 36s linear infinite; }
.nx-orbit__ring--inner { inset: 25%; }
.nx-orbit__ring--outer { inset: 10%; animation-duration: 54s; animation-direction: reverse; }
.nx-orbit__node { position: absolute; inset: 0; transform: rotate(var(--a)); }
.nx-orbit__node :is(b, .nx-b) {
    position: absolute;
    left: 50%;
    top: 0;
    translate: -50% -50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #0e2242;
    box-shadow: inset 0 0 0 1px rgba(95, 182, 255, 0.5), 0 10px 30px -8px rgba(26, 95, 208, 0.9);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    animation: nx-counter 36s linear infinite;
}
.nx-orbit__ring--outer .nx-orbit__node :is(b, .nx-b) { animation-duration: 54s; animation-direction: reverse; }
@keyframes nx-spin { to { transform: rotate(360deg); } }
@keyframes nx-counter { from { rotate: calc(var(--a) * -1); } to { rotate: calc(var(--a) * -1 - 360deg); } }

/* Kontroller: ilerleme çubuklu sekmeler */
.nx-slider__controls {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 20, 39, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nx-slider__bar { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; padding-bottom: 72px; }
.nx-slider__tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nx-slider__tab {
    position: relative;
    padding: 22px 16px 0 0;
    border: 0;
    background: none;
    font-family: var(--nx-font);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s;
}
.nx-slider__tab:hover, .nx-slider__tab.is-active { color: #fff; }
.nx-slider__progress { position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.nx-slider__progress i { position: absolute; inset: 0; background: var(--nx-cyan); transform-origin: left; transform: scaleX(0); }
.nx-slider__tab.is-done .nx-slider__progress i { transform: scaleX(1); background: rgba(95, 182, 255, 0.45); }
.nx-slider__tab.is-active .nx-slider__progress i { animation: nx-progress var(--nx-interval) linear forwards; }
.nx-slider.is-paused .nx-slider__tab.is-active .nx-slider__progress i { animation-play-state: paused; }
.nx-slider.is-static .nx-slider__tab.is-active .nx-slider__progress i { animation: none; transform: scaleX(1); }
@keyframes nx-progress { to { transform: scaleX(1); } }
.nx-slider__nav { display: flex; gap: 8px; padding-top: 12px; }
.nx-slider__arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}
.nx-slider__arrow:hover { background: var(--nx-brand); box-shadow: none; }
.nx-slider__arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   RAKAMLAR (slider'ın üzerine binen kart)
   ========================================================================== */

.nx-stats { position: relative; z-index: 4; margin-top: -58px; }
.nx-stats__card {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(7, 20, 39, 0.45), 0 0 0 1px rgba(15, 35, 70, 0.06);
}
.nx-stats__card li { padding: 30px 28px; }
.nx-stats__card li + li { border-left: 1px solid var(--nx-line); }
.nx-stats__card strong {
    display: block;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--nx-ink);
    font-variant-numeric: tabular-nums;
}
.nx-stats__card strong span { color: var(--nx-brand); }
.nx-stats__card > li > span { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--nx-muted); }

/* ==========================================================================
   KAYAN LOGO BANDI
   ========================================================================== */

/* Referans şeridi: üstte (rakam kartından) ve altta (ürün başlığına) eşit boşluk */
:root { --nx-mq-gap: clamp(36px, 5vw, 56px); }
.nx-marquee { padding: var(--nx-mq-gap) 0 0; }
/* Logo bandından sonraki bölüm: üst boşluk logo bandının üstüyle dengeli */
.nx-marquee + .nx-section { padding-top: var(--nx-mq-gap); }
.nx-marquee__head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 32px; padding-inline: var(--nx-gutter); text-align: center; }
.nx-marquee__head .nx-kicker { margin: 0; }
.nx-marquee__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.nx-marquee__track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: nx-marquee 60s linear infinite; }
.nx-marquee__viewport:hover .nx-marquee__track { animation-play-state: paused; }
.nx-marquee__track li { flex: none; margin-right: 64px; }
.nx-marquee__track img { display: block; height: 46px; width: auto; max-width: 165px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s, opacity 0.25s; }
.nx-marquee__track img:hover { filter: none; opacity: 1; }
@keyframes nx-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   ÜRÜNLER
   ========================================================================== */

.nx-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.nx-catalog__feature { grid-column: span 2; grid-row: span 2; }
.nx-product {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
    padding: 28px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--nx-line);
    box-shadow: 0 1px 2px rgba(15, 35, 70, 0.04), 0 10px 28px -22px rgba(15, 35, 70, 0.3);
    color: var(--nx-text);
    text-decoration: none;
    transition: transform 0.25s var(--nx-ease), box-shadow 0.25s var(--nx-ease), border-color 0.25s;
}
.nx-product::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--nx-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--nx-ease);
}
.nx-product:hover { transform: translateY(-4px); color: var(--nx-text); border-color: #c7d8f2; box-shadow: 0 1px 2px rgba(15, 35, 70, 0.04), 0 26px 50px -26px rgba(26, 95, 208, 0.45); }
.nx-product:hover::after { transform: scaleX(1); }
.nx-product__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.nx-product__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--nx-brand);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
}
.nx-product__tag { padding: 5px 10px; border-radius: 6px; background: var(--nx-mist-2); font-size: 12px; font-weight: 700; color: var(--nx-muted); white-space: nowrap; }
.nx-product__name { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--nx-ink); }
.nx-product__desc { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--nx-muted); }
.nx-product__more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--nx-brand); }
.nx-product__more svg { width: 15px; height: 15px; transition: transform 0.2s var(--nx-ease); }
.nx-product:hover .nx-product__more svg { transform: translateX(4px); }

/* Öne çıkan ürün kartı (koyu) */
.nx-catalog__feature .nx-product {
    padding: 38px;
    border: 0;
    background:
        radial-gradient(60% 70% at 85% 100%, rgba(26, 95, 208, 0.55), transparent 70%),
        linear-gradient(145deg, #0b1c36, #071427);
    color: #b7c4d6;
}
.nx-catalog__feature .nx-product:hover { color: #b7c4d6; box-shadow: 0 30px 60px -28px rgba(7, 20, 39, 0.8); }
.nx-catalog__feature .nx-product::after { background: var(--nx-cyan); }
.nx-catalog__feature .nx-product__code { width: 62px; height: 62px; font-size: 16.5px; background: #fff; color: var(--nx-brand); }
.nx-catalog__feature .nx-product__tag { background: rgba(255, 255, 255, 0.1); color: #cfe0f5; }
.nx-catalog__feature .nx-product__name { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; max-width: 13ch; }
.nx-catalog__feature .nx-product__desc { color: #b7c4d6; font-size: 16px; max-width: 32ch; }
.nx-catalog__feature .nx-product__more { color: #8fc2ff; }
.nx-catalog__feature .nx-product > span:not(.nx-product__visual),
.nx-catalog__feature .nx-product > h3,
.nx-catalog__feature .nx-product > p { position: relative; z-index: 1; max-width: 52%; }
.nx-product__visual { position: absolute; right: 30px; bottom: -70px; display: flex; gap: 16px; align-items: flex-end; width: 44%; }
.nx-product__visual img {
    width: 50%;
    border-radius: 22px;
    padding: 6px;
    background: #0d1526;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s var(--nx-ease);
}
.nx-product__visual img:last-child { transform: translateY(-44px); }
.nx-catalog__feature .nx-product:hover .nx-product__visual img:first-child { transform: translateY(-10px); }
.nx-catalog__feature .nx-product:hover .nx-product__visual img:last-child { transform: translateY(-56px); }

/* ==========================================================================
   MİKRO ERP ENTEGRASYONU (koyu bant)
   ========================================================================== */

.nx-band { overflow: hidden; background: linear-gradient(180deg, #071427, #0a1d3a); }
.nx-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 60% at 85% 20%, rgba(26, 95, 208, 0.4), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px;
    pointer-events: none;
}
.nx-band > .nx-wrap { position: relative; }
.nx-integ { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.nx-integ__lead { margin-top: 20px; }
.nx-integ__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0 36px; padding: 0; list-style: none; }
.nx-integ__facts li {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    font-size: 14px;
    line-height: 1.45;
    color: var(--nx-on-dark-2);
}
.nx-integ__facts :is(b, .nx-b) { display: block; margin-bottom: 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: #5fb6ff; }
.nx-flow {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(26, 95, 208, 0.5);
}
.nx-flow::after {
    /* satırlar üzerinde akan veri taraması */
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 0;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(25, 195, 255, 0.12), transparent);
    animation: nx-scan 4.5s linear infinite;
    pointer-events: none;
}
@keyframes nx-scan { from { transform: translateY(40px); } to { transform: translateY(620px); } }
.nx-flow__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.nx-flow__erp { display: flex; align-items: center; gap: 14px; }
.nx-flow__erp img { height: 32px; width: auto; padding: 6px 10px; background: #fff; border-radius: 8px; }
.nx-flow__erp span { font-size: 13.5px; font-weight: 600; color: var(--nx-on-dark); }
.nx-flow__live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(34, 197, 94, 0.12); font-size: 12px; font-weight: 700; color: #7eeaa9; }
.nx-flow__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.nx-flow table { width: 100%; border-collapse: collapse; }
.nx-flow th { padding: 12px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-on-dark-2); text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.nx-flow th:last-child, .nx-flow td:last-child { text-align: right; }
.nx-flow td { padding: 14px 22px; font-size: 15px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nx-flow tr:last-child td { border-bottom: 0; }
.nx-flow tbody tr { transition: background-color 0.2s; }
.nx-flow tbody tr:hover { background: rgba(26, 95, 208, 0.14); }
.nx-flow td:first-child { color: var(--nx-on-dark-2); width: 56px; font-variant-numeric: tabular-nums; }
.nx-flow.nx-reveal tbody tr { opacity: 0; transform: translateX(-12px); transition: opacity 0.5s var(--nx-ease), transform 0.5s var(--nx-ease), background-color 0.2s; }
.nx-flow.is-in tbody tr { opacity: 1; transform: none; transition-delay: calc(var(--i) * 80ms + 250ms), calc(var(--i) * 80ms + 250ms), 0s; }
.nx-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(26, 95, 208, 0.25);
    box-shadow: inset 0 0 0 1px rgba(95, 182, 255, 0.35);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #cfe4ff;
}

/* ==========================================================================
   HİZMETLER
   ========================================================================== */

.nx-services { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.nx-services__intro { position: sticky; top: calc(var(--nx-header-h) + 40px); }
.nx-services__intro .nx-lead { margin: 20px 0 28px; }
.nx-services__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: svc; }
.nx-services__list li { counter-increment: svc; }
.nx-service {
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    gap: 8px 20px;
    align-items: center;
    padding: 24px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--nx-line);
    color: var(--nx-text);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--nx-ease);
}
.nx-service::before {
    content: counter(svc, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e8f0fc;
    font-size: 15px;
    font-weight: 800;
    color: var(--nx-brand);
    font-variant-numeric: tabular-nums;
    transition: background-color 0.2s, color 0.2s;
}
.nx-service h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--nx-ink); }
.nx-service p { margin: 0; font-size: 14.5px; color: var(--nx-muted); }
.nx-service svg { width: 18px; height: 18px; color: var(--nx-faint); transition: transform 0.2s var(--nx-ease), color 0.2s; }
.nx-service:hover { color: var(--nx-text); border-color: #c7d8f2; box-shadow: 0 20px 40px -26px rgba(26, 95, 208, 0.45); transform: translateX(4px); }
.nx-service:hover::before { background: var(--nx-brand); color: #fff; }
.nx-service:hover svg { color: var(--nx-brand); transform: translateX(3px); }

/* ==========================================================================
   BAŞARI HİKAYELERİ
   ========================================================================== */

.nx-cases { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.nx-cases__tabs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nx-cases__tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--nx-line);
    border-radius: 12px;
    background: #fff;
    font-family: var(--nx-font);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.nx-cases__tab :is(b, .nx-b) { font-size: 15px; font-weight: 700; color: var(--nx-ink); }
.nx-cases__tab span { font-size: 12.5px; font-weight: 500; color: var(--nx-muted); }
.nx-cases__tab:hover { border-color: #c7d8f2; }
.nx-cases__tab[aria-selected="true"] { background: var(--nx-brand); border-color: var(--nx-brand); box-shadow: 0 14px 30px -16px rgba(26, 95, 208, 0.8); }
.nx-cases__tab[aria-selected="true"] :is(b, .nx-b) { color: #fff; }
.nx-cases__tab[aria-selected="true"] span { color: rgba(255, 255, 255, 0.8); }
.nx-case {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px 40px;
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--nx-line);
    box-shadow: 0 30px 60px -40px rgba(15, 35, 70, 0.45);
    animation: nx-fade-in 0.5s var(--nx-ease);
}
.nx-case[hidden] { display: none; }
@keyframes nx-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nx-case__logo { grid-row: span 2; width: 100%; height: 130px; padding: 24px; object-fit: contain; border-radius: 12px; background: var(--nx-mist); }
.nx-case__text { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.6; font-weight: 600; letter-spacing: -0.012em; color: var(--nx-ink); }
.nx-case__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 22px; border-top: 1px solid var(--nx-line); }
.nx-case__person :is(b, .nx-b) { display: block; font-size: 15px; color: var(--nx-ink); }
.nx-case__person span { font-size: 13.5px; color: var(--nx-muted); }
.nx-case__stack { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nx-case__stack li { padding: 5px 10px; border-radius: 6px; background: #e8f0fc; font-size: 12px; font-weight: 700; color: var(--nx-brand); }
.nx-cases__more { margin-top: 28px; }

/* ==========================================================================
   KAPANIŞ
   ========================================================================== */

.nx-close { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 20px; }
.nx-close__cta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 60px);
    border-radius: 18px;
    background:
        radial-gradient(55% 90% at 100% 0%, rgba(25, 195, 255, 0.28), transparent 60%),
        linear-gradient(135deg, #1a5fd0, #0b2a66);
    box-shadow: 0 40px 80px -36px rgba(26, 95, 208, 0.7);
    color: #dbe7ff;
}
.nx-close__cta::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.nx-close__cta > * { position: relative; }
.nx-close__cta h2 { margin: 0 0 14px; max-width: 16ch; }
.nx-close__cta p { margin: 0; max-width: 46ch; font-size: 17px; color: #dbe7ff; }
.nx-close__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nx-close__phone { margin-left: 8px; font-size: 14px; font-weight: 600; color: #dbe7ff; text-decoration: none; }
.nx-close__phone:hover { color: #fff; }
.nx-close__apps { padding: clamp(28px, 4vw, 36px); border-radius: 18px; background: var(--nx-mist); border: 1px solid var(--nx-line); }
.nx-close__apps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--nx-ink); }
.nx-close__apps p { margin: 0 0 22px; font-size: 14.5px; color: var(--nx-muted); }
.nx-stores { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nx-store {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--nx-line);
    color: var(--nx-ink);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nx-store:hover { color: var(--nx-ink); border-color: var(--nx-brand); box-shadow: 0 10px 24px -16px rgba(26, 95, 208, 0.6); }
.nx-store img { width: 20px; height: 20px; }
.nx-store small { display: block; font-size: 12px; font-weight: 500; color: var(--nx-muted); }
.nx-store svg { width: 16px; height: 16px; margin-left: auto; color: var(--nx-faint); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199.98px) {
    .nx-device__badge { left: 0; }
    .nx-device__card { left: -3%; }
    .nx-stats__card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nx-stats__card li:nth-child(4) { border-left: 0; }
    .nx-stats__card li:nth-child(n + 4) { border-top: 1px solid var(--nx-line); }
}

@media (max-width: 991.98px) {
    .nx-slider { min-height: 0; }
    .nx-slide { padding: 48px 0 170px; }
    .nx-slide__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .nx-slide__visual { max-width: 640px; width: 100%; margin: 0 auto; padding: 0 5% 8%; }
    .nx-slider__tabs { display: flex; overflow-x: auto; gap: 20px; scrollbar-width: none; }
    .nx-slider__tabs::-webkit-scrollbar { display: none; }
    .nx-slider__tab { flex: none; min-width: 120px; }
    .nx-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-catalog__feature { grid-column: 1 / -1; grid-row: auto; }
    .nx-catalog__feature .nx-product { min-height: 420px; }
    .nx-integ, .nx-services, .nx-close { grid-template-columns: minmax(0, 1fr); }
    .nx-services__intro { position: static; }
    .nx-cases { grid-template-columns: minmax(0, 1fr); }
    .nx-cases__tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
    .nx-cases__tabs::-webkit-scrollbar { display: none; }
    .nx-cases__tab { flex: none; width: auto; }
    .nx-case { grid-template-columns: minmax(0, 1fr); }
    .nx-case__logo { grid-row: auto; width: 200px; height: 100px; padding: 18px; }
}

@media (max-width: 767.98px) {
    .nx-slide { padding: 36px 0 150px; }
    .nx-slide__title { font-size: clamp(2rem, 8.4vw, 2.6rem); }
    .nx-slide__chips { margin-bottom: 26px; }
    .nx-slider__bar { padding-bottom: 60px; }
    .nx-slider__nav { display: none; }
    .nx-slider__tab { font-size: 13px; min-width: 104px; }
    .nx-device__badge { top: auto; bottom: -6%; left: 4%; font-size: 12px; padding: 8px 12px; }
    .nx-device__card { width: 48%; bottom: -14%; }
    .nx-stats { margin-top: -48px; }
    .nx-stats__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-stats__card li { padding: 22px 18px; }
    .nx-stats__card li:nth-child(n) { border-left: 0; border-top: 1px solid var(--nx-line); }
    .nx-stats__card li:nth-child(-n + 2) { border-top: 0; }
    .nx-stats__card li:nth-child(even) { border-left: 1px solid var(--nx-line); }
    .nx-stats__card li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .nx-marquee__track li { margin-right: 44px; }
    .nx-marquee__track img { height: 37px; }
    .nx-catalog { grid-template-columns: minmax(0, 1fr); }
    .nx-product { min-height: 0; padding: 24px; }
    .nx-catalog__feature .nx-product { padding: 28px 28px 0; min-height: 0; }
    .nx-catalog__feature .nx-product > span:not(.nx-product__visual),
    .nx-catalog__feature .nx-product > h3,
    .nx-catalog__feature .nx-product > p { max-width: none; }
    .nx-product__visual { position: relative; right: auto; bottom: auto; width: 78%; margin: 28px auto -40px; order: 10; }
    .nx-integ__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .nx-flow td, .nx-flow th { padding-inline: 14px; }
    .nx-flow td:first-child { width: 36px; }
    .nx-service { grid-template-columns: 44px 1fr 18px; padding: 18px; gap: 8px 14px; }
    .nx-service::before { width: 44px; height: 44px; font-size: 13.5px; }
    .nx-cases__tab span { display: none; }
    .nx-close__actions .nx-btn { flex: 1 1 100%; }
    .nx-close__phone { margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .nx-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .nx-marquee__track li[aria-hidden="true"] { display: none; }
    .nx-orbit__ring, .nx-orbit__node :is(b, .nx-b), .nx-orbit__pulse, .nx-flow::after { animation: none !important; }
}

/* Doğrudan sahne bağlantısında geçişsiz açılış */
.nx-slider.is-instant *, .nx-slider.is-instant *::before, .nx-slider.is-instant *::after { transition: none !important; }

/* Geçiş koreografisi: çıkan sahne hızlı söner, gelen sahne ardından açılır (metinler üst üste binmez) */
.nx-slide:not(.is-active) .nx-line > span,
.nx-slide:not(.is-active) .nx-slide__tag,
.nx-slide:not(.is-active) .nx-slide__text,
.nx-slide:not(.is-active) .nx-slide__chips,
.nx-slide:not(.is-active) .nx-slide__actions { transition-duration: 0.3s; transition-delay: 0s; }
.nx-slide:not(.is-active) .nx-device,
.nx-slide:not(.is-active) .nx-orbit { transition-duration: 0.5s, 0.4s, 0.4s, 0.4s; transition-delay: 0s; }
.nx-slide:not(.is-active) .nx-device__phone,
.nx-slide:not(.is-active) .nx-device__card,
.nx-slide:not(.is-active) .nx-device__badge { transition-duration: 0.3s; transition-delay: 0s; }
.nx-slide.is-active .nx-slide__tag { transition-delay: 0.25s; }
.nx-slide.is-active .nx-line:nth-child(1) > span { transition-delay: 0.3s; }
.nx-slide.is-active .nx-line:nth-child(2) > span { transition-delay: 0.4s; }
.nx-slide.is-active .nx-slide__text { transition-delay: 0.55s; }
.nx-slide.is-active .nx-slide__chips { transition-delay: 0.65s; }
.nx-slide.is-active .nx-slide__actions { transition-delay: 0.75s; }
.nx-slide.is-active .nx-device { transition-delay: 0s, 0.3s, 0.3s, 0.3s; }
.nx-slide.is-active .nx-orbit { transition-delay: 0.3s; }
.nx-slide.is-active .nx-device__phone { transition-delay: 0.65s; }
.nx-slide.is-active .nx-device__card { transition-delay: 0.75s; }
.nx-slide.is-active .nx-device__badge { transition-delay: 0.95s; }
.nx-slide { transition: visibility 0s 0.5s; }
@media (max-width: 767.98px) { .nx-slider__bar { padding-bottom: 68px; } }

/* ==========================================================================
   SLIDER — sahne rengi, ışık, canlı olay akışı, çözüm yelpazesi
   ========================================================================== */

/* Sahneye göre renk katmanları (yumuşak geçiş) */
.nx-slider__glow { opacity: 0.35; }
.nx-slider__tone {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.4s var(--nx-ease);
    background:
        radial-gradient(40% 58% at 76% 44%, color-mix(in srgb, var(--tone) 48%, transparent), transparent 70%),
        radial-gradient(28% 38% at 10% 100%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%);
}
.nx-slider__tone.is-on { opacity: 1; }

/* Fareyi izleyen yumuşak ışık */
.nx-slider__spot {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(520px circle at calc(50% + var(--mx, 0) * 100%) calc(50% + var(--my, 0) * 100%), rgba(255, 255, 255, 0.055), transparent 70%);
}

/* Sahne vurgu rengi */
.nx-slide .nx-accent {
    background: linear-gradient(95deg, var(--tone-2, #5fb6ff) 0%, #ffffff 160%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nx-slide .nx-slide__tag { color: var(--tone-2, #8fc2ff); }
.nx-slide .nx-slide__chips li::before { background-color: var(--tone-2, var(--nx-cyan)); }
.nx-slide .nx-device__screen {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 50px 100px -30px rgba(0, 0, 0, 0.75),
        0 0 110px -20px color-mix(in srgb, var(--tone, #1a5fd0) 70%, transparent);
}

/* Sekmeler: sahne sayısı kadar sütun, sahne renginde ilerleme */
.nx-slider__tabs { grid-template-columns: repeat(var(--nx-tabs, 5), minmax(0, 1fr)); }
.nx-slider__tab .nx-slider__progress i { background: var(--tone, var(--nx-cyan)); }
.nx-slider__tab.is-done .nx-slider__progress i { background: color-mix(in srgb, var(--tone, #5fb6ff) 45%, transparent); }
.nx-slider__tab-label { display: inline-flex; align-items: center; gap: 8px; }
.nx-slider__tab-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone, #5fb6ff); opacity: 0.45; transition: opacity 0.3s, box-shadow 0.3s; }
.nx-slider__tab.is-active .nx-slider__tab-label::before { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone, #5fb6ff) 25%, transparent); }

/* Canlı olay akışı */
.nx-feed {
    position: absolute;
    top: -34px;
    left: -5%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: min(340px, 66%);
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}
.nx-feed__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    max-height: 0;
    margin: 0;
    padding: 0 16px 0 12px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(15, 35, 70, 0.06);
    color: var(--nx-ink);
    opacity: 0;
    translate: 0 -10px;
    scale: 0.96;
    transition: max-height 0.55s var(--nx-ease), padding 0.55s var(--nx-ease), margin 0.55s var(--nx-ease), opacity 0.45s, translate 0.55s var(--nx-ease), scale 0.55s var(--nx-ease);
}
.nx-feed__item.is-in { max-height: 90px; margin-bottom: 10px; padding-block: 12px; opacity: 1; translate: 0 0; scale: 1; }
.nx-feed__item.is-out { max-height: 0; margin-bottom: 0; padding-block: 0; opacity: 0; translate: 0 -8px; scale: 0.96; }
.nx-feed__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 15px;
    background: #e6f0fe;
    color: var(--nx-brand);
}
.nx-feed__item--ok i { background: #e3f6ea; color: #177a3c; }
.nx-feed__item--warn i { background: #fff3dc; color: #9a5b00; }
.nx-feed__item span:not(.nx-b) { min-width: 0; }
.nx-feed__item :is(b, .nx-b) { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; }
.nx-feed__item small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 2px; font-size: 12.8px; font-weight: 500; color: var(--nx-muted); }
.nx-feed__item em { align-self: start; padding-top: 2px; font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--nx-faint); }
.nx-slide:not(.is-active) .nx-feed { opacity: 0; transition: opacity 0.3s; }

/* Çözümler sahnesi: ekran yelpazesi */
.nx-fan {
    position: relative;
    aspect-ratio: 16 / 11;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 5deg));
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nx-fan__card {
    position: absolute;
    width: 62%;
    opacity: 0;
    transition: opacity 0.8s var(--nx-ease), translate 1s var(--nx-ease), rotate 1s var(--nx-ease);
}
.nx-fan__card .nx-mock { font-size: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.nx-fan__card--1 { top: 0; left: 0; z-index: 1; translate: -40px 30px; rotate: -8deg; }
.nx-fan__card--2 { top: 8%; right: 0; z-index: 2; translate: 40px 30px; rotate: 8deg; }
.nx-fan__card--3 { top: 33%; left: 19%; z-index: 3; translate: 0 60px; rotate: 0deg; }
.nx-slide.is-active .nx-fan__card { opacity: 1; translate: 0 0; }
.nx-slide.is-active .nx-fan__card--1 { rotate: -3deg; transition-delay: 0.3s; }
.nx-slide.is-active .nx-fan__card--2 { rotate: 3deg; transition-delay: 0.42s; }
.nx-slide.is-active .nx-fan__card--3 { rotate: 0deg; transition-delay: 0.54s; }
.nx-slide:not(.is-active) .nx-fan__card { transition-duration: 0.3s; transition-delay: 0s; }
.nx-fan .nx-feed { top: auto; bottom: 4%; left: -4%; z-index: 5; }
.nx-fan .nx-mock__bar { height: 32px; }
.nx-fan .nx-mock__main { padding: 12px; }
.nx-fan .nx-mock__kpis { gap: 8px; margin-bottom: 10px; }
.nx-fan .nx-mock__kpis div { padding: 9px 11px; }
.nx-fan .nx-mock__kpis :is(b, .nx-b) { font-size: 15px; }
.nx-fan .nx-mock__table th { padding: 8px 10px; }
.nx-fan .nx-mock__table td { padding: 8px 10px; font-size: 12px; }
.nx-fan .nx-mock--compact .nx-mock__body { grid-template-columns: 112px minmax(0, 1fr); }
/* Mobilde menü sütunu gizli; ızgara tek sütuna inmezse içerik 112px'lik boş sütuna sıkışıyordu */
@media (max-width: 767.98px) {
    .nx-fan .nx-mock--compact .nx-mock__body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 991.98px) {
    .nx-feed { left: 0; width: min(320px, 76%); }
    .nx-slider__tone {
        background:
            radial-gradient(80% 32% at 50% 80%, color-mix(in srgb, var(--tone) 34%, transparent), transparent 70%),
            radial-gradient(60% 24% at 0% 30%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 70%);
    }
    .nx-slider__spot { display: none; }
}
@media (max-width: 575.98px) {
    .nx-feed { top: -26px; width: 84%; }
    .nx-feed__item { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
    .nx-feed__item i { width: 30px; height: 30px; font-size: 12px; }
    .nx-feed__item em { display: none; }
    .nx-feed__item :is(b, .nx-b) { font-size: 12.5px; }
    .nx-fan { aspect-ratio: 16 / 15; }
    .nx-fan__card { width: 88%; }
    .nx-fan__card--2 { display: none; }
    .nx-fan__card--3 { left: 8%; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-feed__item, .nx-fan__card, .nx-slider__tone { transition: none; }
}

/* ---------- Mobil giriş slider'ı: sıkışıklığı gider ----------
   Sahneler üst üste durduğu için en uzun sahne yüksekliği belirler; dikey ortalama kısa sahnelerde üstte
   büyük boşluk bırakıyordu. Mobilde içerik üstten başlar, olay bildirimleri cihazın üstüne binmez. */
@media (max-width: 767.98px) {
    .nx-slide { align-items: flex-start; padding: 28px 0 118px; }
    .nx-slide__grid { gap: 36px; }
    .nx-slide__tag { margin-bottom: 14px; font-size: 11.5px; letter-spacing: 0.12em; }
    .nx-slide__title { margin-bottom: 16px; font-size: clamp(1.85rem, 7.6vw, 2.4rem); }
    .nx-slide__text { margin-bottom: 18px; font-size: 1rem; line-height: 1.6; }
    .nx-slide__chips { gap: 6px; margin-bottom: 22px; }
    .nx-slide__chips li { padding: 5px 10px; font-size: 12px; }
    .nx-slide__chips li::before { width: 12px; height: 12px; background-size: 8px; }
    .nx-slide__actions { gap: 10px; }
    .nx-slide__actions .nx-btn { flex: 1 1 0; justify-content: center; min-width: 0; padding-inline: 14px; }
    .nx-slide__visual { padding: 0 6% 10%; }
}
@media (max-width: 575.98px) {
    .nx-feed { display: none; }
    .nx-slide__visual { padding: 0 4% 12% 7%; }
}

/* ---------- Hizmetler: 3 sütunlu kart ızgarası ---------- */
.nx-svcgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: svc; }
.nx-svcgrid > li { counter-increment: svc; display: flex; }
.nx-svccard { position: relative; display: flex; flex-direction: column; width: 100%; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--nx-line); color: var(--nx-text); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--nx-ease); }
.nx-svccard::before { content: counter(svc, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 12px; background: #e8f0fc; color: var(--nx-brand); font-size: 15px; font-weight: 800; transition: background 0.2s, color 0.2s; }
.nx-svccard h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--nx-ink); }
.nx-svccard p { flex: 1; margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--nx-muted); }
.nx-svccard__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--nx-brand); }
.nx-svccard__go svg { width: 16px; height: 16px; transition: transform 0.2s var(--nx-ease); }
.nx-svccard:hover { color: var(--nx-text); border-color: #c7d8f2; box-shadow: 0 22px 44px -28px rgba(26, 95, 208, 0.5); transform: translateY(-3px); }
.nx-svccard:hover::before { background: var(--nx-brand); color: #fff; }
.nx-svccard:hover .nx-svccard__go svg { transform: translateX(3px); }
.nx-svccard--cta { border: 0; background: linear-gradient(140deg, #0b1c36, #12305c 65%, #1a5fd0 140%); }
.nx-svccard--cta::before { content: "\2192"; background: rgba(255, 255, 255, 0.12); color: #fff; }
.nx-svccard--cta h3 { color: #fff; }
.nx-svccard--cta p { color: #c9d6e8; }
.nx-svccard--cta .nx-svccard__go { color: #8fc1ff; }
.nx-svccard--cta:hover::before { background: #fff; color: var(--nx-brand); }

/* ---------- Başarı hikayeleri: öne çıkan görüş + 4 hikaye kartı ---------- */
.nx-storywall { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.nx-storywall__quote { grid-row: span 2; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 40px); border-radius: 20px; background: linear-gradient(150deg, #0b1c36, #12305c 70%, #1a5fd0 150%); color: #fff; }
.nx-storywall__logo { width: 140px; height: 64px; padding: 10px 14px; border-radius: 12px; background: #fff; object-fit: contain; }
.nx-storywall__quote blockquote { flex: 1; margin: 0; }
.nx-storywall__quote blockquote p { position: relative; margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.nx-storywall__quote blockquote p::before { content: "\201C"; display: block; height: 34px; font-size: 64px; line-height: 1; color: #5fb6ff; }
.nx-storywall__who :is(b, .nx-b) { display: block; font-size: 16px; color: #fff; }
.nx-storywall__who span { font-size: 13.5px; color: #a9bcd6; }
.nx-storywall__quote .nx-case__stack li { background: rgba(255, 255, 255, 0.1); color: #d6e4f8; }
.nx-link--light { color: #8fc1ff; }
.nx-link--light:hover { color: #fff; }
.nx-storycard { display: flex; flex-direction: column; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--nx-line); color: var(--nx-text); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--nx-ease); }
.nx-storycard:hover { color: var(--nx-text); border-color: #c7d8f2; box-shadow: 0 22px 44px -28px rgba(26, 95, 208, 0.5); transform: translateY(-3px); }
.nx-storycard__logo { display: flex; align-items: center; height: 48px; margin-bottom: 16px; }
.nx-storycard__logo img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
.nx-storycard h3 { margin: 4px 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--nx-ink); }
.nx-storycard p { flex: 1; margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--nx-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nx-storycard .nx-casecard__codes { margin: 0; }

@media (max-width: 1100px) {
    .nx-storywall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-storywall__quote { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 1199.98px) {
    .nx-svcgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .nx-svcgrid, .nx-storywall { grid-template-columns: minmax(0, 1fr); }
    .nx-svcgrid { gap: 10px; }
    .nx-svccard { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
    .nx-svccard::before { grid-row: span 3; width: 40px; height: 40px; margin: 0; font-size: 13px; }
    .nx-svccard h3 { font-size: 17px; margin-bottom: 4px; }
    .nx-svccard p { margin-bottom: 10px; font-size: 14px; }
}

/* ==========================================================================
   SLIDER — açık (beyaz) tema denemesi: .nx-slider--light (?slider=light)
   ========================================================================== */
.nx-slider--light { background: linear-gradient(180deg, #f7faff 0%, #eaf1fb 100%); color: var(--nx-ink); border-top: 1px solid var(--nx-line); }
.nx-slider--light::after { background: linear-gradient(180deg, transparent, rgba(214, 226, 243, 0.55)); }
.nx-slider--light .nx-slider__glow { opacity: 0.18; }
.nx-slider--light .nx-slider__tone { opacity: 0; }
.nx-slider--light .nx-slider__tone.is-on { opacity: 0.32; }
.nx-slider--light .nx-slider__spot { background: radial-gradient(520px circle at calc(50% + var(--mx, 0) * 100%) calc(50% + var(--my, 0) * 100%), rgba(26, 95, 208, 0.05), transparent 70%); }
.nx-slider--light .nx-slide .nx-slide__tag { color: color-mix(in srgb, var(--tone, #1a5fd0) 75%, #0b1f44); }
.nx-slider--light .nx-slide__tag span { color: var(--nx-ink); border-right-color: rgba(15, 35, 70, 0.2); }
.nx-slider--light .nx-slide__title { color: var(--nx-ink); }
.nx-slider--light .nx-slide .nx-accent { background: linear-gradient(95deg, color-mix(in srgb, var(--tone, #1a5fd0) 78%, #0b1f44) 0%, var(--tone, #1a5fd0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-slider--light .nx-slide__text { color: var(--nx-muted); }
.nx-slider--light .nx-slide__chips li { background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 35, 70, 0.12), 0 6px 14px -12px rgba(15, 35, 70, 0.4); color: var(--nx-ink); }
.nx-slider--light .nx-slide .nx-slide__chips li::before { background-color: var(--tone, var(--nx-brand)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E"); }
.nx-slider--light .nx-btn--glass { background: #fff; color: var(--nx-ink); box-shadow: inset 0 0 0 1px rgba(15, 35, 70, 0.16); }
.nx-slider--light .nx-btn--glass:hover { background: #fff; color: var(--nx-brand); box-shadow: inset 0 0 0 1px var(--nx-brand); }
.nx-slider--light .nx-slide .nx-device__screen { box-shadow: 0 0 0 1px rgba(15, 35, 70, 0.08), 0 40px 80px -36px rgba(15, 35, 70, 0.45), 0 0 90px -30px color-mix(in srgb, var(--tone, #1a5fd0) 55%, transparent); }
.nx-slider--light .nx-fan__card .nx-mock { box-shadow: 0 0 0 1px rgba(15, 35, 70, 0.08), 0 36px 70px -34px rgba(15, 35, 70, 0.45); }
.nx-slider--light .nx-feed__item { box-shadow: 0 0 0 1px rgba(15, 35, 70, 0.08), 0 18px 36px -22px rgba(15, 35, 70, 0.4); }
.nx-slider--light .nx-slider__controls { border-top-color: rgba(15, 35, 70, 0.1); background: rgba(255, 255, 255, 0.72); }
.nx-slider--light .nx-slider__tab { color: rgba(11, 31, 68, 0.5); }
.nx-slider--light .nx-slider__tab:hover, .nx-slider--light .nx-slider__tab.is-active { color: var(--nx-ink); }
.nx-slider--light .nx-slider__progress { background: rgba(15, 35, 70, 0.12); }
.nx-slider--light .nx-slider__arrow { background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 35, 70, 0.16); color: var(--nx-ink); }
.nx-slider--light .nx-slider__arrow:hover { background: var(--nx-brand); color: #fff; box-shadow: none; }

/* Slider: geniş ekranda biraz daha büyük yazı ve görsel payı */
@media (min-width: 1200px) {
    /* Sahne alttaki rakam kartıyla aynı genişlikte; telefon ve kartlar sağ kenarı aşmasın */
    .nx-slide__visual { padding-right: 7%; }
    .nx-slide__grid { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
    .nx-slide__title { font-size: clamp(2.1rem, 4.2vw, 3.85rem); }
    .nx-slide__text { font-size: 1.2rem; }
}

/* İlk ekranda referans logoları da görünsün (ör. Full HD tarayıcı penceresi ~950px yükseklik):
   slider yüksekliği ve üst boşluk ekran yüksekliğine göre ayarlanır */
@media (min-width: 992px) {
    .nx-slider { min-height: clamp(600px, calc(100svh - var(--nx-header-full, var(--nx-header-h)) - var(--nx-topbar-h, 0px) - 230px), 880px); }
    .nx-slide { padding-top: clamp(40px, 6vh, 88px); }
    :root { --nx-mq-gap: clamp(36px, 5vh, 56px); }
    .nx-marquee__head { margin-bottom: 24px; }
}


/* Mikro dikey çözüm ortaklığı: rozet beyaz panelde (Mikro: açık zemin, oran korunur) */
.nx-mpartner .nx-product__code i { font-size: 20px; }
.nx-mpartner .nx-catalog__feature .nx-product { min-height: 440px; }
.nx-mpartner .nx-catalog__feature .nx-product > .nx-mpartner__badge { position: absolute; right: clamp(24px, 4vw, 48px); top: 50%; z-index: 1; display: block; width: min(38%, 300px); aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 28px; background: #fff; transform: translateY(-50%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--nx-ease); }
.nx-mpartner__badge img { display: block; width: 100%; height: 100%; }
.nx-mpartner .nx-catalog__feature .nx-product:hover .nx-mpartner__badge { transform: translateY(calc(-50% - 6px)); }
@media (max-width: 575.98px) {
    .nx-mpartner .nx-catalog__feature .nx-product > .nx-mpartner__badge { position: relative; right: auto; top: auto; width: 62%; margin: 0 auto 24px; order: -1; transform: none; }
    .nx-mpartner .nx-catalog__feature .nx-product { padding-bottom: 28px; }
    .nx-mpartner .nx-catalog__feature .nx-product:hover .nx-mpartner__badge { transform: translateY(-6px); }
}
