/* TruPeople Mobile App — page-specific styles */

.tp-ma-page {
    background: #f7fbfb;
}

.tp-ma-section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b5560;
    background: rgba(168, 240, 223, 0.25);
    border: 1px solid rgba(11, 85, 96, 0.15);
}

.tp-ma-section-badge--light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(168, 240, 223, 0.3);
    color: #a8f0df;
}

.tp-ma-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b5560;
    background: transparent;
    border: 1.5px solid #0b5560;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.tp-ma-link-btn:hover {
    background: #0b5560;
    color: #ffffff;
    text-decoration: none;
}

.tp-ma-link-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.tp-ma-link-btn:hover svg {
    transform: translateX(3px);
}

.tp-ma-link-btn--on-dark {
    border-color: rgba(168, 240, 223, 0.55);
    color: #a8f0df;
}

.tp-ma-link-btn--on-dark:hover {
    background: #a8f0df;
    color: #062f35;
    border-color: #a8f0df;
}

.tp-ma-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #083e45;
    background: #a8f0df;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tp-ma-btn-light:hover {
    background: #c5f5ea;
    color: #062f35;
    text-decoration: none;
    transform: translateX(3px);
}

/* Hero store row */
.tp-ma-store-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.tp-ma-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(168, 240, 223, 0.22);
    color: #0b5560;
    border: 1px solid rgba(11, 85, 96, 0.15);
}

.tp-ma-store-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tp-ma-store-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Why pillars — 3 column */
.tp-ma-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tp-ma-pillar {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(8, 62, 69, 0.1);
    overflow: hidden;
}

.tp-ma-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b5560, #a8f0df);
}

.tp-ma-pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 240, 223, 0.22);
    color: #0b5560;
}

.tp-ma-pillar-icon svg {
    width: 22px;
    height: 22px;
}

.tp-ma-pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #102f35;
    margin-bottom: 0.5rem;
}

.tp-ma-pillar p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #52696e;
    margin: 0;
}

/* Phone sync hub */
.tp-ma-sync-hub {
    border-radius: 22px;
    overflow: hidden;
    padding: 2.5rem;
    background: linear-gradient(135deg, #062f35 0%, #083e45 50%, #0b5560 100%);
    box-shadow: 0 28px 70px rgba(8, 62, 69, 0.18);
}

.tp-ma-sync-layout {
    display: grid;
    grid-template-columns: 1fr 400px 600px;
    gap: 2rem;
    align-items: center;
}

.tp-ma-phone-frame {
    position: relative;
    padding: 0.65rem;
    border-radius: 28px;
    background: #0a2e34;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.tp-ma-phone-notch {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.tp-ma-phone-screen {
    border-radius: 22px;
    overflow: hidden;
}

.tp-ma-phone-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.tp-ma-sync-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.tp-ma-sync-bridge-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(168, 240, 223, 0.85);
}

.tp-ma-sync-bridge-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 200px;
}

.tp-ma-sync-bridge-node {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(168, 240, 223, 0.3);
    color: #a8f0df;
}

.tp-ma-sync-bridge-node svg {
    width: 18px;
    height: 18px;
}

.tp-ma-sync-bridge-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(168, 240, 223, 0.2), rgba(168, 240, 223, 0.8), rgba(168, 240, 223, 0.2));
    position: relative;
}

.tp-ma-sync-bridge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a8f0df;
    box-shadow: 0 0 12px rgba(168, 240, 223, 0.8);
    animation: tp-ma-sync-pulse 2s ease-in-out infinite;
}

@keyframes tp-ma-sync-pulse {

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

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

.tp-ma-sync-bridge-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.tp-ma-sync-bridge-item {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-ma-sync-copy h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.tp-ma-sync-copy p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* Core features — icon grid */
.tp-ma-core-section {
    background: #ffffff;
}

.tp-ma-core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.tp-ma-core-card {
    padding: 1.35rem;
    border-radius: 16px;
    background: #f7fbfb;
    border: 1px solid rgba(8, 62, 69, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tp-ma-core-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 240, 223, 0.35) 0%, rgba(126, 232, 212, 0.2) 100%);
    color: #0b5560;
}

.tp-ma-core-icon svg {
    width: 22px;
    height: 22px;
}

.tp-ma-core-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102f35;
    margin-bottom: 0.35rem;
}

