/* =========================================================
   SKY-SOFT – PRODUSE
========================================================= */

.products-section {
    --products-white: #f4fbfd;
    --products-muted: rgba(224, 241, 246, 0.7);
    --products-line: rgba(207, 240, 248, 0.18);
    --products-accent: #86d7e9;
    --products-accent-soft: rgba(134, 215, 233, 0.2);
    --products-dark: #061015;
    --products-panel: rgba(7, 20, 26, 0.72);

    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding:
        clamp(90px, 9vw, 145px)
        clamp(24px, 6vw, 100px);

    color: var(--products-white);

    background:
        radial-gradient(
            circle at 76% 42%,
            rgba(31, 139, 171, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 25%,
            rgba(121, 210, 233, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071419 0%,
            #061116 48%,
            #030a0e 100%
        );
}

.products-section *,
.products-section *::before,
.products-section *::after {
    box-sizing: border-box;
}

/* =========================================================
   HÁTTÉR
========================================================= */

.products-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    overflow: hidden;
    pointer-events: none;
}

.products-light {
    position: absolute;

    display: block;

    border-radius: 50%;

    filter: blur(100px);
    opacity: 0.34;
}

.products-light-one {
    width: 460px;
    height: 460px;

    top: -210px;
    right: 5%;

    background: rgba(91, 205, 233, 0.17);
}

.products-light-two {
    width: 360px;
    height: 360px;

    left: -190px;
    bottom: -180px;

    background: rgba(48, 152, 181, 0.12);
}

.products-grid {
    position: absolute;
    inset: 0;

    opacity: 0.045;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.28) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.28) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 50%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 50%,
            transparent
        );
}

/* =========================================================
   FŐ ELRENDEZÉS
========================================================= */

.products-layout {
    width: min(1480px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(360px, 0.82fr)
        minmax(560px, 1.18fr);

    align-items: center;

    gap: clamp(55px, 7vw, 120px);
}

/* =========================================================
   BAL OLDALI SZÖVEG
========================================================= */

.products-content {
    position: relative;
    z-index: 5;

    max-width: 660px;
}

.products-eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 24px;

    color: rgba(221, 245, 250, 0.7);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.products-eyebrow-line {
    display: block;

    width: 42px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(134, 215, 233, 0.95),
            rgba(134, 215, 233, 0.12)
        );
}

.products-title {
    max-width: 690px;

    margin: 0 0 35px;

    color: #f7fdff;

    font-size: clamp(43px, 5.3vw, 84px);
    font-weight: 570;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.products-title span {
    display: block;

    margin-top: 7px;

    color: rgba(221, 239, 243, 0.42);

    font-size: 0.55em;
    font-weight: 430;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.products-text {
    position: relative;

    max-width: 620px;

    padding-left: 26px;

    border-left: 1px solid var(--products-line);
}

.products-text p {
    margin: 0;

    color: var(--products-muted);

    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.85;
}

.products-text p + p {
    margin-top: 18px;
}

.products-offer {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 32px;

    color: rgba(243, 252, 254, 0.94);

    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0.015em;
}

.products-offer-dot {
    position: relative;

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: var(--products-accent);

    box-shadow:
        0 0 20px rgba(134, 215, 233, 0.7);
}

.products-offer-dot::after {
    content: "";

    position: absolute;
    inset: -6px;

    border:
        1px solid rgba(134, 215, 233, 0.22);

    border-radius: inherit;
}

/* =========================================================
   ESZKÖZKOMPOZÍCIÓ
========================================================= */

.products-devices {
    position: relative;

    width: 100%;
    min-height: 650px;

    perspective: 1500px;
    transform-style: preserve-3d;
}

.device-glow {
    position: absolute;
    z-index: -2;

    width: 72%;
    height: 62%;

    top: 14%;
    left: 14%;

    border-radius: 50%;

    background: rgba(75, 187, 217, 0.12);

    filter: blur(100px);
}

.device-screen img,
.laptop-screen img,
.tablet-screen img,
.phone-screen img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

/* =========================================================
   NAGY MONITOR
========================================================= */

.device-monitor {
    position: absolute;
    z-index: 2;

    width: min(610px, 72%);

    top: 15px;
    left: 50%;

    transform:
        translateX(-50%)
        rotateX(1deg)
        rotateY(-3deg);

    transform-style: preserve-3d;

    filter:
        drop-shadow(
            0 42px 45px rgba(0, 0, 0, 0.42)
        );
}

.device-monitor-frame {
    position: relative;

    padding: 14px 14px 18px;

    border:
        1px solid rgba(224, 247, 251, 0.22);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(235, 249, 252, 0.92),
            rgba(148, 177, 184, 0.78)
        );

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(4, 12, 15, 0.3),
        0 28px 80px rgba(0, 0, 0, 0.36);
}

.device-camera {
    position: absolute;
    z-index: 4;

    width: 5px;
    height: 5px;

    top: 6px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(6, 16, 20, 0.72);

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.08);
}

