/* BuddyBoss Home Design - Modern Template */
.bb-home-design-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

/* Compact Hero Section */
.bb-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 70px 40px 60px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bb-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.bb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.bb-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.bb-hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.bb-hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}

.bb-hero-title-main {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-hero-title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.bb-hero-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.bb-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.bb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.bb-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.bb-btn:hover::before {
    left: 100%;
}

.bb-btn-icon {
    font-size: 1.1rem;
}

.bb-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.bb-btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.4);
}

.bb-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.bb-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    border-color: white;
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

/* Membership Section */
.bb-membership-section {
    margin-bottom: 80px;
    text-align: center;
}

.bb-section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: #1e293b;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bb-section-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

.bb-membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bb-plan-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.bb-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(102, 126, 234, 0.1);
}

.bb-plan-popular {
    border-color: #667eea;
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.15),
        0 1px 0 rgba(102, 126, 234, 0.1);
}

.bb-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.bb-plan-header {
    padding: 35px 30px 25px;
    border-bottom: 1px solid #f8fafc;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    position: relative;
}

.bb-plan-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.bb-plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.bb-plan-price {
    text-align: center;
}

.bb-price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #667eea;
    display: inline;
    line-height: 1;
}

.bb-price-duration {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 5px;
}

.bb-plan-features {
    padding: 25px 30px;
}

.bb-feature-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.2s ease;
}

.bb-feature-item:hover {
    background: #f8fafc;
    margin: 0 -8px;
    padding: 10px 8px;
    border-radius: 6px;
}

.bb-feature-item:last-child {
    border-bottom: none;
}

.bb-feature-check {
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.bb-feature-text {
    color: #475569;
    font-size: 0.95rem;
    text-align: left;
    flex: 1;
    font-weight: 500;
}

.bb-plan-actions {
    padding: 0 30px 30px;
}

.bb-plan-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.bb-plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.bb-plan-btn:hover::before {
    left: 100%;
}

.bb-btn-starter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.bb-btn-starter:hover {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.bb-btn-premium {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.bb-btn-premium:hover {
    background: transparent;
    color: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.bb-membership-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 15px;
}

.bb-plan-premium .bb-plan-header {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.bb-plan-premium .bb-price-amount {
    color: #ff6b6b;
}

.bb-plan-premium .bb-feature-check {
    background: #ff6b6b;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}

/* Features Section - 6 Columns */
.bb-features-section {
    margin-bottom: 80px;
}

.bb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.bb-feature-card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.bb-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bb-feature-card:hover::before {
    transform: scaleX(1);
}

.bb-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(102, 126, 234, 0.1);
}

.bb-feature-icon {
    font-size: 3.2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 700;
}

.bb-feature-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Courses Section */
.bb-courses-section {
    margin-bottom: 80px;
}

.bb-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.bb-course-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.bb-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(102, 126, 234, 0.1);
}

.bb-course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}

.bb-course-image {
    margin-bottom: 20px;
}

.bb-course-icon {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.bb-course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.bb-course-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
    font-weight: 400;
}

.bb-course-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
    font-weight: 500;
}

.bb-course-actions {
    margin-top: 20px;
    text-align: center;
}

.bb-course-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bb-course-btn:hover {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Achievements Section */
.bb-achievements-section {
    margin-bottom: 80px;
}

.bb-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.bb-achievement-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.bb-achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.12),
        0 8px 20px rgba(102, 126, 234, 0.1);
}

.bb-achievement-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.bb-achievement-content {
    flex: 1;
}

.bb-achievement-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.bb-achievement-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 400;
}

.bb-achievement-progress {
    margin-top: 12px;
}

.bb-progress-bar {
    background: #f1f5f9;
    border-radius: 8px;
    height: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    position: relative;
}

.bb-progress-fill {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease-in-out;
    position: relative;
}

.bb-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bb-progress-text {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Info Boxes Section */
.bb-info-section {
    margin-bottom: 80px;
}

.bb-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.bb-info-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.bb-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bb-info-card:hover::before {
    transform: scaleX(1);
}

.bb-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(102, 126, 234, 0.1);
}

