:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --primary-light: #e6f2ff;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-color: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #dee2e6;
    --card-border-color: #e9ecef;
    --border-radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }
body { font-family: 'Be Vietnam Pro', sans-serif; background-color: var(--background-color); color: var(--text-dark); line-height: 1.6; position: relative; min-height: 100%; }
.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
}
body::before { background: var(--primary-color); width: 450px; height: 450px; top: -150px; left: -150px; }
body::after { background: var(--secondary-color); width: 350px; height: 350px; bottom: -100px; right: -100px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.page-header { padding: 1rem 2rem; background-color: var(--white-color); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); text-decoration: none; }
main { padding: 2rem; width: 100%; max-width: 1200px; margin: 0 auto; }
.page-footer { text-align: center; padding: 2rem; margin-top: 2rem; color: var(--text-light); font-size: 0.9rem; border-top: 1px solid var(--border-color); }
.desktop-nav { display: none; align-items: center; gap: 2rem; }
.desktop-nav a { text-decoration: none; color: var(--text-light); font-weight: 500; transition: color 0.2s; }
.desktop-nav a:hover { color: var(--primary-color); }
.btn-login { background-color: var(--primary-color); color: var(--white-color) !important; padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 700; text-decoration: none; }
.btn-login:hover { color: var(--white-color); opacity: 0.9; }
.mobile-nav-toggle { display: block; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.mobile-nav-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-dark); position: absolute; left: 0; transition: all 0.3s ease; }
.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-nav-toggle span:nth-child(3) { bottom: 0; }
.mobile-nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.mobile-nav-container { position: fixed; top: 0; right: 0; width: 100%; height: 100%; z-index: 999; pointer-events: none; background-color: rgba(0, 0, 0, 0); transition: background-color 0.4s ease; }
.mobile-nav-container.active { pointer-events: auto; background-color: rgba(0, 0, 0, 0.5); }
.mobile-nav { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background-color: var(--white-color); padding: 6rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; transform: translateX(100%); transition: transform 0.4s ease; }
.mobile-nav-container.active .mobile-nav { transform: translateX(0); }
.mobile-nav a { text-decoration: none; color: var(--text-dark); font-size: 1.2rem; font-weight: 700; }
.btn-login-mobile { margin-top: 1rem; text-align: center; background-color: var(--primary-color); color: var(--white-color) !important; padding: 0.75rem; border-radius: 50px; }
.hero-section, .purchase-layout, .partners { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.purchase-layout { animation-delay: 0.2s; }
.partners { animation-delay: 0.4s; }
.hero-section { text-align: center; margin-bottom: 3rem; }
.main-title { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; background: linear-gradient(45deg, var(--primary-color), #00c6ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; }
.main-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto 3rem auto; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-item { display: flex; align-items: center; text-align: left; gap: 1.5rem; }
.feature-item i { font-size: 1.5rem; color: var(--primary-color); background-color: var(--primary-light); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature-item p { color: var(--text-light); font-size: 0.9rem; }
.purchase-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
.card { background-color: var(--white-color); border: 1px solid var(--card-border-color); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow); }
.purchase-inputs label { display: block; font-weight: 700; margin-bottom: 1rem; font-size: 1.1rem; }
.form-group { margin-bottom: 2rem; }
.form-group label { margin-bottom: 0.5rem; font-weight: 500; font-size: 1rem; color: var(--text-light); }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; font-family: 'Be Vietnam Pro', sans-serif; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-light); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px 12px; }

.providers-grid, .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.provider-btn { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.6rem 1rem; border: 2px solid var(--border-color); border-radius: var(--border-radius); background-color: var(--white-color); cursor: pointer; transition: all 0.2s ease-out; }
.provider-btn img { width: 80px; height: 40px; object-fit: contain; }
.value-btn { display: flex; flex-direction: column; align-items: flex-start; padding: 0.75rem; border: 2px solid var(--border-color); border-radius: var(--border-radius); background-color: var(--white-color); cursor: pointer; transition: all 0.2s ease-out; }
.provider-btn:hover, .value-btn:hover { border-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.provider-btn.active, .value-btn.active { border-color: var(--primary-color); background-color: var(--primary-light); }
.value-btn .original-price { font-weight: 700; font-size: 1.1rem; }
.value-btn .discount-price { font-size: 0.9rem; color: var(--text-light); }
.details-summary { background-color: var(--white-color); border: 1px solid var(--card-border-color); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow); }
.details-summary h3 { font-size: 1.25rem; margin-bottom: 1rem; font-weight: 700; }
.details-summary ul { list-style: none; }
.details-summary li { display: flex; justify-content: space-between; padding: 0.75rem 0; font-size: 0.95rem; border-bottom: 1px solid #f0f0f0; }
.details-summary li:last-child { border-bottom: none; }
.details-summary li span { color: var(--text-light); }
.details-summary li strong { font-weight: 700; text-align: right; }
.details-summary .final-price { color: var(--primary-color); font-weight: 800; font-size: 1.2rem; }
.btn-submit { width: 100%; padding: 1rem; border: none; border-radius: var(--border-radius); background: linear-gradient(45deg, var(--primary-color), #00c6ff); color: var(--white-color); font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 1.5rem; transition: all 0.3s; }
.btn-submit:hover { box-shadow: 0 5px 15px rgba(var(--primary-color-rgb, 0, 123, 255), 0.4); transform: translateY(-2px); }
.image-carousel-section { width: 100%; margin: 0 auto 3rem auto; padding: 0; }
.swiper { width: 100%; height: auto; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow); }
.swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; height: 350px; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper-button-next, .swiper-button-prev { color: var(--primary-color); }
.swiper-pagination-bullet-active { background: var(--primary-color); }
.partners { width: 100%; text-align: center; padding: 2rem 0; }
.partner-ticker { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.ticker-track { display: flex; width: calc(200px * 12); animation: scroll 40s linear infinite; }
.partner-logo { width: 200px; padding: 0 2rem; display: flex; align-items: center; }
.partner-logo img { max-width: 100%; transition: transform 0.3s ease; filter: none; opacity: 1; }
.partner-logo:hover img { transform: scale(1.1); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .mobile-nav-toggle { display: none; }
    .purchase-layout { grid-template-columns: 2fr 1fr; align-items: flex-start; }
    .purchase-summary .sticky-box { position: sticky; top: 2rem; }
}

@media (max-width: 767.98px) {
    main { padding: 1.5rem 1rem; }
    .main-title { font-size: 2.2rem; }
    .providers-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .providers-grid > .provider-btn:last-child:nth-child(odd) {
        grid-column: span 2;
    }
    body::before,
    body::after {
        display: none;
    }
}
