/* Reset mặc định để loại bỏ khoảng trắng */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Loại bỏ margin không cần thiết */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Đảm bảo các section không tạo khoảng trắng */
section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Xử lý footer */
footer {
    width: 100%;
    margin-top: auto;
}

/* Loại bỏ khoảng trắng cuối cùng */
body > *:last-child {
    margin-bottom: 0;
}

/* Responsive và tối ưu layout */
@media (max-width: 1200px) {
    body {
        overflow-x: hidden;
    }
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --background-color: #f4f4f4;
}

.banner_outer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding-bottom: 50px;
}

.banner-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.banner_content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.banner_content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Phần tính năng nổi bật */
.features-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.phone-mockup-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.phone-mockup-container:hover {
    transform: scale(1.05);
}

.features-content .section-header {
    margin-bottom: 30px;
}

.features-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-item {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f4f8;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background-color: #f4f7ff;
    position: relative;
    overflow: hidden;
}

.pricing-section::before,
.pricing-section::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.pricing-section::before {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    background-color: rgba(255, 107, 107, 0.1);
}

.pricing-section::after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
    background-color: rgba(52, 203, 165, 0.1);
}

.pricing-box {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pricing-icon img {
    width: 40px;
    height: 40px;
}

.pricing-title {
    color: #2f2f51;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-price {
    margin-bottom: 20px;
}

.pricing-price .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2f2f51;
}

.pricing-price .period {
    color: #8f8fa1;
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 25px;
}

.pricing-features li {
    color: #8f8fa1;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34cb9e;
}

.pricing-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

/* Specific color variations for each pricing box */
.pricing-box:nth-child(1) .pricing-icon {
    background-color: rgba(255, 107, 107, 0.1);
}

.pricing-box:nth-child(1) .pricing-btn {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.pricing-box:nth-child(2) .pricing-icon {
    background-color: rgba(52, 203, 165, 0.1);
}

.pricing-box:nth-child(2) .pricing-btn {
    background-color: #34cb9e;
    border-color: #34cb9e;
}

.pricing-box:nth-child(3) .pricing-icon {
    background-color: rgba(108, 99, 255, 0.1);
}

.pricing-box:nth-child(3) .pricing-btn {
    background-color: #6c63ff;
    border-color: #6c63ff;
}

.footer-section {
    background-color: #2c3e50;
    color: white;
}

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
}

/* Phần About Us */
.about-us-section {
    background-color: white;
    padding: 80px 0;
}

.about-us-section .section-subtitle {
    display: block;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-us-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-us-section .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}

/* Phần Partners Logos */
.partners-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.partners-logos {
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    max-width: 120px;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Phần Video Demo */
.video-demo-section {
    background-color: #f8f9fa;
    overflow: hidden;
}

.video-container {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
    background-color: #000;
}

/* Fallback cho video không tải được */
.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    z-index: -1;
}

.video-wrapper::after {
    content: 'Video đang tải...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 1;
    pointer-events: none;
}

.video-wrapper iframe:not([src=""]) + ::after {
    display: none;
}

.video-wrapper.loaded::after {
    display: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.1), rgba(52, 152, 219, 0.1));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-content .section-subtitle {
    display: block;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.video-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.video-content .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 30px;
}

.video-content .btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.video-content .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

/* Phần Modules Ứng Dụng */
.app-modules-section {
    background-color: #ffffff;
}

.module-item {
    margin-bottom: 4rem;
    position: relative;
}

.module-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.module-icon img {
    max-width: 100%;
    max-height: 100%;
}

.module-title {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.module-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-try-free {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-try-free:hover {
    background-color: #45a049;
    color: white;
}

.module-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module-image-container:hover {
    transform: scale(1.02);
}

.module-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

/* App Statistics Section */
.app-statistics {
    position: relative;
    overflow: hidden;
}

.app-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 148, 230, 0.9) 0%, rgba(33, 150, 243, 0.9) 100%);
    z-index: 1;
}

.app-statistics .container {
    position: relative;
    z-index: 2;
}

.app-statistics .statistic-item {
    transition: transform 0.3s ease;
}

.app-statistics .statistic-item:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    background-color: #f4f7ff;
    position: relative;
    overflow: hidden;
}

.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.faq-section::before {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    background-color: rgba(255, 107, 107, 0.1);
}