.bb-info-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-info-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.bb-info-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 400;
}

.bb-info-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.bb-info-link:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

/* Popup Styles */
.bb-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bb-popup-container {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bb-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bb-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.bb-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bb-popup-close:hover {
    background: #f1f5f9;
    color: #475569;
}

.bb-popup-content {
    padding: 30px;
}

.bb-popup-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.bb-popup-section p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.bb-popup-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.bb-popup-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.bb-popup-feature:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.bb-popup-feature-icon, .bb-popup-feature-number {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.bb-popup-feature-text {
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bb-hero-title-main {
        font-size: 2.4rem;
    }
    
    .bb-hero-title-sub {
        font-size: 1.6rem;
    }
    
    .bb-section-title {
        font-size: 2.2rem;
    }
    
    .bb-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .bb-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .bb-home-design-container {
        padding: 15px;
    }
    
    .bb-hero-section {
        padding: 50px 25px 40px;
        border-radius: 16px;
        margin-bottom: 50px;
    }
    
    .bb-hero-title-main {
        font-size: 2rem;
    }
    
    .bb-hero-title-sub {
        font-size: 1.4rem;
    }
    
    .bb-hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .bb-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .bb-btn {
        width: 250px;
        justify-content: center;
        padding: 12px 28px;
    }
    
    .bb-membership-plans {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .bb-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bb-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bb-achievements-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .bb-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bb-section-title {
        font-size: 1.8rem;
    }
    
    .bb-section-subtitle {
        font-size: 1rem;
    }
    
    .bb-popup-container {
        margin: 10px;
        max-height: 85vh;
    }
    
    .bb-popup-header {
        padding: 20px 25px 15px;
    }
    
    .bb-popup-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .bb-hero-section {
        padding: 40px 20px 35px;
    }
    
    .bb-hero-title-main {
        font-size: 1.8rem;
    }
    
    .bb-hero-title-sub {
        font-size: 1.2rem;
    }
    
    .bb-hero-badge {
        padding: 8px 18px;
    }
    
    .bb-hero-badge span {
        font-size: 0.75rem;
    }
    
    .bb-plan-card,
    .bb-feature-card,
    .bb-course-card,
    .bb-achievement-card,
    .bb-info-card {
        padding: 25px 20px;
    }
    
    .bb-membership-plans {
        grid-template-columns: 1fr;
    }
    
    .bb-courses-grid {
        grid-template-columns: 1fr;
    }
    
    .bb-features-grid {
        grid-template-columns: 1fr;
    }
    
    .bb-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section - 3 Modern Boxes */
.bb-services-section {
    margin-bottom: 80px;
    text-align: center;
}

.bb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.bb-service-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.08),
        0 1px 0 rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.bb-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.bb-service-card:hover::before {
    transform: scaleX(1);
}

.bb-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 12px 30px rgba(102, 126, 234, 0.15);
}

.bb-service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.bb-service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.3;
}

.bb-service-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 400;
}

.bb-service-features {
    margin: 25px 0;
    text-align: left;
}

.bb-service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.3s ease;
}

.bb-service-feature:hover {
    background: #f8fafc;
    margin: 0 -10px;
    padding: 10px;
    border-radius: 8px;
}

.bb-service-feature:last-child {
    border-bottom: none;
}

.bb-service-feature .bb-feature-check {
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.bb-service-feature span:last-child {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
}

.bb-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    margin-top: 15px;
}

.bb-service-btn:hover {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.bb-btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.bb-service-btn:hover .bb-btn-arrow {
    transform: translateX(4px);
}

/* Responsive Design for Services Section */
@media (max-width: 1024px) {
    .bb-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .bb-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bb-service-card {
        padding: 35px 25px;
    }
    
    .bb-service-icon {
        font-size: 3.5rem;
    }
    
    .bb-service-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .bb-service-card {
        padding: 30px 20px;
    }
    
    .bb-service-icon {
        font-size: 3rem;
    }
    
    .bb-service-title {
        font-size: 1.3rem;
    }
    
    .bb-service-btn {
        width: 100%;
        justify-content: center;
    }
}