/* style/download.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #26A9E0;
    --button-login: #EA7C07;
}

.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-download__section {
    padding: 60px 0;
    text-align: center;
}

.page-download__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-download__section-intro {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-download__section-text {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: var(--text-dark);
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a8cc2 100%); /* Adjusted for visual depth */
    color: var(--text-light);
    overflow: hidden;
}

.page-download__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Desktop: row layout */
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-download__hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* Limit image width */
}

.page-download__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: contain; /* Ensure image content is fully visible */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-download__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 800;
    line-height: 1.2;
}

.page-download__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-download__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start; /* Align buttons to the left */
    flex-wrap: wrap;
}

.page-download__cta-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-download__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-download__btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-download__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-download__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-download__btn-large {
    padding: 18px 45px;
    font-size: 20px;
}

/* Why Download Section */
.page-download__why-download .page-download__section-title {
    color: var(--primary-color);
}

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

.page-download__feature-item {
    background: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-download__feature-icon {
    width: 200px; /* Min size 200px */
    height: 150px; /* Adjust height to maintain aspect ratio, or use object-fit */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-download__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-download__feature-description {
    font-size: 16px;
    color: var(--text-dark);
    flex-grow: 1;
}

/* Download Guide Section */
.page-download__download-guide {
    background: var(--background-dark);
    color: var(--text-light);
}

.page-download__download-guide .page-download__section-title {
    color: var(--text-light);
}

.page-download__download-guide .page-download__section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.page-download__platform-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-download__platform-item {
    background: var(--background-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark);
}

.page-download__platform-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.page-download__qr-code-wrapper {
    margin-bottom: 30px;
}

.page-download__qr-code {
    width: 250px;
    height: 250px;
    border: 5px solid var(--primary-color);
    border-radius: 8px;
    object-fit: contain;
}

.page-download__steps-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-download__steps-list li {
    margin-bottom: 15px;
    font-size: 17px;
    position: relative;
    padding-left: 30px;
}

.page-download__steps-list li strong {
    color: var(--primary-color);
}

.page-download__steps-list li::before {
    content: attr(data-step-number);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--text-light);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.page-download__steps-list li:nth-child(1)::before { content: '1'; }
.page-download__steps-list li:nth-child(2)::before { content: '2'; }
.page-download__steps-list li:nth-child(3)::before { content: '3'; }
.page-download__steps-list li:nth-child(4)::before { content: '4'; }

/* Key Features Section */
.page-download__key-features .page-download__section-title {
    color: var(--primary-color);
}

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

.page-download__feature-card {
    background: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-download__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-download__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-download__feature-card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-download__feature-card-description {
    font-size: 16px;
    color: var(--text-dark);
    flex-grow: 1;
}

/* System Requirements Section */
.page-download__system-requirements {
    background: var(--background-dark);
    color: var(--text-light);
}

.page-download__system-requirements .page-download__section-title {
    color: var(--text-light);
}

.page-download__system-requirements .page-download__section-intro {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-download__requirement-item {
    background: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    color: var(--text-dark);
}