
body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
}

.learning-portal {
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-icon {
    font-size: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.logo-text p {
    font-size: 14px;
    color: #94a3b8;
    margin: 4px 0 0 0;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.nav-item.active {
    color: #3b82f6;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.portal-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.grid-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.grid-item.featured {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
}

.item-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.grid-item h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: white;
}

.grid-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.grid-item.stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.stat-value {
    font-size: 36px;
    font-weight: 600;
    color: #3b82f6;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
}

.access-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px;
}

.access-card h2 {
    font-size: 32px;
    margin: 0 0 8px 0;
    color: white;
}

.access-subtitle {
    color: #94a3b8;
    margin: 0 0 32px 0;
    font-size: 16px;
}

.access-form .input-group {
    margin-bottom: 16px;
}

.access-form input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s;
}

.access-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
}

.access-form input::placeholder {
    color: #64748b;
}

.access-form button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.access-form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.access-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message {
    margin-top: 16px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.portal-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .portal-content {
        grid-template-columns: 1fr;
    }
    
    .portal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .learning-portal {
        padding: 20px;
    }
    
    .access-card {
        padding: 32px 24px;
    }
    
    .access-card h2 {
        font-size: 24px;
    }
}
