﻿
/* PrimePOS - página de presentación */

:root {
    /* Identidad visual oficial de PrimePOS */
    --color-primary: #0088b4;
    --color-accent-blue: #32b5b1;
    --color-primary-yellow: #f8b820;
    --color-dark-yellow: #f09214;
    --color-skin: #f3ceb2;
    /* Colores generales de la página */
    --pp-bg: #08131C;
    --pp-surface: #101F2A;
    --pp-surface-light: #162B36;
    --pp-border: rgba(145, 190, 195, .16);
    --pp-text: #F4FAFA;
    --pp-muted: #A1B5BE;
    /* Compatibilidad con los estilos que ya tienes */
    --pp-blue: var(--color-primary);
    --pp-cyan: var(--color-accent-blue);
    --pp-blue-soft: rgba(0, 136, 180, .12);
    --pp-yellow-soft: rgba(248, 184, 32, .12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.pp-home {
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at 80% 12%, #152447 0, transparent 35%), var(--pp-bg);
}

    .pp-home *,
    .pp-home *::before,
    .pp-home *::after {
        box-sizing: border-box;
    }

.pp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px max(5%, calc((100% - 1320px) / 2));
    background: rgba(8, 13, 24, .82);
    border-bottom: 1px solid var(--pp-border);
    backdrop-filter: blur(18px);
}

.pp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--pp-text);
    text-decoration: none;
    flex-shrink: 0;
}

.pp-logo {
    display: block;
    width: 100px;
    max-height: 48px;
    object-fit: contain;
}

.pp-brand-name {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.7px;
    white-space: nowrap;
    margin-left: -5px;
}


.pp-brand-icon,
.pp-mini-logo {
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #7094ff, #4e63d9);
    border-radius: 11px;
    width: 38px;
    height: 38px;
}

.pp-brand-accent {
    color: var(--pp-blue);
}

.pp-nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

    .pp-nav-links a,
    .pp-footer a:not(.pp-brand) {
        color: var(--pp-muted);
        font-size: 14px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .pp-nav-links a:hover,
        .pp-footer a:hover {
            color: white;
        }

.pp-button,
.pp-button-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 23px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.pp-button {
    color: #08131C;
    background: linear-gradient( 110deg, var(--color-accent-blue), var(--color-primary-yellow) );
    box-shadow: 0 8px 28px rgba(0, 136, 180, .22);
}

    .pp-button:hover {
        color: #08131C;
        transform: translateY(-3px);
        box-shadow: 0 12px 34px rgba(248, 184, 32, .22);
    }

.pp-button-small {
    min-height: 42px;
    padding: 0 18px;
}

.pp-button-secondary {
    color: var(--pp-text);
    border: 1px solid var(--pp-border);
    background: rgba(255, 255, 255, .025);
}

    .pp-button-secondary:hover {
        background: rgba(255, 255, 255, .08);
        transform: translateY(-2px);
    }

.pp-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 50px;
    max-width: 1320px;
    min-height: 690px;
    margin: auto;
    padding: 85px 5% 100px;
}

.pp-glow {
    position: absolute;
    pointer-events: none;
    filter: blur(100px);
    border-radius: 50%;
    opacity: .17;
}

.pp-glow-one {
    width: 300px;
    height: 300px;
    background: #456dff;
    top: 8%;
    left: -10%;
}

.pp-glow-two {
    width: 250px;
    height: 250px;
    background: #14b8a6;
    bottom: 0;
    right: 10%;
}

.pp-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 35px;
    animation: pp-enter .8s ease both;
}

.pp-eyebrow,
.pp-section-label {
    color: #9bb2ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(112, 148, 255, .23);
    border-radius: 50px;
    background: rgba(112, 148, 255, .07);
}

.pp-status-dot,
.pp-live span,
.pp-footer-dot {
    width: 7px;
    height: 7px;
    background: #63e6b1;
    border-radius: 50%;
    flex-shrink: 0;
}

