body { font-family: 'Roboto', sans-serif; background-color: #f8f9fa; color: #212529; overflow-x: hidden; }

.hero-section { background: linear-gradient(135deg, #0d6efd 0%, #0098db 100%); color: white; padding: 100px 0; position: relative; overflow: hidden; }

    .hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIj48cGF0aCBkPSJNMTI4MCAxNDBWMFM5OTMuNDYgMTQwIDY0MCAxMzkgMCAwIDAgMHYxNDB6Ii8+PC9nPjwvc3ZnPg=='); background-size: 100% 100%; opacity: 0.3; z-index: 0; }

.hero-content { position: relative; z-index: 1; }

.section-divider { height: 100px; margin-top: -50px; position: relative; z-index: 1; }

.divider-curve { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); }

    .divider-curve svg { position: relative; display: block; width: 100%; height: 50px; }

    .divider-curve .shape-fill { fill: #FFFFFF; }

.feature-card { border: none; border-radius: 24px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); position: relative; z-index: 1; }

    .feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(26, 128, 193, 0.1) 0%, rgba(13, 110, 253, 0.1) 100%); z-index: -1; transition: opacity 0.5s ease; opacity: 0; }

    .feature-card:hover { transform: translateY(-16px); box-shadow: 0 20px 50px rgba(26, 128, 193, 0.2); }

        .feature-card:hover::before { opacity: 1; }

.feature-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: linear-gradient(135deg, rgba(26, 128, 193, 0.1) 0%, rgba(13, 110, 253, 0.1) 100%); color: #1A80C1; font-size: 2.5rem; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); background: linear-gradient(135deg, rgba(26, 128, 193, 0.2) 0%, rgba(13, 110, 253, 0.2) 100%); color: #0d6efd; }

