/* ========== PORTAL HOME (marketing website) ========== */
html:has(body.page-portal-home) {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body.page-portal-home {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ph-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.ph-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ph-nav.is-scrolled {
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.ph-nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.ph-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    flex-shrink: 0;
}

.ph-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #14785e 0%, #1c9b7a 100%);
    box-shadow: 0 6px 20px rgba(20, 120, 94, 0.28);
}

.ph-brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ph-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.ph-nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.ph-nav-links a:hover {
    color: #14785e;
}

.ph-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ph-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #115e59;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ph-nav-phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ph-nav-phone:hover {
    background: #ccfbf1;
    color: #134e4a;
    transform: translateY(-1px);
}

.ph-mobile-phone {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
}

.ph-mobile-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ph-mobile-whatsapp {
    background: #ecfdf5;
    color: #047857;
}

.ph-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.ph-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #334155;
    border-radius: 2px;
}

.ph-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.ph-mobile-menu.is-open {
    display: flex;
}

.ph-mobile-menu a {
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.ph-mobile-menu .ph-btn-block {
    margin-top: 12px;
    text-align: center;
}

/* Buttons */
.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.ph-btn:hover {
    transform: translateY(-1px);
}

.ph-btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.ph-btn-block {
    width: auto;
}

.ph-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #14785e 0%, #0d9488 50%, #1c9b7a 100%);
    box-shadow: 0 8px 24px rgba(20, 120, 94, 0.32);
}

.ph-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(20, 120, 94, 0.38);
}

.ph-btn-outline {
    color: #14785e;
    background: #fff;
    border-color: #99f6e4;
}

.ph-btn-outline:hover {
    background: #ecfdf5;
    border-color: #5eead4;
}

.ph-btn-emp {
    color: #0369a1;
    border-color: #bae6fd;
}

.ph-btn-emp:hover {
    background: #f0f9ff;
}

.ph-btn-ghost {
    color: #475569;
    background: transparent;
    border-color: #e2e8f0;
}

.ph-btn-ghost:hover {
    background: #f8fafc;
}

.ph-btn-white {
    color: #14785e;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.ph-btn-ghost-white {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.ph-btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero */
.ph-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 88px;
    background: #0b0f1a;
    color: #fff;
}

.ph-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ph-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.ph-hero-orb-1 {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -80px;
    background: #0d9488;
    animation: ph-hero-drift 18s ease-in-out infinite;
}

.ph-hero-orb-2 {
    width: 420px;
    height: 420px;
    top: 20%;
    right: -100px;
    background: #0ea5e9;
    animation: ph-hero-drift 22s ease-in-out infinite reverse;
}

.ph-hero-orb-3 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: 35%;
    background: #ec4899;
    opacity: 0.35;
    animation: ph-hero-drift 16s ease-in-out infinite 2s;
}

.ph-hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes ph-hero-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(24px, -18px) scale(1.06);
    }
}

.ph-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.ph-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e9d5ff;
}

.ph-hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: ph-hero-pulse 2s ease-out infinite;
}

@keyframes ph-hero-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.ph-hero-badge-tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d9488, #a855f7);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.ph-hero .ph-kicker {
    color: #5eead4;
}

.ph-hero-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(2.15rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
    color: #fff;
}

.ph-gradient-text {
    background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 35%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-hero-lead {
    margin: 0 0 24px;
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #94a3b8;
}

.ph-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.ph-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ph-hero-chips svg {
    width: 14px;
    height: 14px;
    color: #2dd4bf;
}

.ph-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.ph-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 12px 40px rgba(13, 148, 136, 0.45);
}

.ph-btn-glow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ph-btn-glow:hover svg {
    transform: translateX(3px);
}

.ph-hero .ph-btn-outline {
    color: #e9d5ff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.ph-hero .ph-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.ph-hero-trust-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #94a3b8;
}

.ph-hero-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.ph-hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ph-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ph-hero-trust svg {
    width: 15px;
    height: 15px;
    color: #2dd4bf;
    flex-shrink: 0;
}

/* Hero visual */
.ph-hero-visual {
    position: relative;
}

.ph-hero-visual-glow {
    position: absolute;
    inset: 10% -10%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.ph-hero-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
    animation: ph-hero-float 5s ease-in-out infinite;
}

