/* Features Page Styles - Through The Charts */

.features-hero {
    background: var(--primary-lime);
    padding: 4rem 0 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.features-hero h1 {
    color: var(--secondary-blue);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text-dark);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-container {
    padding: 0 20px 4rem 20px;
}

.features-section {
    margin-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--secondary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* Feature Cards Base Styling */
.feature-card {
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card .card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-blue);
    position: relative;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-type-badge {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-type {
    background: var(--primary-lime);
    color: var(--text-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.launch-date {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.guest-name {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Podcasts Grid */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.podcast-card {
    text-align: center;
}

.podcast-cover {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    overflow: hidden;
}

.podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-host {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.meta-item {
    background: var(--background-light);
    color: var(--text-medium);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Episodes Grid */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.episode-card {
    border-left: 4px solid var(--accent-green);
}

.episode-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.episode-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.episode-info {
    flex-grow: 1;
}

.podcast-name {
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.episode-number {
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 500;
}

.recommendation-box {
    background: linear-gradient(135deg, rgba(201, 253, 6, 0.1) 0%, rgba(13, 168, 74, 0.1) 100%);
    border-left: 3px solid var(--accent-green);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.recommendation-label {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.recommendation-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.episode-duration {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state h2 {
    color: var(--secondary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-hero h1 {
        font-size: 3rem;
    }

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

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

    .projects-grid,
    .podcasts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 3rem 0 2rem 0;
        margin-bottom: 2rem;
    }

    .features-hero h1 {
        font-size: 2.5rem;
    }

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

    .features-container {
        padding: 0 15px 3rem 15px;
    }

    .features-section {
        margin-bottom: 3rem;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .projects-grid,
    .podcasts-grid,
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-actions {
        flex-direction: column;
    }

    .card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-hero {
        padding: 2rem 0 1.5rem 0;
    }

    .features-hero h1 {
        font-size: 2rem;
    }

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

    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.95rem;
    }

    .project-card .card-image {
        height: 180px;
    }

    .podcast-cover {
        height: 220px;
    }

    .episode-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.25rem 0 1.25rem;
    }

    .episode-thumbnail {
        width: 100%;
        height: 150px;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-state h2 {
        font-size: 1.6rem;
    }

    .empty-state p {
        font-size: 1rem;
    }
}
