/* style/download.css */
.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 */
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    padding-bottom: 80px;
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Primary brand color gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-download__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-download__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-download__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-download__btn-download {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 200px; /* Minimum width for buttons */
    text-align: center;
    box-sizing: border-box; /* Ensures padding is included in width */
}

.page-download__btn-primary {
    background-color: #ffc107; /* Auxiliary color for primary action */
    color: #1a1a1a; /* Dark text for light background */
    border: 2px solid #ffc107;
}

.page-download__btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-download__btn-secondary:hover {
    background-color: #ffc107;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-download__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-download__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #ffc107; /* Auxiliary color for titles */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

.page-download__text-link {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-download__text-link:hover {
    text-decoration: underline;
}

/* Video Section */
.page-download__video-section {
    background-color: #1a1a1a; /* Dark background for video */
    padding: 80px 0;
    text-align: center;
}

.page-download__video-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-download__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-download__video-link {
    display: block; /* Make the link cover the video */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Ensure link is clickable over video */
}

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

.page-download__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #cccccc;
}

/* Feature Section */
.page-download__feature-section {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 80px 0;
}

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

.page-download__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    border-radius: 10px;
    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;
    color: #ffffff; /* Light text for dark card background */
}

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