.pp-status-dot {
    box-shadow: 0 0 12px #63e6b1;
}

.pp-hero h1 {
    margin: 29px 0 22px;
    color: var(--pp-text);
    font-size: clamp(45px, 5.1vw, 72px);
    line-height: 1.06;
    letter-spacing: -3.8px;
    font-weight: 800;
}

    .pp-hero h1 span,
    .pp-section-heading h2 span,
    .pp-benefits h2 span {
        color: transparent;
        background: linear-gradient( 100deg, var(--color-primary), var(--color-accent-blue), var(--color-primary-yellow) );
        background-clip: text;
        -webkit-background-clip: text;
    }

.pp-hero-description,
.pp-section-heading > p,
.pp-benefits-content > p,
.pp-download > p {
    color: var(--pp-muted);
    font-size: 16px;
    line-height: 1.85;
}

.pp-hero-description {
    max-width: 500px;
}

.pp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.pp-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
    color: #91a0b7;
    font-size: 12px;
}

.pp-trust-icon {
    color: #63e6b1;
}

.pp-trust-separator {
    color: #51617a;
}

.pp-preview {
    position: relative;
    min-width: 0;
    animation: pp-enter .9s .15s ease both;
}

.pp-preview-glow {
    position: absolute;
    inset: 12%;
    background: #3d65e9;
    filter: blur(100px);
    opacity: .25;
}

.pp-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(157, 178, 221, .23);
    border-radius: 17px;
    background: #0c1422;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s ease;
}

    .pp-window:hover {
        transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-4px);
    }

.pp-window-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid var(--pp-border);
}

.pp-window-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
}

.pp-mini-logo {
    width: 26px;
    height: 26px;
    border-radius: 7px;
}

.pp-window-dots {
    display: flex;
    gap: 6px;
}

    .pp-window-dots span {
        width: 7px;
        height: 7px;
        background: #3b4a62;
        border-radius: 50%;
    }

.pp-window-body {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    min-height: 350px;
}

.pp-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 17px;
    padding: 22px 0;
    color: #687b99;
    border-right: 1px solid var(--pp-border);
}

    .pp-sidebar > div {
        display: grid;
        place-items: center;
        width: 31px;
        height: 31px;
        border-radius: 8px;
        font-size: 17px;
    }

    .pp-sidebar .pp-sidebar-active {
        color: #a9bbff;
        background: rgba(112, 148, 255, .16);
    }

.pp-dashboard {
    min-width: 0;
    padding: 24px;
}

.pp-dashboard-heading,
.pp-chart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pp-muted {
    color: #71829e;
    font-size: 9px;
    letter-spacing: 1.4px;
}

.pp-dashboard-heading h3 {
    margin: 8px 0 18px;
    font-size: clamp(15px, 1.7vw, 21px);
    letter-spacing: -.5px;
}

.pp-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8ba0bd;
    font-size: 9px;
}

.pp-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pp-metric,
.pp-chart-card {
    border: 1px solid var(--pp-border);
    border-radius: 11px;
    background: #111d30;
}

.pp-metric {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

    .pp-metric > span,
    .pp-metric small,
    .pp-chart-heading span {
        color: #8192ac;
        font-size: 10px;
    }

    .pp-metric strong {
        font-size: clamp(13px, 1.7vw, 20px);
        letter-spacing: -.5px;
    }

    .pp-metric small {
        color: #65d7b0;
    }

.pp-chart-card {
    margin-top: 14px;
    padding: 16px;
}

.pp-chart-heading strong {
    font-size: 11px;
}

.pp-chart {
    position: relative;
    height: 105px;
    margin-top: 18px;
}

.pp-chart-lines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .pp-chart-lines span {
        border-top: 1px dashed rgba(145, 164, 198, .15);
    }

.pp-chart-svg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pp-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: #70819b;
    font-size: 9px;
}

.pp-dashboard-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #70819b;
    font-size: 9px;
}

.pp-footer-dot {
    width: 6px;
    height: 6px;
}

