/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #0A192F; /* Dark blue for primary text */
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-index-highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-index-section-title {
    font-size: 2.5em;
    color: #0A192F;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A192F, #30476e);
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

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

.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: #e0e0e0;
}

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

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-index-hero-actions {
    display: flex;
    gap: 15px;
}

.page-index-btn {
    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;
    font-size: 1em;
    cursor: pointer;
}

.page-index-btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

/* About Section */
.page-index-about {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-index-about-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Features Section */
.page-index-features {
    padding: 60px 0;
    background-color: #f0f2f5;
}

.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: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
}

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-index-feature-item p {
    color: #555;
    font-size: 1em;
    text-align: justify;
}

/* CTA Section */
.page-index-cta-section {
    background: linear-gradient(90deg, #0A192F, #1c3359);
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-index-cta-title {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-index-cta-title::after {
    background-color: #FFD700;
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile App Section */
.page-index-mobile-app {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-index-mobile-app-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index-mobile-app-content {
    flex: 1;
    min-width: 300px;
}

.page-index-mobile-app-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

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

.page-index-app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Deep Content Section */
.page-index-deep-content {
    padding: 60px 0;
    background-color: #f0f2f5;
}

.page-index-deep-content h3 {
    font-size: 1.8em;
    color: #0A192F;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
}

.page-index-deep-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-deep-content ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-index-deep-content li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-index-detail-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
}

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

.page-index-detail-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.page-index-detail-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-detail-item-title {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.page-index-detail-item-title a {
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
}

.page-index-detail-item-title a:hover {
    color: #FFD700;
}

.page-index-detail-item-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px; /* Ensure consistent height */
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

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

    .page-index-hero-content {
        max-width: 100%;
        padding: 20px;
        order: 2;
    }

    .page-index-hero-image-wrapper {
        position: relative;
        width: 80%;
        height: 300px;
        margin-bottom: 30px;
        opacity: 0.5;
        order: 1;
    }

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

    .page-index-hero-actions {
        justify-content: center;
    }

    .page-index-mobile-app-flex {
        flex-direction: column;
    }

    .page-index-mobile-app-content, .page-index-mobile-app-image {
        min-width: unset;
        width: 100%;
    }
}

@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-about-content p, .page-index-feature-item p, .page-index-cta-description, .page-index-mobile-app-content p, .page-index-deep-content p {
        font-size: 1em;
    }

    .page-index-feature-grid, .page-index-detail-list {
        grid-template-columns: 1fr;
    }

    .page-index-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-index-btn {
        width: 100%;
    }

    .page-index-detail-item-description {
        min-height: unset;
    }
}

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

    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-hero-image-wrapper {
        height: 250px;
    }
}