.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Fixed header spacing for main content */
.page-download__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
}

.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-download__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-download__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-bottom: 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #0a0a0a); /* Brand green to dark */
    color: #ffffff;
}

.page-download__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

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

.page-download__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-download__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-download__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

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

.page-download__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-download__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-download__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-download__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Specific button colors */
.page-download__register-button {
    background-color: #C30808; /* Register button specific color */
    color: #FFFF00; /* Register button font color */
    border-color: #C30808;
}
.page-download__register-button:hover {
    background-color: #a30606;
    border-color: #a30606;
    color: #ffffff; /* Hover text color */
}


/* Video Section */
.page-download__video-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Lighter dark background for this section */
    color: #ffffff;
}

.page-download__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px; /* Max width for video */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
}

.page-download__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-download__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


/* Guide Section */
.page-download__guide-section {
    padding: 80px 0;
}

.page-download__guide-section.page-download__dark-bg {
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-download__guide-section.page-download__light-bg {
    background-color: #1a1a1a; /* Lighter dark background */
    color: #ffffff;
}

.page-download__guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.page-download__guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-download__guide-step-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__guide-item p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 700px;
    color: #f0f0f0;
}

.page-download__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element for max-width */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

/* Benefits Section */
.page-download__benefits-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

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

.page-download__benefit-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px; /* Enforce min card size */
}

.page-download__benefit-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-download__benefit-card p {
    font-size: 1em;
    color: #f0f0f0;
}

/* Issues Section */
.page-download__issues-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Lighter dark background */
    color: #ffffff;
}

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

.page-download__issue-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min card size */
}

.page-download__issue-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-download__issue-card p {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.page-download__support-cta {
    text-align: center;
    margin-top: 40px;
}

.page-download__support-cta p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}


/* FAQ Section */
.page-download__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-download__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-download__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
    background-color: #005a2e;
}

.page-download__faq-title {
    margin: 0;
    color: #ffffff; /* Ensure title color is white */
}

.page-download__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-download__faq-item.active .page-download__faq-question {
    background-color: #005a2e;
}

.page-download__faq-item.active .page-download__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or rotate to minus) */
}

.page-download__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03); /* Slightly lighter background for answer */
    color: #f0f0f0;
}

.page-download__faq-item.active .page-download__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px 25px;
}

.page-download__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-download__cta-final-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Lighter dark background */
    color: #ffffff;
    text-align: center;
}

.page-download__cta-final-section .page-download__section-title {
    color: #ffffff;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: 3em;
    }
    .page-download__section-title {
        font-size: 2em;
    }
    .page-download__guide-step-title,
    .page-download__benefit-title,
    .page-download__issue-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-download__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-download__hero-title {
        font-size: 2.5em;
    }
    .page-download__hero-description {
        font-size: 1.1em;
    }
    .page-download__section-title {
        font-size: 1.8em;
    }
}