/* Banner Styles - File CSS riêng cho banner section */

.banner {
    width: 100%;
    background-color: transparent;
    position: relative;
    min-height: calc(100dvh - 96px);
    display: flex;
    align-items: center;
    font-family: inherit;
}

.banner-container {
    max-width: 1502px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    min-height: 0;
    transform: translateY(-72px);
}

/* Banner Content - Overlay bên trái */
.banner-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 10;
    flex: 1 1 520px;
    max-width: 720px;
    width: auto;
}

.banner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FDECEC;
    border: 1px solid #F5C2C2;
    color: #DB0000;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
}

.banner-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DB0000;
    flex-shrink: 0;
}

.banner-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 73px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Ẩn các phần tử mobile mặc định */
.banner-line-2-mobile,
.banner-line-3-mobile {
    display: none;
}

.title-orange {
    color: #DB0000;
}

.title-black {
    color: #262626;
}

.banner-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #5E5E5E;
    margin-bottom: 28px;
    text-align: justify;
}

.banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.banner-card {
    position: absolute;
    z-index: 2;
    top: calc(50% - 36px);
    right: max(24px, calc((100% - 1502px) / 2 - 100px));
    width: 746px;
    height: 594px;
    max-width: none;
    object-fit: contain;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Banner Image */
.banner-image-wrapper {
    display: none;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 600px;
}

.banner-image-mobile {
    display: none;
}

.platform {
    background: transparent;
    padding: 60px 0;
}

.platform-container {
    max-width: 1502px;
    margin: 0 auto;
    padding: 0 24px;
}

.platform-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.platform-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e7f6f6;
    border: 1px solid #b7e0e1;
    color: #249EA1;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.platform-title {
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #262626;
    margin-bottom: 12px;
}

.platform-subtitle {
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #6e6e6e;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.platform-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #F5C2C2;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    border-color: #DB0000;
    box-shadow: 0px 8px 24px rgba(219, 0, 0, 0.12);
}

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: transform var(--hover-duration) var(--motion-ease), background-color var(--hover-duration) var(--motion-ease),
        color var(--hover-duration) var(--motion-ease);
}

@media (hover: hover) {
    .platform-card {
        transition: border-color var(--hover-duration) var(--motion-ease), box-shadow var(--hover-duration) var(--motion-ease),
            transform var(--hover-duration) var(--motion-ease);
    }

    .platform-card:hover {
        transform: translateY(-6px);
    }

    .platform-card:hover .platform-icon {
        transform: scale(1.08) rotate(-6deg);
        background: #DB0000;
        color: #ffffff;
    }
}

.platform-icon svg {
    width: 24px;
    height: 24px;
}

.platform-icon-orange,
.platform-icon-amber,
.platform-icon-teal,
.platform-icon-blue,
.platform-icon-purple,
.platform-icon-green { background: #FFE5DF; color: #DB0000; }

.platform-card > div:last-child {
    flex: 1;
    min-width: 0;
}

.platform-card h3 {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 6px;
    line-height: 28px;
}

.platform-card p {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6e6e6e;
}
