/* style/download.css */

/* Base Styles for Page Download */
.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333333); /* Default text color, adjust based on body bg */
    background-color: var(--body-bg, #ffffff); /* Default body background */
}

/* Ensure body padding-top for fixed header offset if not handled by shared.css */
/* For this page, we assume shared.css handles body padding-top, so individual sections might not need it at the top */
.page-download__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure hero is not covered by fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #26A9E0, #1a7fb2); /* Primary brand color gradient */
    color: #ffffff;
    overflow: hidden; /* Prevent content overflow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-download__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
    z-index: 1;
}

.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-download__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-download__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff; /* Ensure white text on dark background */
}

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

.page-download__hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.page-download__btn-primary,
.page-download__btn-secondary,
.page-download__btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    justify-content: center;
}

.page-download__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
}

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

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

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

.page-download__btn-ghost {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-download__btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-download__icon {
    margin-right: 10px;
    font-size: 1.2em;
    /* Placeholder for actual icons, e.g., using a font icon library or SVG */
}

/* Basic icon styles (replace with actual font icons or SVGs) */
.page-download__icon--android::before { content: "📱"; }
.page-download__icon--ios::before { content: "🍎"; }
.page-download__icon--windows::before { content: "💻"; }
.page-download__icon--promo::before { content: "💰"; }
.page-download__icon--download::before { content: "⬇️"; }
.page-download__icon--register::before { content: "📝"; }


.page-download__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

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

/* Dark section styles */
.page-download__dark-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 80px 0;
}

.page-download__dark-section .page-download__section-title {
    color: #ffffff;
}

.page-download__dark-section .page-download__section-description {
    color: #f0f0f0;
}

/* Light section styles */
.page-download__light-bg {
    background-color: #f8f8f8; /* Light background */
    color: #333333;
    padding: 80px 0;
}

/* Why Download Section */
.page-download__why-download-section {
    padding: 80px 0;
}

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

.page-download__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

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

.page-download__feature-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Download Methods Section */
.page-download__download-methods-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-download__method-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-download__method-title {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #26A9E0; /* Primary brand color */
    font-weight: bold;
}

.page-download__qr-code-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensure QR code area is not too small */
}

.page-download__qr-code {
    max-width: 250px; /* Max width for QR code */
    height: auto;
    border: 5px solid #f0f0f0;
    border-radius: 5px;
    display: block;
}

.page-download__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-download__btn-full-width {
    width: 100%;
    margin-top: auto; /* Push button to bottom */
}

/* Installation Guide Section */
.page-download__installation-guide-section {
    padding: 80px 0;
}

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