/* style/mobile-app.css */

/* Base Styles for page-mobile-app */
.page-mobile-app {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-mobile-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-mobile-app__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-mobile-app__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-mobile-app__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #017439, #0a0a0a); /* Brand green to dark */
    color: #ffffff;
}

.page-mobile-app__hero-section .page-mobile-app__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-mobile-app__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-mobile-app__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

.page-mobile-app__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-mobile-app__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-mobile-app__btn-primary,
.page-mobile-app__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-mobile-app__btn-primary {
    background-color: #C30808; /* Custom Register/Login color */
    color: #ffffff; /* Ensure high contrast */
    border: 2px solid #C30808;
}

.page-mobile-app__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-mobile-app__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-mobile-app__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-mobile-app__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-mobile-app__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Benefits Section */
.page-mobile-app__benefits-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background as per custom colors */
    color: #333333; /* Dark text for light background */
}

.page-mobile-app__benefits-section .page-mobile-app__section-title,
.page-mobile-app__benefits-section .page-mobile-app__section-description {
    color: #333333;
}

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

.page-mobile-app__benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f8f8; /* Slightly off-white for card */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-mobile-app__benefit-card:hover {
    transform: translateY(-5px);
}

.page-mobile-app__benefit-icon {
    width: 100%; /* Ensure it's not a small icon */
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-mobile-app__card-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-mobile-app__card-text {
    font-size: 1em;
    color: #555555;
}

/* Features Section */
.page-mobile-app__features-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

.page-mobile-app__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-mobile-app__feature-card:hover {
    transform: translateY(-5px);
}

.page-mobile-app__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-mobile-app__card-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-mobile-app__card-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Download Guide Section */
.page-mobile-app__download-guide-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-mobile-app__download-guide-section .page-mobile-app__section-title,
.page-mobile-app__download-guide-section .page-mobile-app__section-description {
    color: #333333;
}

.page-mobile-app__guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.page-mobile-app__guide-card {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-mobile-app__guide-card .page-mobile-app__card-title {
    color: #017439;
    text-align: left;
    width: 100%;
}

.page-mobile-app__guide-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 25px;
    color: #555555;
}

.page-mobile-app__guide-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-mobile-app__guide-list li strong {
    color: #333333;
}

.page-mobile-app__guide-card .page-mobile-app__btn-primary {
    margin-top: auto; /* Push button to bottom */
    width: auto; /* Allow button to size naturally */
    align-self: center; /* Center button */
}

.page-mobile-app__guide-image {
    max-width: 100%;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Security Section */
.page-mobile-app__security-section {
    padding: 80px 0;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

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

.page-mobile-app__security-item {
    background-color: rgba(0, 0, 0, 0.2); /* Dark overlay on primary color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-mobile-app__security-icon {
    width: 100%; /* Ensure it's not a small icon */
    max-width: 150px; /* Adjusted for smaller icons as content, not decorative */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-mobile-app__security-item .page-mobile-app__card-title {
    color: #ffffff;
}

.page-mobile-app__security-item .page-mobile-app__card-text {
    color: #f0f0f0;
}

/* FAQ Section */
.page-mobile-app__faq-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-mobile-app__faq-section .page-mobile-app__section-title,
.page-mobile-app__faq-section .page-mobile-app__section-description {
    color: #333333;
}

.page-mobile-app__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-mobile-app__faq-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-mobile-app__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439; /* Brand color for questions */
    background-color: #e8f5e9; /* Light green background for summary */
    border-bottom: 1px solid #d4edda;
    list-style: none; /* Hide default marker for details */
}

.page-mobile-app__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-mobile-app__faq-qtext {
    flex-grow: 1;
}

.page-mobile-app__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-mobile-app__faq-item[open] .page-mobile-app__faq-toggle {
    transform: rotate(45deg); /* Rotate + to X */
}

.page-mobile-app__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
}

.page-mobile-app__faq-answer p {
    margin: 0;
}

/* Call to Action Section */
.page-mobile-app__cta-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

.page-mobile-app__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* For mobile responsiveness */
}

/* General Card Styling (shared for consistency) */
.page-mobile-app__card {
    border-radius: 10px;
    padding: 20px;
    background-color: #f8f8f8; /* Default light card background */
    color: #333333; /* Default dark text for light card */
}

/* Dark background cards for features/security */
.page-mobile-app__dark-bg.page-mobile-app__card {
    background-color: rgba(255, 255, 255, 0.08); /* Transparent on dark sections */
    color: #ffffff;
}
.page-mobile-app__dark-bg .page-mobile-app__card-title {
    color: #ffffff;
}
.page-mobile-app__dark-bg .page-mobile-app__card-text {
    color: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-mobile-app__hero-title {
        font-size: 3em;
    }
    .page-mobile-app__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-mobile-app__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile offset */
    }
    .page-mobile-app__hero-section .page-mobile-app__container {
        flex-direction: column;
        text-align: center;
    }
    .page-mobile-app__hero-content {
        text-align: center;
    }
    .page-mobile-app__hero-title {
        font-size: 2.5em;
    }
    .page-mobile-app__hero-description {
        font-size: 1.1em;
    }
    .page-mobile-app__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-mobile-app__btn-primary,
    .page-mobile-app__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-mobile-app__container {
        padding: 0 15px;
    }
    .page-mobile-app__section-title {
        font-size: 1.8em;
    }
    .page-mobile-app__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-mobile-app__benefits-grid,
    .page-mobile-app__features-grid,
    .page-mobile-app__security-features,
    .page-mobile-app__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-mobile-app__benefit-card,
    .page-mobile-app__feature-card,
    .page-mobile-app__security-item,
    .page-mobile-app__guide-card,
    .page-mobile-app__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-mobile-app img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-mobile-app__video-section,
    .page-mobile-app__video-container,
    .page-mobile-app__video-wrapper,
    .page-mobile-app__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
      flex-wrap: wrap !important; /* For button groups */
    }
    .page-mobile-app__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-mobile-app__hero-title {
        font-size: 2em;
    }
    .page-mobile-app__hero-description {
        font-size: 1em;
    }
    .page-mobile-app__section-title {
        font-size: 1.5em;
    }
    .page-mobile-app__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-mobile-app__faq-answer {
        padding: 10px 20px 15px;
    }
}