/* style/download-center-ios-app.css */

/* Variables for consistency */
:root {
    --page-download-center-ios-app-primary-color: #0A2342; /* Deep Blue */
    --page-download-center-ios-app-secondary-color: #FFD700; /* Gold */
    --page-download-center-ios-app-text-light: #F8F8F8; /* Light gray for dark backgrounds */
    --page-download-center-ios-app-text-dark: #333333; /* Dark gray for light backgrounds */
    --page-download-center-ios-app-background-light: #FFFFFF; /* White */
    --page-download-center-ios-app-background-dark: #0A2342; /* Primary color as dark background */
    --page-download-center-ios-app-accent-color: #f5dcbd; /* Complementary to primary */
    --page-download-center-ios-app-link-hover: #e6c200; /* Darker gold for hover */
}

/* General Page Styling */
.page-download-center-ios-app {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-download-center-ios-app-text-dark);
    background-color: var(--page-download-center-ios-app-background-light);
}

.page-download-center-ios-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-download-center-ios-app__section {
    padding: 60px 0;
    text-align: center;
}

.page-download-center-ios-app__section:nth-of-type(even) {
    background-color: #f4f7f9; /* Light background for alternating sections */
}

.page-download-center-ios-app__section-title {
    font-size: 2.5em;
    color: var(--page-download-center-ios-app-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-download-center-ios-app__section-description {
    font-size: 1.1em;
    color: var(--page-download-center-ios-app-text-dark);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-download-center-ios-app__hero {
    background: linear-gradient(135deg, var(--page-download-center-ios-app-primary-color) 0%, #1a3a60 100%); /* Dark blue gradient */
    color: var(--page-download-center-ios-app-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-download-center-ios-app__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float1 10s infinite ease-in-out;
}

.page-download-center-ios-app__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float2 12s infinite ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}


.page-download-center-ios-app__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-download-center-ios-app-secondary-color); /* Gold title */
    font-weight: bold;
    line-height: 1.1;
}

.page-download-center-ios-app__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-download-center-ios-app-text-light);
}