.faq-section::after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
    background-color: rgba(52, 203, 165, 0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.faq-question span {
    color: #2f2f51;
    font-weight: 500;
    font-size: 1rem;
}

.faq-question i {
    color: #3494E6;
    transition: transform 0.3s ease;
}

.faq-item:hover i {
    transform: translateX(5px);
}

/* App Devices Section */
.app-devices-section {
    background-color: #f4f7ff;
    position: relative;
    overflow: hidden;
}

.app-devices-section::before,
.app-devices-section::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.app-devices-section::before {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    background-color: rgba(255, 107, 107, 0.1);
}

.app-devices-section::after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
    background-color: rgba(52, 203, 165, 0.1);
}

.app-devices-content {
    padding-right: 30px;
}

.app-devices-content .section-title {
    color: #2f2f51;
    margin-bottom: 20px;
}

.app-devices-content p {
    line-height: 1.6;
    color: #8f8fa1;
}

.app-download-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.app-download-buttons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-download-buttons a:hover {
    transform: scale(1.05);
}

.app-download-buttons img {
    height: 50px;
    width: auto;
}

.app-devices-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.mockup-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mockup-container img:hover {
    transform: scale(1.02);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4A6CF7 0%, #4A6CF7 100%);
    color: white;
    padding: 100px 0 50px;
    overflow: hidden;
    position: relative;
}

