/* style/download.css */

/* Base styles for the page-download scope */
.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though shared.css might handle body */
}

/* Fixed header offset for the first content section */
.page-download__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Section titles */
.page-download__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Text blocks */
.page-download__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-download__hero-section {
    background: linear-gradient(135deg, #26A9E0, #1a7bb5); /* Gradient with brand color */
    color: #ffffff;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-download__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff; /* White text for dark background */
}

.page-download__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0; /* Slightly off-white for contrast */
}

.page-download__hero-image-wrapper {
    position: absolute;
    top: 50%;
    right: -100px; /* Adjust as needed for visual balance */
    transform: translateY(-50%) rotate(15deg);
    opacity: 0.1;
    z-index: 0;
}

.page-download__hero-image {
    width: 800px;
    height: 600px;
    object-fit: contain;
    filter: none; /* Ensure no color filters */
}


/* CTA Buttons */
.page-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.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;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-download__btn-primary {
    background-color: #EA7C07; /* Login/Download 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;
    border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7bb5;
    border-color: #1a7bb5;
}

.page-download__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Reason Section */
.page-download__reason-section {
    background-color: #ffffff;
    padding: 80px 0;
    color: #333333;
}

.page-download__reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-download__reason-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-download__reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-download__reason-icon {
    width: 200px; /* Min size 200x200 */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filters */
}

.page-download__reason-subtitle {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

/* Guide Section */
.page-download__guide-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

.page-download__guide-section .page-download__section-title,
.page-download__guide-section .page-download__text-block {
    color: #ffffff;
}

.page-download__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Indicate clickable video */
}

.page-download__video {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no color filters */
}
}