/* =========================================================
   SHOP OF SOFTWARE
   PRODUCTS PAGE
========================================================= */

.products-page {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    padding: 150px 6vw 100px;
    font-family: "Poppins", sans-serif;
    color: #fff;
    overflow: hidden;
}


/* =========================================================
   BACKGROUND
========================================================= */

.products-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.products-grid {
    position: absolute;
    inset: 0;
    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}

.products-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .15;
}

.products-orb-one {
    width: 420px;
    height: 420px;
    top: 10%;
    left: -180px;
    background: #ffffff;
}

.products-orb-two {
    width: 350px;
    height: 350px;
    right: -120px;
    top: 45%;
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.products-hero {
    position: relative;
    max-width: 1400px;
    min-height: 620px;
    margin: 0 auto 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.products-hero-inner {
    max-width: 760px;
}

.products-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 100px;

    background: rgba(255,255,255,.04);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,.75);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 14px rgba(255,255,255,.8);

    animation: livePulse 1.8s infinite ease-in-out;
}

.products-hero h1 {
    margin: 28px 0 24px;

    font-size: clamp(48px, 6vw, 88px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 700;
}

.products-hero h1 span {
    display: block;
    color: rgba(255,255,255,.35);
}

.products-hero p {
    max-width: 650px;
    margin: 0;

    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.58);
}

.products-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.products-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.products-btn:hover {
    transform: translateY(-3px);
}

.products-btn-primary {
    background: #fff;
    color: #000;
}

.products-btn-primary:hover {
    background: rgba(255,255,255,.86);
    color: #000;
}

.products-btn-secondary {
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    background: rgba(255,255,255,.035);
}

.products-btn-secondary:hover {
    border-color: rgba(255,255,255,.35);
    color: #fff;
}


/* =========================================================
   HERO SYSTEM CARD
========================================================= */

.hero-system-card {
    position: relative;

    width: 370px;
    min-width: 370px;

    padding: 22px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.10),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(20px);

    box-shadow:
        0 30px 100px rgba(0,0,0,.4);

    transform: rotate(3deg);

    animation: systemFloat 5s ease-in-out infinite;
}

.hero-system-card::before {
    content: "";
    position: absolute;
    inset: 1px;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.12),
            transparent 40%
        );

    pointer-events: none;
}

.system-card-top,
.system-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.system-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,.45);
}

.system-live {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.system-live span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #fff;

    box-shadow: 0 0 12px rgba(255,255,255,.8);
}

.system-lines {
    margin: 70px 0;
}

.system-line {
    display: flex;
    gap: 10px;

    margin-bottom: 18px;
}

.system-line span {
    height: 10px;

    border-radius: 5px;

    background: rgba(255,255,255,.12);
}

.system-line span:nth-child(1) {
    width: 30%;
}

.system-line span:nth-child(2) {
    width: 45%;
}

.system-line span:nth-child(3) {
    width: 20%;
}

.system-line.short span:nth-child(1) {
    width: 60%;
}

.system-line.short span:nth-child(2) {
    width: 25%;
}

.system-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.system-footer span {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.35);
}

.system-footer i {
    color: rgba(255,255,255,.55);
}


/* =========================================================
   SECTION
========================================================= */

.products-section {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.products-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 50px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 15px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    color: rgba(255,255,255,.42);
}

.section-kicker i {
    font-size: 13px;
}

.products-section-heading h2 {
    margin: 0;

    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.products-section-heading h2 span {
    color: rgba(255,255,255,.35);
}

.products-section-heading > p {
    max-width: 430px;
    margin: 0;

    font-size: 13px;
    line-height: 1.8;

    color: rgba(255,255,255,.45);
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 520px;

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255,255,255,.08),
            transparent 35%
        ),
        rgba(255,255,255,.035);

    backdrop-filter: blur(18px);

    transition:
        border-color .35s ease,
        transform .35s ease;
}

.featured-project:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.25);
}

.featured-project-number {
    position: absolute;
    top: 25px;
    right: 30px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;

    color: rgba(255,255,255,.2);
}

.featured-project-main {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 65px;
}

.project-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;

    background: rgba(255,255,255,.055);

    font-size: 22px;
    color: #fff;

    transition:
        background .3s ease,
        transform .3s ease;
}

.project-card:hover .project-icon,
.featured-project:hover .project-icon {
    background: rgba(255,255,255,.12);
    transform: rotate(-5deg) scale(1.05);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: rgba(255,255,255,.5);
}

.project-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #fff;

    box-shadow: 0 0 12px rgba(255,255,255,.7);
}

.project-category {
    margin-top: 32px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: rgba(255,255,255,.35);
}

.featured-project h3 {
    margin: 10px 0 14px;

    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -2px;
}

.featured-project-main > p {
    max-width: 530px;

    margin: 0;

    font-size: 14px;
    line-height: 1.8;

    color: rgba(255,255,255,.52);
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 25px;
}

