/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: #0056b3; /* Darker shade of primary for contrast */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index__section-subtitle {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

.page-index__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-index__btn--primary {
    background-color: #007BFF; /* Primary color */
    color: #ffffff;
}

.page-index__btn--primary:hover {
    background-color: #0056b3; /* Darker primary */
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: #FFC107; /* Auxiliary color */
    color: #333333; /* Dark text for contrast */
}

.page-index__btn--secondary:hover {
    background-color: #e0a800; /* Darker auxiliary */
    transform: translateY(-2px);
}

.page-index__btn--tertiary {
    background-color: #6c757d; /* Neutral grey */
    color: #ffffff;
}

.page-index__btn--tertiary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.page-index__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-index__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Gradient with primary color */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-index__hero-content {
    max-width: 600px;
    padding: 20px;
    z-index: 2;
}

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

.page-index__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0f2ff; /* Lighter text for contrast on dark background */
}

.page-index__hero-actions .page-index__btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

.page-index__hero-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-index__hero-image {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    filter: brightness(0.8);
}

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

.page-index__about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-index__about-image {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-index__about-text {
    width: 50%;
}

.page-index__about-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

/* Features Section */
.page-index__features {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light blue background */
}

.page-index__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.page-index__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-index__feature-title {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 15px;
}

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

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

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

.page-index__promo-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
}

.page-index__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index__promo-item h3 {
    font-size: 1.5em;
    color: #007BFF;
    margin: 20px 15px 10px;
}

.page-index__promo-item p {
    font-size: 1em;
    color: #555;
    margin: 0 15px 20px;
}

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

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

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

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

.page-index__app-description {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

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

.page-index__app-benefits li {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-index__app-benefits li .icon-check {
    color: #007BFF;
    margin-right: 10px;
    font-size: 1.2em;
}

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

.page-index__app-image {
    max-width: 80%;
    height: auto;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 15px;
}

.page-index__qr-code {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-block;
    margin-top: 20px;
}

.page-index__qr-image {
    width: 120px;
    height: 120px;
}

.page-index__qr-code p {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
}

/* Security Section */
.page-index__security {
    padding: 80px 0;
    background-color: #e6f2ff; /* Lighter primary background */
}

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

.page-index__security-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.page-index__security-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.page-index__security-item h3 {
    font-size: 1.6em;
    color: #007BFF;
    margin-bottom: 15px;
}

.page-index__security-item p {
    font-size: 1em;
    color: #555;
}

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

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

.page-index__detail-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-index__detail-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-index__detail-item h3 a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-item h3 a:hover {
    color: #0056b3;
}

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

/* Call to Action Section */
.page-index__cta {
    background: #007BFF; /* Primary color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-index__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0f2ff;
}

/* Floating Ad */
.page-index__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFC107; /* Auxiliary color */
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: page-index__pulse 2s infinite;
}

.page-index__floating-ad a {
    text-decoration: none;
    color: #333333; /* Dark text for contrast */
    font-weight: bold;
    display: flex;
    align-items: center;
}

.page-index__floating-ad p {
    margin: 0;
    font-size: 1.1em;
}

@keyframes page-index__pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .page-index__hero-content {
        max-width: 100%;
        padding: 40px 20px;
    }

    .page-index__hero-title {
        font-size: 2.8em;
    }

    .page-index__hero-image-wrapper {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    .page-index__about-content {
        flex-direction: column;
    }

    .page-index__about-image,
    .page-index__about-text {
        width: 100%;
    }

    .page-index__app-content {
        flex-direction: column;
    }

    .page-index__app-image-wrapper {
        order: -1; /* Move image to top on mobile */
    }
}

@media (max-width: 768px) {
    .page-index__section-title {
        font-size: 2em;
    }

    .page-index__hero-title {
        font-size: 2.2em;
    }

    .page-index__hero-description,
    .page-index__cta-description {
        font-size: 1em;
    }

    .page-index__hero-actions .page-index__btn {
        display: block;
        margin-right: 0;
        width: 100%;
    }

    .page-index__cta-title {
        font-size: 2em;
    }

    .page-index__floating-ad {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
    }

    .page-index__floating-ad p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-index__section-title {
        font-size: 1.8em;
    }

    .page-index__hero-title {
        font-size: 1.8em;
    }

    .page-index__feature-item, .page-index__promo-item, .page-index__security-item, .page-index__detail-item {
        padding: 20px;
    }
}

/* Icon styles for benefits list (example, assuming a simple checkmark) */
.page-index__app-benefits .icon-check::before {
    content: '✔';
    display: inline-block;
    margin-right: 5px;
    font-weight: bold;
}