/* Mua Hang Page Specific Styles */

/* 1. Hero Section */
.mh-hero {
    background-color: #003B95; /* Vibrant blue background */
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.mh-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../../images/hero-bg.png') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 1;
}

.mh-hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.mh-hero-content {
    flex: 1;
}

.mh-hero-content h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mh-hero-features {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.mh-hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.mh-hero-features li img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(35%) saturate(3474%) hue-rotate(167deg) brightness(101%) contrast(97%); /* Cyan tick */
}

.mh-hero-actions {
    display: flex;
    gap: 1rem;
}

.mh-hero-actions .btn-outline {
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.mh-hero-actions .btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.mh-hero-image {
    flex: 1.2;
    margin-right: calc(50% - 50vw);
}

.mh-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

/* 2. Số hóa quy trình */
.mh-digitize {
    padding: 6rem 0;
    background-color: #ffffff;
}

.mh-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mh-section-header h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.mh-section-header p {
    font-size: 1.15rem;
    color: #475569;
}

.mh-cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.mh-card {
    flex: 1;
    max-width: 500px;
    border-radius: 16px;
    padding: 3rem 2.5rem;
}

.mh-card-manual {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.mh-card-software {
    background-color: #eff6ff; /* Light blue */
    border: 1px solid transparent;
}

.mh-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #0f172a;
}

.mh-card ul {
    list-style: none;
    padding: 0;
}

.mh-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
}

.mh-card-manual ul li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: brightness(0) saturate(100%) invert(35%) sepia(87%) saturate(2256%) hue-rotate(345deg) brightness(97%) contrast(93%); /* Red-ish */
}

.mh-card-software ul li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 3. Workflow Diagram */
.mh-workflow {
    padding: 6rem 0;
    background-color: #ffffff;
    text-align: center;
}

.mh-workflow img {
    max-width: 100%;
    margin-top: 3rem;
}

/* 4. Timeline Features */
.mh-timeline {
    padding: 6rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.mh-timeline-container {
    position: relative;
}

/* Dashed vertical line */
.mh-timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 5rem;
    bottom: 5rem;
    width: 2px;
    border-left: 2px dashed #94a3b8;
    transform: translateX(-50%);
    z-index: 0;
}

.mh-feature-row {
    display: flex;
    align-items: center;
    gap: 8rem;
    margin-bottom: 8rem;
    position: relative;
    z-index: 1;
}

.mh-feature-row:last-child {
    margin-bottom: 0;
}

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

.mh-feature-image, .mh-feature-text {
    flex: 1;
    position: relative;
}

/* Dot on the line */
.mh-feature-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.mh-feature-row:not(.reversed) .mh-feature-image .mh-feature-dot {
    right: -4rem; /* Half of the 8rem gap */
    transform: translate(50%, -50%);
}

.mh-feature-row.reversed .mh-feature-image .mh-feature-dot {
    left: -4rem; /* Half of the 8rem gap */
    transform: translate(-50%, -50%);
}

.mh-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 3;
}

.mh-feature-text h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mh-feature-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mh-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.mh-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #334155;
}

.mh-feature-list li img {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.mh-feature-actions {
    display: flex;
    gap: 1rem;
}

.mh-feature-actions .btn-outline {
    border: 1px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
}

.mh-feature-actions .btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
}

/* Add dotted horizontal line for the first row as seen in design (optional but nice) */
.horizontal-dash {
    position: absolute;
    top: 50%;
    width: 4rem;
    border-top: 2px dashed #94a3b8;
    z-index: 1;
}

.mh-feature-row:not(.reversed) .mh-feature-image .horizontal-dash {
    right: -4rem;
}

.mh-feature-row.reversed .mh-feature-image .horizontal-dash {
    left: -4rem;
}


/* Responsive */
@media (max-width: 992px) {
    .mh-hero-container, .mh-cards-container, .mh-feature-row {
        flex-direction: column;
        text-align: center;
    }
    .mh-feature-row.reversed {
        flex-direction: column;
    }
    .mh-hero-features li, .mh-feature-list li {
        justify-content: center;
        text-align: left;
    }
    .mh-hero-actions, .mh-feature-actions {
        justify-content: center;
    }
    .mh-timeline-container::before {
        display: none;
    }
    .mh-feature-dot, .horizontal-dash {
        display: none;
    }
    .mh-feature-row {
        gap: 3rem;
        margin-bottom: 5rem;
    }
}
