/* ===========================================
   Community Page Styles
   =========================================== */

/* Hero Section */
.community-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/community-banner-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 140px 0 100px;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(180deg, rgba(13, 134, 255, 0.85) 0%, rgba(61, 90, 254, 0.8) 100%); */
}

.community-hero .container {
    position: relative;
    z-index: 2;
}

.community-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.community-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
}

.community-hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

/* Community Sections */
.community-section {
    padding: 96px 0;
}

/* Feature Blocks */
.community-feature-block {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.community-feature-block.reverse {
    flex-direction: row-reverse;
}

.community-feature-content {
    flex: 1;
}

.community-feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-feature-image img {
    max-width: 100%;
    height: auto;
}

.community-feature-image-dual {
    position: relative;
}

.community-feature-image-dual img {
    max-width: 100%;
    height: auto;
}

.community-feature-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.community-feature-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.community-feature-description:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.community-cta-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #0d86ff 0%, #3d5afe 100%);
}

.community-cta-header {
    margin-bottom: 60px;
}

.community-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

.community-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.community-cta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.community-cta-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.community-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #ffffff;
}

.community-cta-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.community-cta-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

.store-badge i {
    font-size: 18px;
}

/* ===========================================
   Responsive Design
   =========================================== */

/* Tablet */
@media (max-width: 992px) {
    .community-hero {
        min-height: 500px;
        padding: 120px 0 80px;
    }

    .community-hero-title {
        font-size: 42px;
    }

    .community-hero-description {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .community-section {
        padding: 70px 0;
    }

    .community-feature-block {
        gap: 50px;
    }

    .community-feature-title {
        font-size: 32px;
    }

    .community-feature-description {
        font-size: 16px;
    }

    .community-cta-section {
        padding: 70px 0;
    }

    .community-cta-title {
        font-size: 28px;
    }

    .community-cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .community-cta-card {
        padding: 32px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .community-hero {
        min-height: 450px;
        padding: 100px 0 60px;
    }

    .community-hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .community-hero-description {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .community-section {
        padding: 50px 0;
    }

    .community-feature-block,
    .community-feature-block.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .community-feature-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .community-feature-description {
        font-size: 15px;
    }

    .community-cta-section {
        padding: 50px 0;
    }

    .community-cta-header {
        margin-bottom: 40px;
    }

    .community-cta-title {
        font-size: 24px;
    }

    .community-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }

    .community-cta-card-title {
        font-size: 18px;
    }

    .btn-large {
        padding: 14px 36px;
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .community-hero {
        min-height: 400px;
        padding: 80px 0 40px;
    }

    .community-hero-title {
        font-size: 26px;
    }

    .community-hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .community-feature-title {
        font-size: 24px;
    }

    .community-feature-description {
        font-size: 14px;
    }

    .community-cta-title {
        font-size: 20px;
    }

    .community-cta-card {
        padding: 28px 16px;
    }

    .community-cta-card-title {
        font-size: 16px;
    }

    .store-badge {
        padding: 8px 16px;
        font-size: 13px;
    }
}

