/* =============================================
   ERP SYSTEM SECTION STYLES
   Matches Softconic dark theme aesthetic
============================================= */

/* Section Container */
.erp-system-section {
    background: #0a0a0a;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.erp-system-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(6, 216, 137, 0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(6, 216, 137, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.erp-section-header {
    margin-bottom: 70px;
}

.erp-badge {
    display: inline-block;
    background: rgba(6, 216, 137, 0.1);
    color: rgb(6, 216, 137);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(6, 216, 137, 0.2);
}

.erp-section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-saira);
}

.erp-section-header h2 span {
    color: rgb(6, 216, 137);
}

.erp-subtitle {
    color: #b5b5b5;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Module Cards Grid */
.erp-modules-grid {
    margin-bottom: 100px;
}

.erp-module-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

.erp-module-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.erp-module-card {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.erp-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgb(6, 216, 137), rgba(6, 216, 137, 0.3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.erp-module-card:hover {
    border-color: rgba(6, 216, 137, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.erp-module-card:hover::before {
    transform: scaleX(1);
}

.erp-module-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 216, 137, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.erp-module-card:hover .erp-module-icon {
    background: rgba(6, 216, 137, 0.2);
    transform: scale(1.05);
}

.erp-module-icon i {
    font-size: 24px;
    color: rgb(6, 216, 137);
}

.erp-module-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-saira);
}

.erp-module-card > p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Feature Lists in Cards */
.erp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.erp-feature-list li {
    color: #ccc;
    font-size: 13px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.erp-feature-list li:first-child {
    border-top: none;
}

.erp-feature-list li i {
    color: rgb(6, 216, 137);
    font-size: 11px;
    flex-shrink: 0;
}

/* Benefits Section */
.erp-benefits-section {
    margin-bottom: 100px;
    padding: 60px 0;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
}

.erp-benefits-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-saira);
}

.erp-benefits-content h3 span {
    color: rgb(6, 216, 137);
}

.erp-benefits-content > p {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.erp-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.erp-benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(6, 216, 137, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.erp-benefit-item:hover .benefit-icon {
    background: rgba(6, 216, 137, 0.2);
}

.benefit-icon i {
    font-size: 18px;
    color: rgb(6, 216, 137);
}

.benefit-text h5 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    font-family: var(--font-saira);
}

.benefit-text p {
    color: #999;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Stats Grid */
.erp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.erp-stat-card {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.erp-stat-card:hover {
    border-color: rgba(6, 216, 137, 0.3);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: rgb(6, 216, 137);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-saira);
}

.stat-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Workflow Section */
.erp-workflow-section {
    margin-bottom: 100px;
}

.erp-workflow-section h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-saira);
}

.erp-workflow-section h3 span {
    color: rgb(6, 216, 137);
}

.erp-workflow-step {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 35px 25px;
    height: 100%;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.erp-workflow-step:hover {
    border-color: rgba(6, 216, 137, 0.3);
    transform: translateY(-5px);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(6, 216, 137, 0.15);
    line-height: 1;
    margin-bottom: 15px;
    font-family: var(--font-saira);
}

.erp-workflow-step:hover .step-number {
    color: rgba(6, 216, 137, 0.3);
}

.erp-workflow-step h5 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-saira);
}

.erp-workflow-step p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* CTA Section */
.erp-cta-section {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid #232323;
    border-radius: 16px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.erp-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(6, 216, 137, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.erp-cta-section h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-saira);
    position: relative;
}

.erp-cta-section p {
    color: #999;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.erp-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: rgb(6, 216, 137);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 5px 10px;
    position: relative;
    font-family: var(--font-saira);
}

.erp-cta-btn:hover {
    background: rgb(5, 190, 120);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 216, 137, 0.2);
}

.erp-cta-btn-outline {
    background: transparent;
    color: rgb(6, 216, 137);
    border: 1px solid rgba(6, 216, 137, 0.4);
}

.erp-cta-btn-outline:hover {
    background: rgba(6, 216, 137, 0.1);
    color: rgb(6, 216, 137);
    border-color: rgb(6, 216, 137);
}

/* =============================================
   RESPONSIVE STYLES
============================================= */

@media (max-width: 1199px) {
    .erp-section-header h2 {
        font-size: 40px;
    }

    .erp-benefits-content h3,
    .erp-workflow-section h3,
    .erp-cta-section h3 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .erp-system-section {
        padding: 80px 0;
    }

    .erp-section-header {
        margin-bottom: 50px;
    }

    .erp-section-header h2 {
        font-size: 34px;
    }

    .erp-modules-grid {
        margin-bottom: 70px;
    }

    .erp-benefits-section {
        margin-bottom: 70px;
    }

    .erp-stats-grid {
        margin-top: 40px;
    }

    .erp-workflow-section {
        margin-bottom: 70px;
    }

    .stat-number {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .erp-section-header h2 {
        font-size: 28px;
    }

    .erp-benefits-content h3,
    .erp-workflow-section h3,
    .erp-cta-section h3 {
        font-size: 26px;
    }

    .erp-cta-section {
        padding: 40px 25px;
    }

    .erp-cta-btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }

    .step-number {
        font-size: 36px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .erp-section-header h2 {
        font-size: 24px;
    }

    .erp-module-card {
        padding: 25px 20px;
    }

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