.pp-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(155, 178, 222, .2);
    border-radius: 13px;
    background: rgba(17, 29, 48, .94);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
    animation: pp-float 5s ease-in-out infinite;
}

.pp-float-top {
    top: 13%;
    right: -6%;
}

.pp-float-bottom {
    bottom: 9%;
    left: -7%;
    animation-delay: -2.5s;
}

.pp-float-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #63e6b1;
    background: rgba(99, 230, 177, .12);
    font-size: 18px;
}

.pp-float-icon-blue {
    color: #92adff;
    background: rgba(112, 148, 255, .14);
}

.pp-float-card strong,
.pp-float-card small {
    display: block;
}

.pp-float-card strong {
    font-size: 11px;
}

.pp-float-card small {
    margin-top: 5px;
    color: var(--pp-muted);
    font-size: 10px;
}

.pp-features {
    padding: 100px 5% 115px;
    border-top: 1px solid var(--pp-border);
    background: linear-gradient(180deg, #0a1120, #0c1422);
}

.pp-section-heading {
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

    .pp-section-heading h2,
    .pp-benefits h2,
    .pp-download h2 {
        margin: 20px 0;
        color: var(--pp-text);
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.15;
        letter-spacing: -1.8px;
    }

    .pp-section-heading > p {
        max-width: 550px;
        margin: 0 auto;
    }

.pp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: auto;
}

.pp-feature-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--pp-border);
    border-radius: 17px;
    background: rgba(255, 255, 255, .025);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

    .pp-feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(112, 148, 255, .45);
        background: rgba(112, 148, 255, .055);
    }

.pp-feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(112, 148, 255, .2);
    border-radius: 13px;
    color: #9bb2ff;
    background: rgba(112, 148, 255, .1);
    font-size: 24px;
}

.pp-feature-card h3 {
    margin: 24px 0 10px;
    font-size: 17px;
}

.pp-feature-card p {
    margin: 0;
    color: var(--pp-muted);
    font-size: 13px;
    line-height: 1.8;
}

.pp-card-arrow {
    position: absolute;
    top: 28px;
    right: 26px;
    color: #647da8;
    transition: transform .2s ease, color .2s ease;
}

.pp-feature-card:hover .pp-card-arrow {
    color: #a8bcff;
    transform: translate(3px, -3px);
}

.pp-benefits {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 120px max(7%, calc((100% - 1180px) / 2));
    background: #101F2A;
    border-top: 1px solid rgba(50, 181, 177, 0.20);
    border-bottom: 1px solid rgba(50, 181, 177, 0.20);
    box-sizing: border-box;
}

.pp-benefits-content > p {
    max-width: 500px;
}

.pp-benefit-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
    color: #c0cce0;
    font-size: 13px;
}

    .pp-benefit-list > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .pp-benefit-list > div span {
            display: grid;
            place-items: center;
            width: 23px;
            height: 23px;
            border-radius: 50%;
            color: #6ce3b5;
            background: rgba(99, 230, 177, .1);
        }

.pp-benefit-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 400px;
}

.pp-orbit {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(112, 148, 255, .2);
    border-radius: 50%;
    animation: pp-spin 35s linear infinite;
}

.pp-orbit-one {
    border-style: dashed;
}

.pp-orbit-two {
    width: 235px;
    height: 235px;
    border-color: rgba(121, 216, 255, .25);
    animation-direction: reverse;
    animation-duration: 28s;
}

