/* Membership Page Styles */

/* Hero Section */
.membership-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #00a6b2 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.membership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Membership Section */
.membership-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tier Card */
.tier-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Free Tier */
.tier-free {
    border-color: #e8e8e8;
}

.tier-free .tier-badge {
    background: #6b7280;
}

/* Gold Tier */
.tier-gold {
    border-color: #fbbf24;
}

.tier-gold .tier-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.tier-gold:hover {
    border-color: #f59e0b;
}

/* Platinum Tier */
.tier-platinum {
    border-color: #9ca3af;
}

.tier-platinum .tier-badge {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

/* Elite Tier */
.tier-elite {
    border-color: #1e3a8a;
}

.tier-elite .tier-badge {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

/* Tier Ribbon */
.tier-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    border-radius: 4px 0 0 4px;
}

.tier-ribbon::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 10px;
    border-color: transparent transparent transparent #dc2626;
}

/* Tier Header */
.tier-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.tier-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tier-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-currency {
    font-size: 1rem;
    color: #888;
    font-weight: 600;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.9rem;
    color: #888;
}

/* Tier Features */
.tier-features {
    margin-bottom: 30px;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #4a5568;
}

.feature-item i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 0.9rem;
}

/* Tier Button */
.btn-tier {
    width: 100%;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tier:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 166, 178, 0.3);
}

.btn-tier-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: white;
}

.btn-tier-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 10px 30px rgba(0, 166, 178, 0.4);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tier-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}