.device-screen {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    border: 5px solid #071116;
    border-radius: 12px;

    background: #eaf4f6;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.11),
        inset 0 0 38px rgba(1, 12, 17, 0.14);
}

.device-monitor-neck {
    width: 78px;
    height: 68px;

    margin: -2px auto 0;

    background:
        linear-gradient(
            90deg,
            #87969b,
            #e3eaec 48%,
            #7d8b90
        );

    clip-path:
        polygon(
            24% 0,
            76% 0,
            91% 100%,
            9% 100%
        );
}

.device-monitor-base {
    position: relative;

    width: 210px;
    height: 20px;

    margin: -2px auto 0;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #e5ecee,
            #7d8b90
        );

    box-shadow:
        0 12px 20px rgba(0, 0, 0, 0.32),
        inset 0 2px 2px rgba(255, 255, 255, 0.65);
}

/* =========================================================
   LAPTOP
========================================================= */

.device-laptop {
    position: absolute;
    z-index: 5;

    width: min(390px, 47%);

    left: 0;
    bottom: 25px;

    transform:
        rotateX(2deg)
        rotateY(7deg)
        rotateZ(-1deg);

    transform-style: preserve-3d;

    filter:
        drop-shadow(
            0 32px 32px rgba(0, 0, 0, 0.48)
        );
}

.laptop-display {
    position: relative;

    padding: 10px 10px 14px;

    border:
        1px solid rgba(233, 248, 251, 0.24);

    border-radius: 18px 18px 10px 10px;

    background:
        linear-gradient(
            145deg,
            #cbd9dd,
            #7c8c92
        );
}

.laptop-screen {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    border: 4px solid #071116;
    border-radius: 8px;

    background: #eef7f8;
}

.laptop-keyboard {
    position: relative;

    width: 112%;
    height: 29px;

    left: -6%;

    margin-top: -1px;

    border-radius: 3px 3px 25px 25px;

    background:
        linear-gradient(
            180deg,
            #d8e1e3,
            #77878d
        );

    transform:
        perspective(200px)
        rotateX(53deg);

    transform-origin: top;

    box-shadow:
        0 14px 25px rgba(0, 0, 0, 0.36),
        inset 0 2px 2px rgba(255, 255, 255, 0.55);
}

.laptop-trackpad {
    position: absolute;

    width: 74px;
    height: 13px;

    top: 5px;
    left: 50%;

    transform: translateX(-50%);

    border:
        1px solid rgba(55, 70, 75, 0.38);

    border-radius: 4px;
}

/* =========================================================
   TABLET
========================================================= */

.device-tablet {
    position: absolute;
    z-index: 4;

    width: 155px;
    height: 250px;

    right: 0;
    top: 210px;

    padding: 10px;

    border:
        1px solid rgba(230, 247, 250, 0.27);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #d9e4e7,
            #72838a
        );

    transform:
        rotateY(-7deg)
        rotateZ(2deg);

    box-shadow:
        0 32px 55px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.tablet-screen {
    position: relative;

    overflow: hidden;

    width: 100%;
    height: 100%;

    border: 4px solid #071116;
    border-radius: 13px;

    background: #edf6f8;
}

/* =========================================================
   TELEFON
========================================================= */

.device-phone {
    position: absolute;
    z-index: 7;

    width: 94px;
    height: 190px;

    right: 23%;
    bottom: 5px;

    padding: 8px 6px;

    border:
        1px solid rgba(230, 247, 250, 0.25);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #dce6e8,
            #6f8086
        );

    transform:
        rotateY(-5deg)
        rotateZ(3deg);

    box-shadow:
        0 28px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.78);
}