.project-technologies span {
    padding: 6px 9px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;

    background: rgba(255,255,255,.035);

    font-size: 9px;
    letter-spacing: .5px;

    color: rgba(255,255,255,.5);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 30px;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 15px;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: all .25s ease;
}

.project-btn-light {
    background: #fff;
    color: #000;
}

.project-btn-light:hover {
    background: rgba(255,255,255,.85);
    color: #000;
    transform: translateY(-2px);
}

.project-btn-outline {
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
}

.project-btn-outline:hover {
    border-color: rgba(255,255,255,.35);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   FEATURED PREVIEW
========================================================= */

.featured-preview {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    overflow: hidden;
}

.featured-preview::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    filter: blur(100px);
}

.preview-window {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 540px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 15px;

    overflow: hidden;

    background: rgba(5,5,5,.8);

    box-shadow:
        0 30px 80px rgba(0,0,0,.5);

    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);

    transition: transform .5s ease;
}

.featured-project:hover .preview-window {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    height: 40px;

    display: flex;
    align-items: center;

    padding: 0 12px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(255,255,255,.2);
}

.preview-address {
    flex: 1;

    margin-left: 25px;
    margin-right: 25px;

    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: rgba(255,255,255,.05);

    font-size: 7px;
    color: rgba(255,255,255,.25);
}

.preview-header > i {
    font-size: 11px;
    color: rgba(255,255,255,.25);
}

.preview-body {
    display: flex;
    min-height: 290px;
}

.preview-sidebar {
    width: 55px;

    padding: 15px 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    border-right: 1px solid rgba(255,255,255,.07);

    background: rgba(255,255,255,.025);
}

.preview-logo {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;

    font-size: 10px;
}

.preview-sidebar > span {
    width: 15px;
    height: 15px;

    border-radius: 4px;

    background: rgba(255,255,255,.08);
}

.preview-sidebar > span.active {
    background: rgba(255,255,255,.28);
}

.preview-content {
    flex: 1;
    padding: 22px;
}

.preview-content-title {
    display: flex;
    justify-content: space-between;

    margin-bottom: 25px;
}

.preview-content-title span:first-child {
    width: 100px;
    height: 9px;

    border-radius: 5px;

    background: rgba(255,255,255,.25);
}

.preview-content-title span:last-child {
    width: 45px;
    height: 15px;

    border-radius: 5px;

    background: rgba(255,255,255,.08);
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    margin-bottom: 18px;
}

.preview-stats div {
    padding: 14px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;

    background: rgba(255,255,255,.025);
}

.preview-stats small {
    display: block;

    width: 40px;
    height: 5px;

    margin-bottom: 10px;

    border-radius: 3px;

    background: rgba(255,255,255,.12);
}

.preview-stats strong {
    display: block;

    width: 55px;
    height: 10px;

    border-radius: 4px;

    background: rgba(255,255,255,.3);
}

.preview-chart {
    position: relative;

    height: 135px;

    padding: 15px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;

    overflow: hidden;

    background: rgba(255,255,255,.02);
}

.chart-line {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 48%;

    height: 1px;

    background: rgba(255,255,255,.08);
}

.chart-bars {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 15px;

    height: 90px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.chart-bars span {
    flex: 1;

    border-radius: 3px 3px 0 0;

    background: rgba(255,255,255,.12);
}

.chart-bars span:nth-child(1) {
    height: 25%;
}

.chart-bars span:nth-child(2) {
    height: 42%;
}

.chart-bars span:nth-child(3) {
    height: 35%;
}

.chart-bars span:nth-child(4) {
    height: 60%;
}

.chart-bars span:nth-child(5) {
    height: 50%;
}

.chart-bars span:nth-child(6) {
    height: 70%;
}

.chart-bars span:nth-child(7) {
    height: 82%;
}

.chart-bars span:nth-child(8) {
    height: 95%;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.project-card {
    position: relative;

    min-height: 390px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(16px);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.project-card:nth-child(2) {
    transform: translateY(35px);
}

.project-card:nth-child(3) {
    transform: translateY(-15px);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.065);
}

.project-card:nth-child(2):hover,
.project-card:nth-child(3):hover {
    transform: translateY(-8px);
}

.project-card-number {
    position: absolute;
    top: 25px;
    right: 28px;

    font-size: 10px;
    letter-spacing: 1.5px;

    color: rgba(255,255,255,.18);
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-card .project-category {
    margin-top: 30px;
}

.project-card h3 {
    margin: 8px 0 12px;

    font-size: 25px;
    letter-spacing: -.8px;
}

.project-card p {
    margin: 0;

    font-size: 12px;
    line-height: 1.8;

    color: rgba(255,255,255,.45);
}

.project-card .project-technologies {
    margin-top: auto;
    padding-top: 25px;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 25px;
    padding-top: 17px;

    border-top: 1px solid rgba(255,255,255,.08);
}

.project-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 10px;
    font-weight: 600;

    text-decoration: none;

    color: rgba(255,255,255,.55);

    transition: color .25s ease;
}

.project-card-footer a:hover {
    color: #fff;
}

.card-hover-arrow {
    position: absolute;

    right: -45px;
    bottom: -45px;

    width: 100px;
    height: 100px;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    padding: 17px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);

    transition:
        transform .4s ease,
        background .4s ease;
}

.project-card:hover .card-hover-arrow {
    transform: translate(-10px, -10px);
    background: rgba(255,255,255,.12);
}

.card-hover-arrow i {
    font-size: 13px;
}


/* =========================================================
   CTA
========================================================= */

.products-cta {
    position: relative;

    max-width: 1400px;

    margin: 150px auto 0;
    padding: 45px 50px;

    display: flex;
    align-items: center;
    gap: 30px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;

    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(18px);
}

.cta-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;

    font-size: 21px;
}

