/* style/download.css */

/* Base styles for the download page */
.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #ffffff); /* Inherit from shared, default to white */
}

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

/* Hero Section */
.page-download__hero-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-download__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-download__btn-primary {
    background-color: #EA7C07; /* Login/Action color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-download__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
    border-color: #26A9E0;
}

/* Video Section */
.page-download__video-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background */
    text-align: center;
}

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

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

.page-download__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.page-download__video-description {
    font-size: 1.1em;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
}

/* General Content Section */
.page-download__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background for main content */
    color: #333333;
}

.page-download__section-title {
    font-size: 2em;
    color: #26A9E0; /* Primary brand color */
    margin-bottom: 30px;
    text-align: center;
}

.page-download p {
    margin-bottom: 1em;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Benefits Grid */
.page-download__benefits-grid,
.page-download__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-download__benefit-card,
.page-download__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-download__benefit-card:hover,
.page-download__feature-item:hover {
    transform: translateY(-5px);
}

.page-download__benefit-icon,
.page-download__feature-icon {
    width: 100%;
    max-width: 250px; /* Adjust max-width for benefit icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-download__card-title,
.page-download__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

/* Download Guide */
.page-download__download-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-download__guide-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.page-download__guide-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
}

.page-download__guide-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.page-download__guide-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-download__guide-button {
    margin-top: auto; /* Push button to bottom */
    align-self: center; /* Center button */
}

/* Feature List */
/* (Feature grid handles individual feature items, list styling not needed here) */

/* FAQ Section */
.page-download__faq-list {
    max-width: 800px;
    margin: 40px auto;
}

.page-download__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

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

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

.page-download__faq-item.active .page-download__faq-toggle {
    transform: rotate(45deg);
}

.page-download__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #ffffff;
}