/* ============================================
   Commerzy - Ecommerce Page Styles
   ============================================ */

/* ========== PAGE HERO ========== */
.page-hero {
    background: linear-gradient(to right, #8cd45f 0%, #0091ac 100%);
    padding: 80px 0;
    color: #fff;
}

.page-hero .hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-hero .hero-text {
    flex: 1;
}

.page-hero .hero-text .badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.page-hero .hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero .hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-hero .hero-image {
    flex: 1;
}

.page-hero .hero-image img {
    max-width: 100%;
    height: auto;
}

/* ========== INTRO SECTION ========== */
.intro-section {
    padding: 80px 0;
}

.intro-section .intro-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #777777;
    font-size: 17px;
}

.intro-section .intro-content p {
    margin-bottom: 20px;
}

/* ========== PROBLEMS SECTION ========== */
.problems-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.problems-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.problems-section .section-title.text-danger {
    color: #a80000;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.problem-item .problem-icon {
    width: 60px;
    height: 60px;
    background: rgba(168, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-item .problem-icon i {
    font-size: 28px;
    color: #a80000;
}

.problem-item h3 {
    color: #a80000;
    font-size: 18px;
    margin-bottom: 15px;
}

.problem-item p {
    color: #777777;
    line-height: 1.7;
    margin: 0;
}

/* ========== SOLUTION SECTION ========== */
.solution-section {
    background: rgba(153, 205, 108, 0.1);
    padding: 80px 0;
    text-align: center;
}

.solution-section .section-title {
    font-size: 32px;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

.solution-section .section-title.text-success {
    color: #99cd6c;
}

/* ========== RESPONSIVE SECTION ========== */
.responsive-section {
    padding: 80px 0;
}

.responsive-section .section-title {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.responsive-section .responsive-image {
    text-align: center;
    margin-bottom: 50px;
}

.responsive-section .responsive-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.responsive-section .cta-center {
    text-align: center;
    margin-top: 40px;
}

.responsive-section .btn {
    display: inline-block;
    background: #99ca3d;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.responsive-section .btn:hover {
    background: #2c3e50;
}

/* ========== HOW IT WORKS SECTION ========== */
.howitworks-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.howitworks-section .section-title {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.howitworks-section .diagram-image {
    text-align: center;
    margin-bottom: 50px;
}

.howitworks-section .diagram-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Steps List */
.steps-list {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.step-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 50px;
    bottom: -30px;
    width: 2px;
    height: 30px;
    background: #99ca3d;
}

.step-item:last-child:after {
    display: none;
}

.step-item .step-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: #99ca3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item .step-icon i {
    color: #fff;
    font-size: 22px;
}

.step-item .step-content h3 {
    color: #99ca3d;
    font-size: 20px;
    margin-bottom: 10px;
}

.step-item .step-content p {
    color: #777777;
    line-height: 1.7;
    margin: 0;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 80px 0;
}

.features-section .section-title {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(153, 202, 61, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-item .feature-icon i {
    font-size: 32px;
    color: #99ca3d;
}

.feature-item h3 {
    color: #99ca3d;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-item p {
    color: #777777;
    line-height: 1.7;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .page-hero {
        padding: 60px 0;
    }

    .page-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .page-hero .hero-text,
    .page-hero .hero-image {
        flex: none;
        max-width: 100%;
    }

    .page-hero .hero-image {
        margin-top: 30px;
    }

    .page-hero .hero-text h1 {
        font-size: 32px;
    }

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

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

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-item .step-icon {
        margin: 0 auto;
    }

    .step-item:not(:last-child):after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }

    .page-hero .hero-text h1 {
        font-size: 28px;
    }

    .page-hero .hero-text p {
        font-size: 16px;
    }

    .intro-section,
    .problems-section,
    .solution-section,
    .responsive-section,
    .howitworks-section,
    .features-section {
        padding: 50px 0;
    }

    .intro-section .section-title,
    .problems-section .section-title,
    .solution-section .section-title,
    .responsive-section .section-title,
    .howitworks-section .section-title,
    .features-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .solution-section .section-title {
        font-size: 22px;
    }

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

    .feature-item {
        padding: 25px;
    }

    .step-item {
        padding: 20px;
    }

    .step-item .step-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .page-hero .hero-text h1 {
        font-size: 24px;
    }

    .page-hero .hero-text .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .problem-item {
        padding: 20px;
    }

    .problem-item .problem-icon {
        width: 50px;
        height: 50px;
    }

    .problem-item .problem-icon i {
        font-size: 22px;
    }

    .problem-item h3 {
        font-size: 16px;
    }

    .feature-item .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-item .feature-icon i {
        font-size: 26px;
    }

    .feature-item h3 {
        font-size: 16px;
    }

    .responsive-section .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