.page-download-center-ios-app__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.page-download-center-ios-app__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-download-center-ios-app__btn--primary {
    background-color: var(--page-download-center-ios-app-secondary-color); /* Gold */
    color: var(--page-download-center-ios-app-primary-color); /* Deep Blue text */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-download-center-ios-app__btn--primary:hover {
    background-color: var(--page-download-center-ios-app-link-hover); /* Darker Gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-download-center-ios-app__btn--secondary {
    background-color: transparent;
    color: var(--page-download-center-ios-app-secondary-color); /* Gold text */
    border: 2px solid var(--page-download-center-ios-app-secondary-color);
}

.page-download-center-ios-app__btn--secondary:hover {
    background-color: var(--page-download-center-ios-app-secondary-color);
    color: var(--page-download-center-ios-app-primary-color);
    transform: translateY(-3px);
}

.page-download-center-ios-app__qr-code {
    margin-top: 30px;
    color: var(--page-download-center-ios-app-text-light);
}

.page-download-center-ios-app__qr-image {
    width: 150px;
    height: 150px;
    background-color: var(--page-download-center-ios-app-background-light);
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-download-center-ios-app__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download-center-ios-app__benefit-item {
    background-color: var(--page-download-center-ios-app-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;
}

.page-download-center-ios-app__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download-center-ios-app__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-download-center-ios-app__benefit-item h3 {
    font-size: 1.4em;
    color: var(--page-download-center-ios-app-primary-color);
    margin-bottom: 15px;
}

.page-download-center-ios-app__benefit-item p {
    font-size: 1em;
    color: var(--page-download-center-ios-app-text-dark);
}

/* Guide Section */
.page-download-center-ios-app__section--guide {
    background-color: var(--page-download-center-ios-app-background-light);
}

.page-download-center-ios-app__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.page-download-center-ios-app__step:last-of-type {
    margin-bottom: 0;
}

.page-download-center-ios-app__step-title {
    font-size: 1.8em;
    color: var(--page-download-center-ios-app-primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.page-download-center-ios-app__step-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--page-download-center-ios-app-secondary-color);
    border-radius: 2px;
}

.page-download-center-ios-app__step p {
    font-size: 1.1em;
    max-width: 700px;
    margin-bottom: 25px;
    color: var(--page-download-center-ios-app-text-dark);
}

.page-download-center-ios-app__step-image {
    max-width: 100%;
    width: 600px; /* Max width for guide images */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.page-download-center-ios-app__cta-bottom {
    margin-top: 50px;
}

/* Features Section */
.page-download-center-ios-app__section--features {
    background-color: #f4f7f9;
}

.page-download-center-ios-app__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 50px auto;
    max-width: 900px;
    text-align: left;
}

.page-download-center-ios-app__feature-list li {
    font-size: 1.15em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--page-download-center-ios-app-text-dark);
}

.page-download-center-ios-app__feature-list li strong {
    color: var(--page-download-center-ios-app-primary-color);
}

.page-download-center-ios-app__feature-list li::before {
    content: '✓';
    color: var(--page-download-center-ios-app-secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.page-download-center-ios-app__main-image {
    max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    border: 2px solid var(--page-download-center-ios-app-secondary-color);
}

/* FAQ Section */
.page-download-center-ios-app__section--faq {
    background-color: var(--page-download-center-ios-app-background-light);
}

.page-download-center-ios-app__faq-item {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-download-center-ios-app__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-download-center-ios-app__faq-question {
    font-size: 1.3em;
    color: var(--page-download-center-ios-app-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
}

.page-download-center-ios-app__faq-answer {
    font-size: 1em;
    color: var(--page-download-center-ios-app-text-dark);
    margin-top: 15px;
    /* These will be controlled by JS for accordion effect */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, opacity 0.3s ease-out;
    padding-top: 0;
    opacity: 0;
}

.page-download-center-ios-app__faq-question.active + .page-download-center-ios-app__faq-answer {
    max-height: 500px; /* A sufficiently large value */
    padding-top: 15px;
    opacity: 1;
}

/* Final CTA Section */
.page-download-center-ios-app__cta-final {
    background: linear-gradient(45deg, var(--page-download-center-ios-app-primary-color), #2d4f7c); /* Dark blue gradient */
    color: var(--page-download-center-ios-app-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-download-center-ios-app__cta-final .page-download-center-ios-app__section-title {
    color: var(--page-download-center-ios-app-secondary-color);
    font-size: 3em;
}

.page-download-center-ios-app__cta-final .page-download-center-ios-app__section-description {
    color: var(--page-download-center-ios-app-text-light);
    margin-bottom: 40px;
}

.page-download-center-ios-app__btn--hero {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: var(--page-download-center-ios-app-secondary-color);
    color: var(--page-download-center-ios-app-primary-color);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.page-download-center-ios-app__btn--hero:hover {
    background-color: var(--page-download-center-ios-app-link-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}

.page-download-center-ios-app__footer-note {
    margin-top: 30px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-download-center-ios-app__title {
        font-size: 2.8em;
    }
    .page-download-center-ios-app__section-title {
        font-size: 2em;
    }
    .page-download-center-ios-app__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-download-center-ios-app__cta-final .page-download-center-ios-app__section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-download-center-ios-app__hero {
        padding: 80px 0 60px;
    }
    .page-download-center-ios-app__title {
        font-size: 2.2em;
    }
    .page-download-center-ios-app__subtitle {
        font-size: 1.1em;
    }
    .page-download-center-ios-app__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-download-center-ios-app__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-download-center-ios-app__section {
        padding: 40px 0;
    }
    .page-download-center-ios-app__section-title {
        font-size: 1.8em;
    }
    .page-download-center-ios-app__step-title {
        font-size: 1.5em;
    }
    .page-download-center-ios-app__feature-list li {
        font-size: 1em;
    }
    .page-download-center-ios-app__cta-final .page-download-center-ios-app__section-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-download-center-ios-app__container {
        padding: 0 15px;
    }
    .page-download-center-ios-app__title {
        font-size: 1.8em;
    }
    .page-download-center-ios-app__subtitle {
        font-size: 1em;
    }
    .page-download-center-ios-app__btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-download-center-ios-app__section-title {
        font-size: 1.6em;
    }
    .page-download-center-ios-app__step-title {
        font-size: 1.3em;
    }
    .page-download-center-ios-app__faq-question {
        font-size: 1.1em;
    }
    .page-download-center-ios-app__cta-final .page-download-center-ios-app__section-title {
        font-size: 1.8em;
    }
}