/* style/index-core-features.css */

:root {
    --page-index-core-features-primary-color: #003366;
    --page-index-core-features-secondary-color: #FFCC00;
    --page-index-core-features-text-light: #f8f8f8;
    --page-index-core-features-text-dark: #333333;
    --page-index-core-features-background-light: #ffffff;
    --page-index-core-features-background-dark: #002244; /* Slightly lighter than primary for contrast */
    --page-index-core-features-border-color: #e0e0e0;
}

.page-index-core-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-core-features-text-dark);
    background-color: var(--page-index-core-features-background-light);
}

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

.page-index-core-features-hero-section {
    background: linear-gradient(135deg, var(--page-index-core-features-primary-color) 0%, #004d99 100%);
    color: var(--page-index-core-features-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-core-features-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:abstract,geometric,pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-core-features-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-index-core-features-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-index-core-features-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-index-core-features-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.page-index-core-features-btn-primary {
    background-color: var(--page-index-core-features-secondary-color);
    color: var(--page-index-core-features-primary-color);
    border: 2px solid var(--page-index-core-features-secondary-color);
}

.page-index-core-features-btn-primary:hover {
    background-color: transparent;
    color: var(--page-index-core-features-secondary-color);
    border-color: var(--page-index-core-features-secondary-color);
}

.page-index-core-features-btn-secondary {
    background-color: transparent;
    color: var(--page-index-core-features-secondary-color);
    border: 2px solid var(--page-index-core-features-secondary-color);
    margin-top: 20px;
}

.page-index-core-features-btn-secondary:hover {
    background-color: var(--page-index-core-features-secondary-color);
    color: var(--page-index-core-features-primary-color);
}

.page-index-core-features-btn-link {
    color: var(--page-index-core-features-secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid var(--page-index-core-features-secondary-color);
}

.page-index-core-features-btn-link:hover {
    color: #ffda47; /* Slightly lighter gold */
    border-color: #ffda47;
}

.page-index-core-features-section-title {
    font-size: 2.5em;
    color: var(--page-index-core-features-primary-color);
    text-align: center;
    margin-bottom: 60px;
    padding-top: 60px;
    position: relative;
}

.page-index-core-features-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-index-core-features-secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-index-core-features-sub-title {
    font-size: 1.8em;
    color: var(--page-index-core-features-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-core-features-overview-section {
    padding: 80px 0;
    background-color: var(--page-index-core-features-background-light);
}

.page-index-core-features-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-index-core-features-content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-index-core-features-content-grid:nth-child(even) .page-index-core-features-image-wrapper {
        order: 1;
    }
    .page-index-core-features-content-grid:nth-child(even) .page-index-core-features-text-content {
        order: 2;
    }
}

.page-index-core-features-image-wrapper {
    text-align: center;
}

.page-index-core-features-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-index-core-features-bg-dark {
    background-color: var(--page-index-core-features-background-dark);
    color: var(--page-index-core-features-text-light);
}

.page-index-core-features-bg-dark .page-index-core-features-section-title,
.page-index-core-features-bg-dark .page-index-core-features-card-title,
.page-index-core-features-bg-dark .page-index-core-features-sub-title {
    color: var(--page-index-core-features-secondary-color);
}

.page-index-core-features-features-section {
    padding: 80px 0;
}

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

.page-index-core-features-feature-card {
    background-color: var(--page-index-core-features-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-core-features-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-index-core-features-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 5px var(--page-index-core-features-secondary-color));
}

.page-index-core-features-feature-card .page-index-core-features-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-index-core-features-secondary-color);
}

.page-index-core-features-feature-card p {
    font-size: 1em;
    color: var(--page-index-core-features-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-core-features-feature-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
    color: var(--page-index-core-features-text-light);
}

.page-index-core-features-feature-card ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.page-index-core-features-feature-card ul li::before {
    content: '✓';
    color: var(--page-index-core-features-secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-index-core-features-advantages-section {
    padding: 80px 0;
    background-color: var(--page-index-core-features-background-light);
}

.page-index-core-features-advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-index-core-features-advantage-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-index-core-features-advantage-grid .page-index-core-features-image-wrapper {
    order: 2;
}

.page-index-core-features-advantage-grid .page-index-core-features-text-content {
    order: 1;
}

.page-index-core-features-guide-section {
    padding: 80px 0;
}

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

.page-index-core-features-step-card {
    background-color: var(--page-index-core-features-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--page-index-core-features-text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-core-features-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--page-index-core-features-secondary-color);
    color: var(--page-index-core-features-primary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.page-index-core-features-step-card .page-index-core-features-card-title {
    color: var(--page-index-core-features-secondary-color);
    margin-bottom: 15px;
}

.page-index-core-features-step-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-index-core-features-cta-section {
    background-color: var(--page-index-core-features-secondary-color);
    color: var(--page-index-core-features-primary-color);
    padding: 80px 0;
    text-align: center;
    margin-top: 80px;
}

.page-index-core-features-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-index-core-features-primary-color);
}

.page-index-core-features-cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-core-features-btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-width: 3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-core-features-hero-title {
        font-size: 3em;
    }
    .page-index-core-features-hero-description {
        font-size: 1.1em;
    }
    .page-index-core-features-section-title {
        font-size: 2em;
    }
    .page-index-core-features-sub-title {
        font-size: 1.5em;
    }
    .page-index-core-features-cta-title {
        font-size: 2.5em;
    }
    .page-index-core-features-cta-description {
        font-size: 1.2em;
    }
}

@media (max-width: 767px) {
    .page-index-core-features-hero-section {
        padding: 80px 0;
    }
    .page-index-core-features-hero-title {
        font-size: 2.5em;
    }
    .page-index-core-features-hero-description {
        font-size: 1em;
    }
    .page-index-core-features-section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-index-core-features-sub-title {
        font-size: 1.3em;
    }
    .page-index-core-features-content-grid,
    .page-index-core-features-advantage-grid {
        grid-template-columns: 1fr;
    }
    .page-index-core-features-feature-grid,
    .page-index-core-features-guide-steps {
        grid-template-columns: 1fr;
    }
    .page-index-core-features-overview-section,
    .page-index-core-features-features-section,
    .page-index-core-features-advantages-section,
    .page-index-core-features-guide-section,
    .page-index-core-features-cta-section {
        padding: 50px 0;
    }
    .page-index-core-features-feature-card,
    .page-index-core-features-step-card {
        padding: 25px;
    }
    .page-index-core-features-cta-title {
        font-size: 2em;
    }
    .page-index-core-features-cta-description {
        font-size: 1em;
    }
    .page-index-core-features-btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-index-core-features-advantage-grid .page-index-core-features-image-wrapper {
        order: unset;
    }
    .page-index-core-features-advantage-grid .page-index-core-features-text-content {
        order: unset;
    }
}