/* Header Navigation */
.navbar {
    background: linear-gradient(135deg, #4A6CF7 0%, #4A6CF7 100%);
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar .navbar-brand {
    color: white;
    font-weight: bold;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: white;
}

.navbar .btn-try-free {
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.navbar .btn-try-free:hover {
    background-color: #FF4757;
}

/* Hero Section Content */
.hero-section .container {
    position: relative;
    z-index: 10;
    padding-top: 60px; /* Adjust for fixed navbar */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.hero-cta .btn-app-store,
.hero-cta .btn-google-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.hero-cta .btn-app-store {
    background-color: #000;
}

.hero-cta .btn-google-play {
    background-color: #4CAF50;
}

.hero-cta .btn-app-store i,
.hero-cta .btn-google-play i {
    font-size: 24px;
    margin-right: 10px;
}

.hero-cta .btn-app-store:hover,
.hero-cta .btn-google-play:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-image-container {
    position: relative;
    z-index: 10;
}

.hero-image-wrapper {
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Partner Logos Section */
.hero-partner-logos {
    background: white;
    padding: 20px 0;
    position: relative;
    z-index: 20;
    margin-top: -50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.hero-partner-logos .container {
    max-width: 100%;
}

.partner-logos-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px;
}

.partner-logo {
    max-height: 40px;
    max-width: 100px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover {
    opacity: 1;
}

/* Hero Section Bottom Curve */
.hero-section-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-section-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-section-curve .shape-fill {
    fill: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image-wrapper {
        transform: none;
    }

    .hero-partner-logos {
        margin-top: -30px;
    }

    .partner-logo {
        max-height: 30px;
        max-width: 90px;
    }
}

@media (max-width: 991px) {
    .phone-mockup-container {
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .features-content .section-title {
        font-size: 2rem;
    }

    .video-content .section-title {
        font-size: 2rem;
    }
    
    .video-content .section-description {
        font-size: 1rem;
    }
    
    .video-content .btn-primary {
        padding: 10px 20px;
    }

    .app-modules-section .section-title {
        font-size: 2rem;
    }

    .module-title {
        font-size: 2rem;
    }

    .module-description {
        font-size: 0.9rem;
    }

    .module-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .banner_content h1 {
        font-size: 2rem;
    }

    .banner-section {
        text-align: center;
    }

    .pricing-section .pricing-box.recommended {
        transform: scale(1);
    }

    .about-us-section .section-title {
        font-size: 2rem;
    }
    
    .about-us-section .section-description {
        font-size: 1rem;
    }
    
    .partner-logo {
        margin: 10px;
        max-width: 80px;
    }
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.banner_wrapper2 img {
    animation: float 4s ease-in-out infinite;
} 

@media (max-width: 991px) {
    .hero-partner-logos {
        width: 80%;
        margin-top: -30px;
    }

    .partner-logo {
        max-height: 30px;
        max-width: 80px;
    }
}

@media (max-width: 576px) {
    .hero-partner-logos {
        width: 95%;
    }

    .partner-logos-wrapper {
        justify-content: center;
        gap: 10px;
    }

    .partner-logo {
        max-height: 25px;
        max-width: 60px;
    }
} 

/* What We Offer Section */
.what-we-offer-section {
    background: linear-gradient(135deg, #4A6CF7 0%, #4A6CF7 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.what-we-offer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.what-we-offer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.what-we-offer-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.what-we-offer-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.what-we-offer-cta .btn-app-store,
.what-we-offer-cta .btn-google-play {
    background: none;
    padding: 0;
    border: none;
}

.what-we-offer-cta .btn-app-store img,
.what-we-offer-cta .btn-google-play img {
    height: 50px;
    transition: transform 0.3s ease;
}

.what-we-offer-cta .btn-app-store img:hover,
.what-we-offer-cta .btn-google-play img:hover {
    transform: scale(1.1);
}

/* Video Section Overlay */
.video-section-overlay {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 50px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .what-we-offer-section {
        padding: 80px 0;
    }

    .what-we-offer-title {
        font-size: 2rem;
    }

    .what-we-offer-description {
        font-size: 0.9rem;
    }

    .what-we-offer-cta {
        flex-direction: column;
        align-items: center;
    }

    .video-section-overlay {
        margin-top: -50px;
    }
} 

/* App Store & Google Play Badges */
.app-store-badge,
.google-play-badge {
    display: inline-block;
    width: 200px;
    height: 60px;
    background-color: #000;
    color: white;
    border-radius: 10px;
    text-align: center;
    line-height: 60px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.app-store-badge:hover,
.google-play-badge:hover {
    transform: scale(1.05);
    background-color: #333;
} 

.devices-section {
    background: linear-gradient(135deg, #4A6CF7 0%, #4A6CF7 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.devices-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.devices-text {
    flex: 1;
    padding-right: 50px;
}

.devices-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.devices-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.devices-cta {
    display: flex;
    gap: 20px;
}

.devices-cta .btn-app-store,
.devices-cta .btn-google-play {
    display: inline-block;
    width: 200px;
    height: 60px;
    background-color: #000;
    color: white;
    border-radius: 10px;
    text-align: center;
    line-height: 60px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.devices-cta .btn-app-store:hover,
.devices-cta .btn-google-play:hover {
    transform: scale(1.05);
    background-color: #333;
}

.devices-mockup {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.devices-mockup img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
} 

/* Navbar Fixed Styles */
.navbar.fixed-top {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: white !important;
    transition: all 0.3s ease;
}

.navbar.fixed-top.scrolled {
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    z-index: 1000;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #4A6CF7;
}

.navbar-nav .btn-outline-primary {
    border-color: #4A6CF7;
    color: #4A6CF7;
    transition: all 0.3s ease;
}

.navbar-nav .btn-outline-primary:hover {
    background-color: #4A6CF7;
    color: white;
}

.navbar-nav .btn-primary {
    background-color: #4A6CF7;
    border-color: #4A6CF7;
    transition: all 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    background-color: #3A5ACF;
    border-color: #3A5ACF;
} 

.navbar .navbar-nav {
    display: flex;
    align-items: center;
}

.navbar .navbar-nav .btn-outline-primary,
.navbar .navbar-nav .btn-primary {
    margin-left: 10px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.navbar .navbar-nav .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.navbar .navbar-nav .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.navbar .navbar-nav .btn-primary:hover {
    background-color: #3a7bd5;
} 

/* AOS Animation Support */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(50px);
}

[data-aos="slide-left"] {
    transform: translateX(100px);
}

[data-aos="slide-right"] {
    transform: translateX(-100px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="flip-left"],
[data-aos="flip-right"],
[data-aos="flip-up"] {
    transform: rotateY(90deg);
    opacity: 0.5;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
} 

/* Xử lý các section AOS */
#features.features-section,
#video-demo.video-demo-section,
#modules.app-modules-section,
#pricing.pricing-section,
#faq.faq-section {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Loại bỏ margin không mong muốn của container */
.features-section .container,
.video-demo-section .container,
.app-modules-section .container,
.pricing-section .container,
.faq-section .container {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Đảm bảo các hàng không tạo khoảng trắng */
.features-section .row,
.app-modules-section .row,
.pricing-section .row {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Loại bỏ margin của cột */
.features-section .col-md-4,
.app-modules-section .col-md-6,
.pricing-section .col-md-4 {
    padding: 0;
    margin: 0;
}

/* Xử lý các phần tử con */
.features-section > *,
.video-demo-section > *,
.app-modules-section > *,
.pricing-section > *,
.faq-section > * {
    margin: 0;
    padding: 0;
} 

/* Loại bỏ padding cho video wrapper */
.video-demo-section .video-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Đảm bảo video không tạo khoảng trắng */
.video-demo-section .video-wrapper video,
.video-demo-section .video-wrapper iframe {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    max-width: 100%;
    display: block;
}

/* Loại bỏ bất kỳ margin/padding nào có thể gây ra khoảng trắng */
.video-demo-section,
.video-demo-section > * {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
} 

/* Căn giữa các section */
#features.features-section,
#video-demo.video-demo-section,
#modules.app-modules-section,
#pricing.pricing-section,
#faq.faq-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Căn giữa container */
#features.features-section .container-fluid,
#video-demo.video-demo-section .container-fluid,
#modules.app-modules-section .container-fluid,
#pricing.pricing-section .container-fluid,
#faq.faq-section .container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Căn giữa video wrapper */
.video-demo-section .video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Đảm bảo video căn giữa */
.video-demo-section .video-wrapper video {
    max-width: 80%; /* Điều chỉnh chiều rộng video */
    margin: 0 auto;
    display: block;
}

/* Responsive cho video */
@media (max-width: 768px) {
    .video-demo-section .video-wrapper video {
        max-width: 100%;
    }
}

/* Pricing Section Layout */
.pricing-section .row {
    display: flex;
    justify-content: center;
    margin: 0 -15px; /* Bù lại padding của column */
}

.pricing-section .col-md-4 {
    padding: 0 15px; /* Tạo khoảng cách giữa các card */
    margin-bottom: 30px; /* Khoảng cách dọc cho responsive */
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 991px) {
    .pricing-section .row {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-section .col-md-4 {
        width: 80%;
        max-width: 400px;
    }
}

/* FAQ Section Styling */
.faq-section .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f3f5;
}

.faq-question span {
    font-weight: 600;
    color: #2c3e50;
}

.faq-question i {
    color: #4A6CF7;
    transition: transform 0.3s ease;
}

.faq-question i.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    color: #6c757d;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Styles */
.feature-icon img, .module-icon img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.feature-icon img:hover, .module-icon img:hover {
    transform: scale(1.1);
}

/* Icon Fallback Styles */
.feature-icon img, .module-icon img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
}

.feature-icon img:hover, .module-icon img:hover {
    transform: scale(1.1);
    background-color: #e0e0e0;
}

/* Fallback for SVG */
.feature-icon img[src$=".svg"], .module-icon img[src$=".svg"] {
    background-color: transparent;
}

/* Đảm bảo icon luôn hiển thị */
.feature-icon img::before, .module-icon img::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.partner-logos .partner-logo {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

/* Smooth Scroll và Animation Optimization */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

/* Tối ưu hiệu năng cho animation */
.aos-init {
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hiệu ứng hover cho các phần tử */
.feature-item,
.partner-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive animation */
@media (max-width: 768px) {
    .aos-init {
        opacity: 1;
        transform: none;
    }
} 

/* Footer Responsive Styles */
@media (max-width: 991.98px) {
    .footer-section {
        text-align: center;
    }

    .footer-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-section .col-md-4:first-child {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section .col-md-8 .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section .col-md-8 .col-md-4 {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }

    .footer-section .social-links {
        justify-content: center;
        display: flex;
    }

    .footer-section ul {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }
}

/* Đảm bảo logo và nội dung không bị méo */
.footer-section img[alt="Stayboost"] {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
} 

/* Recent Activity / Live Sales Notification */
.recent-activity-container {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 350px;
}

.recent-activity {
    background-color: #1e3243;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    padding: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: white;
}

.recent-activity.show {
    opacity: 1;
    transform: translateY(0);
}

.activity-avatar {
    flex-shrink: 0;
    margin-right: 12px;
}

.activity-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #9c27b0;
}

.activity-info {
    flex-grow: 1;
}

.activity-name {
    margin: 0 0 3px 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.activity-message {
    margin: 0 0 3px 0;
    font-size: 0.85rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}

.activity-time {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

.activity-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 4px;
    filter: invert(1);
}

.activity-close:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .recent-activity-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: unset;
    }
    
    .recent-activity {
        padding: 12px;
    }
} 

/* Spinner loading */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Nút đang loading */
button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Hiệu ứng hover cho nút */
.btn-primary:not(:disabled):hover {
    background-color: #0056b3;
    border-color: #0056b3;
} 

/* Phần CSS cho FAQ */
.faq-section .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-section .faq-question:hover {
    background-color: #f0f0f0;
}

.faq-section .faq-question span {
    font-weight: 600;
    color: #333;
}

.faq-section .faq-question i {
    transition: transform 0.3s ease;
}

.faq-section .faq-question i.rotate {
    transform: rotate(90deg);
}

.faq-section .faq-answer {
    display: none;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .faq-answer.active {
    display: block;
    max-height: 300px; /* Chiều cao tối đa cho phép */
    overflow-y: auto; /* Cho phép cuộn dọc khi nội dung vượt quá */
    padding: 15px;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.faq-section .faq-answer p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tùy chỉnh thanh cuộn cho FAQ */
.faq-section .faq-answer::-webkit-scrollbar {
    width: 6px;
}

.faq-section .faq-answer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.faq-section .faq-answer::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.faq-section .faq-answer::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Đảm bảo nội dung FAQ không bị che khuất bởi các phần khác */
.faq-section .faq-item {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: visible;
}

.faq-section .faq-question {
    position: relative;
    z-index: 2;
    background: white;
}

/* CSS cho gói bị vô hiệu hóa */
.pricing-section .form-check.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pricing-section .form-check.disabled .form-check-label {
    color: #999;
    cursor: not-allowed;
}

.pricing-section .form-check.disabled .form-check-input {
    cursor: not-allowed;
} 

/* CSS cho phần thanh toán theo năm */
#yearly-payment {
    margin-right: 10px;
}

#yearly-discount-info {
    background-color: #f0f8ff;
    border-left: 4px solid #2196F3;
    padding: 10px;
    border-radius: 4px;
}

#yearly-discount-info small {
    color: #0056b3;
    font-weight: 500;
} 

/* CSS cho giá gốc bị gạch ngang */
#yearly-discount-info .text-decoration-line-through {
    color: #6c757d;
    font-size: 0.8em;
    margin-left: 10px;
} 

/* Signup Modal Styles */
.signup-modal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-modal .modal-header .modal-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    width: 100%;
}

.signup-modal .modal-content {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.signup-modal .modal-body {
    padding: 2rem;
    background-color: #ffffff;
}

.signup-modal .form-label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.signup-modal .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.75rem;
    transition: border-color 0.2s ease;
}

.signup-modal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.signup-modal .package-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.signup-modal .package-option {
    flex: 0 1 calc(25% - 1rem);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-modal .package-option input[type="radio"] {
    display: none;
}

.signup-modal .package-option label {
    display: block;
    cursor: pointer;
}

.signup-modal .package-option:hover,
.signup-modal .package-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background-color: #f1f7ff;
}

.signup-modal .package-option .package-name {
    font-weight: 600;
    color: #2c3e50;
}

.signup-modal .package-option .package-description {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.signup-modal .package-option .package-price {
    font-size: 0.875rem;
    color: #495057;
    margin-top: 0.5rem;
}

.signup-modal .form-check {
    margin-bottom: 0.5rem;
}

.signup-modal .btn-primary {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    background-color: #007bff;
    border-color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-modal .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.signup-modal .additional-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 1rem;
    text-align: center;
}

.signup-modal .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Styling cho package bị disabled */
.signup-modal .package-option.disabled {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.signup-modal .package-option.disabled label {
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #999 !important;
}

.signup-modal .package-option.disabled input[type="radio"] {
    cursor: not-allowed;
}

/* Styling cho package được pre-selected */
.signup-modal .package-option.pre-selected input[type="radio"] {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
}

.signup-modal .package-option.pre-selected label {
    border-color: #0066cc !important;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%) !important;
    transform: scale(1.02);
} 

/* Recent Activity Popup */
.recent-activity-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    pointer-events: none;
}

.recent-activity {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    max-width: 400px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.recent-activity.show {
    transform: translateY(0);
    opacity: 1;
}

.activity-avatar {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e1e8ff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity-info {
    flex-grow: 1;
    min-width: 0; /* Để text có thể wrap */
}

.activity-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-message {
    color: #666;
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.activity-message strong {
    color: #2c3e50;
    font-weight: 600;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
    margin: 3px 0 0 0;
    font-style: italic;
}

.activity-close {
    padding: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-close:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .recent-activity-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .recent-activity {
        margin: 0 auto;
        max-width: calc(100% - 20px);
    }

    .activity-name {
        font-size: 0.9rem;
    }

    .activity-message {
        font-size: 0.85rem;
    }

    .activity-time {
        font-size: 0.75rem;
    }
} 