/* style/download.css */

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

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

.page-download__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-download__light-bg {
    background-color: #1a1a1a; /* Darker card background to contrast with body #0a0a0a */
    color: #ffffff;
}

.page-download__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-download__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

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

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

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

.page-download__cta-buttons--centered {
    margin-top: 50px;
}

.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;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-download__btn-primary {
    background-color: #C30808; /* Red for primary action (Register) */
    color: #FFFF00; /* Yellow for text on red button */
    border: 2px solid #C30808;
}

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

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

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

.page-download__hero-image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 1000px; /* Max width for hero image */
}

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

.page-download__video-section {
    padding: 60px 20px;
    background-color: #0d0d0d; /* Slightly darker background for video */
    color: #f0f0f0;
    text-align: center;
}

.page-download__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #000; /* Fallback for video background */
}

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

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

.page-download__video-caption {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
}

.page-download__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-download__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit; /* Inherit color from parent section */
}

.page-download__why-download-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
    color: #ffffff; /* Light text on dark body background */
}

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

.page-download__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    background-color: #1a1a1a; /* Darker card background */
    color: #ffffff;
}

.page-download__feature-card .page-download__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-download__feature-card .page-download__card-text {
    font-size: 1em;
    color: #cccccc;
}

.page-download__app-features-section {
    padding: 80px 0;
}

.page-download__features-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.page-download__feature-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #1a1a1a; /* Darker background for feature items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__feature-item--reverse {
    flex-direction: row-reverse;
}

.page-download__feature-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-download__feature-content {
    flex: 1;
    color: #ffffff;
}

.page-download__item-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-download__item-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #cccccc;
}

.page-download__feature-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-download__feature-sublist li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #cccccc;
}

.page-download__feature-sublist li a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__feature-sublist li a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-download__how-to-download-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
    color: #ffffff; /* Light text on dark body background */
}

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

.page-download__step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    background-color: #1a1a1a; /* Darker card background */
    color: #ffffff;
}

.page-download__step-icon {
    font-size: 3em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for step numbers */
    margin-bottom: 15px;
}

.page-download__step-card .page-download__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-download__step-card .page-download__card-text {
    font-size: 1em;
    color: #cccccc;
}

.page-download__step-card .page-download__card-text a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__step-card .page-download__card-text a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-download__qr-codes {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.page-download__qr-item {
    text-align: center;
}

.page-download__qr-image {
    width: 250px;
    height: 250px;
    max-width: 100%;
    display: block;
    margin: 0 auto 15px auto;
    border: 5px solid #017439; /* Brand color border */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-download__qr-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

.page-download__requirements-section {
    padding: 80px 0;
}

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

.page-download__requirement-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #1a1a1a; /* Darker card background */
    color: #ffffff;
}

.page-download__requirement-card .page-download__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-download__requirement-card .page-download__card-text {
    font-size: 1em;
    color: #cccccc;
}

.page-download__safety-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
    color: #ffffff; /* Light text on dark body background */
}

.page-download__safety-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-download__safety-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-download__safety-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-download__safety-list li {
    margin-bottom: 25px;
}

.page-download__safety-list li:last-child {
    margin-bottom: 0;
}

.page-download__list-item-title {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #ffffff;
}

.page-download__list-item-text {
    font-size: 1em;
    color: #cccccc;
}

.page-download__list-item-text a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__list-item-text a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-download__promotions-section {
    padding: 80px 0;
}

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

.page-download__promo-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    background-color: #1a1a1a; /* Darker card background */
    color: #ffffff;
}

.page-download__promo-card .page-download__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-download__promo-card .page-download__card-text {
    font-size: 1em;
    color: #cccccc;
}

.page-download__promo-card .page-download__card-text a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__promo-card .page-download__card-text a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-download__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
    color: #ffffff; /* Light text on dark body background */
}

.page-download__faq-list {
    margin-top: 50px;
}

.page-download__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1a1a1a; /* Darker card background */
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-download__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

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

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