/* style/download.css */
.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFFFFF; /* Default text color for dark sections */
    background-color: #0A192F; /* Default background for dark sections */
}

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

/* Background variations */
.page-download__bg--dark {
    background-color: #0A192F;
    color: #FFFFFF;
}

.page-download__bg--light {
    background-color: #F0F2F5; /* A very light grey to contrast with dark blue */
    color: #0A192F;
}

.page-download__bg--light .page-download__section-title,
.page-download__bg--light .page-download__section-intro,
.page-download__bg--light .page-download__feature-title,
.page-download__bg--light .page-download__feature-text,
.page-download__bg--light .page-download__platform-title,
.page-download__bg--light .page-download__platform-description,
.page-download__bg--light .page-download__platform-features li,
.page-download__bg--light .page-download__security-title,
.page-download__bg--light .page-download__security-text,
.page-download__bg--light .page-download__security-footer,
.page-download__bg--light .page-download__detail-title,
.page-download__bg--light .page-download__detail-description {
    color: #0A192F; /* Ensure dark text on light background */
}

.page-download__bg--light .page-download__btn--link {
    color: #0A192F; /* Ensure dark text for links on light background */
}

.page-download__bg--light .page-download__btn--link:hover {
    color: #FFD700; /* Gold hover for links on light background */
}


/* Hero Section */
.page-download__hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #30194F 100%); /* Dark gradient for hero */
    padding: 100px 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

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

.page-download__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

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

/* Buttons */
.page-download__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    min-width: 180px;
}

.page-download__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-download__btn--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-download__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-download__btn--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0A192F; /* Dark blue text on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-download__btn--center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 300px;
}

.page-download__btn--link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-download__btn--link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* General Section Styling */
.page-download__info-section,
.page-download__platform-section,
.page-download__installation-guide,
.page-download__security-section,
.page-download__exclusive-offers,
.page-download__detail-pages-section,
.page-download__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-download__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-download__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-download__section-intro {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

/* Features Grid */
.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-download__feature-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: left;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download__feature-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-download__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700); /* Gold glow for icons */
}

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

.page-download__feature-text {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.7;
}

/* Platform Section */
.page-download__platform-item {
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-download__platform-item:last-child {
    margin-bottom: 0;
}

.page-download__platform-item.page-download__bg--dark {
    background-color: rgba(255, 255, 255, 0.05); /* Dark background with transparency */
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #FFFFFF;
}

.page-download__platform-item.page-download__bg--light {
    background-color: #FFFFFF; /* White background for light sections */
    color: #0A192F;
    border: 1px solid rgba(10, 25, 47, 0.1);
}

.page-download__platform-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-download__platform-content--reverse {
    flex-direction: row-reverse;
}

.page-download__platform-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.page-download__platform-text-content {
    flex-grow: 1;
}

.page-download__platform-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__platform-item.page-download__bg--dark .page-download__platform-title {
    color: #FFD700;
}

.page-download__platform-item.page-download__bg--light .page-download__platform-title {
    color: #0A192F;
}

.page-download__platform-description {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-download__platform-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-download__platform-features li {
    margin-bottom: 10px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.page-download__platform-item.page-download__bg--dark .page-download__platform-features li {
    color: #E0E0E0;
}

.page-download__platform-item.page-download__bg--light .page-download__platform-features li {
    color: #333333;
}

.page-download__icon--check {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.2em;
}
.page-download__icon--check::before {
    content: '✓'; /* Unicode checkmark */
    display: inline-block;
    vertical-align: middle;
}

/* Installation Guide */
.page-download__steps-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-download__steps-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #FFD700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-download__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-download__step-text {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.7;
}

/* Security Section */
.page-download__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-download__security-item {
    background-color: #FFFFFF; /* White background for light section cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
    border: 1px solid rgba(10, 25, 47, 0.1);
    color: #0A192F;
}

.page-download__security-item:hover {
    transform: translateY(-10px);
}

.page-download__security-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(10, 25, 47, 0.3));
}

.page-download__security-title {
    font-size: 1.8em;
    color: #0A192F;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__security-text {
    font-size: 1em;
    color: #333333;
    line-height: 1.7;
}

.page-download__security-footer {
    margin-top: 50px;
    font-size: 1.1em;
    font-weight: bold;
    color: #0A192F;
}

/* Exclusive Offers */
.page-download__offers-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-download__offers-list li {
    background-color: rgba(255, 215, 0, 0.1); /* Light gold background for offers */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    display: flex;
    align-items: flex-start;
    color: #E0E0E0;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-download__icon--star {
    color: #FFD700;
    margin-right: 15px;
    font-size: 1.5em;
    line-height: 1;
}
.page-download__icon--star::before {
    content: '★'; /* Unicode star */
    display: inline-block;
    vertical-align: middle;
}

/* Detail Pages Section */
.page-download__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download__detail-item {
    background-color: #FFFFFF; /* White background for light section cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid rgba(10, 25, 47, 0.1);
}

.page-download__detail-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-download__detail-title a {
    color: #0A192F; /* Dark blue for title links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__detail-title a:hover {
    color: #FFD700; /* Gold on hover */
    text-decoration: underline;
}

.page-download__detail-description {
    font-size: 1em;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Section */
.page-download__cta-section {
    padding: 80px 0;
    background-color: #0A192F;
    color: #FFFFFF;
}

.page-download__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Fade-in animation */
.page-download .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-download .fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-download__hero-title {
        font-size: 2.8em;
    }
    .page-download__section-title {
        font-size: 2.2em;
    }
    .page-download__platform-content {
        flex-direction: column;
        text-align: center;
    }
    .page-download__platform-content--reverse {
        flex-direction: column; /* Keep column for reverse on mobile too */
    }
    .page-download__platform-image {
        width: 70%;
        margin-bottom: 30px;
    }
    .page-download__platform-features {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-download__hero-title {
        font-size: 2.2em;
    }
    .page-download__hero-description {
        font-size: 1em;
    }
    .page-download__section-title {
        font-size: 1.8em;
    }
    .page-download__section-intro {
        font-size: 0.95em;
    }
    .page-download__features-grid,
    .page-download__security-grid,
    .page-download__detail-list {
        grid-template-columns: 1fr;
    }
    .page-download__feature-item,
    .page-download__security-item,
    .page-download__detail-item {
        padding: 25px;
    }
    .page-download__btn {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
    }
    .page-download__hero-actions,
    .page-download__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-download__btn--center {
        max-width: 90%;
    }
    .page-download__platform-image {
        width: 90%;
    }
    .page-download__offers-list li {
        font-size: 1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-download__hero-title {
        font-size: 1.8em;
    }
    .page-download__section-title {
        font-size: 1.6em;
    }
    .page-download__feature-title,
    .page-download__security-title,
    .page-download__platform-title,
    .page-download__step-title,
    .page-download__detail-title {
        font-size: 1.4em;
    }
    .page-download__container {
        padding: 0 15px;
    }
    .page-download__hero-section,
    .page-download__info-section,
    .page-download__platform-section,
    .page-download__installation-guide,
    .page-download__security-section,
.page-download__exclusive-offers,
    .page-download__detail-pages-section,
    .page-download__cta-section {
        padding: 60px 0;
    }
}