.pp-orbit-core {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.pp-core-letter {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(145, 172, 255, .5);
    border-radius: 25px;
    color: white;
    background: linear-gradient(140deg, #6587f8, #384ab3);
    box-shadow: 0 0 75px rgba(82, 116, 248, .3);
    font-size: 46px;
    font-weight: 800;
}

.pp-orbit-core strong {
    font-size: 21px;
}

.pp-orbit-core small {
    color: #92a4c0;
    font-size: 9px;
    letter-spacing: 2px;
}

.pp-orbit-tag {
    position: absolute;
    z-index: 2;
    padding: 11px 17px;
    border: 1px solid rgba(145, 172, 255, .22);
    border-radius: 11px;
    color: #d9e4ff;
    background: #111d30;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    font-size: 12px;
    animation: pp-float 5s ease-in-out infinite;
}

.pp-tag-one {
    top: 12%;
    left: 0;
}

.pp-tag-two {
    top: 24%;
    right: -2%;
    animation-delay: -1.5s;
}

.pp-tag-three {
    bottom: 10%;
    right: 15%;
    animation-delay: -3s;
}

.pp-download {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 85px 24px;
    border-top: 1px solid var(--pp-border);
    border-bottom: 1px solid var(--pp-border);
    background: linear-gradient(120deg, #111d38, #101a2d, #10162b);
    text-align: center;
}

.pp-download-glow {
    position: absolute;
    top: -200px;
    width: 500px;
    height: 400px;
    border-radius: 50%;
    background: #4468f6;
    filter: blur(150px);
    opacity: .18;
    pointer-events: none;
}

.pp-download h2 {
    position: relative;
    max-width: 650px;
}

.pp-download > p {
    position: relative;
    max-width: 550px;
}

.pp-download-button {
    position: relative;
    margin: 18px 0;
}

.pp-download > small {
    position: relative;
    color: #8495b1;
    font-size: 11px;
}

.pp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    padding: 30px 5%;
    color: #8191aa;
    font-size: 11px;
}

    .pp-footer > div {
        display: flex;
        gap: 22px;
    }

@keyframes pp-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pp-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes pp-spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1500px) {
    .pp-hero {
        min-height: 760px;
    }
}

@media (max-width: 1050px) {
    .pp-hero {
        grid-template-columns: 1fr;
        gap: 70px;
        padding-top: 75px;
    }

    .pp-hero-content {
        max-width: 720px;
    }

    .pp-preview {
        width: min(100%, 690px);
        margin: auto;
    }

    .pp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-benefits {
        gap: 35px;
    }
}

@media (max-width: 700px) {
    .pp-navbar {
        gap: 12px;
        padding: 13px 5%;
    }

    .pp-brand {
        font-size: 18px;
    }

    .pp-brand-icon {
        width: 33px;
        height: 33px;
    }

    .pp-nav-links {
        display: none;
    }

    .pp-button-small {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .pp-hero {
        gap: 55px;
        padding: 65px 6% 85px;
    }

        .pp-hero h1 {
            font-size: clamp(43px, 11vw, 61px);
            letter-spacing: -2.5px;
        }

    .pp-hero-description {
        font-size: 14px;
    }

    .pp-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pp-button,
    .pp-button-secondary {
        min-height: 49px;
    }

    .pp-trust {
        line-height: 1.8;
    }

    .pp-window {
        transform: none;
    }

    .pp-window-body {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 290px;
    }

    .pp-sidebar {
        gap: 12px;
        padding-top: 17px;
    }

    .pp-dashboard {
        padding: 14px 10px;
    }

    .pp-dashboard-heading h3 {
        font-size: 14px;
    }

    .pp-metric {
        padding: 10px;
        gap: 7px;
    }

        .pp-metric strong {
            font-size: 12px;
        }

    .pp-chart-card {
        padding: 11px;
    }

    .pp-float-card {
        padding: 9px 11px;
    }

    .pp-float-top {
        right: -2%;
        top: -7%;
    }

    .pp-float-bottom {
        left: -2%;
        bottom: -6%;
    }

    .pp-float-card strong {
        font-size: 9px;
    }

    .pp-float-card small {
        font-size: 8px;
    }

    .pp-features {
        padding: 75px 6%;
    }

    .pp-section-heading h2,
    .pp-benefits h2,
    .pp-download h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .pp-feature-grid {
        grid-template-columns: 1fr;
    }

    .pp-benefits {
        grid-template-columns: 1fr;
        padding: 80px 6%;
    }

    .pp-benefit-visual {
        min-height: 350px;
    }

    .pp-orbit {
        width: 270px;
        height: 270px;
    }

    .pp-orbit-two {
        width: 200px;
        height: 200px;
    }

    .pp-tag-one {
        left: 0;
    }

    .pp-tag-two {
        right: 0;
    }

    .pp-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-home *,
    .pp-home *::before,
    .pp-home *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
/* Identidad visual oficial de PrimePOS */

.pp-brand-icon,
.pp-mini-logo {
    color: #08131C;
    background: linear-gradient( 135deg, var(--pp-blue), var(--pp-cyan) );
}

.pp-eyebrow,
.pp-section-label {
    color: var(--pp-blue);
}

.pp-eyebrow {
    border-color: rgba(25, 198, 194, .25);
    background: var(--pp-blue-soft);
}

.pp-glow-one,
.pp-preview-glow {
    background: var(--pp-blue);
}

.pp-sidebar .pp-sidebar-active {
    color: var(--pp-blue);
    background: var(--pp-blue-soft);
}

.pp-feature-card:hover {
    border-color: rgba(25, 198, 194, .4);
    background: var(--pp-blue-soft);
}

.pp-feature-icon {
    color: var(--pp-blue);
    border-color: rgba(25, 198, 194, .22);
    background: var(--pp-blue-soft);
}

.pp-card-arrow {
    color: var(--pp-blue);
}

.pp-core-letter {
    color: #08131C;
    border-color: rgba(25, 198, 194, .4);
    background: linear-gradient( 140deg, var(--pp-blue), var(--pp-cyan) );
    box-shadow: 0 0 75px rgba(25, 198, 194, .2);
}

.pp-orbit {
    border-color: rgba(25, 198, 194, .22);
}

.pp-orbit-two {
    border-color: rgba(255, 212, 71, .25);
}

.pp-orbit-tag {
    border-color: rgba(25, 198, 194, .22);
}

.pp-download {
    background: linear-gradient( 120deg, #102A33, #101F2A, #172A30 );
}

.pp-download-glow {
    background: var(--pp-blue);
}
/* Adaptación para pantallas pequeñas */

@media (max-width: 600px) {
    .pp-screenshot-frame {
        border-radius: 12px;
    }

    .pp-float-card {
        transform: scale(0.85);
    }

    .pp-float-top {
        right: -8px;
    }

    .pp-float-bottom {
        left: -8px;
    }
}
.pp-dashboard-screenshot {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
/* Animación de entrada del dashboard */
.pp-screenshot-frame {
    animation: dashboardEnter 1s ease-out both;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Movimiento flotante suave */
.pp-preview {
    animation: dashboardFloat 6s ease-in-out infinite;
}

/* Efecto al pasar el cursor */
.pp-screenshot-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 136, 180, 0.22);
}

@keyframes dashboardEnter {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dashboardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
.pp-download-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pp-download-button:hover .pp-download-icon {
    transform: translateY(2px);
}


/* CONTACTO */
.pp-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 24px;
    color: #f7fafc;
    background: radial-gradient( circle at 50% 0%, rgba(0, 136, 180, 0.12), transparent 48% ), #07131e;
}

.pp-contact-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.pp-contact-header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    animation: ppContactEnter 0.7s ease-out both;
}

    .pp-contact-header h2 {
        margin: 18px 0;
        font-size: clamp(2rem, 4.5vw, 3.3rem);
        font-weight: 750;
        line-height: 1.15;
        letter-spacing: -0.04em;
    }

        .pp-contact-header h2 span {
            color: #32b5b1;
        }

    .pp-contact-header p {
        max-width: 620px;
        margin: 0 auto;
        color: #a8bac7;
        font-size: 1rem;
        line-height: 1.8;
    }

.pp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pp-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid rgba(163, 190, 205, 0.15);
    border-radius: 20px;
    background: linear-gradient( 145deg, rgba(22, 42, 57, 0.96), rgba(12, 27, 39, 0.96) );
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    animation: ppContactEnter 0.8s ease-out both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .pp-contact-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .pp-contact-card:hover {
        transform: translateY(-6px);
        border-color: rgba(50, 181, 177, 0.4);
        box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
    }

.pp-contact-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 15px;
}

    .pp-contact-icon svg {
        width: 28px;
        height: 28px;
    }

.pp-contact-icon-green {
    color: #39d98a;
    background: rgba(37, 211, 102, 0.1);
}

.pp-contact-icon-blue {
    color: #52c8e9;
    background: rgba(0, 136, 180, 0.13);
}

.pp-contact-card-label {
    margin-bottom: 10px;
    color: #32b5b1;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.pp-contact-card h3 {
    margin: 0 0 12px;
    color: #f7fafc;
    font-size: 1.45rem;
    font-weight: 700;
}

.pp-contact-card p {
    flex: 1;
    margin: 0 0 26px;
    color: #a8bac7;
    font-size: 0.95rem;
    line-height: 1.8;
}

.pp-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 13px 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: white;
    font-weight: 650;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .pp-contact-button:hover {
        color: white;
        transform: translateY(-2px);
    }

.pp-contact-button-green {
    background: #167b4b;
}

    .pp-contact-button-green:hover {
        background: #19965a;
        box-shadow: 0 10px 25px rgba(22, 123, 75, 0.2);
    }

.pp-contact-button-blue {
    background: #0088b4;
}

    .pp-contact-button-blue:hover {
        background: #079bc9;
        box-shadow: 0 10px 25px rgba(0, 136, 180, 0.2);
    }

.pp-contact-button:focus-visible {
    outline: 3px solid #f8b820;
    outline-offset: 4px;
}

.pp-contact-glow {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    animation: ppContactGlow 9s ease-in-out infinite alternate;
}

.pp-contact-glow-one {
    top: 10%;
    left: -180px;
    background: #0088b4;
}

.pp-contact-glow-two {
    right: -180px;
    bottom: 0;
    background: #32b5b1;
    animation-delay: 1.5s;
}

@keyframes ppContactEnter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ppContactGlow {
    from {
        transform: translate3d(0, -10px, 0);
    }

    to {
        transform: translate3d(20px, 15px, 0);
    }
}

@media (max-width: 700px) {
    .pp-contact {
        padding: 72px 18px;
    }

    .pp-contact-header {
        margin-bottom: 32px;
    }

    .pp-contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pp-contact-card {
        padding: 26px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-contact *,
    .pp-contact *::before,
    .pp-contact *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   GALERÍA DE CAPTURAS PRIMEPOS
   ========================================= */

.pp-gallery {
    position: relative;
    overflow: hidden;
    padding: 90px 5%;
    background: #08131C;
    color: #F4FAFA;
}

    .pp-gallery .pp-section-heading {
        max-width: 760px;
        margin: 0 auto 42px;
        text-align: center;
    }

        .pp-gallery .pp-section-heading h2 {
            color: #F4FAFA;
        }

        .pp-gallery .pp-section-heading > p {
            color: #A1B5BE;
        }

.pp-gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 220px);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.pp-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(145, 190, 195, .2);
    border-radius: 16px;
    background: #101F2A;
    cursor: pointer;
    text-align: left;
    isolation: isolate;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pp-gallery-featured {
    grid-row: span 2;
}

.pp-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s ease;
}

.pp-gallery-featured img {
    object-fit: contain;
    background: #edf2f6;
}

.pp-gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 34px 18px 18px;
    color: #fff;
    background: linear-gradient( to top, rgba(9, 24, 39, 0.92), rgba(9, 24, 39, 0.48) 62%, transparent );
    opacity: 0.96;
    transition: opacity 0.3s ease;
}

.pp-gallery-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    .pp-gallery-caption > span {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .pp-gallery-caption strong {
        font-size: 0.96rem;
        font-weight: 650;
        line-height: 1.35;
    }

    .pp-gallery-caption small {
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.78rem;
        line-height: 1.4;
    }

.pp-gallery-zoom {
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pp-gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 136, 180, 0.32);
    box-shadow: 0 18px 42px rgba(18, 42, 65, 0.14);
}

    .pp-gallery-item:hover img {
        transform: scale(1.035);
    }

    .pp-gallery-item:hover .pp-gallery-zoom {
        transform: scale(1.12);
        opacity: 1;
    }

.pp-gallery-item:focus-visible {
    outline: 3px solid #0088b4;
    outline-offset: 4px;
}

.pp-screenshot-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 78vh;
    overflow: auto;
    border-radius: 10px;
    background: #f1f4f7;
}

    .pp-screenshot-dialog img {
        display: block;
        width: 100%;
        max-height: 78vh;
        object-fit: contain;
    }