.tp-ma-core-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #52696e;
    margin: 0;
}

/* Employee self-service — striped cards */
.tp-ma-employee-section {
    background: #eef8f9;
}

.tp-ma-employee-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tp-ma-stripe-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tp-ma-stripe-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(8, 62, 69, 0.08);
    box-shadow: 0 8px 24px rgba(8, 62, 69, 0.05);
    position: relative;
    overflow: hidden;
}

.tp-ma-stripe-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #0b5560, #a8f0df);
}

.tp-ma-stripe-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0b5560;
    background: rgba(168, 240, 223, 0.3);
}

.tp-ma-stripe-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102f35;
    margin-bottom: 0.3rem;
}

.tp-ma-stripe-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #52696e;
    margin: 0;
}

.tp-ma-phone-mock-mini {
    border-radius: 24px;
    padding: 1.5rem;
    background: linear-gradient(145deg, #e8f7f4 0%, #d4f0eb 100%);
    border: 1px solid rgba(11, 85, 96, 0.12);
}

.tp-ma-phone-mock-ui {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(8, 62, 69, 0.08);
    box-shadow: 0 16px 40px rgba(8, 62, 69, 0.1);
}

.tp-ma-phone-mock-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #083e45 0%, #0b5560 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}

.tp-ma-phone-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(8, 62, 69, 0.06);
    font-size: 0.78rem;
}

.tp-ma-phone-mock-row:last-child {
    border-bottom: none;
}

.tp-ma-phone-mock-row strong {
    color: #102f35;
    font-weight: 600;
}

.tp-ma-phone-mock-row span {
    color: #6b858a;
}

.tp-ma-phone-mock-row .tp-ma-mock-val {
    color: #0b5560;
    font-weight: 700;
}

/* Manager oversight — command panel */
.tp-ma-manager-panel {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, #041f24 0%, #062f35 50%, #083e45 100%);
    box-shadow: 0 28px 70px rgba(4, 24, 28, 0.2);
}

.tp-ma-manager-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-ma-manager-panel-head .tp-tool-section-title {
    color: #ffffff;
    margin-bottom: 0;
}

.tp-ma-manager-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.tp-ma-manager-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-ma-manager-metric {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tp-ma-manager-metric strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.tp-ma-manager-metric span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
}

.tp-ma-manager-features {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.tp-ma-manager-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-ma-manager-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tp-ma-manager-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 240, 223, 0.15);
    color: #a8f0df;
}

.tp-ma-manager-feature-icon svg {
    width: 18px;
    height: 18px;
}

.tp-ma-manager-feature h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.tp-ma-manager-feature p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.tp-ma-manager-cta {
    padding: 0 2rem 2rem;
}

/* Collaboration */
.tp-ma-collab {
    background: #ffffff;
}

.tp-ma-collab-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(8, 62, 69, 0.12);
}

.tp-ma-collab-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.tp-ma-collab-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.tp-ma-collab-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #52696e;
}

.tp-ma-collab-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 240, 223, 0.35);
    color: #0b5560;
    margin-top: 0.1rem;
}

.tp-ma-collab-check svg {
    width: 12px;
    height: 12px;
}

.tp-ma-store-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .tp-ma-sync-layout {
        grid-template-columns: 180px 1fr 1fr;
        gap: 1.5rem;
    }

    .tp-ma-core-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .tp-ma-pillars {
        grid-template-columns: 1fr;
    }

    .tp-ma-sync-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tp-ma-phone-frame {
        max-width: 220px;
        margin: 0 auto;
    }

    .tp-ma-sync-bridge {
        order: 3;
    }

    .tp-ma-sync-copy {
        order: 2;
    }

    .tp-ma-sync-copy h2 {
        font-size: 1.55rem;
    }

    .tp-ma-employee-layout {
        grid-template-columns: 1fr;
    }

    .tp-ma-manager-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tp-ma-manager-body {
        grid-template-columns: 1fr;
    }

    .tp-ma-manager-metrics {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767.98px) {
    .tp-ma-core-grid {
        grid-template-columns: 1fr;
    }

    .tp-ma-manager-metrics {
        grid-template-columns: 1fr;
    }

    .tp-ma-sync-hub {
        padding: 1.75rem 1.25rem;
    }
}