/* ================================
   Comunidades Theme - App Gratis
   Color: #7DA177 (Verde comunidad)
   ================================ */

/* Theme Variables Override */
:root {
    --theme-primary: #7DA177;
    --theme-primary-dark: #5c8356;
    --theme-primary-light: #9bb896;
    --theme-secondary: #2d5a87;
    --theme-accent: #c2703a;
}

/* Header */
.header--comunidades {
    border-bottom: 3px solid var(--theme-primary);
}

.header--comunidades .btn-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.header--comunidades .btn-primary:hover {
    background-color: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
}

/* Hero */
.hero--comunidades {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-dark) 100%);
}

.hero--comunidades::before {
    background: radial-gradient(circle, rgba(45, 90, 135, 0.15) 0%, transparent 70%);
}

.hero--comunidades::after {
    background: radial-gradient(circle, rgba(194, 112, 58, 0.1) 0%, transparent 70%);
}

/* Buttons */
.btn-primary--comunidades {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: white;
}

.btn-primary--comunidades:hover {
    background-color: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
}

.btn-outline--comunidades {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

.btn-outline--comunidades:hover {
    background-color: var(--theme-primary);
    color: white;
}

/* Cards */
.card--comunidades {
    border-left: 4px solid var(--theme-primary);
}

.card--comunidades:hover {
    box-shadow: 0 10px 30px rgba(125, 161, 119, 0.15);
}

/* Badges */
.badge--comunidades {
    background-color: var(--theme-primary);
    color: white;
}

.badge--free {
    background-color: #10b981;
    color: white;
}

/* Navigation active state */
.nav--comunidades .nav-menu a.active,
.nav--comunidades .nav-menu a:hover {
    color: var(--theme-primary);
}

/* Section titles */
.section-title--comunidades {
    color: var(--theme-primary);
}

/* Footer */
.footer--comunidades {
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, #3d5a3a 100%);
}

/* Feature icons */
.icon--comunidades {
    background-color: rgba(125, 161, 119, 0.1);
    color: var(--theme-primary);
}

/* Feature cards for app features */
.feature-card--comunidades {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card--comunidades:hover {
    border-color: var(--theme-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(125, 161, 119, 0.2);
}

.feature-card--comunidades .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(125, 161, 119, 0.1);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Download buttons */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    background: white;
    border-radius: 12px;
    color: var(--gray-900);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
}

.download-btn svg {
    width: 32px;
    height: 32px;
}

/* Panic button styling */
.panic-demo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.panic-demo:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.5);
}

/* CTA section */
.cta--comunidades {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-dark) 100%);
}

/* Stats */
.stat-value--comunidades {
    color: var(--theme-primary);
}

/* Marketplace specific */
.marketplace-category {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.marketplace-category:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 8px 25px rgba(125, 161, 119, 0.15);
}

.marketplace-category.free {
    border-color: #10b981;
}

.marketplace-category.free .price {
    color: #10b981;
    font-weight: 700;
}