.feature-card .card-title { color: #1A80C1; font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; transition: all 0.3s ease; }

.feature-card:hover .card-title { color: #0d6efd; transform: translateY(-5px); }

.feature-card .card-text { color: #4A5568; line-height: 1.6; font-size: 1.1rem; transition: all 0.3s ease; }

.feature-card:hover .card-text { color: #2D3748; }

.feature-card .card-body { padding: 2.5rem; text-align: center; position: relative; z-index: 2; }


/* Thêm hiệu ứng trang trí */

.feature-card::after { content: ''; position: absolute; width: 100px; height: 100px; background: linear-gradient(135deg, rgba(26, 128, 193, 0.1) 0%, rgba(13, 110, 253, 0.1) 100%); border-radius: 50%; top: -50px; right: -50px; transition: all 0.5s ease; z-index: 1; }

.feature-card:hover::after { transform: scale(1.5); opacity: 0.5; }

@media (max-width: 768px) {
    .feature-card { margin-bottom: 2rem; }
        .feature-card .card-body { padding: 2rem; }
    .feature-icon { width: 70px; height: 70px; font-size: 2rem; }
    .feature-card .card-title { font-size: 1.3rem; }
    .feature-card .card-text { font-size: 1rem; }
}

@media (max-width: 576px) {
    .feature-card .card-body { padding: 1.5rem; }
    .feature-icon { width: 60px; height: 60px; font-size: 1.8rem; }
}

.section-heading { position: relative; padding-bottom: 15px; margin-bottom: 30px; }

    .section-heading:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: linear-gradient(90deg, #0d6efd, #0098db); }

.bg-gradient-light { background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); }

.cta-section { background: linear-gradient(135deg, #0d6efd 0%, #0098db 100%); color: white; padding: 80px 0; position: relative; overflow: hidden; }

    .cta-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIj48cGF0aCBkPSJNMzIwIDEyOEMxNjAgMTI4IDgwIDY0IDAgMHYxNDBoMTI4MFYwYzAtMCAtMTU0IDE0MCAtMzIwIDE0MHoiLz48L2c+PC9zdmc+'); background-size: 100% 100%; opacity: 0.2; z-index: 0; }

.navbar { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }

    .navbar.scrolled { background-color: white !important; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); }

footer { background-color: #212529; color: white; padding: 60px 0 30px; position: relative; }

.footer-wave { position: absolute; top: -50px; left: 0; width: 100%; overflow: hidden; line-height: 0; }

    .footer-wave svg { position: relative; display: block; width: 100%; height: 50px; }

    .footer-wave .shape-fill { fill: #212529; }

.btn-primary { background-color: #0d6efd; border-color: #0d6efd; padding: 12px 28px; font-weight: 500; border-radius: 30px; transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 1; }

    .btn-primary:hover { background-color: #0b5ed7; border-color: #0a58ca; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }

    .btn-primary:active { transform: translateY(0); }

.btn-outline-light { border-color: white; color: white; padding: 12px 28px; font-weight: 500; border-radius: 30px; transition: all 0.3s ease; }

    .btn-outline-light:hover { background-color: white; color: #0d6efd; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }

    .btn-outline-light:active { transform: translateY(0); }

.step-circle { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #0d6efd 0%, #0098db 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; position: relative; box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2); transition: all 0.3s ease; z-index: 2; }

    .step-circle:hover { transform: scale(1.1); }

    .step-circle::after { content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; border: 2px dashed rgba(13, 110, 253, 0.3); animation: spin 20s linear infinite; }

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.testimonial-card { transition: all 0.3s ease; border: none !important; }

    .testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important; }

.app-phone { position: relative; transition: all 0.5s ease; }

    .app-phone:hover { transform: translateY(-15px); }

.floating { animation: floating 3s ease-in-out infinite; }

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

    .fade-in.visible { opacity: 1; transform: translateY(0); }

.scale-in { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

    .scale-in.visible { opacity: 1; transform: scale(1); }

.slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

    .slide-in-right.visible { opacity: 1; transform: translateX(0); }

.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

    .slide-in-left.visible { opacity: 1; transform: translateX(0); }


/* Wave animation in hero section */

.wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTQ0MCA5MCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0wLDQwLjQ1Qzc2Ljc5LDguNzIsNTcyLjE2LTEyLjczLDcyMCwyMyw3NjkuNiwzNS44NCw4NDUuOCw3Miw5NzAuMiw3MmgyMy4yYzkxLjYsMCwxODMuMi0xOS4yLDI3NC44LTU0Ljg4TDE0NDAsOC43MlY5MEgwVjQwLjQ1eiI+PC9wYXRoPjwvc3ZnPg=='); background-size: 1440px 150px; z-index: 1; transform-origin: bottom; transform: scaleX(2); animation: wave 20s linear infinite; opacity: 0.8; }

@media (min-width: 2560px) {
    .wave { height: 200px; background-size: 1920px 200px; transform: scaleX(3); }
}

@media (min-width: 3840px) {
    .wave { height: 250px; background-size: 2560px 250px; transform: scaleX(4); }
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1440px; }
}

@media (min-width: 2560px) {
    @keyframes wave {
        0% { background-position-x: 0; }
        100% { background-position-x: 1920px; }
    }
}

@media (min-width: 3840px) {
    @keyframes wave {
        0% { background-position-x: 0; }
        100% { background-position-x: 2560px; }
    }
}


/* Gradient text effect */

.gradient-text { background: linear-gradient(90deg, #0d6efd, #0098db); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }


/* Pricing Section */

.pricing-section { padding: 80px 0; background-color: #f8f9fa; }

.pricing-card { border-radius: 15px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; border: none; }

    .pricing-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

.pricing-header { padding: 30px 20px; text-align: center; color: white; }

.basic-plan .pricing-header { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }

.standard-plan .pricing-header { background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%); }

.premium-plan .pricing-header { background: linear-gradient(135deg, #f83600 0%, #f9d423 100%); }

.price { font-size: 3rem; font-weight: 700; margin: 15px 0; }

.price-period { font-size: 0.9rem; opacity: 0.8; }

.pricing-body { padding: 30px 20px; }

.pricing-features { margin-bottom: 30px; padding-left: 0; list-style: none; }

    .pricing-features li { padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

        .pricing-features li:last-child { border-bottom: none; }

    .pricing-features i { margin-right: 10px; color: #0d6efd; }

        .pricing-features i.text-muted { color: #ccc !important; }

.pricing-footer { padding: 0 20px 30px; text-align: center; }

.btn-pricing { padding: 10px 30px; border-radius: 50px; font-weight: 500; transition: all 0.3s ease; width: 100%; }

.popular-badge { position: absolute; top: 0; right: 30px; background-color: #ff3366; color: white; padding: 5px 15px; font-size: 0.8rem; font-weight: 600; border-radius: 0 0 15px 15px; z-index: 1; }

@media (max-width: 991px) {
    .pricing-card { margin-bottom: 30px; }
}


/* Hiệu ứng quét ánh sáng */

.scan-light-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 2; }

.scan-light { position: absolute; top: 0; left: -20%; width: 20%; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%); animation: scanAnimation 5s infinite linear; transform: skewX(-20deg); pointer-events: none; }


/* Hiệu ứng trong phần hero */

.hero-section .scan-light { background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%); animation: scanAnimationOnce 3s forwards linear; transform: skewX(0deg); /* Thẳng thay vì chéo */ width: 15%; /* Thu hẹp lại cho sắc hơn */ box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2); /* Thêm hiệu ứng phát sáng */ }


/* Dải ánh sáng thứ hai - ẩn đi */

.hero-section .scan-light-secondary { display: none; }


/* Hiệu ứng tia laser quét - ẩn đi */

.hero-section .scan-laser { display: none; }


/* Hiệu ứng trong phần process flow - ẩn đi */

.steps-container .scan-light { display: none; }


/* Hiệu ứng trong phần CTA - ẩn đi */

.cta-section .scan-light { display: none; }


/* Animation chỉ chạy 1 lần từ trái sang phải */

@keyframes scanAnimationOnce {
    0% { left: -15%; opacity: 0; }
    5% { opacity: 1; }
    95% { left: 100%; opacity: 1; }
    100% { left: 110%; opacity: 0; }
}


/* Nút CTA chính */

.ct-btn-linear { display: inline-flex; align-items: center; padding: 12px 28px; background: linear-gradient(135deg, #1A80C1 0%, #0098db 100%); color: #fff; border-radius: 50px; font-weight: 500; transition: all 0.3s ease; text-decoration: none; border: 2px solid transparent; position: relative; overflow: hidden; }

    .ct-btn-linear:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(26, 128, 193, 0.3); color: #fff; }

    .ct-btn-linear:active { transform: translateY(-1px); }


/* Nút "Read all articles" */

.btn-text { display: inline-flex; align-items: center; gap: 12px; padding: 14px 32px; background: #fff; color: #3A4356; border-radius: 50px; font-weight: 500; transition: all 0.3s ease; text-decoration: none; border: 2px solid #E5E9F2; position: relative; }

    .btn-text:hover { background: #F8FAFD; border-color: #1A80C1; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); }

    .btn-text .icon { display: flex; align-items: center; transition: transform 0.3s ease; }

    .btn-text:hover .icon { transform: translateX(5px); }

    .btn-text .text { font-size: 16px; }


/* Hiệu ứng ripple cho nút */

.ct-btn-linear::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; }

.ct-btn-linear:active::after { width: 200px; height: 200px; opacity: 0; }


/* Responsive styles */

@media (max-width: 768px) {
    .ct-btn-linear { padding: 10px 24px; font-size: 14px; }
    .btn-text { padding: 12px 24px; width: 100%; justify-content: center; }
        .btn-text .text { font-size: 14px; }
    .btn-view-more-new { padding: 0 15px; }
}

@media (max-width: 576px) {
    .ct-btn-linear { padding: 8px 20px; font-size: 13px; }
    .btn-text { padding: 10px 20px; }
}


/* Style cho các nút CTA chính */

.btn-auth { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-weight: 500; border-radius: 50px; transition: all 0.3s ease; position: relative; overflow: hidden; }


/* Nút đăng nhập trên navbar */

.nav-item .nav-link { position: relative; padding: 8px 20px !important; font-weight: 500; transition: all 0.3s ease; }

    .nav-item .nav-link:hover { color: #1A80C1 !important; }

    .nav-item .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #1A80C1; transition: all 0.3s ease; transform: translateX(-50%); }

    .nav-item .nav-link:hover::after { width: 80%; }


/* Nút đăng nhập trong hero section */

.hero-section .btn-lg { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 16px 38px; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.5px; border-radius: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; text-align: center; }


/* Nút đăng nhập trong hero section */

.hero-section .btn-light.btn-lg { background: linear-gradient(135deg, rgba(26, 128, 193, 0.95) 0%, rgba(13, 110, 253, 0.95) 100%); border: 2px solid rgba(255, 255, 255, 0.8); color: #ffffff; box-shadow: 0 4px 25px rgba(26, 128, 193, 0.25), 0 0 15px rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }

    .hero-section .btn-light.btn-lg:hover { transform: translateY(-3px); background: linear-gradient(135deg, rgba(26, 128, 193, 1) 0%, rgba(13, 110, 253, 1) 100%); border-color: rgba(255, 255, 255, 1); box-shadow: 0 8px 30px rgba(26, 128, 193, 0.35), 0 0 20px rgba(255, 255, 255, 0.4); color: #ffffff; }

    .hero-section .btn-light.btn-lg:active { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 15px rgba(26, 128, 193, 0.25), 0 0 10px rgba(255, 255, 255, 0.3); }


/* Nút đăng ký trong hero section */

.hero-section .btn-outline-light.btn-lg { background: transparent; border: 2px solid rgba(255, 255, 255, 0.9); color: #ffffff; }

    .hero-section .btn-outline-light.btn-lg:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }

    .hero-section .btn-outline-light.btn-lg:active { transform: translateY(-1px); }


/* Style cho icon trong các nút */

.hero-section .btn-lg .fas { margin-right: 10px; font-size: 1.2rem; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.hero-section .btn-lg:hover .fas { transform: translateX(4px); }


/* Hiệu ứng ripple cho các nút */

.hero-section .btn-lg::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; }

.hero-section .btn-lg:active::after { width: 300px; height: 300px; opacity: 0; }


#document-animation { width: 500px; height: 500px; margin: 0 auto; }

/* Responsive styles cho các nút trong hero section */

@media (max-width: 768px) {
    .hero-section .btn-lg { padding: 14px 32px; font-size: 1rem; min-width: 180px; }
        .hero-section .btn-lg .fas { font-size: 1.1rem; margin-right: 8px; }

    #document-animation { width: 400px; height: 400px; margin: 0 auto; }

}

@media (max-width: 576px) {
    .hero-section .btn-lg { padding: 12px 28px; font-size: 0.95rem; width: 100%; max-width: 280px; margin: 0 auto 15px; min-width: unset; }
        .hero-section .btn-lg .fas { font-size: 1rem; margin-right: 6px; }
    .hero-section .d-flex { flex-direction: column; align-items: center; }
}