.phone-speaker {
    position: absolute;
    z-index: 4;

    width: 28px;
    height: 4px;

    top: 5px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 99px;

    background: rgba(6, 16, 20, 0.7);
}

.phone-screen {
    position: relative;

    overflow: hidden;

    width: 100%;
    height: 100%;

    border: 3px solid #071116;
    border-radius: 17px;

    background: #edf6f8;
}

.phone-home-line {
    display: none;
}

/* =========================================================
   ALSÓ ÁRNYÉK
========================================================= */

.devices-shadow {
    display: none;
}

.device-tablet,
.device-phone {
    display: none;
}

/* =========================================================
   KIJELZŐ HELYŐRZŐK
========================================================= */

.screen-placeholder {
    width: 100%;
    height: 100%;

    color: #1a5664;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95),
            rgba(219, 236, 240, 0.92)
        );
}

.placeholder-toolbar {
    display: flex;
    align-items: center;

    gap: 4px;

    height: 12%;

    padding: 0 3%;

    border-bottom:
        1px solid rgba(26, 86, 100, 0.12);

    background: rgba(255, 255, 255, 0.7);
}

.placeholder-toolbar span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(25, 104, 122, 0.4);
}

.placeholder-toolbar i {
    width: 30%;
    height: 4px;

    margin-left: 4%;

    border-radius: 99px;

    background: rgba(25, 104, 122, 0.15);
}

.placeholder-layout {
    display: grid;
    grid-template-columns: 18% 1fr;

    height: 88%;
}

.placeholder-sidebar {
    display: flex;
    flex-direction: column;

    gap: 7%;

    padding: 15% 16%;

    background: rgba(25, 104, 122, 0.08);
}

.placeholder-sidebar span {
    width: 100%;
    height: 5px;

    border-radius: 99px;

    background: rgba(25, 104, 122, 0.22);
}

.placeholder-main {
    padding: 5%;
}

.placeholder-heading {
    width: 38%;
    height: 7px;

    margin-bottom: 5%;

    border-radius: 99px;

    background: rgba(14, 126, 151, 0.43);
}

.placeholder-table {
    display: flex;
    flex-direction: column;

    gap: 7%;
}

.placeholder-table span {
    display: block;

    width: 100%;
    height: 8px;

    border-radius: 3px;

    background:
        linear-gradient(
            90deg,
            rgba(26, 86, 100, 0.13) 0 17%,
            transparent 17% 19%,
            rgba(26, 86, 100, 0.09) 19% 48%,
            transparent 48% 50%,
            rgba(26, 86, 100, 0.13) 50% 100%
        );
}

.placeholder-table span:nth-child(3),
.placeholder-table span:nth-child(6) {
    background:
        linear-gradient(
            90deg,
            rgba(18, 132, 158, 0.56) 0 17%,
            transparent 17% 19%,
            rgba(18, 132, 158, 0.33) 19% 48%,
            transparent 48% 50%,
            rgba(18, 132, 158, 0.48) 50% 100%
        );
}

/* =========================================================
   MOBIL KIJELZŐ HELYŐRZŐK
========================================================= */

.mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 13%;

    padding: 0 9%;

    background: rgba(255, 255, 255, 0.68);

    border-bottom:
        1px solid rgba(26, 86, 100, 0.1);
}

.mobile-topbar span {
    width: 35%;
    height: 5px;

    border-radius: 99px;

    background: rgba(18, 132, 158, 0.48);
}

.mobile-topbar i {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: rgba(18, 132, 158, 0.3);
}

.mobile-stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 7px;

    padding: 10px;
}

.mobile-stat-row span {
    height: 45px;

    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 132, 158, 0.18),
            rgba(18, 132, 158, 0.07)
        );
}

.mobile-list {
    display: flex;
    flex-direction: column;

    gap: 7px;

    padding: 0 10px 10px;
}

.mobile-list i {
    height: 22px;

    border-radius: 5px;

    background: rgba(26, 86, 100, 0.1);
}

