/* Import Google Fonts for Vietnamese support */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ECC71;
    --secondary-color: #27AE60;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #34495E;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-phone {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
}

.cta-phone:hover {
    background: var(--secondary-color);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.9;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-google-play,
.btn-app-store {
    background: rgba(0,0,0,0.8);
    color: white;
}

.btn-google-play:hover,
.btn-app-store:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}

.btn div {
    text-align: left;
}

.btn .small {
    font-size: 0.8rem;
    display: block;
    opacity: 0.9;
}

.btn .large {
    font-size: 1rem;
}

.hero-phone {
    color: white;
    font-size: 1.1rem;
}

.hero-phone a {
    color: white;
    font-weight: bold;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* How It Works Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* App Promotion Section */
.app-promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-promo-buttons {
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa toàn bộ theo trục ngang */
    gap: 1rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.app-promo-image-QR img {
    height: 150px;
    width: auto;
}


.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.phone-mockup {
    width: 300px;
    background: var(--dark-color);
    border-radius: 30px;
    margin: 0 auto;
    /* padding: 12px; */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.phone-mockup i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.phone-mockup span {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    padding: 0.5rem 0;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-apps {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qr-code img {
    height: 150px;
    width: auto;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.app-badge:hover {
    background: rgba(255,255,255,0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }

    .app-promo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }



    .app-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        order: -1;
        margin-bottom: 2rem;
    }

    .benefits-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}