/* ============================================
   Commerzy - Flashsalepage 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;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background: #f8f9fa;
}

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

/* ========== DIAGRAM IMAGE ========== */
.diagram-image {
    text-align: center;
    margin-bottom: 60px;
}

.diagram-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========== FEATURES TWO COLUMN ========== */
.features-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 20px;
}

.feature-item h3 {
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    line-height: 1.8;
    color: #777777;
}

/* ========== FEATURES WITH IMAGE ========== */
.features-with-image {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row .feature-image {
    flex: 1;
}

.feature-row .feature-image img {
    max-width: 100%;
    height: auto;
}

.feature-row .feature-text {
    flex: 1;
}

.feature-row .feature-text h3 {
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-row .feature-text p {
    line-height: 1.8;
    color: #777777;
}

/* ========== TRACKING PLATFORMS ========== */
.tracking-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.platform-item {
    text-align: center;
    padding: 20px;
}

.platform-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.platform-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* ========== LEGACY SUPPORT ========== */
.main-content-section {
    padding: 80px 0;
}

.main-content-section .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.main-content-section .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: #777777;
}

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

.feature-box {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: #0091ac;
}

.feature-box p {
    line-height: 1.8;
    color: #777777;
}

/* ========== 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;
    }

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

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

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-row .feature-image {
        margin-bottom: 20px;
    }
}

@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;
    }

    .content-section {
        padding: 50px 0;
    }

    .content-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .features-with-image {
        gap: 40px;
    }

    .feature-item h3,
    .feature-row .feature-text h3 {
        font-size: 20px;
    }

    .platform-item img {
        width: 80px;
        height: 80px;
    }
}

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

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

    .tracking-platforms {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .platform-item img {
        width: 60px;
        height: 60px;
    }

    .platform-item p {
        font-size: 12px;
    }
}