.phone-chart {
    display: flex;
    align-items: flex-end;

    gap: 5px;

    height: 70px;

    padding: 12px 10px 8px;
}

.phone-chart span {
    flex: 1;

    border-radius: 5px 5px 2px 2px;

    background: rgba(18, 132, 158, 0.4);
}

.phone-chart span:nth-child(1) {
    height: 38%;
}

.phone-chart span:nth-child(2) {
    height: 72%;
}

.phone-chart span:nth-child(3) {
    height: 52%;
}

.phone-chart span:nth-child(4) {
    height: 87%;
}

/* =========================================================
   HOVER MOZGÁS
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .device-monitor,
    .device-laptop,
    .device-tablet,
    .device-phone {
        transition:
            transform 650ms cubic-bezier(.2, .8, .2, 1),
            filter 650ms ease;
    }

    .products-devices:hover .device-monitor {
        transform:
            translateX(-50%)
            rotateX(0deg)
            rotateY(-1deg)
            translateY(-6px);
    }

    .products-devices:hover .device-laptop {
        transform:
            rotateX(2deg)
            rotateY(4deg)
            rotateZ(-0.5deg)
            translate(-6px, -8px);
    }

    .products-devices:hover .device-tablet {
        transform:
            rotateY(-3deg)
            rotateZ(1deg)
            translate(8px, -7px);
    }

    .products-devices:hover .device-phone {
        transform:
            rotateY(-2deg)
            rotateZ(1deg)
            translate(5px, -10px);
    }
}

/* =========================================================
   RESPONSIVE – 1180PX
========================================================= */

@media (max-width: 1180px) {

    .products-layout {
        grid-template-columns:
            minmax(330px, 0.9fr)
            minmax(500px, 1.1fr);

        gap: 45px;
    }

    .products-devices {
        min-height: 590px;
    }

    .device-monitor {
        width: 72%;
    }

    .device-laptop {
        width: 45%;
    }

    .device-tablet {
        width: 135px;
        height: 220px;

        top: 195px;
    }

    .device-phone {
        width: 82px;
        height: 170px;

        right: 21%;
    }
}

@media (max-width: 1280px) and (min-width: 981px) {
    .products-section {
        min-height: auto;
        align-items: flex-start;
        overflow-y: hidden;
        padding: 118px clamp(28px, 4vw, 54px) 86px;
    }

    .products-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .products-content {
        max-width: 860px;
    }

    .products-title {
        max-width: 840px;
        margin-bottom: 24px;
        font-size: clamp(42px, 5vw, 68px);
    }

    .products-devices {
        width: min(760px, 100%);
        min-height: 520px;
        margin: 0 auto;
    }
}

@media (max-height: 820px) and (min-width: 981px) {
    .products-section {
        align-items: flex-start;
        overflow-y: hidden;
        padding-top: 94px;
        padding-bottom: 70px;
    }

    .products-layout {
        gap: 34px;
    }

    .products-title {
        margin-bottom: 20px;
        font-size: clamp(38px, 4.5vw, 62px);
    }

    .products-text p {
        line-height: 1.65;
    }

    .products-offer {
        margin-top: 22px;
    }

    .products-devices {
        min-height: 480px;
    }
}

/* =========================================================
   RESPONSIVE – 980PX
========================================================= */

