/* style/app-download-features.css */
:root {
    --page-app-download-features-primary-color: #0A192F;
    --page-app-download-features-secondary-color: #FFD700;
    --page-app-download-features-text-light: #F8F8F8;
    --page-app-download-features-text-dark: #1A1A1A;
    --page-app-download-features-background-dark: #0A192F;
    --page-app-download-features-background-light: #F0F2F5;
    --page-app-download-features-accent-color: #0028ff; /* Complementary to auxiliary */
    --page-app-download-features-complementary-color: #f5e6d0; /* Complementary to primary */
}

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

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

/* Hero Section */
.page-app-download-features__hero {
    background: linear-gradient(135deg, var(--page-app-download-features-primary-color) 0%, #1a3a60 100%);
    color: var(--page-app-download-features-text-light);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.page-app-download-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-app-download-features-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-app-download-features__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    opacity: 0.9;
}

.page-app-download-features__hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

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

.page-app-download-features__btn--primary {
    background-color: var(--page-app-download-features-secondary-color);
    color: var(--page-app-download-features-primary-color);
}

.page-app-download-features__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-app-download-features__btn--secondary {
    background-color: transparent;
    color: var(--page-app-download-features-secondary-color);
    border: 2px solid var(--page-app-download-features-secondary-color);
}

.page-app-download-features__btn--secondary:hover {
    background-color: var(--page-app-download-features-secondary-color);
    color: var(--page-app-download-features-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-app-download-features__btn--text {
    background: none;
    border: none;
    color: var(--page-app-download-features-primary-color);
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-app-download-features__btn--text:hover {
    color: var(--page-app-download-features-accent-color);
    text-decoration: none;
}

.page-app-download-features__hero-image-wrapper {
    position: absolute;
    bottom: -50px;
    right: 5%;
    width: 350px;
    height: auto;
    z-index: 1;
}

.page-app-download-features__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* General Section Styling */
.page-app-download-features__section {
    padding: 80px 0;
    background-color: var(--page-app-download-features-background-light);
}

.page-app-download-features__section:nth-of-type(even) {
    background-color: #E2E8F0;
}

.page-app-download-features__section-title {
    font-size: 2.8em;
    color: var(--page-app-download-features-primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-app-download-features__section-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #555;
}

/* Why Choose Section */
.page-app-download-features__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-app-download-features__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--page-app-download-features-secondary-color);
}

.page-app-download-features__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-app-download-features__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-app-download-features__feature-title {
    font-size: 1.6em;
    color: var(--page-app-download-features-primary-color);
    margin-bottom: 15px;
}

.page-app-download-features__feature-text {
    font-size: 1em;
    color: #666;
}

/* Core Features Section */
.page-app-download-features__core-features .page-app-download-features__section-description {
    margin-bottom: 80px;
}

.page-app-download-features__feature-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-app-download-features__feature-detail--reverse {
    flex-direction: row-reverse;
}

.page-app-download-features__feature-content {
    flex: 1;
}

.page-app-download-features__feature-detail-title {
    font-size: 2.2em;
    color: var(--page-app-download-features-primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.page-app-download-features__feature-content p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.page-app-download-features__feature-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-app-download-features__feature-content ul li {
    font-size: 1.05em;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-app-download-features__feature-content ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-app-download-features-secondary-color);
    font-size: 1.2em;
}

.page-app-download-features__feature-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-app-download-features__feature-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Get Started Section */
.page-app-download-features__get-started {
    background-color: var(--page-app-download-features-primary-color);
    color: var(--page-app-download-features-text-light);
}

.page-app-download-features__get-started .page-app-download-features__section-title,
.page-app-download-features__get-started .page-app-download-features__section-description {
    color: var(--page-app-download-features-text-light);
}

.page-app-download-features__get-started .page-app-download-features__section-description {
    opacity: 0.8;
}

.page-app-download-features__steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.page-app-download-features__steps li {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    counter-increment: step-counter;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-app-download-features__steps li::before {
    content: counter(step-counter);
    background-color: var(--page-app-download-features-secondary-color);
    color: var(--page-app-download-features-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--page-app-download-features-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-app-download-features__step-title {
    font-size: 1.8em;
    color: var(--page-app-download-features-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-app-download-features__steps li p {
    color: var(--page-app-download-features-text-light);
    opacity: 0.85;
}

.page-app-download-features__get-started-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Exclusive Offers Section */
.page-app-download-features__exclusive-offers .page-app-download-features__section-description {
    margin-bottom: 40px;
}

.page-app-download-features__offer-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.page-app-download-features__offer-list li {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--page-app-download-features-primary-color);
    position: relative;
    padding-left: 45px;
}

.page-app-download-features__offer-list li::before {
    content: '⭐';
    position: absolute;
    left: 15px;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
}

/* Security & Responsible Gaming Section */
.page-app-download-features__security-responsible-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-app-download-features__security-responsible-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--page-app-download-features-primary-color);
}

.page-app-download-features__security-responsible-title {
    font-size: 1.6em;
    color: var(--page-app-download-features-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-app-download-features__security-responsible-item p {
    color: #555;
}

/* FAQ Section */
.page-app-download-features__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-app-download-features__faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-app-download-features__faq-question {
    font-size: 1.3em;
    color: var(--page-app-download-features-primary-color);
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-app-download-features__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-app-download-features__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-app-download-features__faq-answer {
    padding: 0 25px 20px 25px;
    color: #444;
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-app-download-features__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding: 20px 25px;
}

/* Final CTA Section */
.page-app-download-features__cta-final {
    background: linear-gradient(90deg, var(--page-app-download-features-primary-color), #2A4A70);
    color: var(--page-app-download-features-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-app-download-features__cta-final-title {
    font-size: 3em;
    color: var(--page-app-download-features-secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-app-download-features__cta-final-description {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-app-download-features__cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-app-download-features__hero-title {
        font-size: 3em;
    }

    .page-app-download-features__hero-subtitle {
        font-size: 1.3em;
    }

    .page-app-download-features__hero-image-wrapper {
        width: 300px;
        right: 2%;
        bottom: -30px;
    }

    .page-app-download-features__feature-detail {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
    }

    .page-app-download-features__feature-detail--reverse {
        flex-direction: column;
    }

    .page-app-download-features__feature-detail-title {
        font-size: 1.8em;
        text-align: center;
    }

    .page-app-download-features__feature-content ul {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .page-app-download-features__hero {
        min-height: 500px;
        padding: 60px 0;
    }

    .page-app-download-features__hero-title {
        font-size: 2.5em;
    }

    .page-app-download-features__hero-subtitle {
        font-size: 1.1em;
    }

    .page-app-download-features__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-app-download-features__hero-image-wrapper {
        position: static;
        width: 250px;
        margin-top: 40px;
    }

    .page-app-download-features__section {
        padding: 60px 0;
    }

    .page-app-download-features__section-title {
        font-size: 2.2em;
    }

    .page-app-download-features__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-app-download-features__feature-item {
        padding: 25px;
    }

    .page-app-download-features__feature-title {
        font-size: 1.4em;
    }

    .page-app-download-features__feature-detail {
        padding: 25px;
        margin-bottom: 60px;
    }

    .page-app-download-features__feature-content ul li {
        font-size: 0.95em;
        padding-left: 25px;
    }

    .page-app-download-features__feature-content ul li::before {
        font-size: 1em;
    }

    .page-app-download-features__steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-app-download-features__steps li {
        padding: 25px;
    }

    .page-app-download-features__step-title {
        font-size: 1.6em;
    }

    .page-app-download-features__get-started-actions {
        flex-direction: column;
    }

    .page-app-download-features__offer-list li {
        font-size: 1em;
        padding: 15px 20px 15px 40px;
    }

    .page-app-download-features__security-responsible-item {
        padding: 25px;
    }

    .page-app-download-features__security-responsible-title {
        font-size: 1.4em;
    }

    .page-app-download-features__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-app-download-features__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px 20px;
    }

    .page-app-download-features__cta-final-title {
        font-size: 2.5em;
    }

    .page-app-download-features__cta-final-description {
        font-size: 1.2em;
    }

    .page-app-download-features__cta-final-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-app-download-features__hero-title {
        font-size: 2em;
    }

    .page-app-download-features__hero-subtitle {
        font-size: 1em;
    }

    .page-app-download-features__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-app-download-features__section-title {
        font-size: 1.8em;
    }

    .page-app-download-features__feature-detail-title {
        font-size: 1.6em;
    }

    .page-app-download-features__steps li::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        top: -20px;
    }

    .page-app-download-features__cta-final-title {
        font-size: 2em;
    }

    .page-app-download-features__cta-final-description {
        font-size: 1em;
    }
}

/* Logo Styling for shared header placeholder - AI to design a creative logo */
/* Note: This is a placeholder for the shared header's logo, which is not generated here. */
/* If a logo is to be part of the main content, it would follow .page-app-download-features prefix */
/* For example, if there's a mini-logo in a section: */
/*
.page-app-download-features__mini-logo {
    font-family: 'Montserrat', sans-serif; 
    font-size: 2em;
    font-weight: 800;
    color: var(--page-app-download-features-primary-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
}
.page-app-download-features__mini-logo::after {
    content: '88';
    color: var(--page-app-download-features-secondary-color);
    position: absolute;
    right: -25px;
    top: 0;
}
.page-app-download-features__mini-logo:hover {
    opacity: 0.8;
}
*/