/* Resources Page Styles */

/* Global Styles */
.geniusflow-resources {
    --primary-color: #fff;
    --secondary-color: rgba(255, 255, 255, 0.7);
    --background-dark: #040B27;
    --background-darker: #02071B;
    --accent-blue: #0061ff;
    background-color: var(--background-dark);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.geniusflow-resources .hero-section {
    padding: 160px 0 100px;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.geniusflow-resources .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(1, 160, 255, 0.1) 0%, transparent 50%);
}

.geniusflow-resources .hero-section h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--primary-color);
}

.geniusflow-resources .hero-section .lead {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.geniusflow-resources .search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.geniusflow-resources .search-container .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px;
}

.geniusflow-resources .search-container input {
    border: none;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 20px;
    font-size: 16px;
}

.geniusflow-resources .search-container input::placeholder {
    color: var(--secondary-color);
}

.geniusflow-resources .search-container .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    background: var(--accent-blue);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::before {
    content: attr(data-subtitle);
    display: block;
    font-size: 14px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--secondary-color);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Resource Section */
.featured-resource {
    padding: 100px 0;
    background: var(--background-dark);
    position: relative;
}

.featured-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.featured-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.featured-card .badge {
    background: var(--accent-blue);
    color: var(--primary-color);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.featured-card h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.featured-card p {
    color: var(--secondary-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Resources Tab Section */
.resources-section {
    padding: 100px 0;
    background: var(--background-darker);
}

.nav-tabs {
    border: none;
    margin-bottom: 50px;
    justify-content: center;
    gap: 10px;
}

.nav-tabs .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: transparent;
}

.nav-tabs .nav-link.active {
    background: var(--accent-blue);
    color: var(--primary-color);
    border-color: var(--accent-blue);
}

/* Resource Cards */
.resource-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.resource-icon {
    color: var(--accent-blue);
    font-size: 32px;
    margin-bottom: 24px;
}

.resource-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.resource-card p {
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.resource-card .btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.resource-card .btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* API Documentation */
.api-documentation {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
}

.api-documentation h3 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.api-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.api-section-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.api-section-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Tutorial Cards */
.tutorial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.tutorial-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.tutorial-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.tutorial-card h3 {
    padding: 24px 24px 16px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.tutorial-card p {
    padding: 0 24px 24px;
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(1, 160, 255, 0.1) 0%, transparent 50%);
}

.cta-section h2 {
    font-size: 42px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-section p {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 0;
}

.cta-section .btn {
    background: var(--accent-blue);
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.api-content h3 {
    letter-spacing: 1px;
}

.tutorials-content h3 {
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .geniusflow-resources .hero-section h1 {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .geniusflow-resources .hero-section h1 {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .featured-card h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .geniusflow-resources .hero-section {
        padding: 120px 0 80px;
    }

    .geniusflow-resources .hero-section h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .geniusflow-resources .hero-section h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }
} 

.diagram-container {
	max-width: 1200px !important;
}