.ph-hero-float-1 {
    top: 8%;
    left: -6%;
    animation-delay: 0s;
}

.ph-hero-float-2 {
    bottom: 12%;
    right: -4%;
    animation-delay: 1.2s;
}

@keyframes ph-hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

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

.ph-hero-float-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #ccfbf1;
    color: #0d9488;
}

.ph-hero-float-icon.ok {
    background: #dcfce7;
    color: #16a34a;
}

.ph-hero-float-icon svg {
    width: 18px;
    height: 18px;
}

.ph-hero-float strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ph-hero-float span {
    font-size: 0.72rem;
    color: #64748b;
}

/* Hero mockup */
.ph-mockup {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.4s ease;
}

.ph-hero-visual:hover .ph-mockup {
    transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
}

.ph-mockup-shell {
    display: flex;
    min-height: 340px;
}

.ph-mockup-side {
    width: 52px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(15, 23, 42, 0.45);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-mockup-side span {
    width: 100%;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.ph-mockup-side span.active {
    background: linear-gradient(135deg, #0d9488, #a855f7);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
}

.ph-mockup-main {
    flex: 1;
    min-width: 0;
}

.ph-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ph-mockup-bar span:nth-child(1) {
    background: #f87171;
}

.ph-mockup-bar span:nth-child(2) {
    background: #fbbf24;
}

.ph-mockup-bar span:nth-child(3) {
    background: #4ade80;
}

.ph-mockup-bar em {
    margin-left: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    font-style: normal;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ph-mockup-search {
    margin-left: auto;
    width: 88px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-mockup-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.ph-mockup-stat {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-mockup-stat-1 {
    grid-column: 1 / -1;
}

.ph-mockup-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ph-mockup-trend {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
}

.ph-mockup-trend.up {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.ph-mockup-stat small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ph-mockup-stat strong {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.ph-mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
    margin-top: 12px;
}

.ph-mockup-chart i {
    flex: 1;
    display: block;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
    opacity: 0.85;
    animation: ph-mockup-bar-grow 1.2s ease-out backwards;
}

.ph-mockup-chart i:nth-child(2) {
    animation-delay: 0.1s;
}

.ph-mockup-chart i:nth-child(3) {
    animation-delay: 0.2s;
}

.ph-mockup-chart i:nth-child(4) {
    animation-delay: 0.3s;
}

.ph-mockup-chart i:nth-child(5) {
    animation-delay: 0.4s;
}

.ph-mockup-chart i:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes ph-mockup-bar-grow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.ph-mockup-ring {
    position: relative;
    width: 52px;
    height: 52px;
    margin-top: 8px;
    border-radius: 50%;
    background: conic-gradient(#0d9488 calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.1) 0);
    display: grid;
    place-items: center;
}

.ph-mockup-ring::after {
    content: '';
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
}

.ph-mockup-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ph-mockup-pills span {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.ph-mockup-pills span.ok {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.ph-mockup-stat ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ph-mockup-stat ul li {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(13, 148, 136, 0.25);
    color: #99f6e4;
}

.ph-mockup-avatars {
    display: flex;
    margin-top: 10px;
}

.ph-mockup-avatars span {
    width: 26px;
    height: 26px;
    margin-left: -6px;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.8);
    background: linear-gradient(135deg, #0d9488, #38bdf8);
}

.ph-mockup-avatars span:first-child {
    margin-left: 0;
}

.ph-mockup-avatars span.more {
    display: grid;
    place-items: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.ph-mockup-bar-chart {
    margin-top: 12px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.ph-mockup-bar-chart i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

@media (prefers-reduced-motion: reduce) {

    .ph-hero-orb,
    .ph-hero-float,
    .ph-hero-badge-pulse,
    .ph-mockup-chart i,
    .ph-cta-orb,
    .ph-module-shine {
        animation: none;
    }

    .ph-module:hover .ph-module-shine {
        opacity: 0;
    }

    .ph-module,
    .ph-module-icon,
    .ph-module::before,
    .ph-module-glow {
        transition: none;
    }

    .ph-module:hover {
        transform: none;
    }

    .ph-module:hover .ph-module-icon {
        transform: none;
    }

    .ph-mockup {
        transform: none;
    }
}

.ph-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0d9488;
}

/* Stats band */
.ph-stats-band {
    position: relative;
    z-index: 2;
    margin-top: -52px;
    padding: 0 0 56px;
    background: linear-gradient(180deg, transparent 0%, #f8fafc 28%, #fff 100%);
}

.ph-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ph-stat {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ph-stat:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(196, 181, 253, 0.5);
}

.ph-stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #ecfdf5;
    color: #0d9488;
}

.ph-stat-icon svg {
    width: 22px;
    height: 22px;
}

.ph-stat-body {
    min-width: 0;
    text-align: left;
}

.ph-stat-body strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
    color: #0f172a;
}

.ph-stat-body span {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
}

.ph-stat-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.ph-stat:hover .ph-stat-shine {
    left: 140%;
}

.ph-stat-violet .ph-stat-icon {
    background: linear-gradient(135deg, #ccfbf1, #ecfdf5);
    color: #0d9488;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.18);
}

.ph-stat-violet .ph-stat-body strong {
    background: linear-gradient(135deg, #14785e, #1c9b7a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-stat-blue .ph-stat-icon {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.ph-stat-blue .ph-stat-body strong {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-stat-emerald .ph-stat-icon {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    color: #059669;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.16);
}

.ph-stat-emerald .ph-stat-body strong {
    background: linear-gradient(135deg, #047857, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-stat-amber .ph-stat-icon {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    color: #d97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.16);
}

.ph-stat-amber .ph-stat-body strong {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-stat-violet {
    border-top: 3px solid #2dd4bf;
}

.ph-stat-blue {
    border-top: 3px solid #60a5fa;
}

.ph-stat-emerald {
    border-top: 3px solid #34d399;
}

.ph-stat-amber {
    border-top: 3px solid #fbbf24;
}

/* Sections */
.ph-section {
    padding: 80px 0;
}

.ph-section-alt {
    background: #f8fafc;
}

.ph-section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.ph-section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ph-section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.ph-section-head p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

/* Module cards */
.ph-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: ph-module;
}

.ph-module {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 28px 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #e8edf5;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background 0.32s ease;
    counter-increment: ph-module;
}

.ph-module::before {
    content: counter(ph-module, decimal-leading-zero);
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 0;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(15, 23, 42, 0.05);
    pointer-events: none;
    transition: color 0.32s ease, transform 0.32s ease;
}

.ph-module:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
    border-color: #99f6e4;
    box-shadow:
        0 22px 48px rgba(20, 120, 94, 0.14),
        0 8px 20px rgba(15, 23, 42, 0.06);
}

.ph-module:hover::before {
    color: rgba(20, 120, 94, 0.08);
    transform: scale(1.04);
}

.ph-module-glow {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(28px);
    transform: scale(0.75);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.ph-module:hover .ph-module-glow {
    opacity: 0.75;
    transform: scale(1.35);
}

.ph-module-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease;
}

.ph-module:hover .ph-module-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.ph-module-icon svg {
    width: 24px;
    height: 24px;
}

.ph-module-violet .ph-module-glow {
    background: #2dd4bf;
}

.ph-module-blue .ph-module-glow {
    background: #60a5fa;
}

.ph-module-emerald .ph-module-glow {
    background: #34d399;
}

.ph-module-indigo .ph-module-glow {
    background: #818cf8;
}

.ph-module-amber .ph-module-glow {
    background: #fbbf24;
}

.ph-module-rose .ph-module-glow {
    background: #fb7185;
}

.ph-module-violet .ph-module-icon {
    background: linear-gradient(135deg, #ccfbf1, #ecfdf5);
    color: #14785e;
}

.ph-module-blue .ph-module-icon {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #2563eb;
}

.ph-module-emerald .ph-module-icon {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    color: #059669;
}

.ph-module-indigo .ph-module-icon {
    background: linear-gradient(135deg, #e0e7ff, #eef2ff);
    color: #4f46e5;
}

.ph-module-amber .ph-module-icon {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    color: #d97706;
}

.ph-module-rose .ph-module-icon {
    background: linear-gradient(135deg, #ffe4e6, #fff1f2);
    color: #e11d48;
}

.ph-module-violet {
    border-top: 3px solid #5eead4;
}

.ph-module-blue {
    border-top: 3px solid #93c5fd;
}

.ph-module-emerald {
    border-top: 3px solid #6ee7b7;
}

.ph-module-indigo {
    border-top: 3px solid #a5b4fc;
}

.ph-module-amber {
    border-top: 3px solid #fcd34d;
}

.ph-module-rose {
    border-top: 3px solid #fda4af;
}

.ph-module-violet:hover {
    border-color: #5eead4;
    box-shadow: 0 22px 48px rgba(20, 120, 94, 0.16), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.ph-module-blue:hover {
    border-color: #93c5fd;
    box-shadow: 0 22px 48px rgba(37, 99, 235, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
}

.ph-module-emerald:hover {
    border-color: #6ee7b7;
    box-shadow: 0 22px 48px rgba(5, 150, 105, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
}

.ph-module-indigo:hover {
    border-color: #a5b4fc;
    box-shadow: 0 22px 48px rgba(79, 70, 229, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
}

.ph-module-amber:hover {
    border-color: #fcd34d;
    box-shadow: 0 22px 48px rgba(217, 119, 6, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
}

.ph-module-rose:hover {
    border-color: #fda4af;
    box-shadow: 0 22px 48px rgba(225, 29, 72, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #fff1f2 100%);
}

.ph-module h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ph-module p {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
}

.ph-module-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d9488;
    transition: gap 0.2s ease, color 0.2s ease;
}

.ph-module-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.ph-module:hover .ph-module-link {
    gap: 10px;
    color: #14785e;
}

.ph-module:hover .ph-module-link svg {
    transform: translateX(2px);
}

.ph-module-shine {
    position: absolute;
    top: 0;
    left: -120%;
    z-index: 3;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 35%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0.15) 65%,
            transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    opacity: 0;
}

.ph-module:hover .ph-module-shine {
    animation: ph-module-shine 0.75s ease forwards;
}

.ph-module:not(:hover) .ph-module-shine {
    animation: none;
    left: -120%;
    opacity: 0;
}

@keyframes ph-module-shine {
    0% {
        left: -120%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        left: 140%;
        opacity: 0;
    }
}

/* Portal cards */
.ph-portals {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    gap: 28px;
}

.ph-portal-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
}

.ph-portal-admin {
    border-top: 4px solid #0d9488;
}

.ph-portal-emp {
    border-top: 4px solid #0ea5e9;
}

.ph-portal-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ccfbf1;
    color: #14785e;
}

.ph-portal-badge-emp {
    background: #e0f2fe;
    color: #0369a1;
}

.ph-portal-card-top h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ph-portal-card-top p {
    margin: 0 0 20px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

.ph-portal-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
    flex: 1;
}

.ph-portal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #334155;
}

.ph-portal-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #22c55e;
}

/* Employee split */
.ph-emp-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.ph-emp-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.ph-emp-copy p {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

.ph-emp-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ph-emp-feature {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #e8edf5;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ph-emp-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(20, 120, 94, 0.1);
    border-color: #99f6e4;
}

.ph-emp-feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #ecfdf5;
    color: #0d9488;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.ph-emp-feature-icon svg {
    width: 22px;
    height: 22px;
}

.ph-emp-feature-body {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ph-emp-feature strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.ph-emp-feature span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
}

.ph-emp-feature-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.ph-emp-feature:hover .ph-emp-feature-shine {
    left: 140%;
}

.ph-emp-feature-blue .ph-emp-feature-icon {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.ph-emp-feature-violet .ph-emp-feature-icon {
    background: linear-gradient(135deg, #ccfbf1, #ecfdf5);
    color: #0d9488;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.ph-emp-feature-indigo .ph-emp-feature-icon {
    background: linear-gradient(135deg, #e0e7ff, #eef2ff);
    color: #4f46e5;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}

.ph-emp-feature-amber .ph-emp-feature-icon {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    color: #d97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}

.ph-emp-feature-emerald .ph-emp-feature-icon {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    color: #059669;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
}

.ph-emp-feature-rose .ph-emp-feature-icon {
    background: linear-gradient(135deg, #ffe4e6, #fff1f2);
    color: #e11d48;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.12);
}

.ph-emp-feature-blue {
    border-left: 3px solid #60a5fa;
}

.ph-emp-feature-violet {
    border-left: 3px solid #2dd4bf;
}

.ph-emp-feature-indigo {
    border-left: 3px solid #818cf8;
}

.ph-emp-feature-amber {
    border-left: 3px solid #fbbf24;
}

.ph-emp-feature-emerald {
    border-left: 3px solid #34d399;
}

.ph-emp-feature-rose {
    border-left: 3px solid #fb7185;
}

/* CTA */
.ph-cta {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background: #0b0f1a;
    color: #fff;
}

.ph-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ph-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.ph-cta-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: #0d9488;
    animation: ph-hero-drift 20s ease-in-out infinite;
}

.ph-cta-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    right: -60px;
    background: #0ea5e9;
    animation: ph-hero-drift 18s ease-in-out infinite reverse;
}

.ph-cta-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 15%, transparent 80%);
}

.ph-cta-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.ph-cta-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.25);
    border: 1px solid rgba(196, 181, 253, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e9d5ff;
}

.ph-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.ph-cta-copy>p {
    margin: 0 0 22px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 36rem;
}

.ph-cta-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ph-cta-perks span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ph-cta-perks svg {
    width: 14px;
    height: 14px;
    color: #4ade80;
    flex-shrink: 0;
}

.ph-cta-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ph-cta-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.ph-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.ph-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ph-cta-btn:hover svg {
    transform: translateX(3px);
}

.ph-cta-contact-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-cta-contact-card p {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

.ph-cta-contact-links {
    display: flex;
    gap: 10px;
}

.ph-cta-contact-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ph-cta-contact-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ph-cta-contact-link:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.ph-cta-contact-wa {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.ph-cta-contact-wa:hover {
    background: rgba(34, 197, 94, 0.25);
}

/* Footer */
.ph-footer {
    padding: 56px 0 0;
    background: #0f172a;
    color: #94a3b8;
}

.ph-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.ph-footer-brand .ph-brand {
    margin-bottom: 14px;
}

.ph-footer-brand .ph-brand-name {
    color: #fff;
}

.ph-footer-brand p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 280px;
}

.ph-footer-col h4 {
    margin: 0 0 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2e8f0;
}

.ph-footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.ph-footer-col a:hover {
    color: #fff;
}

.ph-footer-bottom {
    padding: 20px 0 28px;
    font-size: 0.82rem;
}

.emp-login-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.emp-login-admin-link-accent {
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
    background: #eef2ff !important;
}

.emp-login-admin-link-accent:hover {
    background: #e0e7ff !important;
}

/* 50% off promo popup */
body.ph-promo-open {
    overflow: hidden;
}

.ph-promo {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ph-promo.is-visible {
    opacity: 1;
    visibility: visible;
}

.ph-promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
}

.ph-promo-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin: auto;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 32px 80px rgba(20, 120, 94, 0.35), 0 12px 32px rgba(15, 23, 42, 0.18);
    transform: scale(0.96) translateY(12px);
    transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ph-promo.is-visible .ph-promo-card {
    transform: scale(1) translateY(0);
}

.ph-promo-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ph-promo-close svg {
    width: 18px;
    height: 18px;
}

.ph-promo-close:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.05);
}

.ph-promo-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.ph-promo-top {
    position: relative;
    padding: 32px 28px 28px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #115e59 0%, #0d9488 42%, #a855f7 100%);
    overflow: hidden;
}

.ph-promo-top::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.ph-promo-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.ph-promo-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.ph-promo-percent {
    font-size: clamp(4.5rem, 14vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ph-promo-off {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.ph-promo-off strong {
    font-size: 1.75rem;
    font-weight: 800;
}

.ph-promo-off em {
    font-size: 1.1rem;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.12em;
    opacity: 0.92;
}

.ph-promo-sub {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0.92;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.ph-promo-body {
    padding: 24px 28px 28px;
    text-align: center;
}

.ph-promo-body h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ph-promo-body>p {
    margin: 0 0 18px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
}

.ph-promo-perks {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
    text-align: left;
}

.ph-promo-perks li {
    position: relative;
    padding-left: 22px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

.ph-promo-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #a855f7);
}

.ph-promo-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #faf5ff 0%, #ecfdf5 100%);
    border: 1px dashed #5eead4;
}

.ph-promo-code span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.ph-promo-code strong {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #14785e;
}

.ph-promo-copy {
    padding: 6px 12px;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    color: #14785e;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ph-promo-copy:hover {
    background: #ccfbf1;
}

.ph-promo-actions {
    display: grid;
    gap: 10px;
}

.ph-promo-skip {
    padding: 8px;
    border: none;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: inherit;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s ease;
}

.ph-promo-skip:hover {
    color: #64748b;
}

.ph-promo-contact {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.ph-promo-contact p {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.ph-promo-contact-actions {
    display: flex;
    gap: 10px;
}

.ph-promo-contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.ph-promo-contact-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ph-promo-contact-btn:hover {
    border-color: #5eead4;
    background: #faf5ff;
    transform: translateY(-1px);
}

.ph-promo-contact-wa {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.ph-promo-contact-wa:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
}

@media (max-width: 480px) {
    .ph-promo {
        align-items: flex-start;
        padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
    }

    .ph-promo-card {
        max-width: 100%;
        border-radius: 20px;
        transform: translateY(8px);
    }

    .ph-promo.is-visible .ph-promo-card {
        transform: translateY(0);
    }

    .ph-promo-top {
        padding: 22px 18px 20px;
    }

    .ph-promo-tag {
        margin-bottom: 12px;
        padding: 5px 12px;
        font-size: 0.68rem;
    }

    .ph-promo-percent {
        font-size: 3.5rem;
    }

    .ph-promo-off strong {
        font-size: 1.35rem;
    }

    .ph-promo-off em {
        font-size: 0.95rem;
    }

    .ph-promo-sub {
        font-size: 0.8rem;
        max-width: none;
    }

    .ph-promo-body {
        padding: 18px 16px 20px;
    }

    .ph-promo-body h2 {
        font-size: 1.05rem;
    }

    .ph-promo-body>p {
        margin-bottom: 14px;
        font-size: 0.82rem;
    }

    .ph-promo-perks {
        margin-bottom: 14px;
        gap: 6px;
    }

    .ph-promo-perks li {
        font-size: 0.8rem;
    }

    .ph-promo-code {
        margin-bottom: 14px;
        padding: 10px 12px;
        gap: 8px;
    }

    .ph-promo-code strong {
        font-size: 1rem;
    }

    .ph-promo-contact {
        margin-top: 0;
        margin-bottom: 14px;
        padding: 12px;
    }

    .ph-promo-contact-actions {
        flex-direction: column;
    }

    .ph-promo-contact-btn {
        width: 100%;
    }

    .ph-promo-actions .ph-btn-lg {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .ph-promo-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .ph-promo-cta-full {
        display: none;
    }

    .ph-promo-cta-short {
        display: inline;
    }
}

@media (max-width: 480px) and (max-height: 740px) {
    .ph-promo-card {
        max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.ph-promo-cta-short {
    display: none;
}

.ph-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 150;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
    animation: ph-whatsapp-bounce 2.4s ease-in-out infinite;
}

.ph-whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 36px rgba(22, 163, 74, 0.55);
}

.ph-whatsapp-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
}

.ph-whatsapp-icon svg {
    width: 30px;
    height: 30px;
}

.ph-whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.45);
    animation: ph-whatsapp-pulse 2s ease-out infinite;
}

.ph-whatsapp-pulse-2 {
    animation-delay: 1s;
}

@keyframes ph-whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes ph-whatsapp-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

body.ph-promo-open .ph-whatsapp-float {
    z-index: 120;
}

.ph-price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.ph-price-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}
.ph-price-card.is-popular {
    border-color: #5eead4;
    box-shadow: 0 16px 40px rgba(13, 148, 136, .14);
    transform: translateY(-4px);
}
.ph-price-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: .72rem;
    font-weight: 800;
    padding: .25rem .55rem;
    border-radius: 999px;
}
.ph-price-card h3 {
    margin: 0 0 .4rem;
    font-size: 1.2rem;
    color: #0f172a;
}
.ph-price-card > p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
    min-height: 3.2em;
}
.ph-price-amt {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: 1rem 0 .85rem;
}
.ph-price-amt strong {
    font-size: 1.85rem;
    color: #0f172a;
}
.ph-price-amt span { color: #64748b; font-weight: 600; }
.ph-price-card ul {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    flex: 1;
}
.ph-price-card li {
    display: flex;
    gap: .45rem;
    align-items: center;
    color: #334155;
    font-size: .88rem;
    margin: .4rem 0;
}
.ph-price-card li svg {
    width: 16px;
    height: 16px;
    color: #0d9488;
    flex-shrink: 0;
}
.ph-trial-page .ph-nav { position: sticky; top: 0; }
.ph-trial-main { padding: 48px 0 80px; }
.ph-trial-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.ph-trial-copy h1 {
    margin: .4rem 0 .75rem;
    font-size: 2.2rem;
    line-height: 1.15;
    color: #0f172a;
}
.ph-trial-copy > p { color: #64748b; font-size: 1.05rem; }
.ph-trial-perks { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.ph-trial-perks li {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin: .45rem 0;
    color: #334155;
    font-weight: 600;
}
.ph-trial-perks svg { width: 18px; height: 18px; color: #0d9488; }
.ph-trial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}
.ph-trial-card h2 { margin: 0 0 .85rem; }
.ph-trial-card form { display: grid; gap: .75rem; }
.ph-trial-card label {
    display: grid;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 700;
    color: #475569;
}
.ph-trial-card input,
.ph-trial-card select {
    padding: .75rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font: inherit;
    font-weight: 500;
    color: #0f172a;
}
.ph-trial-card input:focus,
.ph-trial-card select:focus {
    outline: none;
    border-color: #5eead4;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .15);
}
.ph-trial-error {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    padding: .7rem .85rem;
    font-size: .88rem;
    margin-bottom: .5rem;
}
.ph-trial-note { margin: .85rem 0 0; color: #64748b; font-size: .82rem; }

@media (max-width: 1024px) {

    .ph-hero-grid,
    .ph-emp-split,
    .ph-cta-card,
    .ph-trial-wrap {
        grid-template-columns: 1fr;
    }

    .ph-price-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ph-hero-visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
    }

    .ph-hero-float-1 {
        left: 0;
        top: 4%;
    }

    .ph-hero-float-2 {
        right: 0;
        bottom: 6%;
    }

    .ph-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .ph-nav-links,
    .ph-nav-actions {
        display: none;
    }

    .ph-nav-phone span {
        display: none;
    }

    .ph-nav-phone {
        margin-left: auto;
        margin-right: 8px;
        padding: 8px 10px;
    }

    .ph-mobile-phone {
        display: flex;
    }

    .ph-nav-toggle {
        display: flex;
    }

    .ph-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ph-stat {
        padding: 18px 16px;
    }

    .ph-stats-band {
        margin-top: -36px;
        padding-bottom: 44px;
    }

    .ph-modules,
    .ph-portals,
    .ph-emp-features,
    .ph-price-grid,
    .ph-trial-wrap {
        grid-template-columns: 1fr;
    }

    .ph-section {
        padding: 56px 0;
    }

    .ph-cta {
        padding: 64px 0;
    }

    .ph-cta-card {
        padding: 28px 24px;
        gap: 28px;
    }

    .ph-cta-contact-links {
        flex-direction: column;
    }

    .ph-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .ph-container {
        padding: 0 16px;
    }

    .ph-hero {
        padding: 48px 0 64px;
    }

    .ph-hero-float {
        display: none;
    }

    .ph-mockup {
        transform: none;
    }

    .ph-hero-chips {
        gap: 6px;
    }

    .ph-hero-chips span {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .ph-hero-ctas {
        flex-direction: column;
    }

    .ph-hero-ctas .ph-btn {
        width: 100%;
    }

    .ph-mockup-body {
        grid-template-columns: 1fr;
    }

    .ph-mockup-stat-1 {
        grid-column: auto;
    }

    .ph-stats-grid {
        grid-template-columns: 1fr;
    }

    .ph-stat-body strong {
        font-size: 1.6rem;
    }

    .ph-cta-perks {
        flex-direction: column;
        align-items: flex-start;
    }

    .ph-module::before {
        font-size: 1.8rem;
    }
}
