/* ============================================
   AI CRM Engine - HRM Page Specific Styles
   ============================================ */

/* HRM Color Scheme */
:root {
    --hrm-primary: #10b981;
    --hrm-dark: #059669;
    --hrm-light: #d1fae5;
    --hrm-bg: #ecfdf5;
    --hrm-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Gradient Text HRM */
.gradient-text-hrm {
    background: var(--hrm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* HRM Badges */
.hrm-badge {
    background: var(--hrm-bg) !important;
    color: var(--hrm-primary) !important;
}

.hrm-badge-light {
    background: var(--hrm-light) !important;
    color: var(--hrm-dark) !important;
}

/* HRM Buttons */
.btn-hrm {
    background: var(--hrm-gradient);
    color: var(--white);
    border-color: var(--hrm-primary);
}

.btn-hrm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-hrm {
    background: transparent;
    color: var(--hrm-primary);
    border-color: var(--hrm-primary);
}

.btn-outline-hrm:hover {
    background: var(--hrm-primary);
    color: var(--white);
}

/* HRM Hero */
.hrm-hero {
    background: linear-gradient(180deg, var(--hrm-bg) 0%, var(--white) 100%);
}

.hrm-hero .hero-badge {
    background: var(--white);
    border: 1px solid var(--hrm-light);
}

.hrm-orb.orb-1 {
    background: var(--hrm-light);
}

.hrm-orb.orb-2 {
    background: #6ee7b7;
}

/* Pain Points Section */
.pain-points {
    padding: 5rem 0;
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pain-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pain-card:hover {
    border-color: #fca5a5;
    background: #fef2f2;
}

.pain-card i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.pain-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.pain-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* HRM Features Section */
.hrm-features {
    background: var(--gray-50);
    padding: 5rem 0;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 1rem 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hrm-bg);
    color: var(--hrm-primary);
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-content > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.feature-list i {
    color: var(--hrm-primary);
    font-size: 0.75rem;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-preview {
    width: 300px;
    height: 250px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

.feature-preview i {
    font-size: 5rem;
    color: var(--hrm-light);
}

/* More Features */
.more-features {
    margin-top: 4rem;
    text-align: center;
}

.more-features h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-700);
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mini-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.mini-feature:hover {
    border-color: var(--hrm-light);
    box-shadow: var(--shadow-md);
}

.mini-feature i {
    font-size: 1.5rem;
    color: var(--hrm-primary);
}

.mini-feature span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Why Choose Section */
.why-choose {
    background: var(--white);
    padding: 5rem 0;
}

.hrm-card {
    border-color: var(--hrm-light);
}

.hrm-card:hover {
    border-color: var(--hrm-primary);
}

.hrm-icon {
    background: var(--hrm-bg) !important;
    color: var(--hrm-primary) !important;
}

/* FAQ Section */
.faq {
    background: var(--gray-50);
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.faq-item h4 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.faq-item h4 i {
    color: var(--hrm-primary);
    margin-top: 0.125rem;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    padding-left: 1.75rem;
}

/* HRM CTA */
.hrm-cta {
    background: var(--hrm-gradient);
}

/* HRM Highlight Card */
.hrm-highlight {
    background: var(--hrm-bg) !important;
    border: 1px solid var(--hrm-light) !important;
}

.hrm-highlight h4 {
    color: var(--hrm-dark) !important;
}

.hrm-highlight .trial-includes li::before {
    color: var(--hrm-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr;
    }

    .feature-content {
        order: 1;
    }

    .feature-visual {
        order: 2;
    }

    .feature-icon {
        margin: 0 auto 1.5rem;
    }

    .feature-list {
        max-width: 400px;
        margin: 0 auto;
    }

    .more-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }

    .more-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-preview {
        width: 250px;
        height: 200px;
    }

    .feature-preview i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .more-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .mini-feature {
        padding: 1rem 0.5rem;
    }

    .mini-feature span {
        font-size: 0.75rem;
    }
}
