
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header và Footer fragments - đảm bảo tương thích */
.header-placeholder {
    background: linear-gradient(135deg, #fb96a8, #ff8096);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-placeholder h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.header-placeholder p {
    font-size: 16px;
    opacity: 0.9;
}

/* Styles cho fragments footer và mobile */
div[th\\:replace*="footer"] {
    margin-top: auto;
}

div[th\\:replace*="mobile"] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Main content wrapper */
.main-content {
    flex: 1;
    padding: 0;
}

/* Info section */
.info-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.info-decor {
    margin-bottom: 30px;
}

.info-decor img {
    max-width: 100%;
    height: auto;
}

.info-box {
    background: linear-gradient(135deg, #f894a6, #f894a6);
    border: 2px dashed #f894a6;
    border-radius: 15px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-2px);
}

.info-box hr {
    border: none;
    border-top: 2px dotted #fb96a8;
    margin: 20px 0;
    opacity: 0.7;
}

.info-box strong {
    color: #090909;
    font-weight: 700;
}

/* Banner sections */
.banner-section {
    padding: 20px;
    background: white;
}

.banner-promo {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.banner-promo:hover {
    transform: translateY(-5px);
}

.banner-promo img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
}

.promo-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff8096, #f894a6);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(253, 125, 147);
    border: 2px solid transparent;
}

.btn:hover {
    background: linear-gradient(135deg, #fb96a8, #f894a6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(253, 125, 147);
}

.btn i {
    font-size: 16px;
}

/* Package section */
.package-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.package-section h2 {
    text-align: center;
    font-size: 32px;
    color: #fa7e94;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.package-section .note {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #666;
    font-style: italic;
}

.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1201px;
    margin: 0 auto;
}

.package {
    background: white;
    border-radius: 20px;
    border: 3px solid transparent;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: all 0.3s ease;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0a2d6d;
    font-weight: 600;
}

.price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package ul {
    text-align: left;
    padding: 0;
    list-style: none;
}

.package ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.package ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.box-green::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.box-green .price {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box-purple::before {
    background: linear-gradient(90deg, #9c27b0, #e91e63);
}

.box-purple .price {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box-red::before {
    background: linear-gradient(90deg, #e53935, #ff5722);
}

.box-red .price {
    background: linear-gradient(135deg, #e53935, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer placeholder - styles dự phòng nếu cần */
.footer-content {
    background: #f8f4f8;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

/* Mobile placeholder - styles dự phòng */
.mobile-content {
    background: #f8f4f8;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.mobile-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile-btn {
    flex: 1;
    max-width: 150px;
    padding: 12px;
    background: #00c8f8;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-btn:hover {
    background: #0099cc;
}

/* Responsive design */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .header-placeholder h1 {
        font-size: 24px;
    }

    .header-placeholder p {
        font-size: 14px;
    }

    .info-box {
        padding: 20px;
        font-size: 14px;
    }

    .package-section {
        padding: 40px 15px;
    }

    .package-section h2 {
        font-size: 24px;
    }

    .package-section .note {
        font-size: 16px;
    }

    .packages {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .package {
        padding: 20px;
    }

    .price {
        font-size: 28px;
    }

    .btn {
        font-size: 12px;
        padding: 10px 18px;
    }

    .btn i {
        font-size: 14px;
    }

    .mobile-placeholder {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #0a2d6d;
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .mobile-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .mobile-btn {
        flex: 1;
        max-width: 150px;
        padding: 12px;
        background: #00c8f8;
        color: white;
        text-decoration: none;
        border-radius: 25px;
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .mobile-btn:hover {
        background: #0099cc;
    }

    /* Add padding to body to account for mobile footer */
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }

    .btn {
        font-size: 18px;
        padding: 16px 32px;
    }

    .btn i {
        font-size: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.package:nth-child(1) {
    animation: slideUp 0.6s ease-out 0.1s both;
}

.package:nth-child(2) {
    animation: slideUp 0.6s ease-out 0.2s both;
}

.package:nth-child(3) {
    animation: slideUp 0.6s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