/* Adaptación para tabletas */
@media (max-width: 900px) {
    .pp-gallery {
        padding: 85px 5%;
    }

    .pp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 14px;
    }

    .pp-gallery-featured {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }

    .pp-gallery-item:not(.pp-gallery-featured) {
        aspect-ratio: 4 / 3;
    }
}

/* Adaptación para móviles */
@media (max-width: 560px) {
    .pp-gallery {
        padding: 70px 5%;
    }

        .pp-gallery .pp-section-heading {
            margin-bottom: 30px;
        }

    .pp-gallery-grid {
        gap: 10px;
    }

    .pp-gallery-item {
        border-radius: 12px;
    }

    .pp-gallery-caption {
        gap: 7px;
    }

        .pp-gallery-caption strong {
            font-size: 0.78rem;
        }

        .pp-gallery-caption small {
            font-size: 0.68rem;
        }

    .pp-gallery-overlay {
        padding: 28px 9px 10px;
        gap: 5px;
    }

    .pp-gallery-zoom {
        display: none;
    }

    .pp-gallery-caption .mud-icon-root {
        font-size: 20px;
    }
}
.pp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 10, 17, 0.88);
    backdrop-filter: blur(10px);
    animation: pp-lightbox-fade .22s ease both;
}

.pp-lightbox-content {
    position: relative;
    width: min(1100px, 100%);
    max-height: 92vh;
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: #101f2a;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
    animation: pp-lightbox-zoom .25s ease both;
}

    .pp-lightbox-content img {
        display: block;
        width: 100%;
        max-height: 78vh;
        object-fit: contain;
        border-radius: 9px;
        background: #e9eef3;
    }

