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

/* Base styles for the page content */
.page-index-core-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* General content container */
.page-index-core-features__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles and descriptions */
.page-index-core-features__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-index-core-features__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-index-core-features__btn-primary:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

.page-index-core-features__btn-secondary {
    background-color: transparent;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-index-core-features__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Specific button colors for Register/Login */
.page-index-core-features__btn-primary[href*="/register"],
.page-index-core-features__btn-primary[href*="plink_id"] { /* Apply to main CTA and register if it's primary */
    background-color: #C30808; /* Register color */
    border-color: #C30808;
    color: #FFFF00; /* Register/Login font color */
}
.page-index-core-features__btn-primary[href*="/register"]:hover,
.page-index-core-features__btn-primary[href*="plink_id"]:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-index-core-features__btn-secondary[href*="/login.html"] {
    background-color: transparent;
    color: #FFFF00; /* Login font color */
    border: 2px solid #C30808; /* Login color */
}
.page-index-core-features__btn-secondary[href*="/login.html"]:hover {
    background-color: #C30808;
    color: #FFFF00;
}


/* Hero Section */
.page-index-core-features__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #017439; /* Brand color for hero background */
    overflow: hidden;
}

.page-index-core-features__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-index-core-features__hero-title {
    font-size: 3.8em;
    color: #FFFF00; /* Highlighted color for title */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-core-features__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-index-core-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-index-core-features__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* Video Section */
.page-index-core-features__video-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Darker background for contrast */
}

.page-index-core-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
}

.page-index-core-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer; /* Indicate clickable video */
}
.page-index-core-features__video-cta {
    text-align: center;
    margin-top: 30px;
}

/* Features Section */
.page-index-core-features__features-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
}

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

.page-index-core-features__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-core-features__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-core-features__feature-image {
    width: 100%;
    max-width: 400px; /* Max width for feature images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce min size */
}

.page-index-core-features__card-title {
    font-size: 1.8em;
    color: #FFFF00; /* Accent color for titles */
    margin-bottom: 15px;
}

.page-index-core-features__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Benefits Section */
.page-index-core-features__benefits-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color background */
}

.page-index-core-features__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-core-features__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-core-features__benefit-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-index-core-features__benefit-text {
    font-size: 1em;
    color: #ffffff;
}

/* Getting Started Section */
.page-index-core-features__getting-started-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.page-index-core-features__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-core-features__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-core-features__step-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-index-core-features__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-index-core-features__text-link {
    color: #FFFF00;
    text-decoration: underline;
}

.page-index-core-features__text-link:hover {
    color: #ffffff;
}

/* Strategy Section */
.page-index-core-features__strategy-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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