/* style/app-download-system-requirements.css */

/* Variables for colors and spacing */
:root {
    --page-app-download-system-requirements-primary-color: #0A1931; /* Dark Blue */
    --page-app-download-system-requirements-secondary-color: #FFC107; /* Bright Gold */
    --page-app-download-system-requirements-text-light: #FFFFFF;
    --page-app-download-system-requirements-text-dark: #0A1931; /* Using primary for dark text */
    --page-app-download-system-requirements-spacing-unit: 1rem; /* 16px */
}

.page-app-download-system-requirements {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--page-app-download-system-requirements-text-light);
}

.page-app-download-system-requirements__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
}

/* Hero Section */
.page-app-download-system-requirements__hero {
    background-color: var(--page-app-download-system-requirements-primary-color);
    color: var(--page-app-download-system-requirements-text-light);
    padding: calc(var(--page-app-download-system-requirements-spacing-unit) * 5) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-app-download-system-requirements__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.9), rgba(255, 193, 7, 0.2));
    z-index: 1;
}

.page-app-download-system-requirements__hero .page-app-download-system-requirements__container {
    position: relative;
    z-index: 2;
}

.page-app-download-system-requirements__title {
    font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 3);
    margin-bottom: var(--page-app-download-system-requirements-spacing-unit);
    color: var(--page-app-download-system-requirements-secondary-color);
    font-weight: 700;
}

.page-app-download-system-requirements__subtitle {
    font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.5);
    margin-bottom: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-app-download-system-requirements-text-light);
}

.page-app-download-system-requirements__cta-group {
    display: flex;
    justify-content: center;
    gap: var(--page-app-download-system-requirements-spacing-unit);
    flex-wrap: wrap;
    margin-top: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
}

.page-app-download-system-requirements__button {
    display: inline-block;
    padding: var(--page-app-download-system-requirements-spacing-unit) 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-app-download-system-requirements__button--primary {
    background-color: var(--page-app-download-system-requirements-secondary-color);
    color: var(--page-app-download-system-requirements-primary-color);
    border-color: var(--page-app-download-system-requirements-secondary-color);
}

.page-app-download-system-requirements__button--primary:hover {
    background-color: #E6B800; /* Darker gold */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-app-download-system-requirements__button--secondary {
    background-color: transparent;
    color: var(--page-app-download-system-requirements-secondary-color);
    border-color: var(--page-app-download-system-requirements-secondary-color);
}

.page-app-download-system-requirements__button--secondary:hover {
    background-color: var(--page-app-download-system-requirements-secondary-color);
    color: var(--page-app-download-system-requirements-primary-color);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* General Section Styling */
.page-app-download-system-requirements__section {
    padding: calc(var(--page-app-download-system-requirements-spacing-unit) * 4) 0;
    border-bottom: 1px solid #eee;
}

.page-app-download-system-requirements__section:last-of-type {
    border-bottom: none;
}

.page-app-download-system-requirements__section-title {
    font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 2.2);
    color: var(--page-app-download-system-requirements-primary-color);
    text-align: center;
    margin-bottom: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
    font-weight: 700;
}

.page-app-download-system-requirements__sub-section-title {
    font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.6);
    color: var(--page-app-download-system-requirements-primary-color);
    margin-top: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
    margin-bottom: var(--page-app-download-system-requirements-spacing-unit);
    font-weight: 600;
}

.page-app-download-system-requirements__section p {
    font-size: var(--page-app-download-system-requirements-spacing-unit);
    margin-bottom: var(--page-app-download-system-requirements-spacing-unit);
    color: #333;
}

.page-app-download-system-requirements__list,
.page-app-download-system-requirements__ordered-list {
    list-style-type: disc;
    margin-left: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
    margin-bottom: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.5);
    padding-left: 0;
}

.page-app-download-system-requirements__ordered-list {
    list-style-type: decimal;
}

.page-app-download-system-requirements__list li,
.page-app-download-system-requirements__ordered-list li {
    font-size: var(--page-app-download-system-requirements-spacing-unit);
    margin-bottom: calc(var(--page-app-download-system-requirements-spacing-unit) * 0.5);
    color: #444;
}

.page-app-download-system-requirements__list li strong {
    color: var(--page-app-download-system-requirements-primary-color);
}

/* Image Styling */
.page-app-download-system-requirements__image-wrapper {
    text-align: center;
    margin: calc(var(--page-app-download-system-requirements-spacing-unit) * 2) 0;
}

.page-app-download-system-requirements__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific section adjustments */
.page-app-download-system-requirements__overview {
    background-color: #f8f8f8;
}

.page-app-download-system-requirements__android-requirements,
.page-app-download-system-requirements__ios-requirements {
    background-color: #f0f4f7;
}

/* Call to action at bottom */
.page-app-download-system-requirements__cta-group--bottom {
    margin-top: calc(var(--page-app-download-system-requirements-spacing-unit) * 3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-app-download-system-requirements__title {
        font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 2.5);
    }

    .page-app-download-system-requirements__subtitle {
        font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.2);
    }

    .page-app-download-system-requirements__cta-group {
        flex-direction: column;
    }

    .page-app-download-system-requirements__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-app-download-system-requirements__section-title {
        font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.8);
    }

    .page-app-download-system-requirements__sub-section-title {
        font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 1.4);
    }
}

@media (max-width: 480px) {
    .page-app-download-system-requirements__title {
        font-size: calc(var(--page-app-download-system-requirements-spacing-unit) * 2);
    }

    .page-app-download-system-requirements__subtitle {
        font-size: var(--page-app-download-system-requirements-spacing-unit);
    }

    .page-app-download-system-requirements__container {
        padding: var(--page-app-download-system-requirements-spacing-unit);
    }
}

/* Ensure contrast for text on primary color background */
.page-app-download-system-requirements__hero p,
.page-app-download-system-requirements__hero h1 {
    color: var(--page-app-download-system-requirements-text-light);
}
.page-app-download-system-requirements__hero .page-app-download-system-requirements__button--secondary {
    color: var(--page-app-download-system-requirements-secondary-color);
    border-color: var(--page-app-download-system-requirements-secondary-color);
}
.page-app-download-system-requirements__hero .page-app-download-system-requirements__button--secondary:hover {
    background-color: var(--page-app-download-system-requirements-secondary-color);
    color: var(--page-app-download-system-requirements-primary-color);
}