/* =========================================
   PREVENTIVE MAINTENANCE PAGE STYLES
========================================= */

/* Color Variables */
:root {
    --pm-dark: #0b121e;
    --pm-dark-alt: #1a2a3a;
    --pm-cyan: #4fe3d7;
    --pm-teal: #0e78c8;
    --pm-bg-light: #0e1116;
    --pm-text: #e6ebef;
    --pm-text-muted: #bfc7cf;
}

/* ==================== HERO SECTION ==================== */
.pm-hero {
    background: linear-gradient(135deg, var(--pm-dark) 0%, var(--pm-dark-alt) 50%, var(--pm-bg-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.pm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 50%, rgba(79, 227, 215, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(14, 120, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pm-badge {
    display: inline-block;
    background: rgba(79, 227, 215, 0.1);
    border: 1px solid rgba(79, 227, 215, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--pm-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pm-badge i {
    margin-right: 8px;
}

.pm-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
}

.pm-hero-subtitle {
    font-size: 1.2rem;
    color: var(--pm-text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.pm-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pm-btn i {
    font-size: 1.1rem;
}

.pm-btn-primary {
    background: var(--pm-cyan);
    color: var(--pm-dark);
    border: 2px solid var(--pm-cyan);
}

.pm-btn-primary:hover {
    background: transparent;
    color: var(--pm-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 227, 215, 0.3);
}

.pm-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--pm-teal);
}

.pm-btn-outline:hover {
    background: var(--pm-teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 120, 200, 0.3);
}

.pm-visual {
    height: 450px;
    width: 100%;
}

/* ==================== BASE SECTION ==================== */
.pm-section {
    padding: 80px 0;
    background: #f8f9fb;
    position: relative;
}

.pm-section:nth-child(even) {
    background: white;
}

.pm-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pm-dark);
    margin-bottom: 15px;
}

.pm-subtitle {
    font-size: 1.1rem;
    color: var(--pm-text-muted);
    margin-bottom: 0;
}

.pm-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==================== WHAT IS PREVENTIVE MAINTENANCE ==================== */
.pm-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pm-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.pm-image-box:hover .pm-img {
    transform: scale(1.05);
}

.pm-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.pm-highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(79, 227, 215, 0.1), rgba(14, 120, 200, 0.1));
    border: 1px solid rgba(79, 227, 215, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pm-highlight-chip:hover {
    background: linear-gradient(135deg, rgba(79, 227, 215, 0.15), rgba(14, 120, 200, 0.15));
    border-color: var(--pm-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 227, 215, 0.2);
}

.pm-highlight-chip i {
    font-size: 1.3rem;
    color: var(--pm-teal);
}

.pm-highlight-chip span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pm-dark);
}

/* ==================== DATA-DRIVEN PM APPROACH ==================== */
.pm-approach {
    background: linear-gradient(135deg, var(--pm-dark) 0%, var(--pm-dark-alt) 100%);
}

.pm-approach .pm-section-title,
.pm-approach .pm-subtitle {
    color: white;
}

.pm-approach-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 227, 215, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.pm-approach-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--pm-cyan);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 227, 215, 0.2);
}

.pm-approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--pm-cyan), var(--pm-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pm-dark);
}

.pm-approach-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.pm-approach-card p {
    font-size: 1rem;
    color: var(--pm-text-muted);
    margin: 0;
}

/* ==================== CORE PREVENTIVE ACTIVITIES ==================== */
.pm-activity-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.pm-activity-card:hover {
    border-color: var(--pm-cyan);
    box-shadow: 0 10px 30px rgba(79, 227, 215, 0.15);
    transform: translateX(5px);
}

.pm-activity-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(79, 227, 215, 0.1), rgba(14, 120, 200, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--pm-teal);
}

.pm-activity-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pm-dark);
    margin-bottom: 10px;
}

.pm-activity-content p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ==================== PROCESS TIMELINE ==================== */
.pm-process {
    background: linear-gradient(180deg, #f8f9fb 0%, white 100%);
}

.pm-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    padding: 40px 0;
}

.pm-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--pm-cyan), var(--pm-teal), var(--pm-cyan));
    z-index: 0;
}

.pm-timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pm-timeline-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pm-cyan), var(--pm-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 5px 20px rgba(79, 227, 215, 0.4);
    transition: all 0.3s ease;
}

.pm-timeline-item:hover .pm-timeline-number {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(79, 227, 215, 0.6);
}

.pm-timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pm-dark);
    margin-bottom: 8px;
}

.pm-timeline-content p {
    font-size: 0.95rem;
    color: var(--pm-text-muted);
    margin: 0;
}

/* ==================== WHO NEEDS PM ==================== */
.pm-needs {
    background: white;
}

.pm-need-card {
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(135deg, #f8f9fb 0%, white 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
}

.pm-need-card:hover {
    background: linear-gradient(135deg, var(--pm-dark), var(--pm-dark-alt));
    border-color: var(--pm-cyan);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pm-need-card i {
    font-size: 3.5rem;
    color: var(--pm-teal);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.pm-need-card:hover i {
    color: var(--pm-cyan);
    transform: scale(1.1);
}

.pm-need-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pm-dark);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.pm-need-card:hover h4 {
    color: white;
}

.pm-need-card p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    transition: all 0.3s ease;
}

.pm-need-card:hover p {
    color: var(--pm-text-muted);
}

/* ==================== WHY ZENTRYX FOR PM ==================== */
.pm-why-us {
    background: #f8f9fb;
}

.pm-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.pm-trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: white;
    border: 1px solid rgba(79, 227, 215, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pm-trust-item:hover {
    background: linear-gradient(135deg, rgba(79, 227, 215, 0.05), rgba(14, 120, 200, 0.05));
    border-color: var(--pm-cyan);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(79, 227, 215, 0.15);
}

.pm-trust-item i {
    font-size: 2rem;
    color: var(--pm-teal);
}

.pm-trust-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pm-dark);
}

/* ==================== FINAL CTA ==================== */
.pm-cta-final {
    background: linear-gradient(135deg, var(--pm-dark) 0%, var(--pm-dark-alt) 50%, var(--pm-bg-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pm-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(79, 227, 215, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(14, 120, 200, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.pm-cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.pm-cta-subtitle {
    font-size: 1.2rem;
    color: var(--pm-text-muted);
    margin-bottom: 40px;
}

.pm-btn-light {
    background: white;
    color: var(--pm-dark);
    border: 2px solid white;
}

.pm-btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.pm-btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pm-btn-outline-light:hover {
    background: white;
    color: var(--pm-dark);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .pm-hero-title {
        font-size: 2.5rem;
    }

    .pm-section-title {
        font-size: 2rem;
    }

    .pm-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .pm-timeline::before {
        display: none;
    }

    .pm-trust-grid {
        grid-template-columns: 1fr;
    }

    .pm-highlights {
        flex-direction: column;
    }

    .pm-highlight-chip {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pm-hero {
        padding: 80px 0 60px;
    }

    .pm-hero-title {
        font-size: 2rem;
    }

    .pm-section {
        padding: 60px 0;
    }

    .pm-cta-group {
        flex-direction: column;
    }

    .pm-btn {
        width: 100%;
        justify-content: center;
    }

    .pm-cta-title {
        font-size: 2rem;
    }

    .pm-visual {
        height: 300px;
    }
}