@media (max-width: 980px) {

    .products-section {
        min-height: auto;

        padding-top: 110px;
        padding-bottom: 100px;
    }

    .products-layout {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .products-content {
        max-width: 760px;
    }

    .products-title {
        max-width: 760px;
    }

    .products-text {
        max-width: 720px;
    }

    .products-devices {
        width: min(760px, 100%);
        min-height: 610px;

        margin: 0 auto;
    }

    .device-monitor {
        width: 75%;
    }

    .device-laptop {
        width: 48%;

        left: 1%;
    }

    .device-tablet {
        right: 1%;
    }

    .device-phone {
        right: 21%;
    }
}

/* =========================================================
   RESPONSIVE – 700PX
========================================================= */

@media (max-width: 700px) {

    .products-section {
        padding:
            90px
            clamp(18px, 5vw, 28px)
            70px;
    }

    .products-title {
        font-size:
            clamp(42px, 13vw, 64px);
    }

    .products-title span {
        margin-top: 10px;

        font-size: 0.52em;
        line-height: 1.12;
    }

    .products-text {
        padding-left: 18px;
    }

    .products-text p {
        font-size: 14px;
        line-height: 1.75;
    }

    .products-devices {
        min-height: 450px;
    }

    .device-monitor {
        width: 80%;

        top: 0;
    }

    .device-monitor-frame {
        padding: 8px 8px 12px;

        border-radius: 14px;
    }

    .device-screen {
        border-width: 3px;
        border-radius: 7px;
    }

    .device-monitor-neck {
        width: 52px;
        height: 45px;
    }

    .device-monitor-base {
        width: 145px;
        height: 14px;
    }

    .device-laptop {
        width: 47%;

        left: 0;
        bottom: 20px;
    }

    .laptop-display {
        padding: 6px 6px 8px;

        border-radius: 11px 11px 7px 7px;
    }

    .laptop-screen {
        border-width: 3px;
        border-radius: 5px;
    }

    .device-tablet {
        width: 100px;
        height: 165px;

        right: 0;
        top: 145px;

        padding: 6px;

        border-radius: 15px;
    }

    .tablet-screen {
        border-width: 3px;
        border-radius: 9px;
    }

    .device-phone {
        width: 62px;
        height: 128px;

        right: 23%;
        bottom: 5px;

        padding: 6px 4px;

        border-radius: 16px;
    }

    .phone-screen {
        border-width: 2px;
        border-radius: 11px;
    }

    .phone-speaker {
        width: 18px;
        height: 2px;

        top: 3px;
    }

    .phone-home-line {
        width: 22px;
        height: 2px;

        bottom: 3px;
    }

    .mobile-stat-row,
    .mobile-list {
        gap: 4px;

        padding: 5px;
    }

    .mobile-stat-row span {
        height: 25px;
    }

    .mobile-list i {
        height: 11px;
    }

    .phone-chart {
        height: 42px;

        gap: 3px;

        padding: 7px 5px 4px;
    }
}

/* =========================================================
   RESPONSIVE – 460PX
========================================================= */

@media (max-width: 460px) {

    .products-devices {
        min-height: 360px;
    }

    .device-monitor {
        width: 84%;
    }

    .device-laptop {
        width: 50%;
    }

    .device-tablet {
        width: 78px;
        height: 130px;

        top: 110px;
    }

    .device-phone {
        width: 51px;
        height: 106px;

        right: 22%;
    }

    .products-offer {
        align-items: flex-start;

        font-size: 13px;
        line-height: 1.5;
    }

    .products-offer-dot {
        margin-top: 6px;
    }
}

@media (max-height: 820px) and (min-width: 981px) {
    .products-section {
        min-height: 100vh;
        align-items: center;
        overflow: hidden;
        padding:
            clamp(66px, 10vh, 94px)
            clamp(28px, 4vw, 58px)
            clamp(52px, 7vh, 70px);
    }

    .products-layout {
        grid-template-columns: minmax(300px, 0.82fr) minmax(430px, 1.18fr);
        gap: clamp(28px, 4vw, 52px);
    }

    .products-eyebrow {
        margin-bottom: 14px;
        font-size: 9px;
    }

    .products-title {
        margin-bottom: 16px;
        font-size: clamp(34px, 7vh, 58px);
    }

    .products-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .products-text p + p {
        margin-top: 10px;
    }

    .products-offer {
        margin-top: 16px;
        font-size: 12px;
    }

    .products-devices {
        min-height: clamp(390px, 67vh, 500px);
    }
}

@media (max-height: 680px) and (min-width: 981px) {
    .products-section {
        padding-top: 58px;
        padding-bottom: 48px;
    }

    .products-layout {
        grid-template-columns: minmax(280px, 0.78fr) minmax(390px, 1fr);
        gap: 28px;
    }

    .products-title {
        font-size: clamp(30px, 7vh, 48px);
    }

    .products-devices {
        min-height: clamp(330px, 64vh, 420px);
    }

    .device-monitor {
        width: 66%;
    }

    .device-laptop {
        width: 42%;
    }

    .device-tablet {
        width: 112px;
        height: 182px;
        top: 165px;
    }

    .device-phone {
        width: 72px;
        height: 148px;
    }
}
