/* style/index.css */

/* General styling for the page content wrapper */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

/* Section Titles and Descriptions */
.page-index__section-title {
    font-size: 2.5em;
    color: #0A244A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__paragraph {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px;
}

.page-index__center-text {
    text-align: center;
}

.page-index__center-button {
    text-align: center;
    margin-top: 30px;
}

/* Buttons */
.page-index__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    font-size: 1em;
    white-space: nowrap;
}

.page-index__button--primary {
    background-color: #FFD700;
    color: #0A244A;
    border: 2px solid #FFD700;
}

.page-index__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-index__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index__button--secondary:hover {
    background-color: #FFD700;
    color: #0A244A;
    transform: translateY(-2px);
}

.page-index__button--small {
    padding: 8px 18px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #0A244A 0%, #1A3B69 100%);
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    text-align: center;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: #FFD700;
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #E0E0E0;
}

.page-index__hero-description strong {
    color: #FFD700;
}

.page-index__hero-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-index__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.2;
}

.page-index__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) blur(5px);
}


/* About Section */
.page-index__about {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index__feature-item {
    background-color: #F0F2F5;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-title {
    font-size: 1.5em;
    color: #0A244A;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__feature-text {
    color: #555;
    font-size: 1em;
}

/* Products Section */
.page-index__products {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-index__product-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__product-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index__product-title {
    font-size: 1.6em;
    color: #0A244A;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__product-text {
    color: #555;
    font-size: 1em;
}

/* App Download Section */
.page-index__app-download {
    padding: 80px 0;
    background-color: #0A244A;
    color: #FFFFFF;
}

.page-index__app-download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index__app-text-content {
    flex: 1;
    min-width: 300px;
}

.page-index__app-download .page-index__section-title {
    color: #FFD700;
    text-align: left;
}

.page-index__app-download .page-index__section-description {
    color: #E0E0E0;
    text-align: left;
    margin-bottom: 30px;
}

.page-index__app-download .page-index__section-description strong {
    color: #FFD700;
}

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

.page-index__app-features-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.page-index__icon--check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #FFD700;
    border-radius: 50%;
    color: #0A244A;
    text-align: center;
    line-height: 20px;
    font-size: 0.8em;
    margin-right: 10px;
}

.page-index__icon--check::before {
    content: '✓';
}

.page-index__app-download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.page-index__small-text {
    font-size: 0.9em;
    color: #CCC;
}

.page-index__small-text strong {
    color: #FFD700;
}

.page-index__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Promotions Section */
.page-index__promotions {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index__promo-item {
    background-color: #F0F2F5;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-image {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index__promo-title {
    font-size: 1.4em;
    color: #0A244A;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index__promo-text {
    color: #555;
    font-size: 0.95em;
}

/* Security Section */
.page-index__security {
    padding: 80px 0;
    background-color: #0A244A;
    color: #FFFFFF;
}

.page-index__security .page-index__section-title {
    color: #FFD700;
}

.page-index__security .page-index__section-description {
    color: #E0E0E0;
}

.page-index__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index__security-item {
    background-color: #1A3B69;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__security-item:hover {
    transform: translateY(-10px);
    background-color: #2A4C7A;
}

.page-index__security-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-index__security-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index__security-text {
    color: #E0E0E0;
    font-size: 0.95em;
}

/* Detail Pages Section */
.page-index__detail-pages {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-index__detail-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__detail-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index__detail-title a {
    color: #0A244A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
    color: #FFD700;
}

.page-index__detail-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Call to Action (CTA) Section */
.page-index__cta {
    background-color: #FFD700;
    color: #0A244A;
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #0A244A;
}

.page-index__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #333;
}

.page-index__cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Adjust buttons for CTA section on gold background */
.page-index__cta .page-index__button--primary {
    background-color: #0A244A;
    color: #FFD700;
    border-color: #0A244A;
}

.page-index__cta .page-index__button--primary:hover {
    background-color: #1A3B69;
    border-color: #1A3B69;
}

.page-index__cta .page-index__button--secondary {
    background-color: transparent;
    color: #0A244A;
    border-color: #0A244A;
}

.page-index__cta .page-index__button--secondary:hover {
    background-color: #0A244A;
    color: #FFD700;
}

/* CSS for JS-triggered animations */
.page-index section.page-index--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-index section.page-index--hidden.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__cta-title {
        font-size: 2.2em;
    }
    .page-index__app-download-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index__app-download .page-index__section-title,
    .page-index__app-download .page-index__section-description {
        text-align: center;
    }
    .page-index__app-features-list {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }
    .page-index__app-download-buttons,
    .page-index__hero-actions,
    .page-index__cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index__hero {
        padding: 60px 0;
        min-height: 500px;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index__about,
    .page-index__products,
    .page-index__app-download,
    .page-index__promotions,
    .page-index__security,
    .page-index__detail-pages,
    .page-index__cta {
        padding: 60px 0;
    }
    .page-index__app-download-content {
        gap: 30px;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
    .page-index__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index__button--secondary {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__cta-title {
        font-size: 1.6em;
    }
    .page-index__hero-actions,
    .page-index__app-download-buttons,
    .page-index__cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-index__button {
        width: 100%;
        max-width: 250px;
    }
    .page-index__button--secondary {
        margin-top: 10px;
        margin-left: 0;
    }
    .page-index__hero-content {
        text-align: center;
    }
}