/* ==========================================================================
   RESOURCES — Page-Specific Styles
   ========================================================================== */

/* Mobile Menu */




/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 80px;
    position: relative;
    background: linear-gradient(180deg, #ecfdf5 0%, var(--gray-50) 100%);
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #059669;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Categories Section */
.categories {
    padding: 100px 5%;
    background: white;
}







.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

a.category-card {
    text-decoration: none;
    color: inherit;
}

.category-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--resources-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--resources-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.category-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.category-count {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

/* Books Section */
.books {
    padding: 100px 5%;
    background: #171717;
    color: white;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    background: #262626;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 1px solid #404040;
}

.book-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.book-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.book-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.book-author {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.book-rating {
    margin-top: 1rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

/* Tools Section */
.tools {
    padding: 100px 5%;
    background: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
}

.tool-card:hover {
    border-color: var(--gray-200);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tool-logo {
    width: 48px;
    height: 48px;
    background: var(--resources-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.tool-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.tool-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.tool-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag {
    padding: 0.35rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.tool-free {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.75rem;
    background: #dcfce7;
    color: #059669;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Podcasts Section */
.podcasts {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--gray-50) 0%, #ecfdf5 100%);
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.podcast-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.podcast-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.podcast-icon {
    width: 60px;
    height: 60px;
    background: var(--resources-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.podcast-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.podcast-info p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 5%;
    background: #171717;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: #262626;
    border: 1px solid #404040;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #10b981;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--resources-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
























/* CTA Section */
.cta {
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta .container,
.cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

.cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gray-900);
    color: var(--gray-50);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Scroll Reveal */




/* Dark Mode Overrides */
[data-theme="dark"] body {
    background: #0a0a0a;
    color: #fafafa;
}








[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

[data-theme="dark"] .hero-badge {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .hero p {
    color: #d4d4d4;
}

[data-theme="dark"] .stat-label {
    color: #71717a;
}

[data-theme="dark"] .categories {
    background: #0a0a0a;
}

[data-theme="dark"] .category-card {
    background: #141414;
}

[data-theme="dark"] .category-card:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .category-card h3 {
    color: #fafafa;
}

[data-theme="dark"] .category-card p {
    color: #d4d4d4;
}

[data-theme="dark"] .tools {
    background: #0a0a0a;
}

[data-theme="dark"] .tool-card {
    background: #141414;
}

[data-theme="dark"] .tool-card:hover {
    border-color: #2e2e2e;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tool-info h3 {
    color: #fafafa;
}

[data-theme="dark"] .tool-info span {
    color: #71717a;
}

[data-theme="dark"] .tool-card p {
    color: #d4d4d4;
}

[data-theme="dark"] .tool-tag {
    background: #1f1f1f;
    border-color: #2e2e2e;
    color: #d4d4d4;
}

[data-theme="dark"] .tool-free {
    background: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .podcasts {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
}

[data-theme="dark"] .podcast-card {
    background: #141414;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .podcast-card:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .podcast-info h3 {
    color: #fafafa;
}

[data-theme="dark"] .podcast-info p {
    color: #71717a;
}

[data-theme="dark"] .cta {
    background: #0a0a0a;
}

[data-theme="dark"] .cta h2 {
    color: #fafafa;
}

[data-theme="dark"] .cta p {
    color: #d4d4d4;
}

[data-theme="dark"] .cta .btn-primary {
    background: #fafafa;
    color: #171717;
}

[data-theme="dark"] .stat-number {
    color: #34d399;
}

[data-theme="dark"] .category-count {
    color: #34d399;
}

[data-theme="dark"] .book-category {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

[data-theme="dark"] .book-rating {
    color: #fbbf24;
}


/* Responsive */
@media (max-width: 1024px) {

}

@media (max-width: 768px) {


    .nav-menu.active {
        right: 0;
    }











    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }





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