.pp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: white;
    background: rgba(8, 19, 28, .85);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .pp-lightbox-close:hover {
        background: #0088b4;
        transform: scale(1.06);
    }

.pp-lightbox-caption {
    padding: 13px 6px 3px;
    color: #f4fafa;
    font-size: 14px;
    font-weight: 600;
}

@keyframes pp-lightbox-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pp-lightbox-zoom {
    from {
        opacity: 0;
        transform: scale(.94) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 600px) {
    .pp-lightbox {
        padding: 12px;
    }

    .pp-lightbox-content {
        padding: 8px;
        border-radius: 12px;
    }

        .pp-lightbox-content img {
            max-height: 75vh;
        }
}

.pp-lightbox {
    outline: none;
}

.pp-lightbox-nav {
    position: absolute;
    top: 45%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 19, 28, .85);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .pp-lightbox-nav:hover {
        background: #0088b4;
        transform: scale(1.08);
    }

.pp-lightbox-prev {
    left: 20px;
}

.pp-lightbox-next {
    right: 20px;
}

.pp-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .pp-lightbox-caption small {
        color: #9fb4c2;
        font-size: 12px;
        font-weight: 500;
    }

@media (max-width: 600px) {
    .pp-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .pp-lightbox-prev {
        left: 12px;
    }

    .pp-lightbox-next {
        right: 12px;
    }
}
