/* Home Page Styles */

.labs-plan-badge {
    text-align: center;
}

.labs-plan-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.labs-plan-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: block;
}

.labs-price-section {
    text-align: center;
}

.labs-price {
    font-family: 'Myriad_bold', sans-serif;
    color: #fff;
    margin-bottom: 8px;
}

.labs-price-currency {
    font-size: 2rem;
    vertical-align: top;
    margin-top: 0.5rem;
    display: inline-block;
}

.labs-price-amount {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
}

.labs-price-decimal {
    font-size: 2rem;
    vertical-align: top;
    margin-top: 0.5rem;
    display: inline-block;
}

.labs-price-period {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-left: 5px;
}

.labs-price-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

.labs-feature-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

/* Full-width badge that spans entire row */
.labs-feature-badge-full {
    grid-column: 1 / -1; /* Spans all columns */
    background: linear-gradient(135deg, rgba(135, 41, 255, 0.3), rgba(135, 41, 255, 0.2));
    border: 1px solid rgba(135, 41, 255, 0.4);
}

.labs-feature-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

/* Removed hover effect for feature badges */

.labs-feature-badge-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.15));
    border-color: rgba(255, 215, 0, 0.4);
}

.labs-badge-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
    flex-shrink: 0;
}

.labs-feature-badge span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.labs-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.labs-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.labs-check-icon {
    width: 16px;
    height: 16px;
    fill: #10b981;
    flex-shrink: 0;
}

.btn-labs-subscribe-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #8729ff;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

.btn-labs-subscribe-new:hover {
    background: #7218e6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(135, 41, 255, 0.3);
    text-decoration: none;
}

.labs-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.labs-trust-icon {
    width: 14px;
    height: 14px;
    fill: #10b981;
}

/* Responsive Design */
@media (max-width: 991px) {
    .labs-pricing-card {
        margin-top: 30px;
    }

    .labs-price-amount {
        font-size: 3.5rem;
    }

    .labs-price-currency,
    .labs-price-decimal {
        font-size: 1.8rem;
    }

    .labs-feature-badges {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Full-width badge maintains full width on tablet */
    .labs-feature-badge-full {
        grid-column: 1 / -1;
    }

    .labs-feature-badge {
        padding: 10px;
    }

    .btn-labs-subscribe-new {
        padding: 14px 20px;
    }
}

@media (max-width: 576px) {
    .labs-price-amount {
        font-size: 3rem;
    }

    .labs-price-currency,
    .labs-price-decimal {
        font-size: 1.5rem;
    }

    /* Full-width badge maintains full width on mobile */
    .labs-feature-badge-full {
        grid-column: 1 / -1;
    }

    .labs-feature-badge span {
        font-size: 0.8rem;
    }
}

/* Labs Section Styles */
.labs-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.labs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.labs-card .card-body {
    padding: 2rem;
}

.labs-card .card-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.labs-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Featured News Section - Using exact same styles as news.css */
.featured-section-title {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-section-title::before,
.featured-section-title::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #fff;
}

.featured-section-title::before {
    margin-right: 10px;
}

.featured-section-title::after {
    margin-left: 10px;
}

/* Article Card Styles - IDENTICAL to news.css */
.article-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.article-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-card-content {
    padding: 15px;
    background: white;
    border-radius: 0 0 8px 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.article-card-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    flex-grow: 1;
}

.article-card-meta {
    margin-top: auto;
}

.article-date {
    color: #888;
    font-size: 0.8rem;
}

/* Mobile Slider for Featured News - Simple CSS like marketplace */
.featured-news-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop layout on mobile */
    #featured-news-container {
        display: none;
    }
    
    /* Show mobile slider on mobile */
    .featured-news-mobile {
        display: block;
    }
    
    .featured-news-carousel-container {
        position: relative;
        overflow: hidden;
        padding: 0;
    }
    
    .featured-news-track {
        display: flex;
        align-items: stretch; /* This forces equal heights like Bootstrap row */
        transition: transform 0.4s ease;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .featured-news-track::-webkit-scrollbar {
        height: 4px;
    }
    
    .featured-news-track::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }
    
    .featured-news-track::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 10px;
    }
    
    .featured-news-slide {
        flex: 0 0 280px;
        min-width: 280px;
        scroll-snap-align: start;
        display: flex; /* Make the slide a flex container */
    }
    
    .featured-news-slide .article-card {
        height: 100%; /* Let it stretch to match siblings */
        width: 100%;
    }
}

/* Hover effects for featured news cards */
.featured-news-item .article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-news-item .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-news-item .article-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.owl-nav {
    display: flex;
    justify-content: center;
    margin: 40px 0 0px 0;
}
.owl-prev, .owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    fill: #fff;
}