.cta-content {
    flex: 1;
}

.cta-content > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;

    color: rgba(255,255,255,.35);
}

.cta-content h2 {
    margin: 5px 0 5px;

    font-size: 30px;
    letter-spacing: -1px;
}

.cta-content p {
    margin: 0;

    font-size: 12px;

    color: rgba(255,255,255,.45);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 18px;

    border-radius: 9px;

    background: #fff;
    color: #000;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform .25s ease,
        background .25s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.85);
    color: #000;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes livePulse {

    0%,
    100% {
        opacity: .45;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes systemFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(3deg);
    }

    50% {
        transform:
            translateY(-14px)
            rotate(3deg);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .products-page {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .products-hero {
        gap: 30px;
    }

    .hero-system-card {
        width: 310px;
        min-width: 310px;
    }

    .featured-project-main {
        padding: 45px;
    }

    .featured-preview {
        padding: 25px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card:nth-child(2),
    .project-card:nth-child(3) {
        transform: none;
    }

    .project-card:hover {
        transform: translateY(-8px);
    }
}


@media (max-width: 850px) {

    .products-page {
        padding-top: 125px;
    }

    .products-hero {
        min-height: auto;

        display: block;

        margin-bottom: 90px;
    }

    .products-hero h1 {
        font-size: clamp(46px, 10vw, 72px);
    }

    .hero-system-card {
        display: none;
    }

    .products-section-heading {
        display: block;
    }

    .products-section-heading > p {
        margin-top: 20px;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-main {
        padding: 45px;
    }

    .featured-preview {
        min-height: 350px;
        padding: 30px;
    }

    .preview-window {
        max-width: 500px;
    }

    .products-cta {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 35px;
    }

    .cta-button {
        margin-left: 88px;
    }
}


@media (max-width: 600px) {

    .products-page {
        padding:
            110px
            18px
            70px;
    }

    .products-hero {
        margin-bottom: 70px;
    }

    .products-eyebrow {
        font-size: 9px;
    }

    .products-hero h1 {
        margin-top: 22px;

        font-size: 46px;
        line-height: 1;
        letter-spacing: -2.5px;
    }

    .products-hero p {
        font-size: 14px;
    }

    .products-hero-actions {
        margin-top: 28px;
    }

    .products-btn {
        width: 100%;
        justify-content: center;
    }

    .products-section-heading h2 {
        font-size: 35px;
    }

    .featured-project {
        border-radius: 20px;
    }

    .featured-project-main {
        padding: 30px 25px;
    }

    .featured-project h3 {
        font-size: 34px;
    }

    .featured-project-main > p {
        font-size: 12px;
    }

    .featured-preview {
        min-height: 270px;
        padding: 20px;
    }

    .preview-window {
        transform: none;
    }

    .preview-body {
        min-height: 210px;
    }

    .preview-sidebar {
        width: 42px;
        gap: 14px;
    }

    .preview-content {
        padding: 14px;
    }

    .preview-stats {
        gap: 5px;
    }

    .preview-stats div {
        padding: 8px;
    }

    .preview-chart {
        height: 90px;
    }

    .chart-bars {
        height: 60px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card {
        min-height: 350px;
        padding: 25px;
    }

    .products-cta {
        margin-top: 90px;
        padding: 30px 25px;
        display: block;
    }

    .cta-icon {
        margin-bottom: 25px;
    }

    .cta-content h2 {
        font-size: 27px;
    }

    .cta-content p {
        line-height: 1.7;
    }

    .cta-button {
        width: 100%;
        justify-content: center;

        margin:
            25px 0 0;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-system-card,
    .eyebrow-dot {
        animation: none;
    }

    .products-btn,
    .project-card,
    .featured-project,
    .preview-window,
    .project-icon,
    .card-hover-arrow,
    .cta-button {
        transition: none;
    }
}