/* San Xuat Page Specific Styles */

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

.sx-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;
}

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

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

#onepro-wrapper .sx-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.sx-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);
}

.sx-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%);
}

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

.sx-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;
}

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

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

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

/* 2. Pain Points Section */
.sx-painpoints {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

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

.sx-painpoints-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.sx-painpoints-image {
    flex: 1.2;
}

.sx-painpoints-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.sx-painpoints-content {
    flex: 1;
}

.sx-painpoint-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.sx-painpoint-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sx-painpoint-item img {
    width: 24px;
    height: 24px;
    margin-top: 4px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(35%) sepia(87%) saturate(2256%) hue-rotate(345deg) brightness(97%) contrast(93%); /* Red cross */
}

.sx-painpoint-item-text h4 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.sx-painpoint-item-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.sx-painpoints-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

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

.sx-timeline-header {
    text-align: center;
    margin-bottom: 6rem;
}

.sx-timeline-header h2 {
    font-size: 2.2rem;
    color: #0f172a;
}

.sx-timeline-container {
    position: relative;
    margin-top: 4rem;
}

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

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

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

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

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

/* Dot on the line */
.sx-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;
}

.sx-feature-row:not(.reversed) .sx-feature-image .sx-feature-dot {
    right: -4rem;
    transform: translate(50%, -50%);
}

.sx-feature-row.reversed .sx-feature-image .sx-feature-dot {
    left: -4rem;
    transform: translate(-50%, -50%);
}

/* Horizontal dash */
.horizontal-dash {
    position: absolute;
    top: 50%;
    width: 4rem;
    border-top: 2px dashed #cbd5e1;
    z-index: 1;
}

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

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

.sx-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 3;
}

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

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

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

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

.sx-feature-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

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

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