/* Hub Main Styles - Entry Point for AI Learning Platforms */

:root {
    /* Color Palette */
    --primary-dark: #1a1a2e;
    --secondary-dark: #0f0f1e;
    --accent-cloud: #4a9eff;
    --accent-local: #00d4aa;
    --accent-code: #ff6b6b;
    --accent-private: #9b59b6;
    --text-primary: #ffffff;
    --text-secondary: #b8b8c0;
    --text-muted: #6c6c75;
    --success: #4CAF50;
    --warning: #ff9800;
    --danger: #f44336;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --gradient-cloud: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-local: linear-gradient(135deg, #00d4aa 0%, #00a896 100%);
    --gradient-code: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    --gradient-private: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.hub-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hub-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 158, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Header */
.hub-header {
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #4a9eff;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.header-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.2rem;
}

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

/* Main Content */
.hub-main {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Decision Helper */
.decision-helper {
    text-align: center;
    margin-bottom: 3rem;
}

.decision-helper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #b8b8c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.filter-icon {
    font-size: 1.2rem;
}

/* Paths Grid */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.path-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cloud);
}

.path-card.cloud.general::before {
    background: var(--gradient-cloud);
}

.path-card.local.general::before {
    background: var(--gradient-local);
}

.path-card.cloud.coding::before {
    background: var(--gradient-code);
}

.path-card.local.coding::before {
    background: var(--gradient-private);
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.path-card.hidden {
    display: none;
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.path-icon {
    font-size: 2.5rem;
}

.path-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.path-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.path-tagline {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.path-highlights,
.path-features,
.path-requirements {
    margin-bottom: 1.5rem;
}

.path-highlights h4,
.path-features h4,
.path-requirements h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.path-highlights ul {
    list-style: none;
}

.path-highlights li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.path-requirements p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.path-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.path-button.primary {
    background: var(--gradient-cloud);
}

.path-button.secondary {
    background: var(--gradient-local);
}

.path-button.tertiary {
    background: var(--gradient-code);
}

.path-button.quaternary {
    background: var(--gradient-private);
}

.path-button:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.arrow {
    font-size: 1.2rem;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 4rem;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table td.easy {
    color: var(--success);
}

.comparison-table td.medium {
    color: var(--warning);
}

.comparison-table td.hard {
    color: var(--danger);
}

.comparison-table td.high {
    color: var(--success);
}

.comparison-table td.low {
    color: var(--danger);
}

/* Help Section */
.help-section {
    margin-bottom: 3rem;
}

.help-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.help-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.help-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.help-link {
    color: var(--accent-cloud);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: var(--accent-local);
}

/* Footer */
.hub-footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links span {
    color: var(--text-muted);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-label {
        display: none;
    }
    
    .decision-helper h2 {
        font-size: 1.8rem;
    }
    
    .paths-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .help-cards {
        grid-template-columns: 1fr;
    }
}