/* style/mobile-app.css */

:root {
    --primary-color: #FFD700; /* Vàng */
    --secondary-color: #0A2463; /* Xanh đậm */
    --accent-color: #E74C3C; /* Đỏ nhấn */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #0A2463;
    --border-color: #e0e0e0;
}

.page-mobile-app {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-mobile-app .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-mobile-app h1, .page-mobile-app h2, .page-mobile-app h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-mobile-app h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-mobile-app h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-mobile-app h3 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-mobile-app p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-mobile-app section {
    padding: 60px 0;
    margin-bottom: 20px;
}

/* Hero Section */
.page-mobile-app .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.page-mobile-app .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-mobile-app .hero-image {
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-mobile-app .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-mobile-app .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-mobile-app .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-mobile-app .hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-mobile-app .cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-mobile-app .primary-button {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-mobile-app .primary-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-mobile-app .secondary-button {
    background: var(--accent-color);
    color: var(--text-light);
}

.page-mobile-app .secondary-button:hover {
    background: #C0392B; /* Slightly darker red */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Intro */
.page-mobile-app .section-intro {
    background-color: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-mobile-app .section-intro h2 {
    color: var(--secondary-color);
}

.page-mobile-app .section-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 15px auto;
    font-size: 1.15em;
}

/* Download Guide Section */
.page-mobile-app .section-download-guide {
    background-color: var(--text-light);
    padding: 80px 0;
}

.page-mobile-app .download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-mobile-app .step-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-mobile-app .step-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-mobile-app .step-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-mobile-app .step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-mobile-app .qr-codes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-mobile-app .qr-code-item {
    text-align: center;
}

.page-mobile-app .qr-code-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 5px solid var(--primary-color);
    padding: 5px;
    border-radius: 5px;
}

.page-mobile-app .qr-code-item p {
    margin-top: 10px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Features Section */
.page-mobile-app .section-features {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-mobile-app .section-features h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.page-mobile-app .section-features p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.15em;
}

.page-mobile-app .feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-mobile-app .feature-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-mobile-app .feature-list li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.page-mobile-app .feature-list li h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
}

.page-mobile-app .feature-list li p {
    color: var(--text-light);
    font-size: 1em;
    text-align: left;
}

/* Advantages Section */
.page-mobile-app .section-advantages {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.page-mobile-app .section-advantages h2 {
    color: var(--secondary-color);
}

.page-mobile-app .section-advantages p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
}

.page-mobile-app .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-mobile-app .advantage-item {
    background: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-mobile-app .advantage-item:hover {
    transform: translateY(-5px);
}

.page-mobile-app .advantage-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-mobile-app .advantage-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-mobile-app .advantage-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0;
}

/* FAQ Section */
.page-mobile-app .section-faq {
    background-color: var(--text-light);
    padding: 80px 0;
}

.page-mobile-app .section-faq h2 {
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.page-mobile-app .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-mobile-app .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-mobile-app .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-mobile-app .faq-question:hover {
    background: var(--bg-light);
}

.page-mobile-app .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
}

.page-mobile-app .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-mobile-app .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-mobile-app .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: var(--bg-light);
    padding: 0 25px;
}

.page-mobile-app .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-mobile-app .faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1em;
}

/* Bottom CTA Section */
.page-mobile-app .section-cta-bottom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001a4d 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-mobile-app .section-cta-bottom h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 25px;
}

.page-mobile-app .section-cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-mobile-app h1 {
        font-size: 2.5em;
    }
    .page-mobile-app h2 {
        font-size: 2em;
    }
    .page-mobile-app h3 {
        font-size: 1.4em;
    }
    .page-mobile-app .hero-content p {
        font-size: 1.1em;
    }
    .page-mobile-app .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-mobile-app .hero-image {
        max-width: 600px;
    }
    .page-mobile-app .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-mobile-app .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-mobile-app section {
        padding: 40px 0;
    }
    .page-mobile-app h1 {
        font-size: 2em;
    }
    .page-mobile-app h2 {
        font-size: 1.8em;
    }
    .page-mobile-app h3 {
        font-size: 1.3em;
    }
    .page-mobile-app .hero-section {
        padding: 60px 15px;
    }
    .page-mobile-app .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    .page-mobile-app .cta-button {
        width: 80%;
        max-width: 300px;
    }
    .page-mobile-app .download-steps {
        grid-template-columns: 1fr;
    }
    .page-mobile-app .step-item {
        padding: 25px;
    }
    .page-mobile-app .qr-codes {
        flex-direction: column;
        align-items: center;
    }
    .page-mobile-app .qr-code-item img {
        width: 120px;
        height: 120px;
    }
    .page-mobile-app .feature-list {
        grid-template-columns: 1fr;
    }
    .page-mobile-app .advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-mobile-app .faq-question {
        padding: 15px 20px;
    }
    .page-mobile-app .faq-question h3 {
        font-size: 1.1em;
    }
    .page-mobile-app .faq-toggle {
        font-size: 20px;
    }
    .page-mobile-app .faq-answer {
        padding: 0 20px;
    }
    .page-mobile-app .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-mobile-app .section-cta-bottom h2 {
        font-size: 2em;
    }
    .page-mobile-app .section-cta-bottom p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-mobile-app h1 {
        font-size: 1.8em;
    }
    .page-mobile-app h2 {
        font-size: 1.6em;
    }
    .page-mobile-app .hero-image {
        max-width: 100%;
    }
    .page-mobile-app .cta-button {
        width: 90%;
        max-width: 280px;
    }
    .page-mobile-app .qr-code-item img {
        width: 100px;
        height: 100px;
    }
}