/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #121212;
    border-bottom: 1px solid #2a2a2a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-square {
    width: 16px;
    height: 16px;
    background-color: #121212;
    border-radius: 2px;
}

.icon-line {
    position: absolute;
    width: 2px;
    height: 8px;
    background-color: #121212;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.8;
}

.nav-number {
    font-size: 18px;
    font-weight: 600;
    color: #00ff80;
}

.nav-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
}

.dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron {
    color: #ffffff;
}

.random-btn {
    background-color: #00ff80;
    color: #121212;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.random-btn:hover {
    background-color: #00e673;
    transform: translateY(-1px);
}

.random-icon {
    color: #121212;
}

/* Main Content */
.main {
    padding: 60px 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.highlight {
    color: #00ff80;
}

.hero-description {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.6;
}

.sponsored-by {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sponsored-label {
    font-size: 14px;
    color: #ffffff;
}

.sponsor-logos {
    display: flex;
    gap: 8px;
}

.sponsor-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.sponsor-logo.red {
    background-color: #ff4444;
    color: #ffffff;
}

.sponsor-logo.black {
    background-color: #000000;
    color: #ffffff;
}

.sponsor-logo.white {
    background-color: #ffffff;
    color: #121212;
}

/* CTA Section */
.cta-section {
    position: sticky;
    top: 120px;
}

.cta-card {
    background-color: #1a1a1a;
    border: 2px dashed #333333;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    right: 20px;
    height: 16px;
    background-color: #121212;
    border-radius: 8px;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    right: 20px;
    height: 16px;
    background-color: #121212;
    border-radius: 8px;
}

.cta-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 24px;
    opacity: 0.8;
}

.email-form {
    display: flex;
    gap: 12px;
}

.email-input {
    flex: 1;
    background-color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #121212;
}

.email-input::placeholder {
    color: #666666;
}

.subscribe-btn {
    background-color: #00ff80;
    color: #121212;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscribe-btn:hover {
    background-color: #00e673;
}

/* Filter Section */
.filter-section {
    margin-bottom: 60px;
}

.filter-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #2a2a2a;
}

.filter-tab {
    background: none;
    border: none;
    color: #ffffff;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.filter-tab.active {
    color: #00ff80;
    border-bottom-color: #00ff80;
    background-color: rgba(0, 255, 128, 0.1);
}

.filter-tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.05);
}

.filter-dropdowns {
    display: flex;
    gap: 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.filter-dropdown {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-right: 1px solid #2a2a2a;
}

.filter-dropdown:last-child {
    border-right: none;
}

.filter-dropdown:hover {
    background-color: #222222;
}

.dropdown-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.dropdown-chevron {
    color: #ffffff;
    opacity: 0.6;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.report-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #2a2a2a;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 128, 0.1);
    border-color: #00ff80;
}

.report-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

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

.report-content {
    padding: 20px;
}

.report-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.report-industry {
    background-color: #00ff80;
    color: #121212;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.report-type {
    color: #666666;
    font-size: 12px;
}

.report-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-section {
        position: static;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-item {
        gap: 2px;
    }
    
    .nav-number {
        font-size: 16px;
    }
    
    .nav-label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .filter-dropdowns {
        flex-direction: column;
    }
    
    .filter-dropdown {
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }
    
    .filter-dropdown:last-child {
        border-bottom: none;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .cta-card {
        padding: 24px;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .subscribe-btn {
        width: 100%;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666666;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #333333;
    border-top: 2px solid #00ff80;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}

.empty-state button {
    background-color: #00ff80;
    color: #121212;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.empty-state button:hover {
    background-color: #00e673;
}
