/* Membership Page Specific Styles */

/* Hero Section */
.membership-hero {
    background: linear-gradient(135deg, #b8295a 0%, #d73371 50%, #e24a7a 100%);
    position: relative;
    overflow: hidden;
}

.membership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top left, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.1) 0%, transparent 60%),
        radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    z-index: 1;
}

.membership-hero > * {
    position: relative;
    z-index: 2;
}

/* Background Animation Elements */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    z-index: 1;
}

.hero-bg-animation div {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-bg-animation div:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 8rem;
    height: 8rem;
    animation-delay: 0s;
}

.hero-bg-animation div:nth-child(2) {
    bottom: 20%;
    right: 20%;
    width: 6rem;
    height: 6rem;
    animation-delay: 3s;
}

.hero-bg-animation div:nth-child(3) {
    top: 50%;
    left: 33%;
    width: 4rem;
    height: 4rem;
    animation-delay: 6s;
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-25px) scale(1.15);
        opacity: 0.25;
    }
}

/* Community Section */
.community-section {
    background: rgba(255, 255, 255, 1);
}

.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.community-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.community-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(215, 51, 113, 0.15);
}

.community-item img {
    transition: transform 0.3s ease;
}

.community-item:hover img {
    transform: scale(1.05);
}

.community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.community-overlay p {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background: linear-gradient(135deg, rgba(215, 51, 113, 0.05) 0%, rgba(226, 74, 122, 0.1) 100%);
    border: 2px solid rgba(215, 51, 113, 0.1);
    border-radius: 30px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #d73371 0%, #e24a7a 100%);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(215, 51, 113, 0.15);
    border-color: rgba(215, 51, 113, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #d73371;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(215, 51, 113, 0.2);
}

.stat-label {
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f9fafb 0%, rgba(240, 244, 255, 0.8) 100%);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(215, 51, 113, 0.08);
    border-radius: 30px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #d73371 0%, #e24a7a 100%);
    border-radius: 30px 30px 0 0;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(215, 51, 113, 0.15);
    border-color: rgba(215, 51, 113, 0.15);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #d73371 0%, #e24a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(215, 51, 113, 0.25);
}

.benefit-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Getting Started Steps */
.steps-section {
    background: rgba(255, 255, 255, 1);
}

.step-card {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #d73371 0%, #e24a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(215, 51, 113, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(215, 51, 113, 0.4);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.step-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Step Arrows */
.step-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 3rem;
}

.step-arrow {
    width: 3rem;
    height: 3rem;
    color: #d73371;
    transition: all 0.3s ease;
}

.step-arrow:hover {
    color: #b8295a;
    transform: scale(1.1);
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #b8295a 0%, #d73371 50%, #e24a7a 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

.cta-buttons-row {
    display: flex;
    gap: 1rem;
}

.cta-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #d73371;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 1.125rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    flex: 1;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn.full-width {
    width: 100%;
    flex: none;
}

/* Animation for stats on scroll */
.stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.3s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }

/* Animation for benefit cards */
.benefit-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

/* Animation for steps */
.step-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .membership-hero {
        padding: 3rem 0;
    }
    
    .community-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .community-item {
        border-radius: 20px;
    }
    
    .community-overlay {
        padding: 1rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .step-number {
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }
    
    .step-arrows {
        display: none;
    }
    
    .cta-buttons-row {
        flex-direction: column;
    }
    
    .cta-btn {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .hero-bg-animation div {
        display: none;
    }
}

/* Performance optimizations */
.community-item img,
.benefit-card,
.step-card,
.stat-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
} 